Pull request #184 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9336ea2bbead652cbc301856513e1331c94a12f3+b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 (868ee6366e007dfd880b40d7eb6b04c8fab3f0bc) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-184/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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-184/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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 ‘prd-centos7-docker-4c-2g-10044’ Running on prd-centos7-docker-4c-2g-10046 in /w/workspace/gexfoundry_device-mqtt-go_PR-184 [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-184 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 9336ea2bbead652cbc301856513e1331c94a12f3 > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 Merge succeeded, producing 9336ea2bbead652cbc301856513e1331c94a12f3 Checking out Revision 9336ea2bbead652cbc301856513e1331c94a12f3 (PR-184) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-02T06:34:31.572Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:34:31.920Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:34:32.159Z] ========================================================= [2020-11-02T06:34:32.159Z] EdgeX Global Pipelines Version Info [2020-11-02T06:34:32.159Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:34:34.279Z] ------------------- [2020-11-02T06:34:34.279Z] stable info: [2020-11-02T06:34:34.279Z] ------------------- [2020-11-02T06:34:34.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:34:34.279Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:34:34.279Z] Message: update stable to v1.0.152 [2020-11-02T06:34:35.256Z] ------------------- [2020-11-02T06:34:35.256Z] experimental info: [2020-11-02T06:34:35.256Z] ------------------- [2020-11-02T06:34:35.256Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:34:35.256Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:34:35.256Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:34:35.787Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-11-02T06:34:35.916Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-11-02T06:34:36.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:34:36.157Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:34:36.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:34:36.399Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:34:36.518Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:34:36.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:34:36.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:34:36.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:34:37.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:34:37.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-11-02T06:34:37.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:34:37.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:34:37.509Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:34:37.631Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:34:37.748Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:34:37.866Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:34:37.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:34:38.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-02T06:34:38.221Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:34:38.377Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:34:38.502Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:34:38.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:34:38.748Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:34:38.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2020-11-02T06:34:38.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2020-11-02T06:34:39.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2020-11-02T06:34:39.224Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9336ea2bbead652cbc301856513e1331c94a12f3 [Pipeline] echo [2020-11-02T06:34:39.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9336ea2 [Pipeline] echo [2020-11-02T06:34:39.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:34:40.266Z] + git log --format=format:%s -1 9336ea2bbead652cbc301856513e1331c94a12f3 [Pipeline] echo [2020-11-02T06:34:40.379Z] GIT_COMMIT: 9336ea2bbead652cbc301856513e1331c94a12f3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-02T06:34:40.456Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:34:41.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:34:41.710Z] [2020-11-02T06:34:41.710Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:34:42.156Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:34:42.435Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:34:42.435Z] 31603596830f: Pulling fs layer [2020-11-02T06:34:42.435Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:34:42.435Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:34:42.435Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:34:42.435Z] ecc8261a40a4: Waiting [2020-11-02T06:34:42.435Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:34:42.435Z] 2a8b12db71e7: Download complete [2020-11-02T06:34:42.733Z] 31603596830f: Download complete [2020-11-02T06:34:43.008Z] 6ca5941a6612: Verifying Checksum [2020-11-02T06:34:43.008Z] 6ca5941a6612: Download complete [2020-11-02T06:34:43.274Z] 31603596830f: Pull complete [2020-11-02T06:34:43.274Z] 2a8b12db71e7: Pull complete [2020-11-02T06:34:43.907Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:34:43.907Z] ecc8261a40a4: Download complete [2020-11-02T06:34:44.936Z] 6ca5941a6612: Pull complete [2020-11-02T06:34:45.924Z] ecc8261a40a4: Pull complete [2020-11-02T06:34:45.924Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:34:45.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:34:45.924Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:34:46.181Z] prd-centos7-docker-4c-2g-10046 does not seem to be running inside a container [2020-11-02T06:34:46.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-184 -v /w/workspace/gexfoundry_device-mqtt-go_PR-184:/w/workspace/gexfoundry_device-mqtt-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-02T06:34:48.930Z] $ docker top 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:34:49.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:34:49.436Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:34:49.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:34:49.892Z] $ docker exec 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a ssh-agent [2020-11-02T06:34:50.156Z] SSH_AUTH_SOCK=/tmp/ssh-epalctFAyH29/agent.12 [2020-11-02T06:34:50.156Z] SSH_AGENT_PID=17 [2020-11-02T06:34:50.171Z] Running ssh-add (command line suppressed) [2020-11-02T06:34:50.333Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp/private_key_7869259108401657753.key (/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp/private_key_7869259108401657753.key) [2020-11-02T06:34:50.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:34:50.835Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:34:51.116Z] $ docker exec --env ******** --env ******** 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a ssh-agent -k [2020-11-02T06:34:51.419Z] unset SSH_AUTH_SOCK; [2020-11-02T06:34:51.419Z] unset SSH_AGENT_PID; [2020-11-02T06:34:51.420Z] echo Agent pid 17 killed; [2020-11-02T06:34:51.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:34:51.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:34:51.680Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:34:52.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:34:52.054Z] $ docker exec 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a ssh-agent [2020-11-02T06:34:52.385Z] SSH_AUTH_SOCK=/tmp/ssh-4XtDohQooDi0/agent.45 [2020-11-02T06:34:52.385Z] SSH_AGENT_PID=50 [2020-11-02T06:34:52.394Z] Running ssh-add (command line suppressed) [2020-11-02T06:34:52.577Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp/private_key_2063577907752725971.key (/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp/private_key_2063577907752725971.key) [2020-11-02T06:34:52.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:34:53.184Z] + git semver init [2020-11-02T06:34:53.184Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:34:53.184Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-184/.git [2020-11-02T06:34:53.184Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-184 [2020-11-02T06:34:53.184Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:34:53.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:34:53.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:34:53.184Z] # $SEMVER_BRANCH = PR-184 [2020-11-02T06:34:53.184Z] # $SEMVER_TEMP = /tmp/semver-853679664 [2020-11-02T06:34:53.184Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-11-02T06:34:53.766Z] # '/tmp/semver-853679664' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-184/.semver' [2020-11-02T06:34:53.766Z] # -> Force: false [2020-11-02T06:34:53.766Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-184/.semver [Pipeline] } [2020-11-02T06:34:53.788Z] $ docker exec --env ******** --env ******** 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a ssh-agent -k [2020-11-02T06:34:53.930Z] unset SSH_AUTH_SOCK; [2020-11-02T06:34:53.931Z] unset SSH_AGENT_PID; [2020-11-02T06:34:53.932Z] echo Agent pid 50 killed; [2020-11-02T06:34:53.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:34:54.596Z] + git semver [Pipeline] } [2020-11-02T06:34:54.635Z] $ docker stop --time=1 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a [2020-11-02T06:34:56.144Z] $ docker rm -f 177654b35202debb60e003d99c96e59a9f5fa3e5a38cff5be82dbd042e13c42a [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:34:56.758Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:34:57.387Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:34:57.410Z] [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:34:58.716Z] ========================================================= [2020-11-02T06:34:58.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:34:58.717Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:34:59.112Z] + 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-11-02T06:34:59.397Z] Sending build context to Docker daemon 746.5kB [2020-11-02T06:34:59.397Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:34:59.397Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:34:59.397Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:34:59.397Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:34:59.397Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:34:59.397Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:34:59.397Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:34:59.397Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:34:59.397Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:34:59.397Z] 4e634b169226: Pulling fs layer [2020-11-02T06:34:59.397Z] e871e8e8d7a9: Waiting [2020-11-02T06:34:59.397Z] e73272ec9a57: Waiting [2020-11-02T06:34:59.397Z] 1e910a182e73: Waiting [2020-11-02T06:34:59.397Z] 4e634b169226: Waiting [2020-11-02T06:34:59.397Z] a92cc7c5fd73: Verifying Checksum [2020-11-02T06:34:59.397Z] a92cc7c5fd73: Download complete [2020-11-02T06:34:59.397Z] ed8968b2872e: Verifying Checksum [2020-11-02T06:34:59.397Z] ed8968b2872e: Download complete [2020-11-02T06:34:59.397Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:34:59.397Z] e73272ec9a57: Download complete [2020-11-02T06:34:59.990Z] 1e910a182e73: Verifying Checksum [2020-11-02T06:34:59.990Z] 1e910a182e73: Download complete [2020-11-02T06:34:59.990Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:34:59.990Z] df20fa9351a1: Download complete [2020-11-02T06:35:00.280Z] df20fa9351a1: Pull complete [2020-11-02T06:35:00.878Z] ed8968b2872e: Pull complete [2020-11-02T06:35:00.878Z] a92cc7c5fd73: Pull complete [2020-11-02T06:35:03.551Z] 4e634b169226: Verifying Checksum [2020-11-02T06:35:03.551Z] 4e634b169226: Download complete [2020-11-02T06:35:04.974Z] e871e8e8d7a9: Verifying Checksum [2020-11-02T06:35:04.974Z] e871e8e8d7a9: Download complete [2020-11-02T06:35:13.319Z] Still waiting to schedule task [2020-11-02T06:35:13.319Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-02T06:35:15.290Z] e871e8e8d7a9: Pull complete [2020-11-02T06:35:15.290Z] e73272ec9a57: Pull complete [2020-11-02T06:35:15.290Z] 1e910a182e73: Pull complete [2020-11-02T06:35:20.844Z] 4e634b169226: Pull complete [2020-11-02T06:35:20.844Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:35:20.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:35:20.844Z] ---> f7629b54cfaa [2020-11-02T06:35:20.844Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:35:20.844Z] ---> Running in b3ea5f8a58cf [2020-11-02T06:35:21.119Z] Removing intermediate container b3ea5f8a58cf [2020-11-02T06:35:21.119Z] ---> 747f82d2a30f [2020-11-02T06:35:21.119Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:35:21.119Z] ---> Running in 716c80daa5ff [2020-11-02T06:35:23.247Z] Removing intermediate container 716c80daa5ff [2020-11-02T06:35:23.248Z] ---> 96a0cc6b6fd8 [2020-11-02T06:35:23.248Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:35:23.248Z] ---> Running in 468eb7d7e438 [2020-11-02T06:35:23.896Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:35:24.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:35:25.139Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:35:25.435Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:35:25.435Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:35:25.435Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:35:31.069Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:35:31.337Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:35:31.337Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:35:31.337Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:35:31.608Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:35:31.608Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:35:31.886Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:35:32.158Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:35:32.158Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:35:32.429Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:35:32.429Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:35:32.429Z] OK: 237 MiB in 53 packages [2020-11-02T06:35:35.803Z] Removing intermediate container 468eb7d7e438 [2020-11-02T06:35:35.803Z] ---> fc6086ef2ce2 [2020-11-02T06:35:35.803Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-02T06:35:35.803Z] ---> Running in b845bc615a16 [2020-11-02T06:35:36.091Z] Removing intermediate container b845bc615a16 [2020-11-02T06:35:36.091Z] ---> d040ad803e40 [2020-11-02T06:35:36.091Z] Step 7/8 : COPY . . [2020-11-02T06:35:37.126Z] ---> 92ba5bed68d6 [2020-11-02T06:35:37.126Z] Step 8/8 : RUN go mod download [2020-11-02T06:35:37.427Z] ---> Running in c5ecd11bc7b8 [2020-11-02T06:35:59.867Z] Removing intermediate container c5ecd11bc7b8 [2020-11-02T06:35:59.867Z] ---> 9b4935e4522f [2020-11-02T06:35:59.867Z] Successfully built 9b4935e4522f [2020-11-02T06:35:59.868Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:36:00.348Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:36:00.642Z] . [Pipeline] withDockerContainer [2020-11-02T06:36:00.851Z] prd-centos7-docker-4c-2g-10046 does not seem to be running inside a container [2020-11-02T06:36:00.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-184 -v /w/workspace/gexfoundry_device-mqtt-go_PR-184:/w/workspace/gexfoundry_device-mqtt-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-02T06:36:02.586Z] $ docker top 24543558a51d8dace936f7e9135b8ebca36b4e884d46d0e120f9edb6e6d4ca72 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:36:03.295Z] + go version [2020-11-02T06:36:03.589Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:36:03.645Z] $ docker stop --time=1 24543558a51d8dace936f7e9135b8ebca36b4e884d46d0e120f9edb6e6d4ca72 [2020-11-02T06:36:05.189Z] $ docker rm -f 24543558a51d8dace936f7e9135b8ebca36b4e884d46d0e120f9edb6e6d4ca72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:36:06.380Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:36:06.380Z] . [Pipeline] withDockerContainer [2020-11-02T06:36:06.639Z] prd-centos7-docker-4c-2g-10046 does not seem to be running inside a container [2020-11-02T06:36:06.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-184 -v /w/workspace/gexfoundry_device-mqtt-go_PR-184:/w/workspace/gexfoundry_device-mqtt-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-02T06:36:07.588Z] $ docker top e633c76e2055f90ab092f20536a87ddad03ff638febcb188550436ea4e185475 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:36:08.563Z] + make test [2020-11-02T06:36:08.563Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:36:10.099Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-02T06:36:28.865Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-02T06:36:29.141Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.022s coverage: 28.3% of statements [2020-11-02T06:36:29.141Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-02T06:36:29.141Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:36:33.562Z] gofmt -l . [2020-11-02T06:36:33.829Z] ["`gofmt -l .`" = ""] [2020-11-02T06:36:33.829Z] ./bin/test-attribution-txt.sh [2020-11-02T06:36:34.800Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:36:34.835Z] $ docker stop --time=1 e633c76e2055f90ab092f20536a87ddad03ff638febcb188550436ea4e185475 [2020-11-02T06:36:37.257Z] $ docker rm -f e633c76e2055f90ab092f20536a87ddad03ff638febcb188550436ea4e185475 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:36:38.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:36:38.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:36:39.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:36:40.017Z] + ls -al . [2020-11-02T06:36:40.017Z] total 100 [2020-11-02T06:36:40.017Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 2 06:36 . [2020-11-02T06:36:40.017Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:34 .. [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 5932 Nov 2 06:34 Attribution.txt [2020-11-02T06:36:40.017Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 2 06:34 bin [2020-11-02T06:36:40.017Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:34 cmd [2020-11-02T06:36:40.017Z] -rw-r--r--. 1 jenkins jenkins 18940 Nov 2 06:36 coverage.out [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 1784 Nov 2 06:34 Dockerfile [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 953 Nov 2 06:34 Dockerfile.build [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 2 06:34 .dockerignore [2020-11-02T06:36:40.017Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:34 .git [2020-11-02T06:36:40.017Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:34 .github [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 336 Nov 2 06:34 .gitignore [2020-11-02T06:36:40.017Z] -rw-r--r--. 1 jenkins jenkins 511 Nov 2 06:36 go.mod [2020-11-02T06:36:40.017Z] -rw-r--r--. 1 jenkins jenkins 15219 Nov 2 06:36 go.sum [2020-11-02T06:36:40.017Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:34 internal [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 2 06:34 Jenkinsfile [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:34 LICENSE [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 902 Nov 2 06:34 Makefile [2020-11-02T06:36:40.017Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 2 06:34 mock [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 444 Nov 2 06:34 README.md [2020-11-02T06:36:40.017Z] drwx------. 3 jenkins jenkins 58 Nov 2 06:34 .semver [2020-11-02T06:36:40.017Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:34 snap [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:34 VERSION [2020-11-02T06:36:40.017Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 2 06:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:36:40.364Z] + 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=9336ea2bbead652cbc301856513e1331c94a12f3 --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:36:40.630Z] Sending build context to Docker daemon 766kB [2020-11-02T06:36:40.630Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:36:40.630Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:36:40.630Z] ---> 9b4935e4522f [2020-11-02T06:36:40.630Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:36:40.896Z] ---> Running in 4233a1cbaab8 [2020-11-02T06:36:41.163Z] Removing intermediate container 4233a1cbaab8 [2020-11-02T06:36:41.163Z] ---> dcb000392f82 [2020-11-02T06:36:41.163Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:36:41.428Z] ---> Running in d9306ede1ee2 [2020-11-02T06:36:41.428Z] Removing intermediate container d9306ede1ee2 [2020-11-02T06:36:41.428Z] ---> ed2c80609c60 [2020-11-02T06:36:41.428Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:36:41.696Z] ---> Running in ab1cdbcb4a8f [2020-11-02T06:36:42.664Z] Removing intermediate container ab1cdbcb4a8f [2020-11-02T06:36:42.664Z] ---> 67afdd8323e3 [2020-11-02T06:36:42.664Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:36:42.935Z] ---> Running in 7f5d2181e7ae [2020-11-02T06:36:44.167Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:36:45.026Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:36:45.314Z] OK: 237 MiB in 53 packages [2020-11-02T06:36:45.901Z] Removing intermediate container 7f5d2181e7ae [2020-11-02T06:36:45.901Z] ---> 15bebe2adf1b [2020-11-02T06:36:45.901Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-02T06:36:46.191Z] ---> Running in d306f2fa83ff [2020-11-02T06:36:46.191Z] Removing intermediate container d306f2fa83ff [2020-11-02T06:36:46.191Z] ---> 3c4766ab040c [2020-11-02T06:36:46.191Z] Step 8/22 : COPY . . [2020-11-02T06:36:47.169Z] ---> 7784a1569f4a [2020-11-02T06:36:47.169Z] Step 9/22 : ARG MAKE='make build' [2020-11-02T06:36:47.169Z] ---> Running in b8df93c28049 [2020-11-02T06:36:47.169Z] Removing intermediate container b8df93c28049 [2020-11-02T06:36:47.169Z] ---> 400a2f43bd86 [2020-11-02T06:36:47.169Z] Step 10/22 : RUN $MAKE [2020-11-02T06:36:47.460Z] ---> Running in 6498b38aeee3 [2020-11-02T06:36:48.062Z] 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-11-02T06:37:06.630Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:37:10.995Z] Removing intermediate container 6498b38aeee3 [2020-11-02T06:37:10.995Z] ---> 01b3af15fd2c [2020-11-02T06:37:10.995Z] Step 11/22 : FROM alpine [2020-11-02T06:37:10.995Z] latest: Pulling from library/alpine [2020-11-02T06:37:10.995Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:37:11.279Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T06:37:11.279Z] 188c0c94c7c5: Download complete [2020-11-02T06:37:11.547Z] 188c0c94c7c5: Pull complete [2020-11-02T06:37:11.547Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:37:11.547Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:37:11.547Z] ---> d6e46aa2470d [2020-11-02T06:37:11.547Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-02T06:37:11.813Z] ---> Running in 6f3103c46d35 [2020-11-02T06:37:11.813Z] Removing intermediate container 6f3103c46d35 [2020-11-02T06:37:11.813Z] ---> 8eb790f4f2af [2020-11-02T06:37:11.813Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-02T06:37:12.078Z] ---> Running in 3e8710f009c4 [2020-11-02T06:37:12.078Z] Removing intermediate container 3e8710f009c4 [2020-11-02T06:37:12.078Z] ---> c26708ab8aba [2020-11-02T06:37:12.078Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-02T06:37:13.042Z] ---> 90bb4987fede [2020-11-02T06:37:13.042Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-02T06:37:13.042Z] ---> e3766bd490a0 [2020-11-02T06:37:13.042Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-02T06:37:13.640Z] ---> cb953e5228f7 [2020-11-02T06:37:13.640Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-02T06:37:13.640Z] ---> Running in 13d2d1af1499 [2020-11-02T06:37:13.910Z] Removing intermediate container 13d2d1af1499 [2020-11-02T06:37:13.910Z] ---> 0ba32ddcec61 [2020-11-02T06:37:13.910Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-02T06:37:13.910Z] ---> Running in 5804473561b7 [2020-11-02T06:37:14.183Z] Removing intermediate container 5804473561b7 [2020-11-02T06:37:14.183Z] ---> 751e8e4f5a93 [2020-11-02T06:37:14.183Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:37:14.183Z] ---> Running in 371c12a01db0 [2020-11-02T06:37:14.449Z] Removing intermediate container 371c12a01db0 [2020-11-02T06:37:14.449Z] ---> c506175a7922 [2020-11-02T06:37:14.449Z] Step 20/22 : LABEL arch=amd64 [2020-11-02T06:37:14.449Z] ---> Running in 2933a45a3fe1 [2020-11-02T06:37:14.714Z] Removing intermediate container 2933a45a3fe1 [2020-11-02T06:37:14.714Z] ---> 40ea8f301fbe [2020-11-02T06:37:14.714Z] Step 21/22 : LABEL git_sha=9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:37:14.714Z] ---> Running in 69c8b30320a5 [2020-11-02T06:37:14.989Z] Removing intermediate container 69c8b30320a5 [2020-11-02T06:37:14.989Z] ---> e5da9f7913da [2020-11-02T06:37:14.989Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:37:14.989Z] ---> Running in 265a01970de2 [2020-11-02T06:37:15.254Z] Removing intermediate container 265a01970de2 [2020-11-02T06:37:15.254Z] ---> a4feecef54f9 [2020-11-02T06:37:15.254Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:37:15.254Z] Successfully built a4feecef54f9 [2020-11-02T06:37:15.254Z] 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-11-02T06:37:31.026Z] Still waiting to schedule task [2020-11-02T06:37:31.027Z] ‘prd-centos7-docker-8c-8g-10049’ is offline [2020-11-02T06:37:44.710Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10048 in /w/workspace/gexfoundry_device-mqtt-go_PR-184 [Pipeline] { [Pipeline] ws [2020-11-02T06:37:44.801Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:37:50.110Z] using credential edgex-jenkins-ssh [2020-11-02T06:37:50.172Z] Cloning the remote Git repository [2020-11-02T06:37:50.243Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:37:50.351Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-02T06:37:50.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:37:50.428Z] > git --version # timeout=10 [2020-11-02T06:37:50.448Z] > git --version # 'git version 2.17.1' [2020-11-02T06:37:50.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:37:50.516Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:37:51.768Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:37:51.959Z] Merge succeeded, producing 9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:37:51.959Z] Checking out Revision 9336ea2bbead652cbc301856513e1331c94a12f3 (PR-184) [2020-11-02T06:37:51.236Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:37:51.251Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:37:51.279Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:37:51.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:37:51.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:37:51.329Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:37:51.808Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:37:51.829Z] > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 [2020-11-02T06:37:51.905Z] > git remote # timeout=10 [2020-11-02T06:37:51.920Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:37:51.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:37:51.940Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-02T06:37:51.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:37:51.996Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:37:52.005Z] > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 [2020-11-02T06:37:56.399Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-02T06:37:56.478Z] > git --version # timeout=10 [2020-11-02T06:37:56.493Z] > git --version # 'git version 2.17.1' [2020-11-02T06:37:56.506Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:37:57.668Z] ========================================================= [2020-11-02T06:37:57.668Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:37:57.668Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:37:58.678Z] + 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-11-02T06:37:59.661Z] Sending build context to Docker daemon 469kB [2020-11-02T06:37:59.661Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:37:59.661Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:37:59.935Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:37:59.935Z] b538f80385f9: Pulling fs layer [2020-11-02T06:37:59.935Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:37:59.935Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:37:59.935Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:37:59.935Z] 45590311c82a: Pulling fs layer [2020-11-02T06:37:59.935Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:37:59.935Z] 209524e5b208: Pulling fs layer [2020-11-02T06:37:59.935Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:37:59.935Z] 209524e5b208: Waiting [2020-11-02T06:37:59.935Z] 45590311c82a: Waiting [2020-11-02T06:37:59.935Z] 8529a6b9a6be: Waiting [2020-11-02T06:37:59.935Z] 99f96fe45779: Verifying Checksum [2020-11-02T06:37:59.935Z] 99f96fe45779: Download complete [2020-11-02T06:37:59.935Z] 74f711af9a0d: Download complete [2020-11-02T06:37:59.935Z] 45590311c82a: Verifying Checksum [2020-11-02T06:37:59.935Z] 45590311c82a: Download complete [2020-11-02T06:37:59.935Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-02T06:37:59.935Z] b538f80385f9: Verifying Checksum [2020-11-02T06:37:59.935Z] b538f80385f9: Download complete [2020-11-02T06:38:00.542Z] b538f80385f9: Pull complete [2020-11-02T06:38:01.144Z] 74f711af9a0d: Pull complete [2020-11-02T06:38:01.750Z] 99f96fe45779: Pull complete [2020-11-02T06:38:02.348Z] 209524e5b208: Verifying Checksum [2020-11-02T06:38:02.348Z] 209524e5b208: Download complete [2020-11-02T06:38:03.782Z] 8529a6b9a6be: Verifying Checksum [2020-11-02T06:38:03.782Z] 8529a6b9a6be: Download complete [2020-11-02T06:38:13.935Z] 8529a6b9a6be: Pull complete [2020-11-02T06:38:13.935Z] 45590311c82a: Pull complete [2020-11-02T06:38:13.935Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:38:18.288Z] 209524e5b208: Pull complete [2020-11-02T06:38:18.288Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:38:18.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:38:18.288Z] ---> 5bddaf1c2fca [2020-11-02T06:38:18.288Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:38:20.293Z] ---> Running in fb71daa11cae [2020-11-02T06:38:20.889Z] Removing intermediate container fb71daa11cae [2020-11-02T06:38:20.889Z] ---> bf8b477c89aa [2020-11-02T06:38:20.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:38:20.889Z] ---> Running in 0acfc5b514d5 [2020-11-02T06:38:23.550Z] Removing intermediate container 0acfc5b514d5 [2020-11-02T06:38:23.550Z] ---> 84784950880b [2020-11-02T06:38:23.550Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:38:23.550Z] ---> Running in 28c714aa63bd [2020-11-02T06:38:25.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:38:25.986Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:38:26.589Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:38:26.870Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:38:26.870Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:38:26.870Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:38:31.198Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:38:31.198Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:38:31.198Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:38:31.198Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:38:31.198Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:38:31.198Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:38:31.474Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:38:31.474Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:38:31.474Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:38:31.751Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:38:31.751Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:38:31.751Z] OK: 221 MiB in 53 packages [2020-11-02T06:38:36.075Z] Removing intermediate container 28c714aa63bd [2020-11-02T06:38:36.075Z] ---> 57d79d6748c2 [2020-11-02T06:38:36.075Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-02T06:38:36.075Z] ---> Running in 5ca9539bcdcf [2020-11-02T06:38:36.673Z] Removing intermediate container 5ca9539bcdcf [2020-11-02T06:38:36.673Z] ---> 5c2795c13c28 [2020-11-02T06:38:36.673Z] Step 7/8 : COPY . . [2020-11-02T06:38:37.661Z] ---> 1f7243cf448c [2020-11-02T06:38:37.661Z] Step 8/8 : RUN go mod download [2020-11-02T06:38:37.661Z] ---> Running in 54eb160f9dbe [2020-11-02T06:39:04.466Z] Removing intermediate container 54eb160f9dbe [2020-11-02T06:39:04.466Z] ---> 4aaa64bc9e4f [2020-11-02T06:39:04.466Z] Successfully built 4aaa64bc9e4f [2020-11-02T06:39:04.466Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:39:04.919Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:39:04.919Z] . [Pipeline] withDockerContainer [2020-11-02T06:39:05.190Z] prd-ubuntu18.04-docker-arm64-4c-16g-10048 does not seem to be running inside a container [2020-11-02T06:39:05.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-02T06:39:07.311Z] $ docker top ddc93d95dc5e95e7cfa8ce408fd837476aa603abbef381d1645a0df0cf11140a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:39:08.750Z] + go version [2020-11-02T06:39:08.750Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:39:08.795Z] $ docker stop --time=1 ddc93d95dc5e95e7cfa8ce408fd837476aa603abbef381d1645a0df0cf11140a [2020-11-02T06:39:10.818Z] $ docker rm -f ddc93d95dc5e95e7cfa8ce408fd837476aa603abbef381d1645a0df0cf11140a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:39:12.049Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:39:12.049Z] . [Pipeline] withDockerContainer [2020-11-02T06:39:12.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-10048 does not seem to be running inside a container [2020-11-02T06:39:12.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-02T06:39:14.392Z] $ docker top 982e904e4b5e8a80fb804b504532784e1de895ad7599232d8e49cad740592573 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:39:15.805Z] + make test [2020-11-02T06:39:15.805Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:39:16.796Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-02T06:39:55.823Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-02T06:39:55.823Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 28.3% of statements [2020-11-02T06:39:55.823Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-02T06:39:55.823Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:39:59.483Z] Running on prd-centos7-docker-8c-8g-10051 in /w/workspace/gexfoundry_device-mqtt-go_PR-184 [Pipeline] { [Pipeline] ws [2020-11-02T06:39:59.629Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:40:01.278Z] gofmt -l . [2020-11-02T06:40:01.279Z] ["`gofmt -l .`" = ""] [2020-11-02T06:40:01.279Z] ./bin/test-attribution-txt.sh [2020-11-02T06:40:02.014Z] using credential edgex-jenkins-ssh [2020-11-02T06:40:02.066Z] Cloning the remote Git repository [2020-11-02T06:40:02.265Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:40:02.603Z] $ docker stop --time=1 982e904e4b5e8a80fb804b504532784e1de895ad7599232d8e49cad740592573 [2020-11-02T06:40:01.817Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:40:01.903Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-02T06:40:01.940Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:40:01.940Z] > git --version # timeout=10 [2020-11-02T06:40:01.947Z] > git --version # 'git version 2.16.5' [2020-11-02T06:40:01.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:40:01.975Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:40:03.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:40:03.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:40:03.523Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:40:03.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:40:03.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:40:03.544Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:40:04.119Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:40:04.195Z] Merge succeeded, producing 9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:40:04.196Z] Checking out Revision 9336ea2bbead652cbc301856513e1331c94a12f3 (PR-184) [2020-11-02T06:40:05.090Z] $ docker rm -f 982e904e4b5e8a80fb804b504532784e1de895ad7599232d8e49cad740592573 [2020-11-02T06:40:04.029Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:40:04.035Z] > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 [2020-11-02T06:40:04.069Z] > git remote # timeout=10 [2020-11-02T06:40:04.074Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:40:04.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:40:04.085Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-02T06:40:04.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:40:04.104Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:40:04.111Z] > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:40:06.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:40:06.185Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:40:06.940Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:40:07.876Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-02T06:40:07.903Z] > git --version # timeout=10 [2020-11-02T06:40:07.906Z] > git --version # 'git version 2.16.5' [2020-11-02T06:40:07.910Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:40:08.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2020-11-02T06:40:08.474Z] + ls -al . [2020-11-02T06:40:08.474Z] total 132 [2020-11-02T06:40:08.474Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 06:40 . [2020-11-02T06:40:08.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:37 .. [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 06:37 .dockerignore [2020-11-02T06:40:08.474Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:37 .git [2020-11-02T06:40:08.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:37 .github [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 336 Nov 2 06:37 .gitignore [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 5932 Nov 2 06:37 Attribution.txt [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 1784 Nov 2 06:37 Dockerfile [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 953 Nov 2 06:37 Dockerfile.build [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 06:37 Jenkinsfile [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:37 LICENSE [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 902 Nov 2 06:37 Makefile [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 2 06:37 README.md [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:34 VERSION [2020-11-02T06:40:08.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:37 bin [2020-11-02T06:40:08.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:37 cmd [2020-11-02T06:40:08.474Z] -rw-r--r-- 1 jenkins jenkins 18940 Nov 2 06:39 coverage.out [2020-11-02T06:40:08.474Z] -rw-r--r-- 1 jenkins jenkins 511 Nov 2 06:40 go.mod [2020-11-02T06:40:08.474Z] -rw-r--r-- 1 jenkins jenkins 15219 Nov 2 06:40 go.sum [2020-11-02T06:40:08.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:37 internal [2020-11-02T06:40:08.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:37 mock [2020-11-02T06:40:08.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:37 snap [2020-11-02T06:40:08.474Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 2 06:37 version.go [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:40:09.308Z] ++ find /w/workspace/device-mqtt-go/1 [2020-11-02T06:40:09.308Z] ++ grep snapcraft.yaml [2020-11-02T06:40:09.308Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [2020-11-02T06:40:09.450Z] + 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=9336ea2bbead652cbc301856513e1331c94a12f3 --label arch=arm64 --label version=0.0.0 . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:40:09.613Z] provisioning config files... [2020-11-02T06:40:09.626Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config4892446258990336682tmp [Pipeline] { [2020-11-02T06:40:09.738Z] Sending build context to Docker daemon 488.4kB [2020-11-02T06:40:09.738Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:40:09.738Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:40:09.738Z] ---> 4aaa64bc9e4f [2020-11-02T06:40:09.738Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [Pipeline] sh [2020-11-02T06:40:10.070Z] + cp /w/workspace/device-mqtt-go/1@tmp/config4892446258990336682tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-02T06:40:10.342Z] ---> Running in 6961499d2372 [2020-11-02T06:40:10.585Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-02T06:40:10.849Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-02T06:40:10.849Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-02T06:40:10.849Z] f08d8e2a3ba1: Pulling fs layer [2020-11-02T06:40:10.849Z] 3baa9cb2483b: Pulling fs layer [2020-11-02T06:40:10.849Z] 94e5ff4c0b15: Pulling fs layer [2020-11-02T06:40:10.849Z] 1860925334f9: Pulling fs layer [2020-11-02T06:40:10.849Z] 2daf38717194: Pulling fs layer [2020-11-02T06:40:10.849Z] 309017e8d7a4: Pulling fs layer [2020-11-02T06:40:10.849Z] f7790dc9fd0f: Pulling fs layer [2020-11-02T06:40:10.849Z] cac0ae9282c2: Pulling fs layer [2020-11-02T06:40:10.849Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-02T06:40:10.849Z] 309017e8d7a4: Waiting [2020-11-02T06:40:10.849Z] f7790dc9fd0f: Waiting [2020-11-02T06:40:10.849Z] cac0ae9282c2: Waiting [2020-11-02T06:40:10.849Z] 1f4cadf9a1ed: Waiting [2020-11-02T06:40:10.849Z] 1860925334f9: Waiting [2020-11-02T06:40:10.849Z] 2daf38717194: Waiting [2020-11-02T06:40:10.849Z] 3baa9cb2483b: Download complete [2020-11-02T06:40:10.849Z] 94e5ff4c0b15: Download complete [2020-11-02T06:40:10.849Z] 309017e8d7a4: Verifying Checksum [2020-11-02T06:40:10.849Z] 309017e8d7a4: Download complete [2020-11-02T06:40:10.849Z] f7790dc9fd0f: Verifying Checksum [2020-11-02T06:40:10.849Z] f7790dc9fd0f: Download complete [2020-11-02T06:40:10.849Z] cac0ae9282c2: Download complete [2020-11-02T06:40:10.940Z] Removing intermediate container 6961499d2372 [2020-11-02T06:40:10.940Z] ---> 3b50a0f6ab98 [2020-11-02T06:40:10.940Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:40:11.111Z] 1f4cadf9a1ed: Download complete [2020-11-02T06:40:11.218Z] ---> Running in e2cc821447a1 [2020-11-02T06:40:11.694Z] f08d8e2a3ba1: Verifying Checksum [2020-11-02T06:40:11.694Z] f08d8e2a3ba1: Download complete [2020-11-02T06:40:11.818Z] Removing intermediate container e2cc821447a1 [2020-11-02T06:40:11.818Z] ---> cd526f6bc7af [2020-11-02T06:40:11.818Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:40:12.094Z] ---> Running in 3fbdfe27ec93 [2020-11-02T06:40:13.110Z] f08d8e2a3ba1: Pull complete [2020-11-02T06:40:13.373Z] 3baa9cb2483b: Pull complete [2020-11-02T06:40:13.373Z] 94e5ff4c0b15: Pull complete [2020-11-02T06:40:13.637Z] 1860925334f9: Pull complete [2020-11-02T06:40:14.717Z] Removing intermediate container 3fbdfe27ec93 [2020-11-02T06:40:14.717Z] ---> c706639ccd12 [2020-11-02T06:40:14.717Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:40:14.717Z] ---> Running in a956edcfc00d [2020-11-02T06:40:16.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:40:17.305Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:40:18.739Z] OK: 221 MiB in 53 packages [2020-11-02T06:40:19.719Z] Removing intermediate container a956edcfc00d [2020-11-02T06:40:19.720Z] ---> 1a7add6224a5 [2020-11-02T06:40:19.720Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-02T06:40:19.992Z] ---> Running in f57ef9b3cf74 [2020-11-02T06:40:20.248Z] 2daf38717194: Verifying Checksum [2020-11-02T06:40:20.249Z] 2daf38717194: Download complete [2020-11-02T06:40:20.593Z] Removing intermediate container f57ef9b3cf74 [2020-11-02T06:40:20.593Z] ---> b420388f4f7f [2020-11-02T06:40:20.594Z] Step 8/22 : COPY . . [2020-11-02T06:40:21.573Z] ---> af97c1472d55 [2020-11-02T06:40:21.573Z] Step 9/22 : ARG MAKE='make build' [2020-11-02T06:40:21.573Z] ---> Running in b57989c1f071 [2020-11-02T06:40:21.851Z] Removing intermediate container b57989c1f071 [2020-11-02T06:40:21.851Z] ---> d2a7cca30800 [2020-11-02T06:40:21.851Z] Step 10/22 : RUN $MAKE [2020-11-02T06:40:22.124Z] ---> Running in bd1f9a002d0e [2020-11-02T06:40:23.581Z] 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-11-02T06:40:38.430Z] 2daf38717194: Pull complete [2020-11-02T06:40:38.430Z] 309017e8d7a4: Pull complete [2020-11-02T06:40:38.430Z] f7790dc9fd0f: Pull complete [2020-11-02T06:40:38.430Z] cac0ae9282c2: Pull complete [2020-11-02T06:40:38.430Z] 1f4cadf9a1ed: Pull complete [2020-11-02T06:40:38.430Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-02T06:40:38.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-02T06:40:41.751Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-02T06:40:41.751Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-02T06:40:41.751Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-02T06:40:42.016Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [213 kB] [2020-11-02T06:40:42.017Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-02T06:40:42.282Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] [2020-11-02T06:40:42.282Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] [2020-11-02T06:40:42.282Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1353 kB] [2020-11-02T06:40:42.545Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2118 kB] [2020-11-02T06:40:42.545Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1748 kB] [2020-11-02T06:40:42.819Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] [2020-11-02T06:40:42.819Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] [2020-11-02T06:40:42.819Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-02T06:40:42.819Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-02T06:40:43.396Z] Fetched 8172 kB in 2s (4589 kB/s) [2020-11-02T06:40:44.794Z] Reading package lists... [2020-11-02T06:40:48.118Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-11-02T06:40:48.118Z] 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-02T06:40:48.381Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-11-02T06:40:48.382Z] 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-11-02T06:40:49.750Z] 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... 55% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% 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-11-02T06:40:50.506Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:40:51.678Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 [2020-11-02T06:40:53.047Z] 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... 51% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% 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-11-02T06:40:53.309Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 84% Building dependency tree [2020-11-02T06:40:53.310Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-02T06:40:53.572Z] The following packages were automatically installed and are no longer required: [2020-11-02T06:40:53.572Z] libjq1 libonig4 [2020-11-02T06:40:53.572Z] Use 'sudo apt autoremove' to remove them. [2020-11-02T06:40:53.572Z] Suggested packages: [2020-11-02T06:40:53.572Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-02T06:40:53.572Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-02T06:40:53.572Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-02T06:40:53.572Z] | libterm-readline-perl-perl [2020-11-02T06:40:53.572Z] The following NEW packages will be installed: [2020-11-02T06:40:53.572Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-02T06:40:53.572Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-02T06:40:53.572Z] The following packages will be upgraded: [2020-11-02T06:40:53.572Z] perl-base [2020-11-02T06:40:53.572Z] 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. [2020-11-02T06:40:53.572Z] Need to get 13.4 MB of archives. [2020-11-02T06:40:53.572Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-02T06:40:53.835Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-11-02T06:40:54.416Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 708 kB/1391 kB 51%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-11-02T06:40:54.683Z] 10% [2 perl-modules-5.26 30.6 kB/2762 kB 1%] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-11-02T06:40:54.683Z] 28% [3 libgdbm5 21.7 kB/26.0 kB 83%] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-11-02T06:40:54.683Z] 29% [4 libgdbm-compat4 6084 B/6084 B 100%] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-11-02T06:40:54.683Z] 30% [5 libperl5.26 27.6 kB/3534 kB 1%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] [2020-11-02T06:40:54.683Z] 53% [6 perl 4096 B/201 kB 2%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-02T06:40:54.683Z] 55% [7 less 16.6 kB/112 kB 15%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-02T06:40:54.683Z] 57% [8 netbase 12.7 kB/12.7 kB 100%] 59% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-11-02T06:40:54.683Z] 59% [9 curl 13.3 kB/159 kB 8%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-11-02T06:40:54.684Z] 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-11-02T06:40:54.684Z] 64% [11 liberror-perl 22.6 kB/22.8 kB 99%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-11-02T06:40:54.948Z] 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-11-02T06:40:54.948Z] 71% [13 git 0 B/3915 kB 0%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-11-02T06:40:55.211Z] 96% [14 make 11.3 kB/154 kB 7%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-11-02T06:40:55.211Z] 98% [15 patch 24.6 kB/102 kB 24%] 100% [Working] Fetched 13.4 MB in 1s (9012 kB/s) [2020-11-02T06:40:55.476Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-02T06:40:55.476Z] (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-11-02T06:40:55.476Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-02T06:40:55.476Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-02T06:40:57.214Z] Removing intermediate container bd1f9a002d0e [2020-11-02T06:40:57.214Z] ---> c39441f21dc2 [2020-11-02T06:40:57.214Z] Step 11/22 : FROM alpine [2020-11-02T06:40:57.493Z] latest: Pulling from library/alpine [2020-11-02T06:40:57.493Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:40:57.770Z] 5f621e34cdf4: Verifying Checksum [2020-11-02T06:40:57.770Z] 5f621e34cdf4: Download complete [2020-11-02T06:40:58.372Z] 5f621e34cdf4: Pull complete [2020-11-02T06:40:58.372Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:40:58.372Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:40:58.372Z] ---> 2e77e061c27f [2020-11-02T06:40:58.372Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-02T06:40:58.372Z] ---> Running in b9cce704c3c3 [2020-11-02T06:40:58.815Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-02T06:40:58.815Z] Selecting previously unselected package perl-modules-5.26. [2020-11-02T06:40:58.815Z] (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-11-02T06:40:58.815Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-02T06:40:58.815Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:40:58.968Z] Removing intermediate container b9cce704c3c3 [2020-11-02T06:40:58.968Z] ---> 7cad2e2f0e36 [2020-11-02T06:40:58.968Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-02T06:40:58.968Z] ---> Running in 24d822802c95 [2020-11-02T06:40:59.571Z] Removing intermediate container 24d822802c95 [2020-11-02T06:40:59.571Z] ---> 50cdf96363e4 [2020-11-02T06:40:59.571Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-02T06:40:59.775Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-02T06:40:59.775Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-02T06:40:59.775Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-02T06:40:59.775Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-02T06:40:59.775Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-02T06:40:59.775Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-02T06:41:00.041Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-02T06:41:00.041Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-02T06:41:00.041Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:41:00.560Z] ---> 29aaffdcf741 [2020-11-02T06:41:00.560Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-02T06:41:00.650Z] Selecting previously unselected package perl. [2020-11-02T06:41:00.650Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-02T06:41:00.650Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:41:00.650Z] Selecting previously unselected package less. [2020-11-02T06:41:00.650Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-02T06:41:00.650Z] Unpacking less (487-0.1) ... [2020-11-02T06:41:00.651Z] Selecting previously unselected package netbase. [2020-11-02T06:41:00.651Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-02T06:41:00.651Z] Unpacking netbase (5.4) ... [2020-11-02T06:41:00.651Z] Selecting previously unselected package curl. [2020-11-02T06:41:00.651Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-02T06:41:00.651Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:41:00.916Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-02T06:41:00.916Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-02T06:41:00.916Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:41:00.916Z] Selecting previously unselected package liberror-perl. [2020-11-02T06:41:00.916Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-02T06:41:00.916Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-02T06:41:00.916Z] Selecting previously unselected package git-man. [2020-11-02T06:41:00.916Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-02T06:41:00.916Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:41:01.167Z] ---> d60f761f7c0a [2020-11-02T06:41:01.167Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-02T06:41:01.192Z] Selecting previously unselected package git. [2020-11-02T06:41:01.192Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-02T06:41:01.192Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:41:01.779Z] ---> dae84ad672fd [2020-11-02T06:41:01.779Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-02T06:41:01.795Z] Selecting previously unselected package make. [2020-11-02T06:41:01.795Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-02T06:41:01.795Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-02T06:41:01.795Z] Selecting previously unselected package patch. [2020-11-02T06:41:01.795Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-02T06:41:01.795Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:41:01.795Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:41:01.795Z] Setting up less (487-0.1) ... [2020-11-02T06:41:02.063Z] ---> Running in e008ff121e93 [2020-11-02T06:41:02.077Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-02T06:41:02.077Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:41:02.077Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:41:02.077Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:41:02.077Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-02T06:41:02.077Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:41:02.077Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-02T06:41:02.077Z] Setting up netbase (5.4) ... [2020-11-02T06:41:02.347Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:41:02.347Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:41:02.347Z] Setting up liberror-perl (0.17025-1) ... [2020-11-02T06:41:02.347Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:41:02.347Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-02T06:41:02.347Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-02T06:41:02.661Z] Removing intermediate container e008ff121e93 [2020-11-02T06:41:02.661Z] ---> ef09f3e178ac [2020-11-02T06:41:02.661Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-02T06:41:02.661Z] ---> Running in 2aa9e85c1c66 [2020-11-02T06:41:02.940Z] Removing intermediate container 2aa9e85c1c66 [2020-11-02T06:41:02.940Z] ---> a37eed5ec218 [2020-11-02T06:41:02.940Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:41:03.225Z] ---> Running in 1826d72f056f [2020-11-02T06:41:03.502Z] Removing intermediate container 1826d72f056f [2020-11-02T06:41:03.502Z] ---> c3fbd8a74d51 [2020-11-02T06:41:03.502Z] Step 20/22 : LABEL arch=arm64 [2020-11-02T06:41:03.783Z] ---> Running in 24066490b2a9 [2020-11-02T06:41:04.068Z] Removing intermediate container 24066490b2a9 [2020-11-02T06:41:04.068Z] ---> fd60888846e7 [2020-11-02T06:41:04.068Z] Step 21/22 : LABEL git_sha=9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:41:04.287Z] curl set to automatically installed. [2020-11-02T06:41:04.287Z] git set to automatically installed. [2020-11-02T06:41:04.288Z] git-man set to automatically installed. [2020-11-02T06:41:04.288Z] less set to automatically installed. [2020-11-02T06:41:04.288Z] libcurl3-gnutls set to automatically installed. [2020-11-02T06:41:04.288Z] liberror-perl set to automatically installed. [2020-11-02T06:41:04.288Z] libgdbm-compat4 set to automatically installed. [2020-11-02T06:41:04.288Z] libgdbm5 set to automatically installed. [2020-11-02T06:41:04.288Z] libperl5.26 set to automatically installed. [2020-11-02T06:41:04.288Z] make set to automatically installed. [2020-11-02T06:41:04.288Z] netbase set to automatically installed. [2020-11-02T06:41:04.288Z] patch set to automatically installed. [2020-11-02T06:41:04.288Z] perl set to automatically installed. [2020-11-02T06:41:04.288Z] perl-base set to automatically installed. [2020-11-02T06:41:04.288Z] perl-modules-5.26 set to automatically installed. [2020-11-02T06:41:04.288Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-02T06:41:04.288Z] Please ensure the environment is properly setup before continuing. [2020-11-02T06:41:04.288Z] Ignore this message if the appropriate measures have already been taken [2020-11-02T06:41:04.345Z] ---> Running in 5e1f4b3bef60 [2020-11-02T06:41:04.554Z] Pulling go  [2020-11-02T06:41:04.963Z] Removing intermediate container 5e1f4b3bef60 [2020-11-02T06:41:04.963Z] ---> e3f20269ce67 [2020-11-02T06:41:04.963Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:41:04.963Z] ---> Running in bd8e487cc087 [2020-11-02T06:41:05.515Z] 'device-mqtt' has dependencies that need to be staged: go [2020-11-02T06:41:05.515Z] Skipping pull go (already ran) [2020-11-02T06:41:05.515Z] Building go  [2020-11-02T06:41:05.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:41:05.515Z] Dload Upload Total Spent Left Speed [2020-11-02T06:41:05.564Z] Removing intermediate container bd8e487cc087 [2020-11-02T06:41:05.564Z] ---> 6ef3d978eb8c [2020-11-02T06:41:05.564Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:41:05.564Z] Successfully built 6ef3d978eb8c [2020-11-02T06:41:05.564Z] 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-11-02T06:41:07.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 115M 0 6911 0 0 87481 0 0:23:04 --:--:-- 0:23:04 86387 48 115M 48 56.4M 0 0 51.6M 0 0:00:02 0:00:01 0:00:01 51.5M 100 115M 100 115M 0 0 56.7M 0 0:00:02 0:00:02 --:--:-- 56.8M [2020-11-02T06:41:08.497Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-02T06:41:16.669Z] Staging go  [2020-11-02T06:41:16.669Z] Pulling device-mqtt  [2020-11-02T06:41:17.248Z] Skipping build go (already ran) [2020-11-02T06:41:17.248Z] Building device-mqtt  [2020-11-02T06:41:17.248Z] 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-11-02T06:41:18.203Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 [2020-11-02T06:41:18.203Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.112 [2020-11-02T06:41:18.203Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-11-02T06:41:18.203Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-11-02T06:41:18.203Z] go: downloading github.com/spf13/cast v1.3.1 [2020-11-02T06:41:18.203Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-11-02T06:41:18.203Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-02T06:41:18.203Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-02T06:41:18.468Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-02T06:41:18.468Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 [2020-11-02T06:41:18.468Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 [2020-11-02T06:41:18.468Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-02T06:41:18.468Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-02T06:41:18.468Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-02T06:41:18.468Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-02T06:41:18.468Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 [2020-11-02T06:41:18.468Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 [2020-11-02T06:41:18.468Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-02T06:41:18.468Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-02T06:41:18.468Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-02T06:41:18.468Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-02T06:41:18.468Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-02T06:41:18.468Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-02T06:41:18.468Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-02T06:41:18.468Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-02T06:41:18.731Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-02T06:41:18.731Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-02T06:41:18.731Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-02T06:41:18.731Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-02T06:41:18.731Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-02T06:41:18.731Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-02T06:41:18.731Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-11-02T06:41:21.670Z] Still waiting to schedule task [2020-11-02T06:41:21.671Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-16c-16g-10054’ [2020-11-02T06:41:25.398Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:41:29.625Z] Skipping stage go (already ran) [2020-11-02T06:41:29.625Z] Staging device-mqtt  [2020-11-02T06:41:30.198Z] Priming go  [2020-11-02T06:41:31.147Z] Priming device-mqtt  [2020-11-02T06:41:31.721Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-02T06:41:31.721Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-02T06:41:31.721Z] Determining the version from the project repo (version-script). [2020-11-02T06:41:31.721Z] The version has been set to 'local-dev-20201102+9336ea2' [2020-11-02T06:41:32.541Z] Snapping | Snapping / Snapping - Snapping | [2020-11-02T06:41:32.541Z] Snapped edgex-device-mqtt_local-dev-20201102+9336ea2_amd64.snap [Pipeline] } [2020-11-02T06:41:35.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-02T06:44:23.072Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-10069 in /w/workspace/gexfoundry_device-mqtt-go_PR-184 [Pipeline] { [Pipeline] ws [2020-11-02T06:44:23.190Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:44:28.296Z] using credential edgex-jenkins-ssh [2020-11-02T06:44:28.349Z] Cloning the remote Git repository [2020-11-02T06:44:28.413Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:44:28.534Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-02T06:44:28.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:44:28.624Z] > git --version # timeout=10 [2020-11-02T06:44:28.644Z] > git --version # 'git version 2.17.1' [2020-11-02T06:44:28.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:44:28.742Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:44:29.458Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:44:29.476Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:44:30.033Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:44:30.251Z] Merge succeeded, producing 9336ea2bbead652cbc301856513e1331c94a12f3 [2020-11-02T06:44:30.252Z] Checking out Revision 9336ea2bbead652cbc301856513e1331c94a12f3 (PR-184) [2020-11-02T06:44:29.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:44:29.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:44:29.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:44:29.576Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:44:30.065Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:44:30.080Z] > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 [2020-11-02T06:44:30.168Z] > git remote # timeout=10 [2020-11-02T06:44:30.190Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:44:30.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:44:30.216Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-02T06:44:30.241Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:44:30.267Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:44:30.280Z] > git checkout -f 9336ea2bbead652cbc301856513e1331c94a12f3 # timeout=10 [2020-11-02T06:44:34.695Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-02T06:44:34.768Z] > git --version # timeout=10 [2020-11-02T06:44:34.777Z] > git --version # 'git version 2.17.1' [2020-11-02T06:44:34.788Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T06:44:36.573Z] + find /w/workspace/device-mqtt-go/1 [2020-11-02T06:44:36.573Z] + grep snapcraft.yaml [2020-11-02T06:44:36.573Z] + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:44:36.947Z] provisioning config files... [2020-11-02T06:44:36.973Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config3230644060576031265tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:44:37.544Z] + cp /w/workspace/device-mqtt-go/1@tmp/config3230644060576031265tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-02T06:44:37.912Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-11-02T06:44:38.514Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-11-02T06:44:38.795Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-11-02T06:44:38.795Z] 237528ba509b: Pulling fs layer [2020-11-02T06:44:38.795Z] 393b96f31d8b: Pulling fs layer [2020-11-02T06:44:38.795Z] 4d82b0e39008: Pulling fs layer [2020-11-02T06:44:38.795Z] e7ca375b8d34: Pulling fs layer [2020-11-02T06:44:38.795Z] 418f656485bb: Pulling fs layer [2020-11-02T06:44:38.795Z] aebe8db9254c: Pulling fs layer [2020-11-02T06:44:38.795Z] 4f5f7b207d3f: Pulling fs layer [2020-11-02T06:44:38.795Z] d19ca6af091a: Pulling fs layer [2020-11-02T06:44:38.795Z] 16b5a0711add: Pulling fs layer [2020-11-02T06:44:38.795Z] aebe8db9254c: Waiting [2020-11-02T06:44:38.795Z] e7ca375b8d34: Waiting [2020-11-02T06:44:38.795Z] d19ca6af091a: Waiting [2020-11-02T06:44:38.795Z] 4f5f7b207d3f: Waiting [2020-11-02T06:44:38.795Z] 4d82b0e39008: Verifying Checksum [2020-11-02T06:44:38.795Z] 4d82b0e39008: Download complete [2020-11-02T06:44:38.795Z] 393b96f31d8b: Verifying Checksum [2020-11-02T06:44:38.795Z] 393b96f31d8b: Download complete [2020-11-02T06:44:38.795Z] e7ca375b8d34: Download complete [2020-11-02T06:44:39.073Z] aebe8db9254c: Verifying Checksum [2020-11-02T06:44:39.073Z] aebe8db9254c: Download complete [2020-11-02T06:44:39.073Z] 4f5f7b207d3f: Verifying Checksum [2020-11-02T06:44:39.073Z] 4f5f7b207d3f: Download complete [2020-11-02T06:44:39.073Z] d19ca6af091a: Verifying Checksum [2020-11-02T06:44:39.073Z] d19ca6af091a: Download complete [2020-11-02T06:44:39.073Z] 16b5a0711add: Verifying Checksum [2020-11-02T06:44:39.073Z] 16b5a0711add: Download complete [2020-11-02T06:44:41.063Z] 237528ba509b: Verifying Checksum [2020-11-02T06:44:41.063Z] 237528ba509b: Download complete [2020-11-02T06:44:43.728Z] 237528ba509b: Pull complete [2020-11-02T06:44:44.006Z] 393b96f31d8b: Pull complete [2020-11-02T06:44:44.615Z] 4d82b0e39008: Pull complete [2020-11-02T06:44:44.895Z] e7ca375b8d34: Pull complete [2020-11-02T06:44:50.328Z] 418f656485bb: Verifying Checksum [2020-11-02T06:44:50.328Z] 418f656485bb: Download complete [2020-11-02T06:45:37.341Z] 418f656485bb: Pull complete [2020-11-02T06:45:37.341Z] aebe8db9254c: Pull complete [2020-11-02T06:45:37.341Z] 4f5f7b207d3f: Pull complete [2020-11-02T06:45:37.341Z] d19ca6af091a: Pull complete [2020-11-02T06:45:37.341Z] 16b5a0711add: Pull complete [2020-11-02T06:45:37.341Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-11-02T06:45:37.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-11-02T06:45:37.341Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-11-02T06:45:37.341Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-11-02T06:45:37.341Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-11-02T06:45:37.341Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-11-02T06:45:37.947Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1861 kB] [2020-11-02T06:45:38.231Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] [2020-11-02T06:45:38.231Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] [2020-11-02T06:45:38.504Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] [2020-11-02T06:45:38.504Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] [2020-11-02T06:45:38.504Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] [2020-11-02T06:45:38.504Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] [2020-11-02T06:45:38.782Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1179 kB] [2020-11-02T06:45:38.782Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] [2020-11-02T06:45:38.782Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1036 kB] [2020-11-02T06:45:39.378Z] Fetched 5774 kB in 3s (2135 kB/s) [2020-11-02T06:45:44.793Z] Reading package lists... [2020-11-02T06:46:03.122Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-11-02T06:46:03.122Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-11-02T06:46:03.122Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-11-02T06:46:03.122Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-11-02T06:46:08.264Z] 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... 7% Reading package lists... 21% Reading package lists... 38% Reading package lists... 50% Reading package lists... 62% 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... 88% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-02T06:46:16.098Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 [2020-11-02T06:46:21.709Z] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 8% Reading package lists... 21% Reading package lists... 36% Reading package lists... 49% Reading package lists... 63% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 75% 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... 91% 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-11-02T06:46:22.269Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 69% Building dependency tree [2020-11-02T06:46:22.269Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-02T06:46:23.273Z] The following packages were automatically installed and are no longer required: [2020-11-02T06:46:23.273Z] libjq1 libonig4 [2020-11-02T06:46:23.273Z] Use 'sudo apt autoremove' to remove them. [2020-11-02T06:46:23.273Z] Suggested packages: [2020-11-02T06:46:23.273Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-02T06:46:23.273Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-02T06:46:23.273Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-02T06:46:23.273Z] | libterm-readline-perl-perl [2020-11-02T06:46:23.551Z] The following NEW packages will be installed: [2020-11-02T06:46:23.551Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-02T06:46:23.551Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-02T06:46:23.551Z] The following packages will be upgraded: [2020-11-02T06:46:23.551Z] perl-base [2020-11-02T06:46:23.551Z] 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. [2020-11-02T06:46:23.551Z] Need to get 12.0 MB of archives. [2020-11-02T06:46:23.551Z] After this operation, 73.6 MB of additional disk space will be used. [2020-11-02T06:46:23.832Z] 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-base arm64 5.26.1-6ubuntu0.5 [1237 kB] [2020-11-02T06:46:24.437Z] 0% [1 perl-base 12.6 kB/1237 kB 1%] 4% [1 perl-base 590 kB/1237 kB 48%] 10% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-11-02T06:46:24.729Z] 10% [2 perl-modules-5.26 0 B/2762 kB 0%] 29% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-11-02T06:46:24.729Z] 29% [3 libgdbm5 23.1 kB/23.1 kB 100%] 31% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-11-02T06:46:24.729Z] 31% [4 libgdbm-compat4 5536 B/5536 B 100%] 32% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.5 [3335 kB] [2020-11-02T06:46:25.007Z] 32% [5 libperl5.26 33.6 kB/3335 kB 1%] 56% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.5 [201 kB] [2020-11-02T06:46:25.007Z] 56% [6 perl 41.1 kB/201 kB 20%] 58% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-11-02T06:46:25.007Z] 59% [7 less 36.0 kB/99.7 kB 36%] 60% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-11-02T06:46:25.007Z] 60% [8 netbase 12.7 kB/12.7 kB 100%] 62% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] [2020-11-02T06:46:25.007Z] 62% [9 curl 54.1 kB/152 kB 36%] 64% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] [2020-11-02T06:46:25.007Z] 64% [10 libcurl3-gnutls 32.8 kB/179 kB 18%] 67% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-11-02T06:46:25.007Z] 67% [11 liberror-perl 22.8 kB/22.8 kB 100%] 68% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-11-02T06:46:25.007Z] 68% [12 git-man 27.2 kB/804 kB 3%] 75% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-11-02T06:46:25.290Z] 75% [13 git 9887 B/2952 kB 0%] 96% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-11-02T06:46:25.290Z] 96% [14 make 45.1 kB/139 kB 32%] 98% [Working] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-11-02T06:46:25.290Z] 98% [15 patch 64.9 kB/91.8 kB 71%] 100% [Working] Fetched 12.0 MB in 2s (7364 kB/s) [2020-11-02T06:46:25.898Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-02T06:46:26.176Z] (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-11-02T06:46:26.176Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... [2020-11-02T06:46:26.176Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-02T06:46:31.690Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:31.690Z] Selecting previously unselected package perl-modules-5.26. [2020-11-02T06:46:31.690Z] (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-11-02T06:46:31.690Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-02T06:46:31.690Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:33.152Z] Selecting previously unselected package libgdbm5:arm64. [2020-11-02T06:46:33.152Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-11-02T06:46:33.152Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-11-02T06:46:33.152Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-11-02T06:46:33.152Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-11-02T06:46:33.152Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-11-02T06:46:33.152Z] Selecting previously unselected package libperl5.26:arm64. [2020-11-02T06:46:33.152Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... [2020-11-02T06:46:33.152Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:34.629Z] Selecting previously unselected package perl. [2020-11-02T06:46:34.629Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... [2020-11-02T06:46:34.629Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:34.629Z] Selecting previously unselected package less. [2020-11-02T06:46:34.629Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-11-02T06:46:34.629Z] Unpacking less (487-0.1) ... [2020-11-02T06:46:34.903Z] Selecting previously unselected package netbase. [2020-11-02T06:46:34.903Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-02T06:46:34.903Z] Unpacking netbase (5.4) ... [2020-11-02T06:46:34.903Z] Selecting previously unselected package curl. [2020-11-02T06:46:34.903Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-11-02T06:46:34.903Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:46:35.180Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-11-02T06:46:35.180Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-11-02T06:46:35.180Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:46:35.456Z] Selecting previously unselected package liberror-perl. [2020-11-02T06:46:35.456Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-02T06:46:35.456Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-02T06:46:35.456Z] Selecting previously unselected package git-man. [2020-11-02T06:46:35.456Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-02T06:46:35.456Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:46:35.742Z] Selecting previously unselected package git. [2020-11-02T06:46:35.742Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-11-02T06:46:35.742Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:46:37.195Z] Selecting previously unselected package make. [2020-11-02T06:46:37.195Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-11-02T06:46:37.195Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-02T06:46:37.195Z] Selecting previously unselected package patch. [2020-11-02T06:46:37.195Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-11-02T06:46:37.195Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:46:37.195Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:46:37.195Z] Setting up less (487-0.1) ... [2020-11-02T06:46:37.810Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-02T06:46:37.810Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:46:37.810Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:46:37.810Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:37.810Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-11-02T06:46:37.810Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:46:38.085Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-11-02T06:46:38.085Z] Setting up netbase (5.4) ... [2020-11-02T06:46:38.085Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:38.085Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:46:38.085Z] Setting up liberror-perl (0.17025-1) ... [2020-11-02T06:46:38.357Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:46:38.357Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-02T06:46:38.357Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-02T06:46:45.077Z] curl set to automatically installed. [2020-11-02T06:46:45.077Z] git set to automatically installed. [2020-11-02T06:46:45.077Z] git-man set to automatically installed. [2020-11-02T06:46:45.077Z] less set to automatically installed. [2020-11-02T06:46:45.077Z] libcurl3-gnutls set to automatically installed. [2020-11-02T06:46:45.077Z] liberror-perl set to automatically installed. [2020-11-02T06:46:45.077Z] libgdbm-compat4 set to automatically installed. [2020-11-02T06:46:45.077Z] libgdbm5 set to automatically installed. [2020-11-02T06:46:45.077Z] libperl5.26 set to automatically installed. [2020-11-02T06:46:45.077Z] make set to automatically installed. [2020-11-02T06:46:45.077Z] netbase set to automatically installed. [2020-11-02T06:46:45.077Z] patch set to automatically installed. [2020-11-02T06:46:45.077Z] perl set to automatically installed. [2020-11-02T06:46:45.077Z] perl-base set to automatically installed. [2020-11-02T06:46:45.077Z] perl-modules-5.26 set to automatically installed. [2020-11-02T06:46:45.077Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-02T06:46:45.077Z] Please ensure the environment is properly setup before continuing. [2020-11-02T06:46:45.077Z] Ignore this message if the appropriate measures have already been taken [2020-11-02T06:46:46.055Z] Pulling go  [2020-11-02T06:46:50.377Z] 'device-mqtt' has dependencies that need to be staged: go [2020-11-02T06:46:50.377Z] Skipping pull go (already ran) [2020-11-02T06:46:50.377Z] Building go  [2020-11-02T06:46:50.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:46:50.377Z] Dload Upload Total Spent Left Speed [2020-11-02T06:46:52.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 42 93.2M 42 39.4M 0 0 36.8M 0 0:00:02 0:00:01 0:00:01 36.7M 98 93.2M 98 92.2M 0 0 44.1M 0 0:00:02 0:00:02 --:--:-- 44.1M 100 93.2M 100 93.2M 0 0 44.1M 0 0:00:02 0:00:02 --:--:-- 44.1M [2020-11-02T06:46:53.953Z] go1.15.2.linux-arm64.tar.gz: OK [2020-11-02T06:47:20.751Z] Staging go  [2020-11-02T06:47:21.352Z] Pulling device-mqtt  [2020-11-02T06:47:26.754Z] Skipping build go (already ran) [2020-11-02T06:47:26.755Z] Building device-mqtt  [2020-11-02T06:47:26.755Z] 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-11-02T06:47:27.744Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 [2020-11-02T06:47:27.744Z] go: downloading github.com/spf13/cast v1.3.1 [2020-11-02T06:47:27.744Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.112 [2020-11-02T06:47:27.744Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-11-02T06:47:27.744Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-11-02T06:47:27.744Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-11-02T06:47:27.744Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-02T06:47:27.744Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 [2020-11-02T06:47:28.030Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-02T06:47:28.031Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-02T06:47:28.031Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-02T06:47:28.031Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-02T06:47:28.031Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 [2020-11-02T06:47:28.031Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 [2020-11-02T06:47:28.031Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-02T06:47:28.031Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-02T06:47:28.031Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-02T06:47:28.031Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-02T06:47:28.031Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-02T06:47:28.031Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 [2020-11-02T06:47:28.031Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-02T06:47:28.031Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-02T06:47:28.031Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-02T06:47:28.031Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-02T06:47:28.308Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-02T06:47:28.308Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-02T06:47:28.308Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-02T06:47:28.308Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-02T06:47:28.308Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-02T06:47:28.308Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-02T06:47:28.308Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-02T06:47:28.308Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-02T06:47:28.308Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-02T06:47:28.308Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-02T06:47:28.580Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-02T06:47:28.580Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-02T06:47:28.854Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-02T06:47:28.854Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-11-02T06:47:51.065Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:48:17.917Z] Skipping stage go (already ran) [2020-11-02T06:48:17.917Z] Staging device-mqtt  [2020-11-02T06:48:21.327Z] Priming go  [2020-11-02T06:48:26.754Z] Priming device-mqtt  [2020-11-02T06:48:32.184Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-02T06:48:32.184Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-02T06:48:32.184Z] Determining the version from the project repo (version-script). [2020-11-02T06:48:32.184Z] The version has been set to 'local-dev-20201102+9336ea2' [2020-11-02T06:48:33.574Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | [2020-11-02T06:48:33.574Z] Snapped edgex-device-mqtt_local-dev-20201102+9336ea2_arm64.snap [Pipeline] } [2020-11-02T06:48:37.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-02T06:48:39.770Z] provisioning config files... [2020-11-02T06:48:39.792Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp/config6668313495450999426tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:48:40.281Z] + set +x [2020-11-02T06:48:40.281Z] + curl -s https://codecov.io/bash [2020-11-02T06:48:40.281Z] + bash -s -- [2020-11-02T06:48:40.561Z] [2020-11-02T06:48:40.561Z] _____ _ [2020-11-02T06:48:40.561Z] / ____| | | [2020-11-02T06:48:40.561Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:48:40.561Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:48:40.561Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:48:40.561Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:48:40.561Z] Bash-20201009-048fee3 [2020-11-02T06:48:40.561Z] [2020-11-02T06:48:40.561Z] [2020-11-02T06:48:40.561Z] ==> Jenkins CI detected. [2020-11-02T06:48:40.561Z] project root: . [2020-11-02T06:48:40.561Z] --> token set from env [2020-11-02T06:48:40.561Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:48:40.561Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:48:40.561Z] ==> Python coveragepy not found [2020-11-02T06:48:40.561Z] ==> Searching for coverage reports in: [2020-11-02T06:48:40.561Z] + . [2020-11-02T06:48:40.561Z] -> Found 1 reports [2020-11-02T06:48:40.561Z] ==> Detecting git/mercurial file structure [2020-11-02T06:48:40.842Z] ==> Reading reports [2020-11-02T06:48:40.842Z] + ./coverage.out bytes=18940 [2020-11-02T06:48:40.842Z] ==> Appending adjustments [2020-11-02T06:48:40.842Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:48:40.842Z] + Found adjustments [2020-11-02T06:48:40.842Z] ==> Gzipping contents [2020-11-02T06:48:40.842Z] ==> Uploading reports [2020-11-02T06:48:40.842Z] url: https://codecov.io [2020-11-02T06:48:40.842Z] query: branch=PR-184&commit=9336ea2bbead652cbc301856513e1331c94a12f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2020-11-02T06:48:40.842Z] -> Pinging Codecov [2020-11-02T06:48:40.843Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-184&commit=9336ea2bbead652cbc301856513e1331c94a12f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2020-11-02T06:48:41.149Z] -> Uploading to [2020-11-02T06:48:41.149Z] [2020-11-02T06:48:41.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:48:41.149Z] Dload Upload Total Spent Left Speed [2020-11-02T06:48:41.149Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:48:41.149Z] X> Failed to upload [2020-11-02T06:48:41.149Z] ==> Uploading to Codecov [2020-11-02T06:48:41.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:48:41.149Z] Dload Upload Total Spent Left Speed [2020-11-02T06:48:41.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3366 100 111 100 3255 185 5434 --:--:-- --:--:-- --:--:-- 5434 [2020-11-02T06:48:41.758Z] View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9336ea2bbead652cbc301856513e1331c94a12f3 [Pipeline] } [2020-11-02T06:48:41.794Z] 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-11-02T06:48:46.285Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:48:46.962Z] ---> package-listing.sh [2020-11-02T06:48:46.962Z] ++ facter osfamily [2020-11-02T06:48:46.962Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:48:47.229Z] + OS_FAMILY=redhat [2020-11-02T06:48:47.229Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-184 [2020-11-02T06:48:47.229Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:48:47.229Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:48:47.229Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:48:47.229Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:48:47.229Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-184 ']' [2020-11-02T06:48:47.229Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:48:47.229Z] + case "${OS_FAMILY}" in [2020-11-02T06:48:47.229Z] + rpm -qa [2020-11-02T06:48:47.229Z] + sort [2020-11-02T06:48:51.517Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:48:51.518Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:48:51.518Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:48:51.518Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-184 ']' [2020-11-02T06:48:51.518Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-184/archives/ [2020-11-02T06:48:51.518Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-184/archives/ [Pipeline] echo [2020-11-02T06:48:51.561Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T06:48:52.003Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:48:52.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:48:53.046Z] [2020-11-02T06:48:53.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:48:53.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:48:53.526Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:48:53.526Z] df20fa9351a1: Already exists [2020-11-02T06:48:53.526Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:48:53.526Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:48:53.526Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:48:53.526Z] 93b61091891f: Pulling fs layer [2020-11-02T06:48:53.526Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:48:53.526Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:48:53.526Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:48:53.526Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:48:53.526Z] 93b61091891f: Waiting [2020-11-02T06:48:53.526Z] 93b9cdb0e59b: Waiting [2020-11-02T06:48:53.526Z] 5e14af77c1be: Waiting [2020-11-02T06:48:53.526Z] 01666e4c0597: Waiting [2020-11-02T06:48:53.526Z] aa168da1d23b: Waiting [2020-11-02T06:48:53.526Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T06:48:53.526Z] 46f8f816bc3b: Download complete [2020-11-02T06:48:53.526Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T06:48:53.526Z] 36b3adc4ff6f: Download complete [2020-11-02T06:48:53.526Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:48:53.526Z] 93b9cdb0e59b: Download complete [2020-11-02T06:48:53.809Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:48:53.809Z] 5e14af77c1be: Download complete [2020-11-02T06:48:53.809Z] 01666e4c0597: Verifying Checksum [2020-11-02T06:48:53.809Z] 01666e4c0597: Download complete [2020-11-02T06:48:53.809Z] 93b61091891f: Verifying Checksum [2020-11-02T06:48:53.809Z] 93b61091891f: Download complete [2020-11-02T06:48:54.080Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:48:54.359Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:48:54.359Z] 8ad3a11d3b57: Download complete [2020-11-02T06:48:56.372Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:48:56.372Z] 46f8f816bc3b: Pull complete [2020-11-02T06:48:57.838Z] 93b61091891f: Pull complete [2020-11-02T06:48:58.457Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:48:58.763Z] aa168da1d23b: Download complete [2020-11-02T06:48:58.764Z] 5e14af77c1be: Pull complete [2020-11-02T06:48:59.074Z] 01666e4c0597: Pull complete [2020-11-02T06:49:11.498Z] aa168da1d23b: Pull complete [2020-11-02T06:49:11.498Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:49:11.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:49:11.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:49:11.879Z] prd-centos7-docker-4c-2g-10046 does not seem to be running inside a container [2020-11-02T06:49:12.025Z] $ 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-184/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-184 -v /w/workspace/gexfoundry_device-mqtt-go_PR-184:/w/workspace/gexfoundry_device-mqtt-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T06:49:14.677Z] $ docker top 0523ac51fee4f08916b89e70a504e1c197f5468514da65c8d3bc11a3ee209256 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:49:15.710Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:49:16.101Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:49:16.719Z] + ls /var/log/sa-host [2020-11-02T06:49:16.719Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:49:16.719Z] file_magic: OK [2020-11-02T06:49:16.719Z] HZ: Using current value: 100 [2020-11-02T06:49:16.719Z] file_header: OK [2020-11-02T06:49:16.719Z] 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-11-02T06:49:16.719Z] Statistics: [2020-11-02T06:49:16.719Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:49:16.719Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:49:16.719Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:49:16.719Z] file_magic: OK [2020-11-02T06:49:16.719Z] HZ: Using current value: 100 [2020-11-02T06:49:16.719Z] file_header: OK [2020-11-02T06:49:16.719Z] 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-11-02T06:49:16.719Z] Statistics: [2020-11-02T06:49:16.719Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:49:16.719Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:49:17.019Z] provisioning config files... [2020-11-02T06:49:17.038Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-184@tmp/config7369671392330088173tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:49:17.162Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:17.533Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:49:17.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:49:17.739Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:18.143Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:49:18.191Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:18.573Z] ---> sudo-logs.sh [2020-11-02T06:49:18.573Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:49:18.610Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:19.109Z] ---> job-cost.sh [2020-11-02T06:49:19.380Z] lf-activate-venv: SKIPPING [2020-11-02T06:49:19.380Z] INFO: No Stack... [2020-11-02T06:49:20.407Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:49:20.748Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:49:20.831Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:21.873Z] ---> logs-deploy.sh [2020-11-02T06:49:21.873Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-184/1 [2020-11-02T06:49:21.873Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:49:24.216Z] Archives upload complete. [2020-11-02T06:49:24.216Z] INFO: archiving logs to Nexus