Pull request #180 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc+12b1a35b74ef9c89c590951cdcdb7fdae4622f9b (8f7cb4a197f837931b31720bbe4d9080593f0d09) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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-180/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-180/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 f3f382fce060f16c10d6f597981912fab355381a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-9106 in /w/workspace/gexfoundry_device-mqtt-go_PR-180 [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-180 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc Merge succeeded, producing 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc Checking out Revision 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc (PR-180) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 Commit message: "fix: Return error instead of the panic if required config not found" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-27T08:25:44.298Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-27T08:25:44.730Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-27T08:25:44.954Z] ========================================================= [2020-10-27T08:25:44.954Z] EdgeX Global Pipelines Version Info [2020-10-27T08:25:44.954Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:25:46.883Z] ------------------- [2020-10-27T08:25:46.883Z] stable info: [2020-10-27T08:25:46.883Z] ------------------- [2020-10-27T08:25:46.883Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-27T08:25:46.883Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-27T08:25:46.883Z] Message: update stable to v1.0.148 [2020-10-27T08:25:47.829Z] ------------------- [2020-10-27T08:25:47.829Z] experimental info: [2020-10-27T08:25:47.829Z] ------------------- [2020-10-27T08:25:47.829Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-27T08:25:47.829Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-27T08:25:47.829Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-27T08:25:48.363Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-10-27T08:25:48.496Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-10-27T08:25:48.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-27T08:25:48.769Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-27T08:25:48.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-27T08:25:49.054Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-27T08:25:49.203Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-27T08:25:49.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-27T08:25:49.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-27T08:25:49.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-27T08:25:49.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-27T08:25:49.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-10-27T08:25:49.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-27T08:25:50.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-27T08:25:50.317Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T08:25:50.443Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-27T08:25:50.573Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T08:25:50.744Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-27T08:25:50.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-27T08:25:51.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-27T08:25:51.204Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-27T08:25:51.330Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-27T08:25:51.449Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-27T08:25:51.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-27T08:25:51.685Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-27T08:25:51.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2020-10-27T08:25:51.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2020-10-27T08:25:52.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2020-10-27T08:25:52.168Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [Pipeline] echo [2020-10-27T08:25:52.287Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 008ed5a [Pipeline] echo [2020-10-27T08:25:52.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-27T08:25:53.113Z] + git log --format=format:%s -1 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [Pipeline] echo [2020-10-27T08:25:53.199Z] GIT_COMMIT: 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc, Commit Message: fix: Return error instead of the panic if required config not found [Pipeline] echo [2020-10-27T08:25:53.275Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:25:54.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T08:25:54.640Z] [2020-10-27T08:25:54.640Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:25:55.028Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T08:25:55.028Z] latest: Pulling from edgex-devops/git-semver [2020-10-27T08:25:55.028Z] 31603596830f: Pulling fs layer [2020-10-27T08:25:55.028Z] 2a8b12db71e7: Pulling fs layer [2020-10-27T08:25:55.028Z] 6ca5941a6612: Pulling fs layer [2020-10-27T08:25:55.028Z] ecc8261a40a4: Pulling fs layer [2020-10-27T08:25:55.028Z] ecc8261a40a4: Waiting [2020-10-27T08:25:55.028Z] 2a8b12db71e7: Verifying Checksum [2020-10-27T08:25:55.028Z] 2a8b12db71e7: Download complete [2020-10-27T08:25:55.298Z] 31603596830f: Download complete [2020-10-27T08:25:55.298Z] ecc8261a40a4: Verifying Checksum [2020-10-27T08:25:55.298Z] ecc8261a40a4: Download complete [2020-10-27T08:25:55.560Z] 6ca5941a6612: Verifying Checksum [2020-10-27T08:25:55.560Z] 6ca5941a6612: Download complete [2020-10-27T08:25:55.560Z] 31603596830f: Pull complete [2020-10-27T08:25:55.824Z] 2a8b12db71e7: Pull complete [2020-10-27T08:25:56.789Z] 6ca5941a6612: Pull complete [2020-10-27T08:25:56.789Z] ecc8261a40a4: Pull complete [2020-10-27T08:25:56.789Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-27T08:25:56.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-27T08:25:56.789Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-27T08:25:56.914Z] prd-centos7-docker-4c-2g-9106 does not seem to be running inside a container [2020-10-27T08:25:56.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-180 -v /w/workspace/gexfoundry_device-mqtt-go_PR-180:/w/workspace/gexfoundry_device-mqtt-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-27T08:25:59.315Z] $ docker top 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-27T08:25:59.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T08:25:59.682Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T08:25:59.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T08:25:59.917Z] $ docker exec 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c ssh-agent [2020-10-27T08:26:00.085Z] SSH_AUTH_SOCK=/tmp/ssh-DXoJDvxNqN9B/agent.11 [2020-10-27T08:26:00.085Z] SSH_AGENT_PID=17 [2020-10-27T08:26:00.097Z] Running ssh-add (command line suppressed) [2020-10-27T08:26:00.224Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp/private_key_5907273040687398292.key (/w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp/private_key_5907273040687398292.key) [2020-10-27T08:26:00.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T08:26:00.677Z] + git tag --points-at HEAD [Pipeline] } [2020-10-27T08:26:00.710Z] $ docker exec --env ******** --env ******** 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c ssh-agent -k [2020-10-27T08:26:00.832Z] unset SSH_AUTH_SOCK; [2020-10-27T08:26:00.832Z] unset SSH_AGENT_PID; [2020-10-27T08:26:00.832Z] echo Agent pid 17 killed; [2020-10-27T08:26:00.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-27T08:26:01.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-27T08:26:01.161Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-27T08:26:01.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-27T08:26:01.484Z] $ docker exec 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c ssh-agent [2020-10-27T08:26:01.650Z] SSH_AUTH_SOCK=/tmp/ssh-OJNUMA0TLYSb/agent.47 [2020-10-27T08:26:01.651Z] SSH_AGENT_PID=52 [2020-10-27T08:26:01.657Z] Running ssh-add (command line suppressed) [2020-10-27T08:26:01.788Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp/private_key_7640962706970310952.key (/w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp/private_key_7640962706970310952.key) [2020-10-27T08:26:01.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-27T08:26:02.215Z] + git semver init [2020-10-27T08:26:02.215Z] # -> Open(): unable to determine branch for HEAD [2020-10-27T08:26:02.215Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-180/.git [2020-10-27T08:26:02.215Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-180 [2020-10-27T08:26:02.215Z] # $SEMVER_REMOTE_NAME = origin [2020-10-27T08:26:02.215Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-27T08:26:02.215Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-27T08:26:02.215Z] # $SEMVER_BRANCH = PR-180 [2020-10-27T08:26:02.215Z] # $SEMVER_TEMP = /tmp/semver-254390322 [2020-10-27T08:26:02.215Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-10-27T08:26:03.184Z] # '/tmp/semver-254390322' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-180/.semver' [2020-10-27T08:26:03.184Z] # -> Force: false [2020-10-27T08:26:03.185Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-180/.semver [Pipeline] } [2020-10-27T08:26:03.237Z] $ docker exec --env ******** --env ******** 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c ssh-agent -k [2020-10-27T08:26:03.356Z] unset SSH_AUTH_SOCK; [2020-10-27T08:26:03.357Z] unset SSH_AGENT_PID; [2020-10-27T08:26:03.357Z] echo Agent pid 52 killed; [2020-10-27T08:26:03.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-27T08:26:04.002Z] + git semver [Pipeline] } [2020-10-27T08:26:04.047Z] $ docker stop --time=1 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c [2020-10-27T08:26:05.688Z] $ docker rm -f 08d05e07083dbab6d29ea6aaa9ab69283c489ecbd577803e5096b293cf99df0c [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-27T08:26:06.248Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-27T08:26:06.810Z] Stashed 1 file(s) [Pipeline] echo [2020-10-27T08:26:06.831Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-27T08:26:22.732Z] Still waiting to schedule task [2020-10-27T08:26:22.732Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-27T08:26:22.761Z] Still waiting to schedule task [2020-10-27T08:26:22.762Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-27T08:27:57.842Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9107 in /w/workspace/gexfoundry_device-mqtt-go_PR-180 [Pipeline] { [Pipeline] ws [2020-10-27T08:27:58.013Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-10-27T08:28:03.501Z] using credential edgex-jenkins-ssh [2020-10-27T08:28:03.575Z] Cloning the remote Git repository [2020-10-27T08:28:03.630Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:28:03.739Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-10-27T08:28:03.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:28:03.811Z] > git --version # timeout=10 [2020-10-27T08:28:03.837Z] > git --version # 'git version 2.17.1' [2020-10-27T08:28:03.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:28:03.896Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:28:05.516Z] Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:28:04.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:28:04.774Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:28:04.845Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:28:04.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:28:04.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:28:04.915Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T08:28:05.535Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:28:05.559Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:28:05.627Z] > git remote # timeout=10 [2020-10-27T08:28:05.642Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T08:28:05.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:28:05.675Z] > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 [2020-10-27T08:28:05.695Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T08:28:05.715Z] Merge succeeded, producing 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:28:05.716Z] Checking out Revision 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc (PR-180) [2020-10-27T08:28:05.720Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:28:05.739Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:28:09.980Z] Commit message: "fix: Return error instead of the panic if required config not found" [2020-10-27T08:28:10.048Z] > git --version # timeout=10 [2020-10-27T08:28:10.058Z] > git --version # 'git version 2.17.1' [2020-10-27T08:28:10.070Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T08:28:11.294Z] ========================================================= [2020-10-27T08:28:11.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-27T08:28:11.295Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:28:12.423Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-27T08:28:13.410Z] Sending build context to Docker daemon 466.9kB [2020-10-27T08:28:13.410Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T08:28:13.410Z] Step 2/8 : FROM ${BASE} [2020-10-27T08:28:13.684Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-27T08:28:13.684Z] b538f80385f9: Pulling fs layer [2020-10-27T08:28:13.684Z] 74f711af9a0d: Pulling fs layer [2020-10-27T08:28:13.684Z] 99f96fe45779: Pulling fs layer [2020-10-27T08:28:13.684Z] 8529a6b9a6be: Pulling fs layer [2020-10-27T08:28:13.684Z] 45590311c82a: Pulling fs layer [2020-10-27T08:28:13.684Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-27T08:28:13.684Z] 209524e5b208: Pulling fs layer [2020-10-27T08:28:13.684Z] 45590311c82a: Waiting [2020-10-27T08:28:13.684Z] 69ca0ff8b7b3: Waiting [2020-10-27T08:28:13.684Z] 209524e5b208: Waiting [2020-10-27T08:28:13.684Z] 8529a6b9a6be: Waiting [2020-10-27T08:28:13.684Z] 99f96fe45779: Verifying Checksum [2020-10-27T08:28:13.684Z] 99f96fe45779: Download complete [2020-10-27T08:28:13.684Z] 74f711af9a0d: Verifying Checksum [2020-10-27T08:28:13.684Z] 74f711af9a0d: Download complete [2020-10-27T08:28:13.684Z] 45590311c82a: Verifying Checksum [2020-10-27T08:28:13.684Z] 45590311c82a: Download complete [2020-10-27T08:28:14.286Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-27T08:28:14.286Z] 69ca0ff8b7b3: Download complete [2020-10-27T08:28:14.286Z] b538f80385f9: Verifying Checksum [2020-10-27T08:28:14.286Z] b538f80385f9: Download complete [2020-10-27T08:28:15.295Z] b538f80385f9: Pull complete [2020-10-27T08:28:15.576Z] 74f711af9a0d: Pull complete [2020-10-27T08:28:16.186Z] 99f96fe45779: Pull complete [2020-10-27T08:28:17.171Z] 209524e5b208: Verifying Checksum [2020-10-27T08:28:17.171Z] 209524e5b208: Download complete [2020-10-27T08:28:17.767Z] 8529a6b9a6be: Verifying Checksum [2020-10-27T08:28:17.767Z] 8529a6b9a6be: Download complete [2020-10-27T08:28:27.945Z] 8529a6b9a6be: Pull complete [2020-10-27T08:28:27.945Z] 45590311c82a: Pull complete [2020-10-27T08:28:27.945Z] 69ca0ff8b7b3: Pull complete [2020-10-27T08:28:32.264Z] 209524e5b208: Pull complete [2020-10-27T08:28:32.264Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-27T08:28:32.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-27T08:28:32.264Z] ---> 5bddaf1c2fca [2020-10-27T08:28:32.264Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-27T08:28:34.886Z] ---> Running in 9e2ba0bcb374 [2020-10-27T08:28:34.886Z] Removing intermediate container 9e2ba0bcb374 [2020-10-27T08:28:34.886Z] ---> aeeddbec5b5d [2020-10-27T08:28:34.886Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T08:28:34.886Z] ---> Running in 37270bd8cfa4 [2020-10-27T08:28:37.522Z] Removing intermediate container 37270bd8cfa4 [2020-10-27T08:28:37.522Z] ---> 3a4539de2f85 [2020-10-27T08:28:37.522Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-27T08:28:37.522Z] ---> Running in d7a4469293cc [2020-10-27T08:28:38.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T08:28:39.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T08:28:40.542Z] (1/14) Installing libmagic (5.38-r0) [2020-10-27T08:28:40.816Z] (2/14) Installing file (5.38-r0) [2020-10-27T08:28:40.816Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-27T08:28:41.090Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-27T08:28:49.346Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-27T08:28:49.346Z] (6/14) Installing patch (2.7.6-r6) [2020-10-27T08:28:49.346Z] (7/14) Installing build-base (0.5-r2) [2020-10-27T08:28:49.346Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-27T08:28:49.346Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-27T08:28:49.346Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-27T08:28:49.346Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-27T08:28:49.346Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-27T08:28:49.346Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-27T08:28:49.346Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-27T08:28:49.346Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T08:28:49.619Z] OK: 221 MiB in 53 packages [2020-10-27T08:28:53.954Z] Removing intermediate container d7a4469293cc [2020-10-27T08:28:53.954Z] ---> 7ba856e65545 [2020-10-27T08:28:53.954Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-10-27T08:28:53.954Z] ---> Running in 15217aea218c [2020-10-27T08:28:54.231Z] Removing intermediate container 15217aea218c [2020-10-27T08:28:54.231Z] ---> dfd8088d3cf0 [2020-10-27T08:28:54.231Z] Step 7/8 : COPY . . [2020-10-27T08:28:55.226Z] ---> f6d7d72c6b30 [2020-10-27T08:28:55.226Z] Step 8/8 : RUN go mod download [2020-10-27T08:28:55.226Z] ---> Running in 9144deb8d85b [2020-10-27T08:29:10.309Z] Removing intermediate container 9144deb8d85b [2020-10-27T08:29:10.309Z] ---> f001503e567e [2020-10-27T08:29:10.309Z] Successfully built f001503e567e [2020-10-27T08:29:10.309Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:29:10.741Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T08:29:10.741Z] . [Pipeline] withDockerContainer [2020-10-27T08:29:11.053Z] prd-ubuntu18.04-docker-arm64-4c-16g-9107 does not seem to be running inside a container [2020-10-27T08:29:11.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-27T08:29:13.070Z] $ docker top 569ae22f9061166d4fe8e995540436fc3bb5989ccb8f1164a2a8986928e46545 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T08:29:14.666Z] + go version [2020-10-27T08:29:14.666Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-27T08:29:14.705Z] $ docker stop --time=1 569ae22f9061166d4fe8e995540436fc3bb5989ccb8f1164a2a8986928e46545 [2020-10-27T08:29:16.660Z] $ docker rm -f 569ae22f9061166d4fe8e995540436fc3bb5989ccb8f1164a2a8986928e46545 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:29:18.082Z] + docker inspect -f . ci-base-image-arm64 [2020-10-27T08:29:18.082Z] . [Pipeline] withDockerContainer [2020-10-27T08:29:18.384Z] prd-ubuntu18.04-docker-arm64-4c-16g-9107 does not seem to be running inside a container [2020-10-27T08:29:18.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-27T08:29:19.029Z] Running on prd-centos7-docker-4c-2g-9108 in /w/workspace/gexfoundry_device-mqtt-go_PR-180 [2020-10-27T08:29:20.252Z] $ docker top 47fbff88669f6e6a253fa898bc55bea0b0b510aee137b8a2e480462d75c27fd4 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-10-27T08:29:20.871Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-10-27T08:29:21.822Z] + make test [2020-10-27T08:29:21.822Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-27T08:29:22.809Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-10-27T08:29:28.008Z] using credential edgex-jenkins-ssh [2020-10-27T08:29:28.118Z] Cloning the remote Git repository [2020-10-27T08:29:28.206Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:29:28.304Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-10-27T08:29:28.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:29:28.767Z] > git --version # timeout=10 [2020-10-27T08:29:28.819Z] > git --version # 'git version 2.16.5' [2020-10-27T08:29:28.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:29:28.944Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:29:30.372Z] Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:29:30.562Z] Merge succeeded, producing 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:29:30.563Z] Checking out Revision 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc (PR-180) [2020-10-27T08:29:29.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:29:29.831Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:29:29.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:29:29.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:29:29.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:29:29.901Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T08:29:30.392Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:29:30.408Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:29:30.462Z] > git remote # timeout=10 [2020-10-27T08:29:30.506Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T08:29:30.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:29:30.523Z] > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 [2020-10-27T08:29:30.538Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T08:29:30.570Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:29:30.598Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:29:34.721Z] Commit message: "fix: Return error instead of the panic if required config not found" [2020-10-27T08:29:34.767Z] > git --version # timeout=10 [2020-10-27T08:29:34.797Z] > git --version # 'git version 2.16.5' [2020-10-27T08:29:34.806Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-27T08:29:35.995Z] ========================================================= [2020-10-27T08:29:35.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-27T08:29:35.995Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:29:37.111Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-27T08:29:37.714Z] Sending build context to Docker daemon 466.9kB [2020-10-27T08:29:37.714Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-27T08:29:37.714Z] Step 2/8 : FROM ${BASE} [2020-10-27T08:29:38.060Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-27T08:29:38.060Z] df20fa9351a1: Pulling fs layer [2020-10-27T08:29:38.060Z] ed8968b2872e: Pulling fs layer [2020-10-27T08:29:38.061Z] a92cc7c5fd73: Pulling fs layer [2020-10-27T08:29:38.061Z] e871e8e8d7a9: Pulling fs layer [2020-10-27T08:29:38.061Z] e73272ec9a57: Pulling fs layer [2020-10-27T08:29:38.061Z] e871e8e8d7a9: Waiting [2020-10-27T08:29:38.061Z] 1e910a182e73: Pulling fs layer [2020-10-27T08:29:38.061Z] 4e634b169226: Pulling fs layer [2020-10-27T08:29:38.061Z] e73272ec9a57: Waiting [2020-10-27T08:29:38.061Z] 1e910a182e73: Waiting [2020-10-27T08:29:38.061Z] 4e634b169226: Waiting [2020-10-27T08:29:38.061Z] a92cc7c5fd73: Verifying Checksum [2020-10-27T08:29:38.061Z] a92cc7c5fd73: Download complete [2020-10-27T08:29:38.061Z] ed8968b2872e: Download complete [2020-10-27T08:29:38.061Z] e73272ec9a57: Verifying Checksum [2020-10-27T08:29:38.061Z] e73272ec9a57: Download complete [2020-10-27T08:29:38.061Z] 1e910a182e73: Verifying Checksum [2020-10-27T08:29:38.061Z] 1e910a182e73: Download complete [2020-10-27T08:29:38.061Z] df20fa9351a1: Verifying Checksum [2020-10-27T08:29:38.061Z] df20fa9351a1: Download complete [2020-10-27T08:29:38.435Z] df20fa9351a1: Pull complete [2020-10-27T08:29:38.798Z] ed8968b2872e: Pull complete [2020-10-27T08:29:39.123Z] a92cc7c5fd73: Pull complete [2020-10-27T08:29:42.779Z] 4e634b169226: Verifying Checksum [2020-10-27T08:29:42.779Z] 4e634b169226: Download complete [2020-10-27T08:29:45.628Z] e871e8e8d7a9: Verifying Checksum [2020-10-27T08:29:45.629Z] e871e8e8d7a9: Download complete [2020-10-27T08:29:54.070Z] e871e8e8d7a9: Pull complete [2020-10-27T08:29:54.345Z] e73272ec9a57: Pull complete [2020-10-27T08:29:54.345Z] 1e910a182e73: Pull complete [2020-10-27T08:29:55.180Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-10-27T08:29:56.157Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.024s coverage: 28.3% of statements [2020-10-27T08:29:56.157Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-10-27T08:29:56.157Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-27T08:29:59.749Z] 4e634b169226: Pull complete [2020-10-27T08:29:59.749Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-27T08:29:59.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-27T08:29:59.749Z] ---> f7629b54cfaa [2020-10-27T08:29:59.749Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-27T08:29:59.749Z] ---> Running in 31d2b325ec0a [2020-10-27T08:29:59.749Z] Removing intermediate container 31d2b325ec0a [2020-10-27T08:29:59.749Z] ---> 351d49d8ae1e [2020-10-27T08:29:59.749Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T08:29:59.749Z] ---> Running in 2a016c398599 [2020-10-27T08:30:01.278Z] Removing intermediate container 2a016c398599 [2020-10-27T08:30:01.278Z] ---> c1b44d54aabc [2020-10-27T08:30:01.278Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-27T08:30:01.564Z] ---> Running in 1ecfa5ddde55 [2020-10-27T08:30:02.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T08:30:02.895Z] gofmt -l . [2020-10-27T08:30:02.895Z] ["`gofmt -l .`" = ""] [2020-10-27T08:30:02.895Z] ./bin/test-attribution-txt.sh [2020-10-27T08:30:03.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T08:30:03.491Z] ./bin/test-go-mod-tidy.sh [2020-10-27T08:30:04.088Z] (1/14) Installing libmagic (5.38-r0) [Pipeline] stash [2020-10-27T08:30:04.518Z] (2/14) Installing file (5.38-r0) [2020-10-27T08:30:04.518Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-27T08:30:04.518Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-27T08:30:04.904Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T08:30:04.939Z] $ docker stop --time=1 47fbff88669f6e6a253fa898bc55bea0b0b510aee137b8a2e480462d75c27fd4 [2020-10-27T08:30:07.292Z] $ docker rm -f 47fbff88669f6e6a253fa898bc55bea0b0b510aee137b8a2e480462d75c27fd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-10-27T08:30:09.066Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-27T08:30:09.066Z] (6/14) Installing patch (2.7.6-r6) [2020-10-27T08:30:09.066Z] (7/14) Installing build-base (0.5-r2) [2020-10-27T08:30:09.066Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-27T08:30:09.066Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-27T08:30:09.066Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-27T08:30:09.339Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-27T08:30:09.618Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-27T08:30:09.618Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-27T08:30:09.907Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-27T08:30:09.907Z] Executing busybox-1.31.1-r16.trigger [2020-10-27T08:30:09.907Z] OK: 237 MiB in 53 packages [Pipeline] sh [2020-10-27T08:30:10.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T08:30:11.367Z] + ls -al . [2020-10-27T08:30:11.367Z] total 132 [2020-10-27T08:30:11.367Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 08:30 . [2020-10-27T08:30:11.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 08:28 .. [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 08:28 .dockerignore [2020-10-27T08:30:11.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 08:28 .git [2020-10-27T08:30:11.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:28 .github [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 336 Oct 27 08:28 .gitignore [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 5255 Oct 27 08:28 Attribution.txt [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 1784 Oct 27 08:28 Dockerfile [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 953 Oct 27 08:28 Dockerfile.build [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 08:28 Jenkinsfile [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 08:28 LICENSE [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 902 Oct 27 08:28 Makefile [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 27 08:28 README.md [2020-10-27T08:30:11.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 08:26 VERSION [2020-10-27T08:30:11.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:28 bin [2020-10-27T08:30:11.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:28 cmd [2020-10-27T08:30:11.368Z] -rw-r--r-- 1 jenkins jenkins 18940 Oct 27 08:29 coverage.out [2020-10-27T08:30:11.368Z] -rw-r--r-- 1 jenkins jenkins 546 Oct 27 08:30 go.mod [2020-10-27T08:30:11.368Z] -rw-r--r-- 1 jenkins jenkins 13621 Oct 27 08:30 go.sum [2020-10-27T08:30:11.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 08:28 internal [2020-10-27T08:30:11.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 08:28 mock [2020-10-27T08:30:11.368Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 08:28 snap [2020-10-27T08:30:11.368Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 27 08:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:30:11.762Z] + 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=008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc --label arch=arm64 --label version=0.0.0 . [2020-10-27T08:30:12.037Z] Sending build context to Docker daemon 486.4kB [2020-10-27T08:30:12.315Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-27T08:30:12.315Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-27T08:30:12.315Z] ---> f001503e567e [2020-10-27T08:30:12.315Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-27T08:30:12.315Z] ---> Running in c2bd1464f4ba [2020-10-27T08:30:12.915Z] Removing intermediate container c2bd1464f4ba [2020-10-27T08:30:12.915Z] ---> 4c98e25d99d3 [2020-10-27T08:30:12.915Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T08:30:12.915Z] ---> Running in e3ff2efbdd29 [2020-10-27T08:30:13.291Z] Removing intermediate container 1ecfa5ddde55 [2020-10-27T08:30:13.291Z] ---> c6a90c32ca84 [2020-10-27T08:30:13.291Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-10-27T08:30:13.291Z] ---> Running in d07166d7e867 [2020-10-27T08:30:13.511Z] Removing intermediate container e3ff2efbdd29 [2020-10-27T08:30:13.511Z] ---> d79e2a846bb0 [2020-10-27T08:30:13.511Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T08:30:13.511Z] ---> Running in dc5599bbd053 [2020-10-27T08:30:13.571Z] Removing intermediate container d07166d7e867 [2020-10-27T08:30:13.571Z] ---> 56ae8a726256 [2020-10-27T08:30:13.571Z] Step 7/8 : COPY . . [2020-10-27T08:30:14.549Z] ---> 174ac9d6bd3b [2020-10-27T08:30:14.549Z] Step 8/8 : RUN go mod download [2020-10-27T08:30:14.549Z] ---> Running in 99964aa4334c [2020-10-27T08:30:16.132Z] Removing intermediate container dc5599bbd053 [2020-10-27T08:30:16.132Z] ---> 10036c454076 [2020-10-27T08:30:16.132Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T08:30:16.132Z] ---> Running in 7d8aed67f2ac [2020-10-27T08:30:17.558Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-27T08:30:18.148Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-27T08:30:18.755Z] OK: 221 MiB in 53 packages [2020-10-27T08:30:19.739Z] Removing intermediate container 7d8aed67f2ac [2020-10-27T08:30:19.739Z] ---> a9d05382cf00 [2020-10-27T08:30:19.739Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-10-27T08:30:19.739Z] ---> Running in 1a0b271a921a [2020-10-27T08:30:20.336Z] Removing intermediate container 1a0b271a921a [2020-10-27T08:30:20.336Z] ---> d02c0427bee4 [2020-10-27T08:30:20.336Z] Step 8/22 : COPY . . [2020-10-27T08:30:21.313Z] ---> 74b453d530f7 [2020-10-27T08:30:21.313Z] Step 9/22 : ARG MAKE='make build' [2020-10-27T08:30:21.313Z] ---> Running in d0685bb0bbaa [2020-10-27T08:30:21.909Z] Removing intermediate container d0685bb0bbaa [2020-10-27T08:30:21.909Z] ---> 1b12b12651dd [2020-10-27T08:30:21.909Z] Step 10/22 : RUN $MAKE [2020-10-27T08:30:21.909Z] ---> Running in e5f0827e9f5f [2020-10-27T08:30:23.341Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-27T08:30:29.640Z] Removing intermediate container 99964aa4334c [2020-10-27T08:30:29.640Z] ---> af1d22bebf62 [2020-10-27T08:30:29.640Z] Successfully built af1d22bebf62 [2020-10-27T08:30:29.640Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:30:30.347Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T08:30:30.347Z] . [Pipeline] withDockerContainer [2020-10-27T08:30:30.533Z] prd-centos7-docker-4c-2g-9108 does not seem to be running inside a container [2020-10-27T08:30:30.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T08:30:31.990Z] $ docker top fdbeb2156a2fb9badc8f1bfd49438967de98059f77ccac79d6da620a58e86e04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T08:30:32.639Z] + go version [2020-10-27T08:30:32.639Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-27T08:30:32.673Z] $ docker stop --time=1 fdbeb2156a2fb9badc8f1bfd49438967de98059f77ccac79d6da620a58e86e04 [2020-10-27T08:30:34.070Z] $ docker rm -f fdbeb2156a2fb9badc8f1bfd49438967de98059f77ccac79d6da620a58e86e04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:30:35.250Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-27T08:30:35.250Z] . [Pipeline] withDockerContainer [2020-10-27T08:30:35.470Z] prd-centos7-docker-4c-2g-9108 does not seem to be running inside a container [2020-10-27T08:30:35.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-27T08:30:36.348Z] $ docker top c2bf8a99e075abb56d5891f80d3d6f767f2b859a4ec9a050a18f770665a2d5fb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T08:30:37.049Z] + make test [2020-10-27T08:30:37.049Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-27T08:30:38.140Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-10-27T08:30:50.153Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-27T08:30:53.541Z] Removing intermediate container e5f0827e9f5f [2020-10-27T08:30:53.541Z] ---> 6592a78a21f3 [2020-10-27T08:30:53.541Z] Step 11/22 : FROM alpine [2020-10-27T08:30:54.137Z] latest: Pulling from library/alpine [2020-10-27T08:30:54.410Z] 5f621e34cdf4: Pulling fs layer [2020-10-27T08:30:54.411Z] 5f621e34cdf4: Download complete [2020-10-27T08:30:55.006Z] 5f621e34cdf4: Pull complete [2020-10-27T08:30:55.006Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T08:30:55.281Z] Status: Downloaded newer image for alpine:latest [2020-10-27T08:30:55.281Z] ---> 2e77e061c27f [2020-10-27T08:30:55.281Z] Step 12/22 : ENV APP_PORT=49982 [2020-10-27T08:30:55.281Z] ---> Running in e1bf433d55c7 [2020-10-27T08:30:55.875Z] Removing intermediate container e1bf433d55c7 [2020-10-27T08:30:55.875Z] ---> 8cda0a2f2840 [2020-10-27T08:30:55.875Z] Step 13/22 : EXPOSE $APP_PORT [2020-10-27T08:30:55.875Z] ---> Running in 78d99a47768d [2020-10-27T08:30:56.154Z] Removing intermediate container 78d99a47768d [2020-10-27T08:30:56.154Z] ---> 88e28e8665bc [2020-10-27T08:30:56.154Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-10-27T08:30:57.060Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-10-27T08:30:57.060Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.031s coverage: 28.3% of statements [2020-10-27T08:30:57.060Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-10-27T08:30:57.333Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-27T08:30:57.584Z] ---> a7a850e7ff65 [2020-10-27T08:30:57.584Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-10-27T08:30:58.179Z] ---> d5df8472190f [2020-10-27T08:30:58.179Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-10-27T08:30:58.775Z] ---> 0d942f939721 [2020-10-27T08:30:58.775Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-10-27T08:30:59.049Z] ---> Running in 8a5488b69505 [2020-10-27T08:30:59.322Z] Removing intermediate container 8a5488b69505 [2020-10-27T08:30:59.322Z] ---> f240abbbc552 [2020-10-27T08:30:59.322Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-10-27T08:30:59.597Z] ---> Running in 67c5ed5854a0 [2020-10-27T08:30:59.872Z] Removing intermediate container 67c5ed5854a0 [2020-10-27T08:30:59.872Z] ---> acbcaa9c6fca [2020-10-27T08:30:59.872Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T08:31:00.146Z] ---> Running in 7d461c17a338 [2020-10-27T08:31:00.743Z] Removing intermediate container 7d461c17a338 [2020-10-27T08:31:00.743Z] ---> 03b0b13350ac [2020-10-27T08:31:00.743Z] Step 20/22 : LABEL arch=arm64 [2020-10-27T08:31:00.743Z] ---> Running in 3002ab3e0f6a [2020-10-27T08:31:01.016Z] Removing intermediate container 3002ab3e0f6a [2020-10-27T08:31:01.016Z] ---> ad00931a7f15 [2020-10-27T08:31:01.016Z] Step 21/22 : LABEL git_sha=008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:31:01.291Z] ---> Running in e3b9d39ca7cd [2020-10-27T08:31:01.889Z] Removing intermediate container e3b9d39ca7cd [2020-10-27T08:31:01.890Z] ---> 6b71cfad4b94 [2020-10-27T08:31:01.890Z] Step 22/22 : LABEL version=0.0.0 [2020-10-27T08:31:01.890Z] ---> Running in d8c19c32664d [2020-10-27T08:31:02.162Z] Removing intermediate container d8c19c32664d [2020-10-27T08:31:02.162Z] ---> 339dcdd08db0 [2020-10-27T08:31:02.162Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T08:31:02.162Z] Successfully built 339dcdd08db0 [2020-10-27T08:31:02.435Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-10-27T08:31:03.190Z] gofmt -l . [2020-10-27T08:31:03.190Z] ["`gofmt -l .`" = ""] [2020-10-27T08:31:03.190Z] ./bin/test-attribution-txt.sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-10-27T08:31:03.481Z] ./bin/test-go-mod-tidy.sh [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [Pipeline] stash [2020-10-27T08:31:03.884Z] Warning: overwriting stash ‘coverage-report’ [2020-10-27T08:31:04.258Z] Stashed 1 file(s) [Pipeline] } [2020-10-27T08:31:04.287Z] $ docker stop --time=1 c2bf8a99e075abb56d5891f80d3d6f767f2b859a4ec9a050a18f770665a2d5fb [2020-10-27T08:31:06.660Z] $ docker rm -f c2bf8a99e075abb56d5891f80d3d6f767f2b859a4ec9a050a18f770665a2d5fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-27T08:31:07.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-27T08:31:08.375Z] + ls -al . [2020-10-27T08:31:08.375Z] total 100 [2020-10-27T08:31:08.375Z] drwxrwxr-x. 9 jenkins jenkins 4096 Oct 27 08:31 . [2020-10-27T08:31:08.375Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 27 08:29 .. [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 5255 Oct 27 08:29 Attribution.txt [2020-10-27T08:31:08.375Z] drwxrwxr-x. 2 jenkins jenkins 87 Oct 27 08:29 bin [2020-10-27T08:31:08.375Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 27 08:29 cmd [2020-10-27T08:31:08.375Z] -rw-r--r--. 1 jenkins jenkins 18940 Oct 27 08:30 coverage.out [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 1784 Oct 27 08:29 Dockerfile [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 953 Oct 27 08:29 Dockerfile.build [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 27 08:29 .dockerignore [2020-10-27T08:31:08.375Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 08:29 .git [2020-10-27T08:31:08.375Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 27 08:29 .github [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 336 Oct 27 08:29 .gitignore [2020-10-27T08:31:08.375Z] -rw-r--r--. 1 jenkins jenkins 546 Oct 27 08:31 go.mod [2020-10-27T08:31:08.375Z] -rw-r--r--. 1 jenkins jenkins 13621 Oct 27 08:31 go.sum [2020-10-27T08:31:08.375Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 27 08:29 internal [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 27 08:29 Jenkinsfile [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 27 08:29 LICENSE [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 902 Oct 27 08:29 Makefile [2020-10-27T08:31:08.375Z] drwxrwxr-x. 2 jenkins jenkins 23 Oct 27 08:29 mock [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 444 Oct 27 08:29 README.md [2020-10-27T08:31:08.375Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 27 08:29 snap [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 08:26 VERSION [2020-10-27T08:31:08.375Z] -rw-rw-r--. 1 jenkins jenkins 227 Oct 27 08:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:31:08.871Z] + 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=008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc --label arch=amd64 --label version=0.0.0 . [2020-10-27T08:31:09.176Z] Sending build context to Docker daemon 486.4kB [2020-10-27T08:31:09.176Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-27T08:31:09.176Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-27T08:31:09.176Z] ---> af1d22bebf62 [2020-10-27T08:31:09.176Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-27T08:31:09.450Z] ---> Running in a1a343d3637f [2020-10-27T08:31:09.450Z] Removing intermediate container a1a343d3637f [2020-10-27T08:31:09.450Z] ---> b004af5ced3b [2020-10-27T08:31:09.450Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-27T08:31:09.722Z] ---> Running in 0086b28f9e83 [2020-10-27T08:31:10.002Z] Removing intermediate container 0086b28f9e83 [2020-10-27T08:31:10.002Z] ---> 31a56b6d46dc [2020-10-27T08:31:10.002Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-27T08:31:10.002Z] ---> Running in bec0b3d16782 [2020-10-27T08:31:10.983Z] Removing intermediate container bec0b3d16782 [2020-10-27T08:31:10.983Z] ---> 825bfccb9b54 [2020-10-27T08:31:10.983Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-27T08:31:11.260Z] ---> Running in ef6075484f4a [2020-10-27T08:31:11.896Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-27T08:31:12.912Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-27T08:31:13.195Z] OK: 237 MiB in 53 packages [2020-10-27T08:31:14.255Z] Removing intermediate container ef6075484f4a [2020-10-27T08:31:14.255Z] ---> 309b1f7068de [2020-10-27T08:31:14.255Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-10-27T08:31:14.255Z] ---> Running in 82d499211a46 [2020-10-27T08:31:14.255Z] Removing intermediate container 82d499211a46 [2020-10-27T08:31:14.255Z] ---> 86f888e80e29 [2020-10-27T08:31:14.255Z] Step 8/22 : COPY . . [2020-10-27T08:31:14.900Z] ---> 251ae8c52369 [2020-10-27T08:31:14.900Z] Step 9/22 : ARG MAKE='make build' [2020-10-27T08:31:15.185Z] ---> Running in f9232036c5ae [2020-10-27T08:31:15.185Z] Removing intermediate container f9232036c5ae [2020-10-27T08:31:15.185Z] ---> 51278f8c48df [2020-10-27T08:31:15.185Z] Step 10/22 : RUN $MAKE [2020-10-27T08:31:15.459Z] ---> Running in eb644c5ec52f [2020-10-27T08:31:16.114Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-27T08:31:18.786Z] Still waiting to schedule task [2020-10-27T08:31:18.786Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-27T08:31:32.157Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-27T08:31:34.989Z] Removing intermediate container eb644c5ec52f [2020-10-27T08:31:34.989Z] ---> b4c17d753fd6 [2020-10-27T08:31:34.989Z] Step 11/22 : FROM alpine [2020-10-27T08:31:34.989Z] latest: Pulling from library/alpine [2020-10-27T08:31:34.989Z] 188c0c94c7c5: Pulling fs layer [2020-10-27T08:31:35.437Z] 188c0c94c7c5: Verifying Checksum [2020-10-27T08:31:35.437Z] 188c0c94c7c5: Download complete [2020-10-27T08:31:35.864Z] 188c0c94c7c5: Pull complete [2020-10-27T08:31:35.864Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-27T08:31:35.864Z] Status: Downloaded newer image for alpine:latest [2020-10-27T08:31:35.864Z] ---> d6e46aa2470d [2020-10-27T08:31:35.864Z] Step 12/22 : ENV APP_PORT=49982 [2020-10-27T08:31:36.179Z] ---> Running in 35a99881bfae [2020-10-27T08:31:36.179Z] Removing intermediate container 35a99881bfae [2020-10-27T08:31:36.179Z] ---> a08d11fd9dea [2020-10-27T08:31:36.179Z] Step 13/22 : EXPOSE $APP_PORT [2020-10-27T08:31:36.462Z] ---> Running in 111b5d567277 [2020-10-27T08:31:36.462Z] Removing intermediate container 111b5d567277 [2020-10-27T08:31:36.462Z] ---> faa46ae15e1d [2020-10-27T08:31:36.462Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-10-27T08:31:37.487Z] ---> ed70f30efe81 [2020-10-27T08:31:37.487Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-10-27T08:31:37.774Z] ---> aeebcfeb9513 [2020-10-27T08:31:37.774Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-10-27T08:31:38.050Z] ---> 0df0d19b359f [2020-10-27T08:31:38.050Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-10-27T08:31:38.050Z] ---> Running in 4b42d29c7e26 [2020-10-27T08:31:38.334Z] Removing intermediate container 4b42d29c7e26 [2020-10-27T08:31:38.334Z] ---> 341c09e97cf8 [2020-10-27T08:31:38.334Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-10-27T08:31:38.334Z] ---> Running in 3d4bbd3ac565 [2020-10-27T08:31:38.603Z] Removing intermediate container 3d4bbd3ac565 [2020-10-27T08:31:38.603Z] ---> 95de2b577382 [2020-10-27T08:31:38.603Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-27T08:31:38.603Z] ---> Running in d08518320eff [2020-10-27T08:31:38.875Z] Removing intermediate container d08518320eff [2020-10-27T08:31:38.875Z] ---> 272d1bf87a47 [2020-10-27T08:31:38.875Z] Step 20/22 : LABEL arch=amd64 [2020-10-27T08:31:38.875Z] ---> Running in 6ec70a7a70a1 [2020-10-27T08:31:39.148Z] Removing intermediate container 6ec70a7a70a1 [2020-10-27T08:31:39.148Z] ---> 75fb7833d5a2 [2020-10-27T08:31:39.148Z] Step 21/22 : LABEL git_sha=008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:31:39.148Z] ---> Running in bde200b8f0e7 [2020-10-27T08:31:39.428Z] Removing intermediate container bde200b8f0e7 [2020-10-27T08:31:39.428Z] ---> 3b959697a5f6 [2020-10-27T08:31:39.428Z] Step 22/22 : LABEL version=0.0.0 [2020-10-27T08:31:39.428Z] ---> Running in d62824800778 [2020-10-27T08:31:39.428Z] Removing intermediate container d62824800778 [2020-10-27T08:31:39.428Z] ---> a1f60947597b [2020-10-27T08:31:39.428Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-27T08:31:39.428Z] Successfully built a1f60947597b [2020-10-27T08:31:39.736Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-10-27T08:31:55.585Z] Still waiting to schedule task [2020-10-27T08:31:55.585Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-10-27T08:32:57.262Z] Running on prd-centos7-docker-8c-8g-9110 in /w/workspace/gexfoundry_device-mqtt-go_PR-180 [Pipeline] { [Pipeline] ws [2020-10-27T08:32:57.382Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-10-27T08:32:59.621Z] using credential edgex-jenkins-ssh [2020-10-27T08:32:59.678Z] Cloning the remote Git repository [2020-10-27T08:32:59.537Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:32:59.605Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-10-27T08:33:00.731Z] Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:32:59.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:32:59.636Z] > git --version # timeout=10 [2020-10-27T08:32:59.642Z] > git --version # 'git version 2.16.5' [2020-10-27T08:32:59.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:32:59.670Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:33:00.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:33:00.192Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:33:00.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:33:00.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:33:00.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:33:00.218Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T08:33:00.661Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:33:00.666Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:33:00.700Z] > git remote # timeout=10 [2020-10-27T08:33:00.705Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T08:33:00.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:33:00.800Z] Merge succeeded, producing 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:33:00.801Z] Checking out Revision 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc (PR-180) [2020-10-27T08:33:00.713Z] > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 [2020-10-27T08:33:00.721Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T08:33:00.731Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:33:00.735Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:33:02.475Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-9109 in /w/workspace/gexfoundry_device-mqtt-go_PR-180 [Pipeline] { [Pipeline] ws [2020-10-27T08:33:02.567Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-10-27T08:33:04.312Z] Commit message: "fix: Return error instead of the panic if required config not found" [2020-10-27T08:33:04.345Z] > git --version # timeout=10 [2020-10-27T08:33:04.349Z] > git --version # 'git version 2.16.5' [2020-10-27T08:33:04.353Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-27T08:33:06.208Z] ++ find /w/workspace/device-mqtt-go/1 [2020-10-27T08:33:06.208Z] ++ grep snapcraft.yaml [2020-10-27T08:33:06.208Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T08:33:06.480Z] provisioning config files... [2020-10-27T08:33:06.494Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config8538406187081648017tmp [Pipeline] { [2020-10-27T08:33:06.585Z] using credential edgex-jenkins-ssh [Pipeline] sh [2020-10-27T08:33:06.643Z] Cloning the remote Git repository [2020-10-27T08:33:06.930Z] + cp /w/workspace/device-mqtt-go/1@tmp/config8538406187081648017tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-10-27T08:33:07.244Z] + 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-10-27T08:33:07.244Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-10-27T08:33:07.505Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-10-27T08:33:07.505Z] f08d8e2a3ba1: Pulling fs layer [2020-10-27T08:33:07.505Z] 3baa9cb2483b: Pulling fs layer [2020-10-27T08:33:07.505Z] 94e5ff4c0b15: Pulling fs layer [2020-10-27T08:33:07.505Z] 1860925334f9: Pulling fs layer [2020-10-27T08:33:07.505Z] 2daf38717194: Pulling fs layer [2020-10-27T08:33:07.505Z] 309017e8d7a4: Pulling fs layer [2020-10-27T08:33:07.505Z] f7790dc9fd0f: Pulling fs layer [2020-10-27T08:33:07.505Z] cac0ae9282c2: Pulling fs layer [2020-10-27T08:33:07.505Z] 1f4cadf9a1ed: Pulling fs layer [2020-10-27T08:33:07.505Z] 2daf38717194: Waiting [2020-10-27T08:33:07.505Z] cac0ae9282c2: Waiting [2020-10-27T08:33:07.505Z] 1f4cadf9a1ed: Waiting [2020-10-27T08:33:07.505Z] f7790dc9fd0f: Waiting [2020-10-27T08:33:07.505Z] 1860925334f9: Waiting [2020-10-27T08:33:07.505Z] 3baa9cb2483b: Download complete [2020-10-27T08:33:07.505Z] 94e5ff4c0b15: Download complete [2020-10-27T08:33:07.505Z] 1860925334f9: Verifying Checksum [2020-10-27T08:33:07.505Z] 1860925334f9: Download complete [2020-10-27T08:33:07.505Z] 309017e8d7a4: Verifying Checksum [2020-10-27T08:33:07.505Z] 309017e8d7a4: Download complete [2020-10-27T08:33:06.695Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:33:06.793Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-10-27T08:33:06.855Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:33:06.855Z] > git --version # timeout=10 [2020-10-27T08:33:06.870Z] > git --version # 'git version 2.17.1' [2020-10-27T08:33:06.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:33:06.914Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:33:07.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:33:07.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-27T08:33:08.077Z] f7790dc9fd0f: Verifying Checksum [2020-10-27T08:33:08.077Z] f7790dc9fd0f: Download complete [2020-10-27T08:33:08.176Z] Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:33:08.377Z] Merge succeeded, producing 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [2020-10-27T08:33:08.377Z] Checking out Revision 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc (PR-180) [2020-10-27T08:33:08.649Z] cac0ae9282c2: Download complete [2020-10-27T08:33:07.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-27T08:33:07.628Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-27T08:33:07.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:33:07.641Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-27T08:33:08.200Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:33:08.212Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:33:08.289Z] > git remote # timeout=10 [2020-10-27T08:33:08.325Z] > git config --get remote.origin.url # timeout=10 [2020-10-27T08:33:08.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-27T08:33:08.347Z] > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 [2020-10-27T08:33:08.369Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-27T08:33:08.389Z] > git config core.sparsecheckout # timeout=10 [2020-10-27T08:33:08.399Z] > git checkout -f 008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc # timeout=10 [2020-10-27T08:33:08.911Z] 1f4cadf9a1ed: Verifying Checksum [2020-10-27T08:33:08.911Z] 1f4cadf9a1ed: Download complete [2020-10-27T08:33:10.299Z] f08d8e2a3ba1: Verifying Checksum [2020-10-27T08:33:10.299Z] f08d8e2a3ba1: Download complete [2020-10-27T08:33:11.247Z] f08d8e2a3ba1: Pull complete [2020-10-27T08:33:11.247Z] 3baa9cb2483b: Pull complete [2020-10-27T08:33:11.247Z] 94e5ff4c0b15: Pull complete [2020-10-27T08:33:11.511Z] 1860925334f9: Pull complete [2020-10-27T08:33:12.516Z] Commit message: "fix: Return error instead of the panic if required config not found" [2020-10-27T08:33:12.572Z] > git --version # timeout=10 [2020-10-27T08:33:12.579Z] > git --version # 'git version 2.17.1' [2020-10-27T08:33:12.589Z] fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-27T08:33:13.976Z] + find /w/workspace/device-mqtt-go/1 [2020-10-27T08:33:13.977Z] + grep snapcraft.yaml [2020-10-27T08:33:13.977Z] + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T08:33:14.278Z] provisioning config files... [2020-10-27T08:33:14.305Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config3278471788187484023tmp [Pipeline] { [Pipeline] sh [2020-10-27T08:33:14.784Z] + cp /w/workspace/device-mqtt-go/1@tmp/config3278471788187484023tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [2020-10-27T08:33:14.818Z] 2daf38717194: Verifying Checksum [2020-10-27T08:33:14.819Z] 2daf38717194: Download complete [Pipeline] sh [2020-10-27T08:33:15.139Z] + 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-10-27T08:33:15.732Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-10-27T08:33:16.007Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-10-27T08:33:16.007Z] 237528ba509b: Pulling fs layer [2020-10-27T08:33:16.007Z] 393b96f31d8b: Pulling fs layer [2020-10-27T08:33:16.007Z] 4d82b0e39008: Pulling fs layer [2020-10-27T08:33:16.007Z] e7ca375b8d34: Pulling fs layer [2020-10-27T08:33:16.007Z] 418f656485bb: Pulling fs layer [2020-10-27T08:33:16.007Z] aebe8db9254c: Pulling fs layer [2020-10-27T08:33:16.007Z] 4f5f7b207d3f: Pulling fs layer [2020-10-27T08:33:16.007Z] d19ca6af091a: Pulling fs layer [2020-10-27T08:33:16.007Z] 418f656485bb: Waiting [2020-10-27T08:33:16.007Z] aebe8db9254c: Waiting [2020-10-27T08:33:16.007Z] 16b5a0711add: Pulling fs layer [2020-10-27T08:33:16.007Z] 16b5a0711add: Waiting [2020-10-27T08:33:16.007Z] e7ca375b8d34: Waiting [2020-10-27T08:33:16.007Z] 393b96f31d8b: Download complete [2020-10-27T08:33:16.007Z] 4d82b0e39008: Download complete [2020-10-27T08:33:16.007Z] aebe8db9254c: Verifying Checksum [2020-10-27T08:33:16.007Z] aebe8db9254c: Download complete [2020-10-27T08:33:16.007Z] 4f5f7b207d3f: Download complete [2020-10-27T08:33:16.286Z] d19ca6af091a: Verifying Checksum [2020-10-27T08:33:16.286Z] d19ca6af091a: Download complete [2020-10-27T08:33:16.286Z] 16b5a0711add: Verifying Checksum [2020-10-27T08:33:16.286Z] 16b5a0711add: Download complete [2020-10-27T08:33:16.885Z] 237528ba509b: Verifying Checksum [2020-10-27T08:33:19.523Z] 237528ba509b: Pull complete [2020-10-27T08:33:20.122Z] 393b96f31d8b: Pull complete [2020-10-27T08:33:20.397Z] 4d82b0e39008: Pull complete [2020-10-27T08:33:21.001Z] e7ca375b8d34: Pull complete [2020-10-27T08:33:25.306Z] 418f656485bb: Verifying Checksum [2020-10-27T08:33:25.306Z] 418f656485bb: Download complete [2020-10-27T08:33:32.944Z] 2daf38717194: Pull complete [2020-10-27T08:33:32.945Z] 309017e8d7a4: Pull complete [2020-10-27T08:33:32.945Z] f7790dc9fd0f: Pull complete [2020-10-27T08:33:32.945Z] cac0ae9282c2: Pull complete [2020-10-27T08:33:32.945Z] 1f4cadf9a1ed: Pull complete [2020-10-27T08:33:32.945Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-10-27T08:33:32.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-10-27T08:33:34.332Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-10-27T08:33:34.332Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-10-27T08:33:34.332Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-10-27T08:33:34.593Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-10-27T08:33:34.593Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] [2020-10-27T08:33:34.593Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] [2020-10-27T08:33:34.593Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [211 kB] [2020-10-27T08:33:34.856Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1745 kB] [2020-10-27T08:33:35.116Z] Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1352 kB] [2020-10-27T08:33:35.116Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] [2020-10-27T08:33:35.116Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2115 kB] [2020-10-27T08:33:35.116Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] [2020-10-27T08:33:35.116Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-10-27T08:33:35.116Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-10-27T08:33:35.687Z] Fetched 8163 kB in 2s (4753 kB/s) [2020-10-27T08:33:37.076Z] Reading package lists... [2020-10-27T08:33:40.377Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-10-27T08:33:40.377Z] 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-10-27T08:33:40.377Z] 0% [Working] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-10-27T08:33:40.377Z] 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 [2020-10-27T08:33:41.734Z] 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... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-27T08:33:43.123Z] 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-10-27T08:33:44.589Z] 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... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-27T08:33:44.589Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-10-27T08:33:44.589Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-10-27T08:33:44.850Z] The following packages were automatically installed and are no longer required: [2020-10-27T08:33:44.850Z] libjq1 libonig4 [2020-10-27T08:33:44.850Z] Use 'sudo apt autoremove' to remove them. [2020-10-27T08:33:44.850Z] Suggested packages: [2020-10-27T08:33:44.850Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-10-27T08:33:44.850Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-10-27T08:33:44.850Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-10-27T08:33:44.850Z] | libterm-readline-perl-perl [2020-10-27T08:33:44.850Z] The following NEW packages will be installed: [2020-10-27T08:33:44.850Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-10-27T08:33:44.850Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-10-27T08:33:44.850Z] The following packages will be upgraded: [2020-10-27T08:33:44.850Z] perl-base [2020-10-27T08:33:44.850Z] 1 upgraded, 14 newly installed, 0 to remove and 31 not upgraded. [2020-10-27T08:33:44.850Z] Need to get 13.4 MB of archives. [2020-10-27T08:33:44.850Z] After this operation, 77.5 MB of additional disk space will be used. [2020-10-27T08:33:45.111Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-10-27T08:33:45.688Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 684 kB/1391 kB 49%] 10% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-10-27T08:33:45.950Z] 10% [2 perl-modules-5.26 22.9 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-10-27T08:33:45.950Z] 28% [3 libgdbm5 21.7 kB/26.0 kB 83%] 29% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-10-27T08:33:45.950Z] 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Working] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-10-27T08:33:45.950Z] 30% [5 libperl5.26 1861 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-10-27T08:33:46.211Z] 53% [6 perl 12.5 kB/201 kB 6%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-10-27T08:33:46.211Z] 55% [7 less 3899 B/112 kB 3%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-10-27T08:33:46.211Z] 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-10-27T08:33:46.211Z] 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-10-27T08:33:46.211Z] 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-10-27T08:33:46.211Z] 64% [11 liberror-perl 0 B/22.8 kB 0%] 65% [Working] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-10-27T08:33:46.211Z] 65% [12 git-man 0 B/804 kB 0%] 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-10-27T08:33:46.471Z] 71% [13 git 37.1 kB/3915 kB 1%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-10-27T08:33:46.471Z] 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-10-27T08:33:46.471Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9136 kB/s) [2020-10-27T08:33:46.471Z] debconf: delaying package configuration, since apt-utils is not installed [2020-10-27T08:33:46.732Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-10-27T08:33:46.732Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-10-27T08:33:46.732Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-10-27T08:33:50.034Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:50.034Z] Selecting previously unselected package perl-modules-5.26. [2020-10-27T08:33:50.034Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-10-27T08:33:50.034Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-10-27T08:33:50.034Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:50.975Z] Selecting previously unselected package libgdbm5:amd64. [2020-10-27T08:33:50.975Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-10-27T08:33:50.975Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-10-27T08:33:50.975Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-10-27T08:33:50.975Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-10-27T08:33:50.975Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-10-27T08:33:51.235Z] Selecting previously unselected package libperl5.26:amd64. [2020-10-27T08:33:51.235Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-10-27T08:33:51.235Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:51.811Z] Selecting previously unselected package perl. [2020-10-27T08:33:51.811Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-10-27T08:33:51.811Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:51.811Z] Selecting previously unselected package less. [2020-10-27T08:33:51.811Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-10-27T08:33:51.811Z] Unpacking less (487-0.1) ... [2020-10-27T08:33:51.811Z] Selecting previously unselected package netbase. [2020-10-27T08:33:51.811Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-10-27T08:33:51.811Z] Unpacking netbase (5.4) ... [2020-10-27T08:33:51.811Z] Selecting previously unselected package curl. [2020-10-27T08:33:51.811Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-10-27T08:33:51.811Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-10-27T08:33:52.071Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-10-27T08:33:52.071Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-10-27T08:33:52.071Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-10-27T08:33:52.071Z] Selecting previously unselected package liberror-perl. [2020-10-27T08:33:52.071Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-10-27T08:33:52.071Z] Unpacking liberror-perl (0.17025-1) ... [2020-10-27T08:33:52.071Z] Selecting previously unselected package git-man. [2020-10-27T08:33:52.071Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-10-27T08:33:52.071Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:33:52.331Z] Selecting previously unselected package git. [2020-10-27T08:33:52.331Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-10-27T08:33:52.331Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:33:52.904Z] Selecting previously unselected package make. [2020-10-27T08:33:52.904Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-10-27T08:33:52.904Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-10-27T08:33:52.904Z] Selecting previously unselected package patch. [2020-10-27T08:33:52.904Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-10-27T08:33:52.904Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-10-27T08:33:52.904Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:33:53.165Z] Setting up less (487-0.1) ... [2020-10-27T08:33:53.165Z] Setting up make (4.1-9.1ubuntu1) ... [2020-10-27T08:33:53.165Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-10-27T08:33:53.165Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-10-27T08:33:53.165Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:53.165Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-10-27T08:33:53.165Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-10-27T08:33:53.165Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-10-27T08:33:53.165Z] Setting up netbase (5.4) ... [2020-10-27T08:33:53.425Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:53.425Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-10-27T08:33:53.425Z] Setting up liberror-perl (0.17025-1) ... [2020-10-27T08:33:53.425Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:33:53.425Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-27T08:33:53.425Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-27T08:33:54.806Z] curl set to automatically installed. [2020-10-27T08:33:54.806Z] git set to automatically installed. [2020-10-27T08:33:54.806Z] git-man set to automatically installed. [2020-10-27T08:33:54.806Z] less set to automatically installed. [2020-10-27T08:33:54.806Z] libcurl3-gnutls set to automatically installed. [2020-10-27T08:33:54.806Z] liberror-perl set to automatically installed. [2020-10-27T08:33:54.806Z] libgdbm-compat4 set to automatically installed. [2020-10-27T08:33:54.806Z] libgdbm5 set to automatically installed. [2020-10-27T08:33:54.806Z] libperl5.26 set to automatically installed. [2020-10-27T08:33:54.806Z] make set to automatically installed. [2020-10-27T08:33:54.806Z] netbase set to automatically installed. [2020-10-27T08:33:54.806Z] patch set to automatically installed. [2020-10-27T08:33:54.806Z] perl set to automatically installed. [2020-10-27T08:33:54.806Z] perl-base set to automatically installed. [2020-10-27T08:33:54.806Z] perl-modules-5.26 set to automatically installed. [2020-10-27T08:33:54.806Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-10-27T08:33:54.806Z] Please ensure the environment is properly setup before continuing. [2020-10-27T08:33:54.806Z] Ignore this message if the appropriate measures have already been taken [2020-10-27T08:33:55.379Z] Pulling go  [2020-10-27T08:33:56.325Z] 'device-mqtt' has dependencies that need to be staged: go [2020-10-27T08:33:56.325Z] Skipping pull go (already ran) [2020-10-27T08:33:56.325Z] Building go  [2020-10-27T08:33:56.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-27T08:33:56.325Z] Dload Upload Total Spent Left Speed [2020-10-27T08:33:58.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 35 115M 35 40.8M 0 0 43.5M 0 0:00:02 --:--:-- 0:00:02 43.5M 91 115M 91 105M 0 0 54.3M 0 0:00:02 0:00:01 0:00:01 54.3M 100 115M 100 115M 0 0 55.0M 0 0:00:02 0:00:02 --:--:-- 55.0M [2020-10-27T08:33:59.416Z] go1.15.2.linux-amd64.tar.gz: OK [2020-10-27T08:34:06.004Z] Staging go  [2020-10-27T08:34:06.004Z] Pulling device-mqtt  [2020-10-27T08:34:06.577Z] Skipping build go (already ran) [2020-10-27T08:34:06.577Z] Building device-mqtt  [2020-10-27T08:34:06.577Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-27T08:34:07.519Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-10-27T08:34:07.519Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-10-27T08:34:07.519Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-10-27T08:34:07.519Z] go: downloading github.com/spf13/cast v1.3.0 [2020-10-27T08:34:07.519Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-10-27T08:34:07.780Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-10-27T08:34:07.780Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-10-27T08:34:07.780Z] go: downloading github.com/google/uuid v1.1.1 [2020-10-27T08:34:07.780Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-10-27T08:34:07.780Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-10-27T08:34:07.780Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-10-27T08:34:07.780Z] go: downloading github.com/x448/float16 v0.8.4 [2020-10-27T08:34:07.780Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-10-27T08:34:07.780Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-10-27T08:34:07.780Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-10-27T08:34:07.780Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-10-27T08:34:07.780Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-10-27T08:34:07.780Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-10-27T08:34:08.041Z] go: downloading github.com/pkg/errors v0.8.1 [2020-10-27T08:34:08.041Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-10-27T08:34:08.041Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-10-27T08:34:08.041Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-10-27T08:34:08.041Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-10-27T08:34:08.041Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-10-27T08:34:08.041Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-10-27T08:34:08.041Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-10-27T08:34:08.041Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-10-27T08:34:08.041Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-10-27T08:34:08.041Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-10-27T08:34:08.041Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-10-27T08:34:08.041Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-10-27T08:34:08.302Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-10-27T08:34:08.302Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-10-27T08:34:12.288Z] 418f656485bb: Pull complete [2020-10-27T08:34:12.288Z] aebe8db9254c: Pull complete [2020-10-27T08:34:12.288Z] 4f5f7b207d3f: Pull complete [2020-10-27T08:34:12.288Z] d19ca6af091a: Pull complete [2020-10-27T08:34:12.288Z] 16b5a0711add: Pull complete [2020-10-27T08:34:12.288Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-10-27T08:34:12.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-10-27T08:34:12.887Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-27T08:34:12.887Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-10-27T08:34:13.162Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-10-27T08:34:13.162Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-10-27T08:34:13.619Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-27T08:34:13.763Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1860 kB] [2020-10-27T08:34:14.040Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] [2020-10-27T08:34:14.040Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] [2020-10-27T08:34:14.040Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] [2020-10-27T08:34:14.040Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] [2020-10-27T08:34:14.040Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] [2020-10-27T08:34:14.314Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] [2020-10-27T08:34:14.314Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] [2020-10-27T08:34:14.314Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1178 kB] [2020-10-27T08:34:14.314Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1031 kB] [2020-10-27T08:34:14.912Z] Fetched 5769 kB in 2s (2315 kB/s) [2020-10-27T08:34:16.923Z] Skipping stage go (already ran) [2020-10-27T08:34:16.924Z] Staging device-mqtt  [2020-10-27T08:34:17.875Z] Priming go  [2020-10-27T08:34:18.447Z] Priming device-mqtt  [2020-10-27T08:34:19.215Z] Reading package lists... [2020-10-27T08:34:19.397Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-10-27T08:34:19.397Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-10-27T08:34:19.397Z] Determining the version from the project repo (version-script). [2020-10-27T08:34:19.397Z] The version has been set to 'local-dev-20201027+008ed5a' [2020-10-27T08:34:19.945Z] Snapping | Snapping / Snapping - Snapping | [2020-10-27T08:34:19.945Z] Snapped edgex-device-mqtt_local-dev-20201027+008ed5a_amd64.snap [Pipeline] } [2020-10-27T08:34:22.520Z] 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] } [2020-10-27T08:34:31.944Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-27T08:34:31.944Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-10-27T08:34:31.944Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-10-27T08:34:32.217Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-10-27T08:34:37.748Z] 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 29% Reading package lists... 49% Reading package lists... 68% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-27T08:34:44.435Z] 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-10-27T08:34:48.541Z] 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... 27% Reading package lists... 45% 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-10-27T08:34:49.412Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-10-27T08:34:49.412Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-10-27T08:34:50.006Z] The following packages were automatically installed and are no longer required: [2020-10-27T08:34:50.279Z] libjq1 libonig4 [2020-10-27T08:34:50.279Z] Use 'sudo apt autoremove' to remove them. [2020-10-27T08:34:50.279Z] Suggested packages: [2020-10-27T08:34:50.279Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-10-27T08:34:50.279Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-10-27T08:34:50.279Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-10-27T08:34:50.279Z] | libterm-readline-perl-perl [2020-10-27T08:34:50.552Z] The following NEW packages will be installed: [2020-10-27T08:34:50.552Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-10-27T08:34:50.552Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-10-27T08:34:50.552Z] The following packages will be upgraded: [2020-10-27T08:34:50.552Z] perl-base [2020-10-27T08:34:50.552Z] 1 upgraded, 14 newly installed, 0 to remove and 31 not upgraded. [2020-10-27T08:34:50.552Z] Need to get 12.0 MB of archives. [2020-10-27T08:34:50.552Z] After this operation, 73.6 MB of additional disk space will be used. [2020-10-27T08:34:50.823Z] 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-10-27T08:34:51.689Z] 0% [1 perl-base 12.6 kB/1237 kB 1%] 4% [1 perl-base 602 kB/1237 kB 49%] 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-10-27T08:34:51.689Z] 10% [2 perl-modules-5.26 8192 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-10-27T08:34:51.689Z] 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-10-27T08:34:51.689Z] 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-10-27T08:34:51.963Z] 32% [5 libperl5.26 24.6 kB/3335 kB 1%] 56% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.5 [201 kB] [2020-10-27T08:34:51.963Z] 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-10-27T08:34:51.963Z] 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-10-27T08:34:51.963Z] 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-10-27T08:34:51.963Z] 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-10-27T08:34:51.963Z] 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-10-27T08:34:51.963Z] 67% [11 liberror-perl 22.8 kB/22.8 kB 100%] 68% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-10-27T08:34:51.963Z] 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-10-27T08:34:52.236Z] 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-10-27T08:34:52.236Z] 96% [14 make 57.3 kB/139 kB 41%] 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-10-27T08:34:52.236Z] 98% [15 patch 64.9 kB/91.8 kB 71%] 100% [Working] Fetched 12.0 MB in 2s (7886 kB/s) [2020-10-27T08:34:52.830Z] debconf: delaying package configuration, since apt-utils is not installed [2020-10-27T08:34:53.102Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) [2020-10-27T08:34:53.102Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... [2020-10-27T08:34:53.102Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-10-27T08:34:58.488Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-10-27T08:34:58.488Z] Selecting previously unselected package perl-modules-5.26. [2020-10-27T08:34:58.488Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) [2020-10-27T08:34:58.488Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-10-27T08:34:58.488Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:34:59.466Z] Selecting previously unselected package libgdbm5:arm64. [2020-10-27T08:34:59.466Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-10-27T08:34:59.466Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-10-27T08:34:59.740Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-10-27T08:34:59.740Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-10-27T08:34:59.740Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-10-27T08:34:59.740Z] Selecting previously unselected package libperl5.26:arm64. [2020-10-27T08:34:59.740Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... [2020-10-27T08:34:59.740Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:35:01.172Z] Selecting previously unselected package perl. [2020-10-27T08:35:01.172Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... [2020-10-27T08:35:01.172Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-10-27T08:35:01.172Z] Selecting previously unselected package less. [2020-10-27T08:35:01.172Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-10-27T08:35:01.172Z] Unpacking less (487-0.1) ... [2020-10-27T08:35:01.172Z] Selecting previously unselected package netbase. [2020-10-27T08:35:01.172Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-10-27T08:35:01.172Z] Unpacking netbase (5.4) ... [2020-10-27T08:35:01.445Z] Selecting previously unselected package curl. [2020-10-27T08:35:01.445Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-10-27T08:35:01.445Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-10-27T08:35:01.445Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-10-27T08:35:01.445Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-10-27T08:35:01.445Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-10-27T08:35:01.720Z] Selecting previously unselected package liberror-perl. [2020-10-27T08:35:01.720Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-10-27T08:35:01.720Z] Unpacking liberror-perl (0.17025-1) ... [2020-10-27T08:35:01.720Z] Selecting previously unselected package git-man. [2020-10-27T08:35:01.720Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-10-27T08:35:01.720Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:35:01.994Z] Selecting previously unselected package git. [2020-10-27T08:35:01.994Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-10-27T08:35:02.266Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:35:03.240Z] Selecting previously unselected package make. [2020-10-27T08:35:03.240Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-10-27T08:35:03.240Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-10-27T08:35:03.510Z] Selecting previously unselected package patch. [2020-10-27T08:35:03.510Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-10-27T08:35:03.510Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-10-27T08:35:03.510Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:35:03.781Z] Setting up less (487-0.1) ... [2020-10-27T08:35:04.052Z] Setting up make (4.1-9.1ubuntu1) ... [2020-10-27T08:35:04.052Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-10-27T08:35:04.052Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-10-27T08:35:04.053Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:35:04.324Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-10-27T08:35:04.324Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-10-27T08:35:04.324Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-10-27T08:35:04.324Z] Setting up netbase (5.4) ... [2020-10-27T08:35:04.324Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... [2020-10-27T08:35:04.324Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-10-27T08:35:04.595Z] Setting up liberror-perl (0.17025-1) ... [2020-10-27T08:35:04.595Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-10-27T08:35:04.595Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-27T08:35:04.595Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-27T08:35:09.983Z] curl set to automatically installed. [2020-10-27T08:35:09.983Z] git set to automatically installed. [2020-10-27T08:35:09.983Z] git-man set to automatically installed. [2020-10-27T08:35:09.983Z] less set to automatically installed. [2020-10-27T08:35:09.983Z] libcurl3-gnutls set to automatically installed. [2020-10-27T08:35:09.983Z] liberror-perl set to automatically installed. [2020-10-27T08:35:09.983Z] libgdbm-compat4 set to automatically installed. [2020-10-27T08:35:09.983Z] libgdbm5 set to automatically installed. [2020-10-27T08:35:09.983Z] libperl5.26 set to automatically installed. [2020-10-27T08:35:09.983Z] make set to automatically installed. [2020-10-27T08:35:09.983Z] netbase set to automatically installed. [2020-10-27T08:35:09.983Z] patch set to automatically installed. [2020-10-27T08:35:09.983Z] perl set to automatically installed. [2020-10-27T08:35:09.983Z] perl-base set to automatically installed. [2020-10-27T08:35:09.983Z] perl-modules-5.26 set to automatically installed. [2020-10-27T08:35:09.983Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-10-27T08:35:09.983Z] Please ensure the environment is properly setup before continuing. [2020-10-27T08:35:09.983Z] Ignore this message if the appropriate measures have already been taken [2020-10-27T08:35:11.946Z] Pulling go  [2020-10-27T08:35:15.328Z] 'device-mqtt' has dependencies that need to be staged: go [2020-10-27T08:35:15.328Z] Skipping pull go (already ran) [2020-10-27T08:35:15.328Z] Building go  [2020-10-27T08:35:15.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-27T08:35:15.328Z] Dload Upload Total Spent Left Speed [2020-10-27T08:35:18.801Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 25 93.2M 25 23.4M 0 0 31.1M 0 0:00:02 --:--:-- 0:00:02 31.1M 58 93.2M 58 54.5M 0 0 30.9M 0 0:00:03 0:00:01 0:00:02 30.9M 78 93.2M 78 73.1M 0 0 26.5M 0 0:00:03 0:00:02 0:00:01 26.5M 97 93.2M 97 90.4M 0 0 24.1M 0 0:00:03 0:00:03 --:--:-- 24.1M 100 93.2M 100 93.2M 0 0 23.7M 0 0:00:03 0:00:03 --:--:-- 23.7M [2020-10-27T08:35:20.229Z] go1.15.2.linux-arm64.tar.gz: OK [2020-10-27T08:35:38.502Z] Staging go  [2020-10-27T08:35:39.483Z] Pulling device-mqtt  [2020-10-27T08:35:43.774Z] Skipping build go (already ran) [2020-10-27T08:35:43.774Z] Building device-mqtt  [2020-10-27T08:35:43.774Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-27T08:35:44.370Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-10-27T08:35:44.370Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-10-27T08:35:44.370Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-10-27T08:35:44.370Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-10-27T08:35:44.644Z] go: downloading github.com/spf13/cast v1.3.0 [2020-10-27T08:35:44.644Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-10-27T08:35:44.644Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-10-27T08:35:44.644Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-10-27T08:35:44.644Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-10-27T08:35:44.916Z] go: downloading github.com/pkg/errors v0.8.1 [2020-10-27T08:35:44.916Z] go: downloading github.com/google/uuid v1.1.1 [2020-10-27T08:35:44.916Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-10-27T08:35:44.916Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-10-27T08:35:44.916Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-10-27T08:35:44.916Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-10-27T08:35:44.916Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-10-27T08:35:44.916Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-10-27T08:35:44.916Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-10-27T08:35:44.916Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-10-27T08:35:44.916Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-10-27T08:35:44.916Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-10-27T08:35:44.916Z] go: downloading github.com/x448/float16 v0.8.4 [2020-10-27T08:35:44.916Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-10-27T08:35:44.916Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-10-27T08:35:44.916Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-10-27T08:35:45.190Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-10-27T08:35:45.190Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-10-27T08:35:45.190Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-10-27T08:35:45.190Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-10-27T08:35:45.190Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-10-27T08:35:45.460Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-10-27T08:35:45.460Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-10-27T08:35:45.460Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-10-27T08:36:03.777Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-27T08:36:18.851Z] Skipping stage go (already ran) [2020-10-27T08:36:18.851Z] Staging device-mqtt  [2020-10-27T08:36:21.478Z] Priming go  [2020-10-27T08:36:24.862Z] Priming device-mqtt  [2020-10-27T08:36:28.252Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-10-27T08:36:28.252Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-10-27T08:36:28.252Z] Determining the version from the project repo (version-script). [2020-10-27T08:36:28.252Z] The version has been set to 'local-dev-20201027+008ed5a' [2020-10-27T08:36:29.346Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | [2020-10-27T08:36:29.346Z] Snapped edgex-device-mqtt_local-dev-20201027+008ed5a_arm64.snap [Pipeline] } [2020-10-27T08:36:31.992Z] 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-10-27T08:36:34.924Z] provisioning config files... [2020-10-27T08:36:34.940Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp/config6553633218029441123tmp [Pipeline] { [Pipeline] sh [2020-10-27T08:36:35.387Z] + set +x [2020-10-27T08:36:35.387Z] + bash -s -- [2020-10-27T08:36:35.387Z] + curl -s https://codecov.io/bash [2020-10-27T08:36:35.650Z] [2020-10-27T08:36:35.651Z] _____ _ [2020-10-27T08:36:35.651Z] / ____| | | [2020-10-27T08:36:35.651Z] | | ___ __| | ___ ___ _____ __ [2020-10-27T08:36:35.651Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-27T08:36:35.651Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-27T08:36:35.651Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-27T08:36:35.651Z] Bash-20201009-048fee3 [2020-10-27T08:36:35.651Z] [2020-10-27T08:36:35.651Z] [2020-10-27T08:36:35.651Z] ==> Jenkins CI detected. [2020-10-27T08:36:35.651Z] project root: . [2020-10-27T08:36:35.651Z] --> token set from env [2020-10-27T08:36:35.651Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-27T08:36:35.651Z] ==> Running gcov in . (disable via -X gcov) [2020-10-27T08:36:35.651Z] ==> Python coveragepy not found [2020-10-27T08:36:35.651Z] ==> Searching for coverage reports in: [2020-10-27T08:36:35.651Z] + . [2020-10-27T08:36:35.651Z] -> Found 1 reports [2020-10-27T08:36:35.651Z] ==> Detecting git/mercurial file structure [2020-10-27T08:36:35.651Z] ==> Reading reports [2020-10-27T08:36:35.651Z] + ./coverage.out bytes=18940 [2020-10-27T08:36:35.651Z] ==> Appending adjustments [2020-10-27T08:36:35.651Z] https://docs.codecov.io/docs/fixing-reports [2020-10-27T08:36:35.915Z] + Found adjustments [2020-10-27T08:36:35.916Z] ==> Gzipping contents [2020-10-27T08:36:35.916Z] ==> Uploading reports [2020-10-27T08:36:35.916Z] url: https://codecov.io [2020-10-27T08:36:35.916Z] query: branch=PR-180&commit=008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=180&job=&cmd_args= [2020-10-27T08:36:35.916Z] -> Pinging Codecov [2020-10-27T08:36:35.916Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-180&commit=008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=180&job=&cmd_args= [2020-10-27T08:36:36.181Z] -> Uploading to [2020-10-27T08:36:36.181Z] [2020-10-27T08:36:36.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-27T08:36:36.181Z] Dload Upload Total Spent Left Speed [2020-10-27T08:36:36.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-27T08:36:36.181Z] X> Failed to upload [2020-10-27T08:36:36.181Z] ==> Uploading to Codecov [2020-10-27T08:36:36.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-27T08:36:36.181Z] Dload Upload Total Spent Left Speed [2020-10-27T08:36:36.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3386 100 111 100 3275 214 6324 --:--:-- --:--:-- --:--:-- 6334 [2020-10-27T08:36:36.764Z] View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/008ed5ac6cfa87e786d1ed3cb8bfa36782079bcc [Pipeline] } [2020-10-27T08:36:36.797Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:36:40.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:36:41.022Z] ---> package-listing.sh [2020-10-27T08:36:41.022Z] ++ facter osfamily [2020-10-27T08:36:41.022Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-27T08:36:41.022Z] + OS_FAMILY=redhat [2020-10-27T08:36:41.022Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-180 [2020-10-27T08:36:41.022Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-27T08:36:41.022Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-27T08:36:41.022Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-27T08:36:41.022Z] + PACKAGES=/tmp/packages_start.txt [2020-10-27T08:36:41.022Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-180 ']' [2020-10-27T08:36:41.022Z] + PACKAGES=/tmp/packages_end.txt [2020-10-27T08:36:41.022Z] + case "${OS_FAMILY}" in [2020-10-27T08:36:41.022Z] + rpm -qa [2020-10-27T08:36:41.022Z] + sort [2020-10-27T08:36:44.345Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-27T08:36:44.345Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-27T08:36:44.345Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-27T08:36:44.345Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-180 ']' [2020-10-27T08:36:44.345Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-180/archives/ [2020-10-27T08:36:44.345Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-180/archives/ [Pipeline] echo [2020-10-27T08:36:44.380Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-27T08:36:44.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:36:45.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T08:36:45.039Z] [2020-10-27T08:36:45.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-27T08:36:45.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T08:36:45.438Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-27T08:36:45.438Z] df20fa9351a1: Pulling fs layer [2020-10-27T08:36:45.438Z] 36b3adc4ff6f: Pulling fs layer [2020-10-27T08:36:45.438Z] 8ad3a11d3b57: Pulling fs layer [2020-10-27T08:36:45.438Z] 46f8f816bc3b: Pulling fs layer [2020-10-27T08:36:45.438Z] 93b61091891f: Pulling fs layer [2020-10-27T08:36:45.438Z] 93b9cdb0e59b: Pulling fs layer [2020-10-27T08:36:45.438Z] 5e14af77c1be: Pulling fs layer [2020-10-27T08:36:45.438Z] 01666e4c0597: Pulling fs layer [2020-10-27T08:36:45.438Z] aa168da1d23b: Pulling fs layer [2020-10-27T08:36:45.438Z] 93b61091891f: Waiting [2020-10-27T08:36:45.438Z] 93b9cdb0e59b: Waiting [2020-10-27T08:36:45.438Z] 5e14af77c1be: Waiting [2020-10-27T08:36:45.438Z] 01666e4c0597: Waiting [2020-10-27T08:36:45.438Z] aa168da1d23b: Waiting [2020-10-27T08:36:45.438Z] 46f8f816bc3b: Waiting [2020-10-27T08:36:45.438Z] 36b3adc4ff6f: Verifying Checksum [2020-10-27T08:36:45.438Z] 36b3adc4ff6f: Download complete [2020-10-27T08:36:45.438Z] 46f8f816bc3b: Verifying Checksum [2020-10-27T08:36:45.438Z] 46f8f816bc3b: Download complete [2020-10-27T08:36:45.438Z] df20fa9351a1: Verifying Checksum [2020-10-27T08:36:45.438Z] 93b9cdb0e59b: Verifying Checksum [2020-10-27T08:36:45.438Z] 93b9cdb0e59b: Download complete [2020-10-27T08:36:45.718Z] 5e14af77c1be: Verifying Checksum [2020-10-27T08:36:45.718Z] 5e14af77c1be: Download complete [2020-10-27T08:36:45.718Z] 93b61091891f: Verifying Checksum [2020-10-27T08:36:45.718Z] 93b61091891f: Download complete [2020-10-27T08:36:45.718Z] 01666e4c0597: Verifying Checksum [2020-10-27T08:36:45.718Z] 01666e4c0597: Download complete [2020-10-27T08:36:45.988Z] df20fa9351a1: Pull complete [2020-10-27T08:36:45.988Z] 36b3adc4ff6f: Pull complete [2020-10-27T08:36:46.580Z] 8ad3a11d3b57: Verifying Checksum [2020-10-27T08:36:46.580Z] 8ad3a11d3b57: Download complete [2020-10-27T08:36:47.168Z] 8ad3a11d3b57: Pull complete [2020-10-27T08:36:47.432Z] 46f8f816bc3b: Pull complete [2020-10-27T08:36:47.705Z] 93b61091891f: Pull complete [2020-10-27T08:36:48.290Z] 93b9cdb0e59b: Pull complete [2020-10-27T08:36:48.290Z] 5e14af77c1be: Pull complete [2020-10-27T08:36:48.553Z] 01666e4c0597: Pull complete [2020-10-27T08:36:48.553Z] aa168da1d23b: Verifying Checksum [2020-10-27T08:36:48.553Z] aa168da1d23b: Download complete [2020-10-27T08:36:56.751Z] aa168da1d23b: Pull complete [2020-10-27T08:36:56.751Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-27T08:36:56.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-27T08:36:56.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-27T08:36:56.953Z] prd-centos7-docker-4c-2g-9106 does not seem to be running inside a container [2020-10-27T08:36:57.007Z] $ 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-180/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-180 -v /w/workspace/gexfoundry_device-mqtt-go_PR-180:/w/workspace/gexfoundry_device-mqtt-go_PR-180:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-27T08:37:00.290Z] $ docker top bf56bbdb9fa6592466430225b8ae6682882473e1a580ef02db5ba4454c87c9b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-27T08:37:01.019Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-27T08:37:01.353Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-27T08:37:01.684Z] + ls /var/log/sa-host [2020-10-27T08:37:01.684Z] + sadf -c /var/log/sa-host/sa05 [2020-10-27T08:37:01.684Z] file_magic: OK [2020-10-27T08:37:01.684Z] HZ: Using current value: 100 [2020-10-27T08:37:01.684Z] file_header: OK [2020-10-27T08:37:01.684Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-27T08:37:01.684Z] Statistics: [2020-10-27T08:37:01.684Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T08:37:01.684Z] File successfully converted to sysstat format version 12.2.1 [2020-10-27T08:37:01.684Z] + sadf -c /var/log/sa-host/sa27 [2020-10-27T08:37:01.684Z] file_magic: OK [2020-10-27T08:37:01.684Z] HZ: Using current value: 100 [2020-10-27T08:37:01.684Z] file_header: OK [2020-10-27T08:37:01.684Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-27T08:37:01.684Z] Statistics: [2020-10-27T08:37:01.684Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-27T08:37:01.684Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-27T08:37:02.352Z] provisioning config files... [2020-10-27T08:37:02.370Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-180@tmp/config1691821718515360206tmp [Pipeline] { [Pipeline] echo [2020-10-27T08:37:02.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:37:02.845Z] ---> create-netrc.sh [Pipeline] } [2020-10-27T08:37:02.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-27T08:37:03.013Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:37:03.357Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-27T08:37:03.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:37:03.735Z] ---> sudo-logs.sh [2020-10-27T08:37:03.736Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-27T08:37:03.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:37:04.116Z] ---> job-cost.sh [2020-10-27T08:37:04.116Z] lf-activate-venv: SKIPPING [2020-10-27T08:37:04.116Z] INFO: No Stack... [2020-10-27T08:37:05.067Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-27T08:37:05.642Z] INFO: Archiving Costs [Pipeline] echo [2020-10-27T08:37:05.677Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-27T08:37:06.016Z] ---> logs-deploy.sh [2020-10-27T08:37:06.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-180/1 [2020-10-27T08:37:06.016Z] INFO: archiving workspace using pattern(s): [2020-10-27T08:37:07.939Z] Archives upload complete. [2020-10-27T08:37:07.939Z] INFO: archiving logs to Nexus [2020-10-27T08:37:08.887Z] ---> uname -a: [2020-10-27T08:37:08.887Z] Linux prd-centos7-docker-4c-2g-9106.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-10-27T08:37:08.887Z] [2020-10-27T08:37:08.887Z] [2020-10-27T08:37:08.887Z] ---> lscpu: [2020-10-27T08:37:08.887Z] Architecture: x86_64 [2020-10-27T08:37:08.887Z] CPU op-mode(s): 32-bit, 64-bit [2020-10-27T08:37:08.887Z] Byte Order: Little Endian [2020-10-27T08:37:08.887Z] Address sizes: 40 bits physical, 48 bits virtual [2020-10-27T08:37:08.887Z] CPU(s): 4 [2020-10-27T08:37:08.887Z] On-line CPU(s) list: 0-3 [2020-10-27T08:37:08.887Z] Thread(s) per core: 1 [2020-10-27T08:37:08.887Z] Core(s) per socket: 1 [2020-10-27T08:37:08.887Z] Socket(s): 4 [2020-10-27T08:37:08.887Z] NUMA node(s): 1 [2020-10-27T08:37:08.887Z] Vendor ID: GenuineIntel [2020-10-27T08:37:08.887Z] CPU family: 6 [2020-10-27T08:37:08.887Z] Model: 44 [2020-10-27T08:37:08.887Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-10-27T08:37:08.887Z] Stepping: 1 [2020-10-27T08:37:08.887Z] CPU MHz: 2933.436 [2020-10-27T08:37:08.887Z] BogoMIPS: 5866.87 [2020-10-27T08:37:08.887Z] Virtualization: VT-x [2020-10-27T08:37:08.887Z] Hypervisor vendor: KVM [2020-10-27T08:37:08.887Z] Virtualization type: full [2020-10-27T08:37:08.887Z] L1d cache: 128 KiB [2020-10-27T08:37:08.887Z] L1i cache: 128 KiB [2020-10-27T08:37:08.887Z] L2 cache: 16 MiB [2020-10-27T08:37:08.887Z] L3 cache: 64 MiB [2020-10-27T08:37:08.887Z] NUMA node0 CPU(s): 0-3 [2020-10-27T08:37:08.887Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-10-27T08:37:08.887Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-10-27T08:37:08.887Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-10-27T08:37:08.887Z] Vulnerability Meltdown: Mitigation; PTI [2020-10-27T08:37:08.887Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-10-27T08:37:08.887Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-10-27T08:37:08.887Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-10-27T08:37:08.887Z] Vulnerability Tsx async abort: Not affected [2020-10-27T08:37:08.887Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-10-27T08:37:08.887Z] [2020-10-27T08:37:08.887Z]