Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 028dbc440845f859cdcd2d4815c2d932ec30317a+b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 (32d1decf04666925527b34669574209bdd999536) 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-183/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-183/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-10045 in /w/workspace/gexfoundry_device-mqtt-go_PR-183 [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-183 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 028dbc440845f859cdcd2d4815c2d932ec30317a Merge succeeded, producing 028dbc440845f859cdcd2d4815c2d932ec30317a Checking out Revision 028dbc440845f859cdcd2d4815c2d932ec30317a (PR-183) 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/183/head:refs/remotes/origin/PR-183 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" 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:33:24.763Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:33:25.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:33:25.375Z] ========================================================= [2020-11-02T06:33:25.375Z] EdgeX Global Pipelines Version Info [2020-11-02T06:33:25.375Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:33:27.727Z] ------------------- [2020-11-02T06:33:27.727Z] stable info: [2020-11-02T06:33:27.727Z] ------------------- [2020-11-02T06:33:27.727Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:33:27.727Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:33:27.727Z] Message: update stable to v1.0.152 [2020-11-02T06:33:28.791Z] ------------------- [2020-11-02T06:33:28.791Z] experimental info: [2020-11-02T06:33:28.791Z] ------------------- [2020-11-02T06:33:28.791Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:33:28.791Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:33:28.791Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:33:29.323Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-11-02T06:33:29.450Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-11-02T06:33:29.587Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:33:29.708Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:33:29.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:33:29.968Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:33:30.083Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:33:30.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:33:30.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:33:30.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:33:30.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:33:30.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-11-02T06:33:30.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:33:31.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:33:31.138Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:33:31.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:33:31.380Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:33:31.498Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:33:31.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:33:31.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-02T06:33:31.854Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:33:31.976Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:33:32.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:33:32.220Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:33:32.348Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:33:32.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo [2020-11-02T06:33:32.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo [2020-11-02T06:33:32.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo [2020-11-02T06:33:32.825Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 028dbc440845f859cdcd2d4815c2d932ec30317a [Pipeline] echo [2020-11-02T06:33:32.949Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 028dbc4 [Pipeline] echo [2020-11-02T06:33:33.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:33:33.909Z] + git log --format=format:%s -1 028dbc440845f859cdcd2d4815c2d932ec30317a [Pipeline] echo [2020-11-02T06:33:34.035Z] GIT_COMMIT: 028dbc440845f859cdcd2d4815c2d932ec30317a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo [2020-11-02T06:33:34.102Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:33:34.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:33:35.001Z] [2020-11-02T06:33:35.002Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:33:35.427Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:33:35.726Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:33:35.726Z] 31603596830f: Pulling fs layer [2020-11-02T06:33:35.726Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:33:35.726Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:33:35.726Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:33:35.726Z] ecc8261a40a4: Waiting [2020-11-02T06:33:35.726Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:33:35.726Z] 2a8b12db71e7: Download complete [2020-11-02T06:33:36.023Z] 31603596830f: Verifying Checksum [2020-11-02T06:33:36.023Z] 31603596830f: Download complete [2020-11-02T06:33:36.310Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:33:36.310Z] ecc8261a40a4: Download complete [2020-11-02T06:33:36.310Z] 6ca5941a6612: Download complete [2020-11-02T06:33:36.583Z] 31603596830f: Pull complete [2020-11-02T06:33:36.850Z] 2a8b12db71e7: Pull complete [2020-11-02T06:33:38.339Z] 6ca5941a6612: Pull complete [2020-11-02T06:33:38.614Z] ecc8261a40a4: Pull complete [2020-11-02T06:33:38.614Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:33:38.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:33:38.614Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:33:38.802Z] prd-centos7-docker-4c-2g-10045 does not seem to be running inside a container [2020-11-02T06:33:38.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-183 -v /w/workspace/gexfoundry_device-mqtt-go_PR-183:/w/workspace/gexfoundry_device-mqtt-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-183@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-02T06:33:42.123Z] $ docker top 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:33:42.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:33:42.587Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:33:43.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:33:43.443Z] $ docker exec 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 ssh-agent [2020-11-02T06:33:43.969Z] SSH_AUTH_SOCK=/tmp/ssh-i3RrLOWddWgQ/agent.12 [2020-11-02T06:33:43.969Z] SSH_AGENT_PID=17 [2020-11-02T06:33:43.989Z] Running ssh-add (command line suppressed) [2020-11-02T06:33:44.197Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp/private_key_3774123311532390833.key (/w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp/private_key_3774123311532390833.key) [2020-11-02T06:33:44.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:33:44.701Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:33:44.742Z] $ docker exec --env ******** --env ******** 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 ssh-agent -k [2020-11-02T06:33:44.933Z] unset SSH_AUTH_SOCK; [2020-11-02T06:33:44.933Z] unset SSH_AGENT_PID; [2020-11-02T06:33:44.933Z] echo Agent pid 17 killed; [2020-11-02T06:33:45.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:33:45.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:33:45.206Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:33:45.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:33:45.616Z] $ docker exec 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 ssh-agent [2020-11-02T06:33:45.878Z] SSH_AUTH_SOCK=/tmp/ssh-NeNoSmfKunfw/agent.45 [2020-11-02T06:33:45.878Z] SSH_AGENT_PID=50 [2020-11-02T06:33:45.886Z] Running ssh-add (command line suppressed) [2020-11-02T06:33:46.161Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp/private_key_1212616873636896882.key (/w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp/private_key_1212616873636896882.key) [2020-11-02T06:33:46.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:33:46.658Z] + git semver init [2020-11-02T06:33:46.658Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:33:46.658Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-183/.git [2020-11-02T06:33:46.658Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-183 [2020-11-02T06:33:46.658Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:33:46.658Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:33:46.658Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:33:46.658Z] # $SEMVER_BRANCH = PR-183 [2020-11-02T06:33:46.658Z] # $SEMVER_TEMP = /tmp/semver-756586204 [2020-11-02T06:33:46.658Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-11-02T06:33:47.318Z] # '/tmp/semver-756586204' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-183/.semver' [2020-11-02T06:33:47.319Z] # -> Force: false [2020-11-02T06:33:47.319Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-183/.semver [Pipeline] } [2020-11-02T06:33:47.393Z] $ docker exec --env ******** --env ******** 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 ssh-agent -k [2020-11-02T06:33:47.898Z] unset SSH_AUTH_SOCK; [2020-11-02T06:33:47.900Z] unset SSH_AGENT_PID; [2020-11-02T06:33:47.902Z] echo Agent pid 50 killed; [2020-11-02T06:33:48.046Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:33:48.841Z] + git semver [Pipeline] } [2020-11-02T06:33:48.921Z] $ docker stop --time=1 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 [2020-11-02T06:33:50.578Z] $ docker rm -f 8c386d423eccf407a00dd4c20bc083adc18ce58ac566c54d87329f4bb43f8ed4 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:33:51.192Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:33:51.929Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:33:51.991Z] [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:33:53.300Z] ========================================================= [2020-11-02T06:33:53.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:33:53.301Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:33:53.777Z] + 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:33:54.064Z] Sending build context to Docker daemon 746.5kB [2020-11-02T06:33:54.064Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:33:54.064Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:33:54.064Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:33:54.064Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:33:54.064Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:33:54.064Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:33:54.064Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:33:54.064Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:33:54.064Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:33:54.064Z] 4e634b169226: Pulling fs layer [2020-11-02T06:33:54.064Z] e871e8e8d7a9: Waiting [2020-11-02T06:33:54.065Z] e73272ec9a57: Waiting [2020-11-02T06:33:54.065Z] 1e910a182e73: Waiting [2020-11-02T06:33:54.065Z] 4e634b169226: Waiting [2020-11-02T06:33:54.065Z] a92cc7c5fd73: Verifying Checksum [2020-11-02T06:33:54.065Z] a92cc7c5fd73: Download complete [2020-11-02T06:33:54.065Z] ed8968b2872e: Verifying Checksum [2020-11-02T06:33:54.065Z] ed8968b2872e: Download complete [2020-11-02T06:33:54.335Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:33:54.335Z] e73272ec9a57: Download complete [2020-11-02T06:33:54.335Z] 1e910a182e73: Verifying Checksum [2020-11-02T06:33:54.335Z] 1e910a182e73: Download complete [2020-11-02T06:33:54.942Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:33:54.942Z] df20fa9351a1: Download complete [2020-11-02T06:33:55.993Z] df20fa9351a1: Pull complete [2020-11-02T06:33:56.272Z] ed8968b2872e: Pull complete [2020-11-02T06:33:56.541Z] a92cc7c5fd73: Pull complete [2020-11-02T06:34:00.044Z] 4e634b169226: Verifying Checksum [2020-11-02T06:34:00.044Z] 4e634b169226: Download complete [2020-11-02T06:34:02.242Z] e871e8e8d7a9: Verifying Checksum [2020-11-02T06:34:02.242Z] e871e8e8d7a9: Download complete [2020-11-02T06:34:07.897Z] Still waiting to schedule task [2020-11-02T06:34:07.897Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-02T06:34:14.975Z] e871e8e8d7a9: Pull complete [2020-11-02T06:34:14.975Z] e73272ec9a57: Pull complete [2020-11-02T06:34:14.975Z] 1e910a182e73: Pull complete [2020-11-02T06:34:20.508Z] 4e634b169226: Pull complete [2020-11-02T06:34:20.508Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:34:20.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:34:20.508Z] ---> f7629b54cfaa [2020-11-02T06:34:20.508Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:34:20.509Z] ---> Running in 29a777875829 [2020-11-02T06:34:20.509Z] Removing intermediate container 29a777875829 [2020-11-02T06:34:20.509Z] ---> f1461f0606d9 [2020-11-02T06:34:20.509Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:34:20.509Z] ---> Running in 93f895d5fe32 [2020-11-02T06:34:22.610Z] Removing intermediate container 93f895d5fe32 [2020-11-02T06:34:22.610Z] ---> 15846cd23ca5 [2020-11-02T06:34:22.610Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:34:22.610Z] ---> Running in 9aa2030ccae9 [2020-11-02T06:34:23.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:34:24.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:34:24.560Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:34:24.835Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:34:24.835Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:34:24.835Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:34:33.093Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:34:33.093Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:34:33.093Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:34:33.093Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:34:33.093Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:34:33.093Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:34:33.093Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:34:33.093Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:34:33.093Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:34:33.093Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:34:33.093Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:34:33.093Z] OK: 237 MiB in 53 packages [2020-11-02T06:34:37.371Z] Removing intermediate container 9aa2030ccae9 [2020-11-02T06:34:37.371Z] ---> 8bb990884850 [2020-11-02T06:34:37.371Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-02T06:34:37.371Z] ---> Running in 47990847e533 [2020-11-02T06:34:37.371Z] Removing intermediate container 47990847e533 [2020-11-02T06:34:37.371Z] ---> 71e021c1c5ef [2020-11-02T06:34:37.371Z] Step 7/8 : COPY . . [2020-11-02T06:34:37.961Z] ---> 6f62fd8eb16b [2020-11-02T06:34:37.961Z] Step 8/8 : RUN go mod download [2020-11-02T06:34:37.961Z] ---> Running in c1e4cf1ad6cd [2020-11-02T06:35:00.130Z] Removing intermediate container c1e4cf1ad6cd [2020-11-02T06:35:00.130Z] ---> beaf8a318d13 [2020-11-02T06:35:00.130Z] Successfully built beaf8a318d13 [2020-11-02T06:35:00.130Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:35:00.510Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:35:00.776Z] . [Pipeline] withDockerContainer [2020-11-02T06:35:01.029Z] prd-centos7-docker-4c-2g-10045 does not seem to be running inside a container [2020-11-02T06:35:01.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-183 -v /w/workspace/gexfoundry_device-mqtt-go_PR-183:/w/workspace/gexfoundry_device-mqtt-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-183@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-x86_64 cat [2020-11-02T06:35:02.478Z] $ docker top c01ef00813f593b9c85b802e24c8d30bc4a6816fc57f5c4e67c6d1193b88137a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:35:03.137Z] + go version [2020-11-02T06:35:03.137Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:35:03.174Z] $ docker stop --time=1 c01ef00813f593b9c85b802e24c8d30bc4a6816fc57f5c4e67c6d1193b88137a [2020-11-02T06:35:04.572Z] $ docker rm -f c01ef00813f593b9c85b802e24c8d30bc4a6816fc57f5c4e67c6d1193b88137a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:35:05.677Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:35:05.678Z] . [Pipeline] withDockerContainer [2020-11-02T06:35:05.821Z] prd-centos7-docker-4c-2g-10045 does not seem to be running inside a container [2020-11-02T06:35:05.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-183 -v /w/workspace/gexfoundry_device-mqtt-go_PR-183:/w/workspace/gexfoundry_device-mqtt-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-183@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-x86_64 cat [2020-11-02T06:35:07.262Z] $ docker top 865591cb6523bcb525effd26f123cafd371571aa1e1529ceef30a3c0535d7837 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:35:07.982Z] + make test [2020-11-02T06:35:07.983Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:35:10.276Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-02T06:35:32.967Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-02T06:35:32.967Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 28.3% of statements [2020-11-02T06:35:32.967Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-02T06:35:32.967Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:35:36.711Z] gofmt -l . [2020-11-02T06:35:36.711Z] ["`gofmt -l .`" = ""] [2020-11-02T06:35:36.711Z] ./bin/test-attribution-txt.sh [2020-11-02T06:35:37.310Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:35:37.678Z] $ docker stop --time=1 865591cb6523bcb525effd26f123cafd371571aa1e1529ceef30a3c0535d7837 [2020-11-02T06:35:40.207Z] $ docker rm -f 865591cb6523bcb525effd26f123cafd371571aa1e1529ceef30a3c0535d7837 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:35:41.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:35:41.234Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:35:44.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:35:45.057Z] + ls -al . [2020-11-02T06:35:45.057Z] total 100 [2020-11-02T06:35:45.057Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 2 06:35 . [2020-11-02T06:35:45.057Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:33 .. [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 5932 Nov 2 06:33 Attribution.txt [2020-11-02T06:35:45.057Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 2 06:33 bin [2020-11-02T06:35:45.057Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:33 cmd [2020-11-02T06:35:45.057Z] -rw-r--r--. 1 jenkins jenkins 18940 Nov 2 06:35 coverage.out [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 1784 Nov 2 06:33 Dockerfile [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 953 Nov 2 06:33 Dockerfile.build [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 2 06:33 .dockerignore [2020-11-02T06:35:45.057Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:33 .git [2020-11-02T06:35:45.057Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:33 .github [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 336 Nov 2 06:33 .gitignore [2020-11-02T06:35:45.057Z] -rw-r--r--. 1 jenkins jenkins 511 Nov 2 06:35 go.mod [2020-11-02T06:35:45.057Z] -rw-r--r--. 1 jenkins jenkins 14807 Nov 2 06:35 go.sum [2020-11-02T06:35:45.057Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:33 internal [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 2 06:33 Jenkinsfile [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:33 LICENSE [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 902 Nov 2 06:33 Makefile [2020-11-02T06:35:45.057Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 2 06:33 mock [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 444 Nov 2 06:33 README.md [2020-11-02T06:35:45.057Z] drwx------. 3 jenkins jenkins 58 Nov 2 06:33 .semver [2020-11-02T06:35:45.057Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:33 snap [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:33 VERSION [2020-11-02T06:35:45.057Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 2 06:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:35:45.421Z] + 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=028dbc440845f859cdcd2d4815c2d932ec30317a --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:35:45.691Z] Sending build context to Docker daemon 766kB [2020-11-02T06:35:45.691Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:35:45.691Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:35:45.691Z] ---> beaf8a318d13 [2020-11-02T06:35:45.691Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:35:45.960Z] ---> Running in 570da5152ccc [2020-11-02T06:35:46.242Z] Removing intermediate container 570da5152ccc [2020-11-02T06:35:46.242Z] ---> 172ab8949366 [2020-11-02T06:35:46.242Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:35:46.242Z] ---> Running in 5c24bfa9db4d [2020-11-02T06:35:46.506Z] Removing intermediate container 5c24bfa9db4d [2020-11-02T06:35:46.506Z] ---> addc529f0430 [2020-11-02T06:35:46.506Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:35:46.506Z] ---> Running in 4c205d8baf7d [2020-11-02T06:35:48.024Z] Removing intermediate container 4c205d8baf7d [2020-11-02T06:35:48.024Z] ---> e5d931214125 [2020-11-02T06:35:48.024Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:35:48.024Z] ---> Running in b00b1a461052 [2020-11-02T06:35:49.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:35:49.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:35:50.300Z] OK: 237 MiB in 53 packages [2020-11-02T06:35:50.932Z] Removing intermediate container b00b1a461052 [2020-11-02T06:35:50.932Z] ---> ecf07407685a [2020-11-02T06:35:50.932Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-02T06:35:50.932Z] ---> Running in efabe74ea6ca [2020-11-02T06:35:51.205Z] Removing intermediate container efabe74ea6ca [2020-11-02T06:35:51.205Z] ---> 10111edeebe2 [2020-11-02T06:35:51.205Z] Step 8/22 : COPY . . [2020-11-02T06:35:51.807Z] ---> 36e0587901f4 [2020-11-02T06:35:51.807Z] Step 9/22 : ARG MAKE='make build' [2020-11-02T06:35:52.088Z] ---> Running in 319b7700dc84 [2020-11-02T06:35:52.383Z] Removing intermediate container 319b7700dc84 [2020-11-02T06:35:52.383Z] ---> 62df45125715 [2020-11-02T06:35:52.383Z] Step 10/22 : RUN $MAKE [2020-11-02T06:35:52.383Z] ---> Running in 316ca1e989e4 [2020-11-02T06:35:52.997Z] 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:35:54.559Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10047 in /w/workspace/gexfoundry_device-mqtt-go_PR-183 [Pipeline] { [Pipeline] ws [2020-11-02T06:35:54.659Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:35:59.658Z] using credential edgex-jenkins-ssh [2020-11-02T06:35:59.786Z] Cloning the remote Git repository [2020-11-02T06:35:59.850Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:35:59.990Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-02T06:36:00.294Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:36:00.295Z] > git --version # timeout=10 [2020-11-02T06:36:00.313Z] > git --version # 'git version 2.17.1' [2020-11-02T06:36:00.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:36:00.401Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:36:01.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:36:01.242Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:36:01.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:36:01.342Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:36:01.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:36:01.354Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:36:02.346Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:36:02.646Z] Merge succeeded, producing 028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:36:02.647Z] Checking out Revision 028dbc440845f859cdcd2d4815c2d932ec30317a (PR-183) [2020-11-02T06:36:02.368Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:36:02.392Z] > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 [2020-11-02T06:36:02.476Z] > git remote # timeout=10 [2020-11-02T06:36:02.496Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:36:02.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:36:02.574Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-02T06:36:02.612Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:36:02.658Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:36:02.694Z] > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 [2020-11-02T06:36:06.955Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" [2020-11-02T06:36:07.015Z] > git --version # timeout=10 [2020-11-02T06:36:07.032Z] > git --version # 'git version 2.17.1' [2020-11-02T06:36:07.049Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:36:08.251Z] ========================================================= [2020-11-02T06:36:08.251Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:36:08.251Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:36:09.398Z] + 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:36:10.384Z] Sending build context to Docker daemon 469kB [2020-11-02T06:36:10.384Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:36:10.384Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:36:10.661Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:36:10.661Z] b538f80385f9: Pulling fs layer [2020-11-02T06:36:10.661Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:36:10.661Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:36:10.661Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:36:10.661Z] 45590311c82a: Pulling fs layer [2020-11-02T06:36:10.661Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:36:10.661Z] 209524e5b208: Pulling fs layer [2020-11-02T06:36:10.661Z] 45590311c82a: Waiting [2020-11-02T06:36:10.661Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:36:10.661Z] 209524e5b208: Waiting [2020-11-02T06:36:10.661Z] 8529a6b9a6be: Waiting [2020-11-02T06:36:10.661Z] 99f96fe45779: Verifying Checksum [2020-11-02T06:36:10.661Z] 99f96fe45779: Download complete [2020-11-02T06:36:10.661Z] 74f711af9a0d: Verifying Checksum [2020-11-02T06:36:10.661Z] 74f711af9a0d: Download complete [2020-11-02T06:36:10.661Z] 45590311c82a: Verifying Checksum [2020-11-02T06:36:10.661Z] 45590311c82a: Download complete [2020-11-02T06:36:10.942Z] b538f80385f9: Verifying Checksum [2020-11-02T06:36:10.942Z] b538f80385f9: Download complete [2020-11-02T06:36:10.942Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-02T06:36:10.942Z] 69ca0ff8b7b3: Download complete [2020-11-02T06:36:11.546Z] b538f80385f9: Pull complete [2020-11-02T06:36:11.994Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:36:12.158Z] 74f711af9a0d: Pull complete [2020-11-02T06:36:12.763Z] 99f96fe45779: Pull complete [2020-11-02T06:36:13.045Z] 209524e5b208: Download complete [2020-11-02T06:36:14.499Z] 8529a6b9a6be: Verifying Checksum [2020-11-02T06:36:14.499Z] 8529a6b9a6be: Download complete [2020-11-02T06:36:15.984Z] Removing intermediate container 316ca1e989e4 [2020-11-02T06:36:15.984Z] ---> d2aa0027b5c1 [2020-11-02T06:36:15.984Z] Step 11/22 : FROM alpine [2020-11-02T06:36:16.270Z] latest: Pulling from library/alpine [2020-11-02T06:36:16.678Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:36:17.522Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T06:36:17.522Z] 188c0c94c7c5: Download complete [2020-11-02T06:36:17.874Z] 188c0c94c7c5: Pull complete [2020-11-02T06:36:17.874Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:36:17.874Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:36:17.874Z] ---> d6e46aa2470d [2020-11-02T06:36:17.874Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-02T06:36:18.205Z] ---> Running in 0bd2a59c55cc [2020-11-02T06:36:18.205Z] Removing intermediate container 0bd2a59c55cc [2020-11-02T06:36:18.205Z] ---> 315871724053 [2020-11-02T06:36:18.205Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-02T06:36:18.477Z] ---> Running in bdc6584f7845 [2020-11-02T06:36:18.744Z] Removing intermediate container bdc6584f7845 [2020-11-02T06:36:18.744Z] ---> 1df384f6b343 [2020-11-02T06:36:18.744Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-02T06:36:19.368Z] ---> e59cd0cc3b95 [2020-11-02T06:36:19.368Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-02T06:36:19.959Z] ---> 31781a09e97c [2020-11-02T06:36:19.959Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-02T06:36:20.256Z] ---> f956fe34c1e0 [2020-11-02T06:36:20.256Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-02T06:36:20.257Z] ---> Running in 937b8701c1c1 [2020-11-02T06:36:20.577Z] Removing intermediate container 937b8701c1c1 [2020-11-02T06:36:20.577Z] ---> ea7ead4fe579 [2020-11-02T06:36:20.577Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-02T06:36:20.577Z] ---> Running in 45dc4e74be59 [2020-11-02T06:36:20.857Z] Removing intermediate container 45dc4e74be59 [2020-11-02T06:36:20.857Z] ---> 112d85fabd7f [2020-11-02T06:36:20.857Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:36:20.857Z] ---> Running in 47327e0fa061 [2020-11-02T06:36:21.127Z] Removing intermediate container 47327e0fa061 [2020-11-02T06:36:21.127Z] ---> dcf9a2f2adf6 [2020-11-02T06:36:21.127Z] Step 20/22 : LABEL arch=amd64 [2020-11-02T06:36:21.127Z] ---> Running in a15225c37132 [2020-11-02T06:36:21.399Z] Removing intermediate container a15225c37132 [2020-11-02T06:36:21.399Z] ---> 68b7ba66d1a7 [2020-11-02T06:36:21.399Z] Step 21/22 : LABEL git_sha=028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:36:21.672Z] ---> Running in 1f6f1de98a2f [2020-11-02T06:36:21.969Z] Removing intermediate container 1f6f1de98a2f [2020-11-02T06:36:21.969Z] ---> 2f04ffbc30d3 [2020-11-02T06:36:21.969Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:36:21.969Z] ---> Running in 1c1094aeb2af [2020-11-02T06:36:22.238Z] Removing intermediate container 1c1094aeb2af [2020-11-02T06:36:22.238Z] ---> 4490554c74c0 [2020-11-02T06:36:22.238Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:36:22.238Z] Successfully built 4490554c74c0 [2020-11-02T06:36:22.238Z] 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:36:24.692Z] 8529a6b9a6be: Pull complete [2020-11-02T06:36:24.692Z] 45590311c82a: Pull complete [2020-11-02T06:36:24.969Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:36:29.295Z] 209524e5b208: Pull complete [2020-11-02T06:36:29.295Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:36:29.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:36:29.295Z] ---> 5bddaf1c2fca [2020-11-02T06:36:29.295Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:36:31.282Z] ---> Running in 98e4214233ed [2020-11-02T06:36:31.882Z] Removing intermediate container 98e4214233ed [2020-11-02T06:36:31.882Z] ---> 96788ea9d97f [2020-11-02T06:36:31.882Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:36:32.160Z] ---> Running in c284aa8b0fe5 [2020-11-02T06:36:34.787Z] Removing intermediate container c284aa8b0fe5 [2020-11-02T06:36:34.787Z] ---> f7d469c41a37 [2020-11-02T06:36:34.787Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:36:34.787Z] ---> Running in af15800d7324 [2020-11-02T06:36:36.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:36:36.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:36:37.794Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:36:37.794Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:36:38.066Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:36:38.066Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:36:38.137Z] Still waiting to schedule task [2020-11-02T06:36:38.138Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-11-02T06:36:44.760Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:36:44.760Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:36:44.760Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:36:44.760Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:36:44.760Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:36:44.760Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:36:45.357Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:36:45.357Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:36:45.357Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:36:45.630Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:36:45.630Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:36:45.903Z] OK: 221 MiB in 53 packages [2020-11-02T06:36:50.248Z] Removing intermediate container af15800d7324 [2020-11-02T06:36:50.248Z] ---> 94829dc53356 [2020-11-02T06:36:50.248Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-02T06:36:50.248Z] ---> Running in 20ace45bd1e9 [2020-11-02T06:36:50.847Z] Removing intermediate container 20ace45bd1e9 [2020-11-02T06:36:50.847Z] ---> 57afbb9e874e [2020-11-02T06:36:50.847Z] Step 7/8 : COPY . . [2020-11-02T06:36:51.823Z] ---> 5cf5bc0e36cd [2020-11-02T06:36:51.824Z] Step 8/8 : RUN go mod download [2020-11-02T06:36:51.824Z] ---> Running in 8521c6b0c56b [2020-11-02T06:37:13.965Z] Removing intermediate container 8521c6b0c56b [2020-11-02T06:37:13.965Z] ---> 4c1aab31d73b [2020-11-02T06:37:13.965Z] Successfully built 4c1aab31d73b [2020-11-02T06:37:13.965Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:37:14.410Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:37:14.410Z] . [Pipeline] withDockerContainer [2020-11-02T06:37:14.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-10047 does not seem to be running inside a container [2020-11-02T06:37:14.797Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-02T06:37:16.625Z] $ docker top 4b939c01d9fe12d6929b36e56d87395eccc945ec861931ec365d56278589c56b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:37:18.079Z] + go version [2020-11-02T06:37:18.079Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:37:18.121Z] $ docker stop --time=1 4b939c01d9fe12d6929b36e56d87395eccc945ec861931ec365d56278589c56b [2020-11-02T06:37:20.058Z] $ docker rm -f 4b939c01d9fe12d6929b36e56d87395eccc945ec861931ec365d56278589c56b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:37:21.423Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:37:21.423Z] . [Pipeline] withDockerContainer [2020-11-02T06:37:21.675Z] prd-ubuntu18.04-docker-arm64-4c-16g-10047 does not seem to be running inside a container [2020-11-02T06:37:21.760Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-02T06:37:23.679Z] $ docker top 398c6b498de9f6c734a6deb1c2dd8f416de3c5bfae36b488879a71c75ebdf264 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:37:25.225Z] + make test [2020-11-02T06:37:25.225Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:37:26.666Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-02T06:37:35.112Z] Running on prd-centos7-docker-8c-8g-10049 in /w/workspace/gexfoundry_device-mqtt-go_PR-183 [Pipeline] { [Pipeline] ws [2020-11-02T06:37:35.243Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:37:37.393Z] using credential edgex-jenkins-ssh [2020-11-02T06:37:37.448Z] Cloning the remote Git repository [2020-11-02T06:37:37.470Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:37:37.530Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-02T06:37:37.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:37:37.552Z] > git --version # timeout=10 [2020-11-02T06:37:37.557Z] > git --version # 'git version 2.16.5' [2020-11-02T06:37:37.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:37:37.579Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:37:38.390Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:37:38.447Z] Merge succeeded, producing 028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:37:38.448Z] Checking out Revision 028dbc440845f859cdcd2d4815c2d932ec30317a (PR-183) [2020-11-02T06:37:38.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:37:38.031Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:37:38.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:37:38.051Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:37:38.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:37:38.054Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:37:38.398Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:37:38.402Z] > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 [2020-11-02T06:37:38.427Z] > git remote # timeout=10 [2020-11-02T06:37:38.430Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:37:38.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:37:38.436Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-02T06:37:38.444Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:37:38.451Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:37:38.454Z] > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 [2020-11-02T06:37:42.003Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" [2020-11-02T06:37:42.025Z] > git --version # timeout=10 [2020-11-02T06:37:42.028Z] > git --version # 'git version 2.16.5' [2020-11-02T06:37:42.032Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T06:37:43.440Z] ++ find /w/workspace/device-mqtt-go/1 [2020-11-02T06:37:43.440Z] ++ grep snapcraft.yaml [2020-11-02T06:37:43.440Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:37:43.681Z] provisioning config files... [2020-11-02T06:37:43.692Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config6633354002684950764tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:37:44.142Z] + cp /w/workspace/device-mqtt-go/1@tmp/config6633354002684950764tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-02T06:37:44.475Z] + 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:37:44.475Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-02T06:37:44.475Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-02T06:37:44.475Z] f08d8e2a3ba1: Pulling fs layer [2020-11-02T06:37:44.475Z] 3baa9cb2483b: Pulling fs layer [2020-11-02T06:37:44.475Z] 94e5ff4c0b15: Pulling fs layer [2020-11-02T06:37:44.475Z] 1860925334f9: Pulling fs layer [2020-11-02T06:37:44.475Z] 2daf38717194: Pulling fs layer [2020-11-02T06:37:44.475Z] 309017e8d7a4: Pulling fs layer [2020-11-02T06:37:44.475Z] f7790dc9fd0f: Pulling fs layer [2020-11-02T06:37:44.475Z] cac0ae9282c2: Pulling fs layer [2020-11-02T06:37:44.475Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-02T06:37:44.475Z] f7790dc9fd0f: Waiting [2020-11-02T06:37:44.475Z] 2daf38717194: Waiting [2020-11-02T06:37:44.475Z] cac0ae9282c2: Waiting [2020-11-02T06:37:44.475Z] 309017e8d7a4: Waiting [2020-11-02T06:37:44.475Z] 1860925334f9: Waiting [2020-11-02T06:37:44.738Z] 94e5ff4c0b15: Verifying Checksum [2020-11-02T06:37:44.738Z] 94e5ff4c0b15: Download complete [2020-11-02T06:37:44.738Z] 3baa9cb2483b: Download complete [2020-11-02T06:37:44.738Z] 1860925334f9: Download complete [2020-11-02T06:37:44.738Z] 309017e8d7a4: Verifying Checksum [2020-11-02T06:37:44.738Z] 309017e8d7a4: Download complete [2020-11-02T06:37:44.738Z] f7790dc9fd0f: Verifying Checksum [2020-11-02T06:37:44.738Z] f7790dc9fd0f: Download complete [2020-11-02T06:37:44.738Z] cac0ae9282c2: Verifying Checksum [2020-11-02T06:37:44.738Z] cac0ae9282c2: Download complete [2020-11-02T06:37:44.738Z] 1f4cadf9a1ed: Verifying Checksum [2020-11-02T06:37:44.738Z] 1f4cadf9a1ed: Download complete [2020-11-02T06:37:47.301Z] f08d8e2a3ba1: Verifying Checksum [2020-11-02T06:37:47.301Z] f08d8e2a3ba1: Download complete [2020-11-02T06:37:48.262Z] f08d8e2a3ba1: Pull complete [2020-11-02T06:37:48.262Z] 3baa9cb2483b: Pull complete [2020-11-02T06:37:48.525Z] 94e5ff4c0b15: Pull complete [2020-11-02T06:37:48.525Z] 1860925334f9: Pull complete [2020-11-02T06:37:51.828Z] 2daf38717194: Verifying Checksum [2020-11-02T06:37:51.828Z] 2daf38717194: Download complete [2020-11-02T06:38:05.745Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-02T06:38:05.745Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.038s coverage: 28.3% of statements [2020-11-02T06:38:05.745Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-02T06:38:05.745Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:38:09.972Z] 2daf38717194: Pull complete [2020-11-02T06:38:09.973Z] 309017e8d7a4: Pull complete [2020-11-02T06:38:09.973Z] f7790dc9fd0f: Pull complete [2020-11-02T06:38:09.973Z] cac0ae9282c2: Pull complete [2020-11-02T06:38:09.973Z] 1f4cadf9a1ed: Pull complete [2020-11-02T06:38:09.973Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-02T06:38:09.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-02T06:38:11.173Z] gofmt -l . [2020-11-02T06:38:11.173Z] ["`gofmt -l .`" = ""] [2020-11-02T06:38:11.173Z] ./bin/test-attribution-txt.sh [2020-11-02T06:38:11.361Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-02T06:38:11.361Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-02T06:38:11.361Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-02T06:38:11.623Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-02T06:38:11.623Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1353 kB] [2020-11-02T06:38:11.623Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] [2020-11-02T06:38:11.623Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] [2020-11-02T06:38:11.770Z] ./bin/test-go-mod-tidy.sh [2020-11-02T06:38:11.887Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1748 kB] [Pipeline] } [2020-11-02T06:38:12.083Z] $ docker stop --time=1 398c6b498de9f6c734a6deb1c2dd8f416de3c5bfae36b488879a71c75ebdf264 [2020-11-02T06:38:12.147Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2118 kB] [2020-11-02T06:38:12.148Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] [2020-11-02T06:38:12.148Z] Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [213 kB] [2020-11-02T06:38:12.148Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] [2020-11-02T06:38:12.148Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-02T06:38:12.148Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-02T06:38:12.720Z] Fetched 8172 kB in 2s (4875 kB/s) [2020-11-02T06:38:14.108Z] Reading package lists... [2020-11-02T06:38:14.335Z] $ docker rm -f 398c6b498de9f6c734a6deb1c2dd8f416de3c5bfae36b488879a71c75ebdf264 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:38:15.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:38:15.392Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:38:16.160Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:38:16.923Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-11-02T06:38:16.923Z] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-02T06:38:16.923Z] 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:38:17.163Z] + sudo chown -R jenkins:jenkins . [2020-11-02T06:38:17.184Z] 0% [2 InRelease gpgv 242 kB] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [Pipeline] sh [2020-11-02T06:38:17.581Z] + ls -al . [2020-11-02T06:38:17.581Z] total 132 [2020-11-02T06:38:17.581Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 06:38 . [2020-11-02T06:38:17.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:36 .. [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 06:36 .dockerignore [2020-11-02T06:38:17.581Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:36 .git [2020-11-02T06:38:17.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:36 .github [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 336 Nov 2 06:36 .gitignore [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 5932 Nov 2 06:36 Attribution.txt [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 1784 Nov 2 06:36 Dockerfile [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 953 Nov 2 06:36 Dockerfile.build [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 06:36 Jenkinsfile [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:36 LICENSE [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 902 Nov 2 06:36 Makefile [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 2 06:36 README.md [2020-11-02T06:38:17.581Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:33 VERSION [2020-11-02T06:38:17.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:36 bin [2020-11-02T06:38:17.581Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:36 cmd [2020-11-02T06:38:17.581Z] -rw-r--r-- 1 jenkins jenkins 18940 Nov 2 06:38 coverage.out [2020-11-02T06:38:17.581Z] -rw-r--r-- 1 jenkins jenkins 511 Nov 2 06:38 go.mod [2020-11-02T06:38:17.582Z] -rw-r--r-- 1 jenkins jenkins 14807 Nov 2 06:38 go.sum [2020-11-02T06:38:17.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:36 internal [2020-11-02T06:38:17.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:36 mock [2020-11-02T06:38:17.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:36 snap [2020-11-02T06:38:17.582Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 2 06:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:38:18.004Z] + 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=028dbc440845f859cdcd2d4815c2d932ec30317a --label arch=arm64 --label version=0.0.0 . [2020-11-02T06:38:18.279Z] Sending build context to Docker daemon 488.4kB [2020-11-02T06:38:18.288Z] 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... 59% 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:38:18.553Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:38:18.553Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:38:18.553Z] ---> 4c1aab31d73b [2020-11-02T06:38:18.553Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:38:18.830Z] ---> Running in f98df547be1c [2020-11-02T06:38:19.104Z] Removing intermediate container f98df547be1c [2020-11-02T06:38:19.104Z] ---> 05ec7759d142 [2020-11-02T06:38:19.104Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:38:19.377Z] ---> Running in a9ee21105768 [2020-11-02T06:38:19.648Z] Removing intermediate container a9ee21105768 [2020-11-02T06:38:19.648Z] ---> 8403cc2bca92 [2020-11-02T06:38:19.648Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:38:19.928Z] ---> Running in 4b8c669f4338 [2020-11-02T06:38:20.209Z] 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:38:21.314Z] 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... 60% 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:38:21.575Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-11-02T06:38:21.575Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-02T06:38:21.575Z] The following packages were automatically installed and are no longer required: [2020-11-02T06:38:21.575Z] libjq1 libonig4 [2020-11-02T06:38:21.575Z] Use 'sudo apt autoremove' to remove them. [2020-11-02T06:38:21.575Z] Suggested packages: [2020-11-02T06:38:21.575Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-02T06:38:21.575Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-02T06:38:21.575Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-02T06:38:21.575Z] | libterm-readline-perl-perl [2020-11-02T06:38:21.837Z] The following NEW packages will be installed: [2020-11-02T06:38:21.837Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-02T06:38:21.837Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-02T06:38:21.837Z] The following packages will be upgraded: [2020-11-02T06:38:21.837Z] perl-base [2020-11-02T06:38:21.837Z] 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. [2020-11-02T06:38:21.837Z] Need to get 13.4 MB of archives. [2020-11-02T06:38:21.837Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-02T06:38:22.104Z] 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:38:22.563Z] Removing intermediate container 4b8c669f4338 [2020-11-02T06:38:22.563Z] ---> f95f78a61f48 [2020-11-02T06:38:22.563Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:38:22.563Z] ---> Running in b36326a39ae1 [2020-11-02T06:38:22.690Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 717 kB/1391 kB 52%] 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:38:22.956Z] 10% [2 perl-modules-5.26 34.5 kB/2762 kB 1%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-11-02T06:38:22.956Z] 28% [3 libgdbm5 16.5 kB/26.0 kB 63%] 29% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-11-02T06:38:22.956Z] 29% [4 libgdbm-compat4 0 B/6084 B 0%] 30% [Working] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-11-02T06:38:22.956Z] 30% [5 libperl5.26 7184 B/3534 kB 0%] 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:38:22.956Z] 53% [6 perl 12.2 kB/201 kB 6%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-02T06:38:22.956Z] 55% [7 less 0 B/112 kB 0%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-02T06:38:22.956Z] 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:38:22.957Z] 59% [9 curl 0 B/159 kB 0%] 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:38:22.957Z] 61% [10 libcurl3-gnutls 0 B/213 kB 0%] 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:38:22.957Z] 64% [11 liberror-perl 4096 B/22.8 kB 18%] 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:38:22.957Z] 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:38:23.222Z] 71% [13 git 59.8 kB/3915 kB 2%] 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:38:23.222Z] 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:38:23.222Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 2s (8544 kB/s) [2020-11-02T06:38:23.484Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-02T06:38:23.484Z] (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:38:23.484Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-02T06:38:23.484Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-02T06:38:24.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:38:24.596Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:38:25.192Z] OK: 221 MiB in 53 packages [2020-11-02T06:38:26.642Z] Removing intermediate container b36326a39ae1 [2020-11-02T06:38:26.642Z] ---> d6c8436b1875 [2020-11-02T06:38:26.642Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-02T06:38:26.642Z] ---> Running in 925ab2ef7092 [2020-11-02T06:38:26.814Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:26.814Z] Selecting previously unselected package perl-modules-5.26. [2020-11-02T06:38:26.814Z] (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:38:26.814Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-02T06:38:26.814Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:27.251Z] Removing intermediate container 925ab2ef7092 [2020-11-02T06:38:27.251Z] ---> 808e170f8db8 [2020-11-02T06:38:27.251Z] Step 8/22 : COPY . . [2020-11-02T06:38:27.779Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-02T06:38:27.779Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-02T06:38:27.779Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-02T06:38:27.779Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-02T06:38:27.779Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-02T06:38:27.779Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-02T06:38:28.041Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-02T06:38:28.041Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-02T06:38:28.041Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:28.237Z] ---> 3d1cd94ec68e [2020-11-02T06:38:28.237Z] Step 9/22 : ARG MAKE='make build' [2020-11-02T06:38:28.237Z] ---> Running in 8922d87e3738 [2020-11-02T06:38:28.619Z] Selecting previously unselected package perl. [2020-11-02T06:38:28.619Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-02T06:38:28.619Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:28.619Z] Selecting previously unselected package less. [2020-11-02T06:38:28.619Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-02T06:38:28.619Z] Unpacking less (487-0.1) ... [2020-11-02T06:38:28.619Z] Selecting previously unselected package netbase. [2020-11-02T06:38:28.619Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-02T06:38:28.619Z] Unpacking netbase (5.4) ... [2020-11-02T06:38:28.835Z] Removing intermediate container 8922d87e3738 [2020-11-02T06:38:28.835Z] ---> 2f458e5169d7 [2020-11-02T06:38:28.835Z] Step 10/22 : RUN $MAKE [2020-11-02T06:38:28.835Z] ---> Running in dad98b35175f [2020-11-02T06:38:28.880Z] Selecting previously unselected package curl. [2020-11-02T06:38:28.880Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-02T06:38:28.880Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:38:28.880Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-02T06:38:28.880Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-02T06:38:28.880Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:38:28.880Z] Selecting previously unselected package liberror-perl. [2020-11-02T06:38:28.880Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-02T06:38:28.880Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-02T06:38:29.140Z] Selecting previously unselected package git-man. [2020-11-02T06:38:29.140Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-02T06:38:29.140Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:38:29.140Z] Selecting previously unselected package git. [2020-11-02T06:38:29.140Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-02T06:38:29.140Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:38:29.720Z] Selecting previously unselected package make. [2020-11-02T06:38:29.720Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-02T06:38:29.720Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-02T06:38:29.720Z] Selecting previously unselected package patch. [2020-11-02T06:38:29.720Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-02T06:38:29.981Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:38:29.981Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:38:29.981Z] Setting up less (487-0.1) ... [2020-11-02T06:38:29.981Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-02T06:38:30.242Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:38:30.242Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:38:30.242Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:30.242Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-02T06:38:30.242Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:38:30.242Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-02T06:38:30.242Z] Setting up netbase (5.4) ... [2020-11-02T06:38:30.242Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:30.242Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:38:30.242Z] Setting up liberror-perl (0.17025-1) ... [2020-11-02T06:38:30.269Z] 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:38:30.504Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:38:30.504Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-02T06:38:30.504Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-02T06:38:32.415Z] curl set to automatically installed. [2020-11-02T06:38:32.415Z] git set to automatically installed. [2020-11-02T06:38:32.415Z] git-man set to automatically installed. [2020-11-02T06:38:32.415Z] less set to automatically installed. [2020-11-02T06:38:32.415Z] libcurl3-gnutls set to automatically installed. [2020-11-02T06:38:32.415Z] liberror-perl set to automatically installed. [2020-11-02T06:38:32.415Z] libgdbm-compat4 set to automatically installed. [2020-11-02T06:38:32.415Z] libgdbm5 set to automatically installed. [2020-11-02T06:38:32.415Z] libperl5.26 set to automatically installed. [2020-11-02T06:38:32.415Z] make set to automatically installed. [2020-11-02T06:38:32.415Z] netbase set to automatically installed. [2020-11-02T06:38:32.415Z] patch set to automatically installed. [2020-11-02T06:38:32.415Z] perl set to automatically installed. [2020-11-02T06:38:32.415Z] perl-base set to automatically installed. [2020-11-02T06:38:32.415Z] perl-modules-5.26 set to automatically installed. [2020-11-02T06:38:32.415Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-02T06:38:32.415Z] Please ensure the environment is properly setup before continuing. [2020-11-02T06:38:32.415Z] Ignore this message if the appropriate measures have already been taken [2020-11-02T06:38:32.678Z] Pulling go  [2020-11-02T06:38:33.620Z] 'device-mqtt' has dependencies that need to be staged: go [2020-11-02T06:38:33.620Z] Skipping pull go (already ran) [2020-11-02T06:38:33.620Z] Building go  [2020-11-02T06:38:33.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:38:33.620Z] Dload Upload Total Spent Left Speed [2020-11-02T06:38:35.397Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 29 115M 29 34.4M 0 0 47.3M 0 0:00:02 --:--:-- 0:00:02 47.3M 85 115M 85 98.9M 0 0 57.9M 0 0:00:01 0:00:01 --:--:-- 57.9M 100 115M 100 115M 0 0 58.3M 0 0:00:01 0:00:01 --:--:-- 58.3M [2020-11-02T06:38:36.338Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-02T06:38:42.924Z] Staging go  [2020-11-02T06:38:43.498Z] Pulling device-mqtt  [2020-11-02T06:38:44.069Z] Skipping build go (already ran) [2020-11-02T06:38:44.069Z] Building device-mqtt  [2020-11-02T06:38:44.069Z] 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:38:45.011Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.35 [2020-11-02T06:38:45.011Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 [2020-11-02T06:38:45.011Z] go: downloading github.com/spf13/cast v1.3.1 [2020-11-02T06:38:45.011Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-11-02T06:38:45.011Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-11-02T06:38:45.272Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-02T06:38:45.273Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-02T06:38:45.273Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-02T06:38:45.273Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-02T06:38:45.273Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-02T06:38:45.273Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-11-02T06:38:45.273Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-02T06:38:45.273Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-02T06:38:45.273Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-02T06:38:45.273Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-02T06:38:45.273Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-02T06:38:45.273Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-02T06:38:45.273Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-02T06:38:45.273Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-02T06:38:45.273Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-02T06:38:45.534Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-02T06:38:45.534Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-02T06:38:45.534Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-02T06:38:45.534Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-02T06:38:45.534Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-02T06:38:45.534Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-02T06:38:45.534Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-02T06:38:45.534Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-02T06:38:45.534Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-02T06:38:45.797Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-02T06:38:45.797Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-11-02T06:38:52.406Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:38:55.708Z] Skipping stage go (already ran) [2020-11-02T06:38:55.708Z] Staging device-mqtt  [2020-11-02T06:38:56.279Z] Priming go  [2020-11-02T06:38:57.086Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:38:57.219Z] Priming device-mqtt  [2020-11-02T06:38:57.793Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-02T06:38:57.793Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-02T06:38:57.793Z] Determining the version from the project repo (version-script). [2020-11-02T06:38:57.793Z] The version has been set to 'local-dev-20201102+028dbc4' [2020-11-02T06:38:58.601Z] Snapping | Snapping / Snapping - Snapping | [2020-11-02T06:38:58.601Z] Snapped edgex-device-mqtt_local-dev-20201102+028dbc4_amd64.snap [Pipeline] } [2020-11-02T06:39:01.221Z] 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:39:03.803Z] Removing intermediate container dad98b35175f [2020-11-02T06:39:03.803Z] ---> f07624020f40 [2020-11-02T06:39:03.803Z] Step 11/22 : FROM alpine [2020-11-02T06:39:03.803Z] latest: Pulling from library/alpine [2020-11-02T06:39:04.077Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:39:04.351Z] 5f621e34cdf4: Verifying Checksum [2020-11-02T06:39:04.351Z] 5f621e34cdf4: Download complete [2020-11-02T06:39:04.947Z] 5f621e34cdf4: Pull complete [2020-11-02T06:39:04.947Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:39:04.947Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:39:04.947Z] ---> 2e77e061c27f [2020-11-02T06:39:04.947Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-02T06:39:05.220Z] ---> Running in 26705e17912f [2020-11-02T06:39:05.492Z] Removing intermediate container 26705e17912f [2020-11-02T06:39:05.492Z] ---> deb89968a74c [2020-11-02T06:39:05.492Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-02T06:39:05.766Z] ---> Running in dbb434d71dc4 [2020-11-02T06:39:06.037Z] Removing intermediate container dbb434d71dc4 [2020-11-02T06:39:06.037Z] ---> 5ca641ce9b58 [2020-11-02T06:39:06.037Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-02T06:39:07.467Z] ---> fbc718cef041 [2020-11-02T06:39:07.467Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-02T06:39:08.061Z] ---> 881f5e9adb1a [2020-11-02T06:39:08.061Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-02T06:39:09.038Z] ---> 05968e8963d3 [2020-11-02T06:39:09.038Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-02T06:39:09.038Z] ---> Running in c0a7918aa55e [2020-11-02T06:39:09.310Z] Removing intermediate container c0a7918aa55e [2020-11-02T06:39:09.310Z] ---> e55e2771b93f [2020-11-02T06:39:09.310Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-02T06:39:09.585Z] ---> Running in 930f2f7e96a4 [2020-11-02T06:39:09.857Z] Removing intermediate container 930f2f7e96a4 [2020-11-02T06:39:09.857Z] ---> 9a61616e3811 [2020-11-02T06:39:09.857Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:39:10.130Z] ---> Running in 59b9708b5b0a [2020-11-02T06:39:10.404Z] Removing intermediate container 59b9708b5b0a [2020-11-02T06:39:10.404Z] ---> 8299fa6d875e [2020-11-02T06:39:10.404Z] Step 20/22 : LABEL arch=arm64 [2020-11-02T06:39:10.678Z] ---> Running in fd634e22afba [2020-11-02T06:39:10.954Z] Removing intermediate container fd634e22afba [2020-11-02T06:39:10.954Z] ---> e7d6ccbfe9d3 [2020-11-02T06:39:10.954Z] Step 21/22 : LABEL git_sha=028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:39:11.229Z] ---> Running in c5c1862d2f39 [2020-11-02T06:39:11.824Z] Removing intermediate container c5c1862d2f39 [2020-11-02T06:39:11.824Z] ---> 7981cb0a5dc7 [2020-11-02T06:39:11.824Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:39:11.824Z] ---> Running in fdbc104570e8 [2020-11-02T06:39:12.418Z] Removing intermediate container fdbc104570e8 [2020-11-02T06:39:12.418Z] ---> b5c86f798966 [2020-11-02T06:39:12.418Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:39:12.418Z] Successfully built b5c86f798966 [2020-11-02T06:39:12.418Z] 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:39:28.367Z] Still waiting to schedule task [2020-11-02T06:39:28.367Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-11-02T06:41:09.606Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-10054 in /w/workspace/gexfoundry_device-mqtt-go_PR-183 [Pipeline] { [Pipeline] ws [2020-11-02T06:41:09.708Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:41:13.943Z] using credential edgex-jenkins-ssh [2020-11-02T06:41:14.002Z] Cloning the remote Git repository [2020-11-02T06:41:14.042Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:41:14.145Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-02T06:41:14.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:41:14.214Z] > git --version # timeout=10 [2020-11-02T06:41:14.232Z] > git --version # 'git version 2.17.1' [2020-11-02T06:41:14.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:41:14.319Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:41:15.499Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:41:15.675Z] Merge succeeded, producing 028dbc440845f859cdcd2d4815c2d932ec30317a [2020-11-02T06:41:15.676Z] Checking out Revision 028dbc440845f859cdcd2d4815c2d932ec30317a (PR-183) [2020-11-02T06:41:14.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:41:14.976Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:41:14.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-02T06:41:15.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-02T06:41:15.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:41:15.042Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:41:15.508Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:41:15.519Z] > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 [2020-11-02T06:41:15.596Z] > git remote # timeout=10 [2020-11-02T06:41:15.612Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:41:15.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:41:15.632Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-02T06:41:15.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:41:15.670Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:41:15.680Z] > git checkout -f 028dbc440845f859cdcd2d4815c2d932ec30317a # timeout=10 [2020-11-02T06:41:19.912Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" [2020-11-02T06:41:19.954Z] > git --version # timeout=10 [2020-11-02T06:41:19.963Z] > git --version # 'git version 2.17.1' [2020-11-02T06:41:19.973Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T06:41:21.214Z] + find /w/workspace/device-mqtt-go/1 [2020-11-02T06:41:21.214Z] + grep snapcraft.yaml [2020-11-02T06:41:21.214Z] + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:41:21.532Z] provisioning config files... [2020-11-02T06:41:21.554Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config4656510261039601828tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:41:21.991Z] + cp /w/workspace/device-mqtt-go/1@tmp/config4656510261039601828tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-02T06:41:22.350Z] + 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:41:22.944Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-11-02T06:41:23.219Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-11-02T06:41:23.219Z] 237528ba509b: Pulling fs layer [2020-11-02T06:41:23.219Z] 393b96f31d8b: Pulling fs layer [2020-11-02T06:41:23.219Z] 4d82b0e39008: Pulling fs layer [2020-11-02T06:41:23.219Z] e7ca375b8d34: Pulling fs layer [2020-11-02T06:41:23.219Z] 418f656485bb: Pulling fs layer [2020-11-02T06:41:23.219Z] aebe8db9254c: Pulling fs layer [2020-11-02T06:41:23.219Z] 4f5f7b207d3f: Pulling fs layer [2020-11-02T06:41:23.219Z] d19ca6af091a: Pulling fs layer [2020-11-02T06:41:23.219Z] 16b5a0711add: Pulling fs layer [2020-11-02T06:41:23.219Z] e7ca375b8d34: Waiting [2020-11-02T06:41:23.219Z] 418f656485bb: Waiting [2020-11-02T06:41:23.219Z] d19ca6af091a: Waiting [2020-11-02T06:41:23.219Z] 4f5f7b207d3f: Waiting [2020-11-02T06:41:23.219Z] aebe8db9254c: Waiting [2020-11-02T06:41:23.219Z] 16b5a0711add: Waiting [2020-11-02T06:41:23.219Z] 393b96f31d8b: Download complete [2020-11-02T06:41:23.219Z] 4d82b0e39008: Verifying Checksum [2020-11-02T06:41:23.219Z] 4d82b0e39008: Download complete [2020-11-02T06:41:23.219Z] e7ca375b8d34: Verifying Checksum [2020-11-02T06:41:23.219Z] e7ca375b8d34: Download complete [2020-11-02T06:41:23.219Z] aebe8db9254c: Verifying Checksum [2020-11-02T06:41:23.219Z] aebe8db9254c: Download complete [2020-11-02T06:41:23.219Z] 4f5f7b207d3f: Verifying Checksum [2020-11-02T06:41:23.219Z] 4f5f7b207d3f: Download complete [2020-11-02T06:41:23.499Z] d19ca6af091a: Download complete [2020-11-02T06:41:23.499Z] 16b5a0711add: Verifying Checksum [2020-11-02T06:41:23.499Z] 16b5a0711add: Download complete [2020-11-02T06:41:24.100Z] 237528ba509b: Verifying Checksum [2020-11-02T06:41:26.723Z] 237528ba509b: Pull complete [2020-11-02T06:41:27.320Z] 393b96f31d8b: Pull complete [2020-11-02T06:41:27.594Z] 4d82b0e39008: Pull complete [2020-11-02T06:41:28.192Z] e7ca375b8d34: Pull complete [2020-11-02T06:41:33.591Z] 418f656485bb: Verifying Checksum [2020-11-02T06:41:33.591Z] 418f656485bb: Download complete [2020-11-02T06:42:20.659Z] 418f656485bb: Pull complete [2020-11-02T06:42:20.659Z] aebe8db9254c: Pull complete [2020-11-02T06:42:20.659Z] 4f5f7b207d3f: Pull complete [2020-11-02T06:42:20.659Z] d19ca6af091a: Pull complete [2020-11-02T06:42:20.659Z] 16b5a0711add: Pull complete [2020-11-02T06:42:20.659Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-11-02T06:42:20.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-11-02T06:42:20.659Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-11-02T06:42:20.659Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-11-02T06:42:20.659Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-11-02T06:42:20.659Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-11-02T06:42:20.659Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1861 kB] [2020-11-02T06:42:21.257Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] [2020-11-02T06:42:21.257Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] [2020-11-02T06:42:21.257Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] [2020-11-02T06:42:21.257Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] [2020-11-02T06:42:21.257Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] [2020-11-02T06:42:21.257Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1179 kB] [2020-11-02T06:42:21.528Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] [2020-11-02T06:42:21.528Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1036 kB] [2020-11-02T06:42:21.528Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] [2020-11-02T06:42:22.155Z] Fetched 5774 kB in 3s (2264 kB/s) [2020-11-02T06:42:26.534Z] Reading package lists... [2020-11-02T06:42:41.637Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-11-02T06:42:41.637Z] 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:42:41.637Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-11-02T06:42:41.637Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-11-02T06:42:45.764Z] 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 28% Reading package lists... 47% Reading package lists... 62% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 78% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-02T06:42:52.584Z] 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:42:58.525Z] 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... 20% Reading package lists... 37% Reading package lists... 50% Reading package lists... 63% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-02T06:42:59.680Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 95% Building dependency tree [2020-11-02T06:42:59.680Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-02T06:43:00.673Z] The following packages were automatically installed and are no longer required: [2020-11-02T06:43:00.673Z] libjq1 libonig4 [2020-11-02T06:43:00.673Z] Use 'sudo apt autoremove' to remove them. [2020-11-02T06:43:00.673Z] Suggested packages: [2020-11-02T06:43:00.673Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-02T06:43:00.673Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-02T06:43:00.673Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-02T06:43:00.673Z] | libterm-readline-perl-perl [2020-11-02T06:43:01.272Z] The following NEW packages will be installed: [2020-11-02T06:43:01.272Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-02T06:43:01.272Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-02T06:43:01.272Z] The following packages will be upgraded: [2020-11-02T06:43:01.272Z] perl-base [2020-11-02T06:43:01.272Z] 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. [2020-11-02T06:43:01.272Z] Need to get 12.0 MB of archives. [2020-11-02T06:43:01.272Z] After this operation, 73.6 MB of additional disk space will be used. [2020-11-02T06:43:01.272Z] 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:43:02.150Z] 0% [1 perl-base 12.6 kB/1237 kB 1%] 4% [1 perl-base 621 kB/1237 kB 50%] 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:43:02.422Z] 10% [2 perl-modules-5.26 7382 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:43:02.422Z] 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:43:02.422Z] 31% [4 libgdbm-compat4 0 B/5536 B 0%] 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:43:02.697Z] 32% [5 libperl5.26 0 B/3335 kB 0%] 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:43:02.697Z] 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:43:02.697Z] 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:43:02.697Z] 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:43:02.697Z] 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:43:02.697Z] 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:43:02.697Z] 67% [11 liberror-perl 0 B/22.8 kB 0%] 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:43:02.697Z] 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:43:02.697Z] 75% [13 git 16.4 kB/2952 kB 1%] 96% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-11-02T06:43:02.697Z] 96% [14 make 65.5 kB/139 kB 47%] 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:43:02.697Z] 98% [15 patch 49.2 kB/91.8 kB 54%] 100% [Working] Fetched 12.0 MB in 2s (7553 kB/s) [2020-11-02T06:43:03.681Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-02T06:43:03.682Z] (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:43:03.682Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... [2020-11-02T06:43:03.682Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-02T06:43:09.082Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:09.082Z] Selecting previously unselected package perl-modules-5.26. [2020-11-02T06:43:09.082Z] (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:43:09.082Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-02T06:43:09.082Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:10.531Z] Selecting previously unselected package libgdbm5:arm64. [2020-11-02T06:43:10.531Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-11-02T06:43:10.531Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-11-02T06:43:10.531Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-11-02T06:43:10.531Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-11-02T06:43:10.531Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-11-02T06:43:10.813Z] Selecting previously unselected package libperl5.26:arm64. [2020-11-02T06:43:10.813Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... [2020-11-02T06:43:10.813Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:12.277Z] Selecting previously unselected package perl. [2020-11-02T06:43:12.277Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... [2020-11-02T06:43:12.277Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:12.277Z] Selecting previously unselected package less. [2020-11-02T06:43:12.277Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-11-02T06:43:12.277Z] Unpacking less (487-0.1) ... [2020-11-02T06:43:12.567Z] Selecting previously unselected package netbase. [2020-11-02T06:43:12.567Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-02T06:43:12.567Z] Unpacking netbase (5.4) ... [2020-11-02T06:43:12.567Z] Selecting previously unselected package curl. [2020-11-02T06:43:12.567Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-11-02T06:43:12.567Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:43:12.843Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-11-02T06:43:12.843Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-11-02T06:43:12.843Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:43:13.122Z] Selecting previously unselected package liberror-perl. [2020-11-02T06:43:13.122Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-02T06:43:13.122Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-02T06:43:13.122Z] Selecting previously unselected package git-man. [2020-11-02T06:43:13.122Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-02T06:43:13.122Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:43:13.399Z] Selecting previously unselected package git. [2020-11-02T06:43:13.399Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-11-02T06:43:13.680Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:43:14.685Z] Selecting previously unselected package make. [2020-11-02T06:43:14.685Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-11-02T06:43:14.685Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-02T06:43:14.963Z] Selecting previously unselected package patch. [2020-11-02T06:43:14.964Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-11-02T06:43:14.964Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:43:15.237Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:43:15.237Z] Setting up less (487-0.1) ... [2020-11-02T06:43:15.512Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-02T06:43:15.787Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-02T06:43:15.787Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-11-02T06:43:15.787Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:15.787Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-11-02T06:43:15.787Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-02T06:43:15.787Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-11-02T06:43:15.787Z] Setting up netbase (5.4) ... [2020-11-02T06:43:16.064Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:16.064Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-02T06:43:16.064Z] Setting up liberror-perl (0.17025-1) ... [2020-11-02T06:43:16.064Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-02T06:43:16.340Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-02T06:43:16.340Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-02T06:43:23.078Z] curl set to automatically installed. [2020-11-02T06:43:23.078Z] git set to automatically installed. [2020-11-02T06:43:23.078Z] git-man set to automatically installed. [2020-11-02T06:43:23.078Z] less set to automatically installed. [2020-11-02T06:43:23.078Z] libcurl3-gnutls set to automatically installed. [2020-11-02T06:43:23.078Z] liberror-perl set to automatically installed. [2020-11-02T06:43:23.078Z] libgdbm-compat4 set to automatically installed. [2020-11-02T06:43:23.078Z] libgdbm5 set to automatically installed. [2020-11-02T06:43:23.078Z] libperl5.26 set to automatically installed. [2020-11-02T06:43:23.078Z] make set to automatically installed. [2020-11-02T06:43:23.078Z] netbase set to automatically installed. [2020-11-02T06:43:23.078Z] patch set to automatically installed. [2020-11-02T06:43:23.078Z] perl set to automatically installed. [2020-11-02T06:43:23.078Z] perl-base set to automatically installed. [2020-11-02T06:43:23.353Z] perl-modules-5.26 set to automatically installed. [2020-11-02T06:43:23.353Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-02T06:43:23.353Z] Please ensure the environment is properly setup before continuing. [2020-11-02T06:43:23.353Z] Ignore this message if the appropriate measures have already been taken [2020-11-02T06:43:24.337Z] Pulling go  [2020-11-02T06:43:28.657Z] 'device-mqtt' has dependencies that need to be staged: go [2020-11-02T06:43:28.657Z] Skipping pull go (already ran) [2020-11-02T06:43:28.657Z] Building go  [2020-11-02T06:43:28.657Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:43:28.657Z] Dload Upload Total Spent Left Speed [2020-11-02T06:43:30.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 34 93.2M 34 31.7M 0 0 29.6M 0 0:00:03 0:00:01 0:00:02 29.6M 76 93.2M 76 70.9M 0 0 34.1M 0 0:00:02 0:00:02 --:--:-- 34.1M 100 93.2M 100 93.2M 0 0 35.8M 0 0:00:02 0:00:02 --:--:-- 35.8M [2020-11-02T06:43:32.310Z] go1.15.2.linux-arm64.tar.gz: OK [2020-11-02T06:43:54.513Z] Staging go  [2020-11-02T06:43:59.956Z] Pulling device-mqtt  [2020-11-02T06:44:04.276Z] Skipping build go (already ran) [2020-11-02T06:44:04.276Z] Building device-mqtt  [2020-11-02T06:44:04.276Z] 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:44:05.254Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.35 [2020-11-02T06:44:05.254Z] go: downloading github.com/spf13/cast v1.3.1 [2020-11-02T06:44:05.254Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-11-02T06:44:05.254Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 [2020-11-02T06:44:05.254Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-11-02T06:44:05.531Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-11-02T06:44:05.531Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-02T06:44:05.531Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-02T06:44:05.531Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-02T06:44:05.531Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-02T06:44:05.531Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-02T06:44:05.531Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-02T06:44:05.531Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-02T06:44:05.531Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-02T06:44:05.531Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-02T06:44:05.531Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-02T06:44:05.818Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-02T06:44:05.818Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-02T06:44:05.818Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-02T06:44:05.818Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-02T06:44:05.818Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-02T06:44:05.818Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-02T06:44:05.818Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-02T06:44:05.818Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-02T06:44:05.818Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-02T06:44:05.818Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-02T06:44:06.093Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-02T06:44:06.093Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-02T06:44:06.093Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-02T06:44:06.369Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-02T06:44:06.369Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-02T06:44:06.644Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-11-02T06:44:28.859Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:44:55.674Z] Skipping stage go (already ran) [2020-11-02T06:44:55.674Z] Staging device-mqtt  [2020-11-02T06:44:57.664Z] Priming go  [2020-11-02T06:45:03.093Z] Priming device-mqtt  [2020-11-02T06:45:08.519Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-02T06:45:08.519Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-02T06:45:08.519Z] Determining the version from the project repo (version-script). [2020-11-02T06:45:08.519Z] The version has been set to 'local-dev-20201102+028dbc4' [2020-11-02T06:45:09.364Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | [2020-11-02T06:45:09.364Z] Snapped edgex-device-mqtt_local-dev-20201102+028dbc4_arm64.snap [Pipeline] } [2020-11-02T06:45:12.829Z] 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:45:16.755Z] provisioning config files... [2020-11-02T06:45:16.784Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp/config6500583750843707134tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:45:17.271Z] + set +x [2020-11-02T06:45:17.271Z] + curl -s https://codecov.io/bash [2020-11-02T06:45:17.271Z] + bash -s -- [2020-11-02T06:45:17.538Z] [2020-11-02T06:45:17.538Z] _____ _ [2020-11-02T06:45:17.538Z] / ____| | | [2020-11-02T06:45:17.538Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:45:17.539Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:45:17.539Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:45:17.539Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:45:17.539Z] Bash-20201009-048fee3 [2020-11-02T06:45:17.539Z] [2020-11-02T06:45:17.539Z] [2020-11-02T06:45:17.539Z] ==> Jenkins CI detected. [2020-11-02T06:45:17.539Z] project root: . [2020-11-02T06:45:17.539Z] --> token set from env [2020-11-02T06:45:17.539Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:45:17.875Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:45:17.875Z] ==> Python coveragepy not found [2020-11-02T06:45:17.875Z] ==> Searching for coverage reports in: [2020-11-02T06:45:17.875Z] + . [2020-11-02T06:45:17.875Z] -> Found 1 reports [2020-11-02T06:45:17.875Z] ==> Detecting git/mercurial file structure [2020-11-02T06:45:17.875Z] ==> Reading reports [2020-11-02T06:45:17.875Z] + ./coverage.out bytes=18940 [2020-11-02T06:45:17.875Z] ==> Appending adjustments [2020-11-02T06:45:17.875Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:45:17.875Z] + Found adjustments [2020-11-02T06:45:17.875Z] ==> Gzipping contents [2020-11-02T06:45:17.875Z] ==> Uploading reports [2020-11-02T06:45:17.875Z] url: https://codecov.io [2020-11-02T06:45:17.875Z] query: branch=PR-183&commit=028dbc440845f859cdcd2d4815c2d932ec30317a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=183&job=&cmd_args= [2020-11-02T06:45:17.875Z] -> Pinging Codecov [2020-11-02T06:45:17.875Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-183&commit=028dbc440845f859cdcd2d4815c2d932ec30317a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=183&job=&cmd_args= [2020-11-02T06:45:18.149Z] -> Uploading to [2020-11-02T06:45:18.149Z] [2020-11-02T06:45:18.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:45:18.149Z] Dload Upload Total Spent Left Speed [2020-11-02T06:45:18.149Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:45:18.149Z] X> Failed to upload [2020-11-02T06:45:18.149Z] ==> Uploading to Codecov [2020-11-02T06:45:18.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:45:18.149Z] Dload Upload Total Spent Left Speed [2020-11-02T06:45:18.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3386 100 111 100 3275 175 5176 --:--:-- --:--:-- --:--:-- 5181 [2020-11-02T06:45:19.027Z] View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/028dbc440845f859cdcd2d4815c2d932ec30317a [Pipeline] } [2020-11-02T06:45:19.058Z] 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:45:23.321Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:45:24.069Z] ---> package-listing.sh [2020-11-02T06:45:24.069Z] ++ facter osfamily [2020-11-02T06:45:24.069Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:45:24.069Z] + OS_FAMILY=redhat [2020-11-02T06:45:24.069Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-183 [2020-11-02T06:45:24.069Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:45:24.069Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:45:24.069Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:45:24.069Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:45:24.069Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-183 ']' [2020-11-02T06:45:24.069Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:45:24.069Z] + case "${OS_FAMILY}" in [2020-11-02T06:45:24.069Z] + rpm -qa [2020-11-02T06:45:24.069Z] + sort [2020-11-02T06:45:28.488Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:45:28.488Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:45:28.488Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:45:28.771Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-183 ']' [2020-11-02T06:45:28.771Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-183/archives/ [2020-11-02T06:45:28.771Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-183/archives/ [Pipeline] echo [2020-11-02T06:45:28.805Z] 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-183/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:45:29.140Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:45:29.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:45:29.773Z] [2020-11-02T06:45:29.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:45:30.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:45:30.265Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:45:30.265Z] df20fa9351a1: Already exists [2020-11-02T06:45:30.265Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:45:30.265Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:45:30.265Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:45:30.265Z] 93b61091891f: Pulling fs layer [2020-11-02T06:45:30.265Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:45:30.265Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:45:30.265Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:45:30.265Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:45:30.265Z] 93b61091891f: Waiting [2020-11-02T06:45:30.265Z] 93b9cdb0e59b: Waiting [2020-11-02T06:45:30.265Z] 5e14af77c1be: Waiting [2020-11-02T06:45:30.265Z] 01666e4c0597: Waiting [2020-11-02T06:45:30.265Z] aa168da1d23b: Waiting [2020-11-02T06:45:30.265Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T06:45:30.265Z] 46f8f816bc3b: Download complete [2020-11-02T06:45:30.265Z] 36b3adc4ff6f: Download complete [2020-11-02T06:45:30.580Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:45:30.580Z] 93b9cdb0e59b: Download complete [2020-11-02T06:45:30.580Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:45:30.580Z] 5e14af77c1be: Download complete [2020-11-02T06:45:30.580Z] 01666e4c0597: Verifying Checksum [2020-11-02T06:45:30.580Z] 01666e4c0597: Download complete [2020-11-02T06:45:30.580Z] 93b61091891f: Verifying Checksum [2020-11-02T06:45:30.580Z] 93b61091891f: Download complete [2020-11-02T06:45:30.860Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:45:31.133Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:45:31.133Z] 8ad3a11d3b57: Download complete [2020-11-02T06:45:32.702Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:45:33.006Z] 46f8f816bc3b: Pull complete [2020-11-02T06:45:34.458Z] 93b61091891f: Pull complete [2020-11-02T06:45:34.458Z] aa168da1d23b: Verifying Checksum [2020-11-02T06:45:34.458Z] aa168da1d23b: Download complete [2020-11-02T06:45:35.047Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:45:35.312Z] 5e14af77c1be: Pull complete [2020-11-02T06:45:35.586Z] 01666e4c0597: Pull complete [2020-11-02T06:45:45.944Z] aa168da1d23b: Pull complete [2020-11-02T06:45:45.944Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:45:45.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:45:45.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:45:46.436Z] prd-centos7-docker-4c-2g-10045 does not seem to be running inside a container [2020-11-02T06:45:46.967Z] $ 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-183/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-183 -v /w/workspace/gexfoundry_device-mqtt-go_PR-183:/w/workspace/gexfoundry_device-mqtt-go_PR-183:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T06:45:50.144Z] $ docker top 445e181975e7e2b8f696cbbb806d5095a4239d10a11fc2efd69f3237b9f9b06a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:45:50.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:45:51.629Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:45:52.448Z] + ls /var/log/sa-host [2020-11-02T06:45:52.448Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:45:52.448Z] file_magic: OK [2020-11-02T06:45:52.448Z] HZ: Using current value: 100 [2020-11-02T06:45:52.448Z] file_header: OK [2020-11-02T06:45:52.448Z] 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:45:52.448Z] Statistics: [2020-11-02T06:45:52.449Z] 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... [2020-11-02T06:45:52.449Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:45:52.449Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:45:52.449Z] file_magic: OK [2020-11-02T06:45:52.449Z] HZ: Using current value: 100 [2020-11-02T06:45:52.449Z] file_header: OK [2020-11-02T06:45:52.449Z] 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:45:52.449Z] Statistics: [2020-11-02T06:45:52.449Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:45:52.449Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:45:53.192Z] provisioning config files... [2020-11-02T06:45:53.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-183@tmp/config6610708640375896683tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:45:53.348Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:45:54.076Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:45:54.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:45:54.337Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:45:55.658Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:45:55.692Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:45:56.110Z] ---> sudo-logs.sh [2020-11-02T06:45:56.110Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:45:56.454Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:45:56.868Z] ---> job-cost.sh [2020-11-02T06:45:57.165Z] lf-activate-venv: SKIPPING [2020-11-02T06:45:57.165Z] INFO: No Stack... [2020-11-02T06:45:57.959Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:45:58.976Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:45:59.019Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:45:59.742Z] ---> logs-deploy.sh [2020-11-02T06:45:59.742Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-183/1 [2020-11-02T06:45:59.742Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:46:02.752Z] Archives upload complete. [2020-11-02T06:46:02.752Z] INFO: archiving logs to Nexus