Pull request #185 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 61125b8572828d25f52fa56e3e3ba453e4a9b108+b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 (c033ab52f71fed2b9a97ac6aa7811ef1b5b17ad4) 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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-185/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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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-185/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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-12213 in /w/workspace/gexfoundry_device-mqtt-go_PR-185 [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-185 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 61125b8572828d25f52fa56e3e3ba453e4a9b108 Merge succeeded, producing 61125b8572828d25f52fa56e3e3ba453e4a9b108 Checking out Revision 61125b8572828d25f52fa56e3e3ba453e4a9b108 (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T06:16:54.171Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T06:16:54.591Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T06:16:54.845Z] ========================================================= [2020-11-16T06:16:54.845Z] EdgeX Global Pipelines Version Info [2020-11-16T06:16:54.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:16:57.655Z] ------------------- [2020-11-16T06:16:57.655Z] stable info: [2020-11-16T06:16:57.655Z] ------------------- [2020-11-16T06:16:57.655Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T06:16:57.655Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T06:16:57.655Z] Message: update stable to v1.0.162 [2020-11-16T06:16:58.621Z] ------------------- [2020-11-16T06:16:58.621Z] experimental info: [2020-11-16T06:16:58.621Z] ------------------- [2020-11-16T06:16:58.621Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T06:16:58.621Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T06:16:58.621Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T06:16:59.234Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-11-16T06:16:59.385Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-11-16T06:16:59.552Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T06:16:59.702Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T06:16:59.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T06:17:00.020Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T06:17:00.305Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T06:17:00.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T06:17:00.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T06:17:00.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T06:17:00.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T06:17:01.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-11-16T06:17:01.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T06:17:01.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T06:17:01.737Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T06:17:01.921Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T06:17:02.101Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T06:17:02.265Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T06:17:02.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T06:17:02.666Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-16T06:17:02.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T06:17:03.025Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T06:17:03.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T06:17:03.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T06:17:03.551Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T06:17:03.692Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T06:17:03.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2020-11-16T06:17:04.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2020-11-16T06:17:04.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2020-11-16T06:17:04.389Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61125b8572828d25f52fa56e3e3ba453e4a9b108 [Pipeline] echo [2020-11-16T06:17:04.546Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61125b8 [Pipeline] echo [2020-11-16T06:17:04.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:17:05.002Z] provisioning config files... [2020-11-16T06:17:05.037Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/config7730012730927488464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:17:05.524Z] ---> docker-login.sh [2020-11-16T06:17:05.524Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:17:06.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:17:06.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:17:06.140Z] Configure a credential helper to remove this warning. See [2020-11-16T06:17:06.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:17:06.140Z] [2020-11-16T06:17:06.140Z] Login Succeeded [2020-11-16T06:17:06.140Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:17:06.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:17:06.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:17:06.428Z] Configure a credential helper to remove this warning. See [2020-11-16T06:17:06.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:17:06.428Z] [2020-11-16T06:17:06.428Z] Login Succeeded [2020-11-16T06:17:06.428Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:17:06.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:17:07.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:17:07.014Z] Configure a credential helper to remove this warning. See [2020-11-16T06:17:07.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:17:07.014Z] [2020-11-16T06:17:07.014Z] Login Succeeded [2020-11-16T06:17:07.014Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:17:07.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:17:07.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:17:07.297Z] Configure a credential helper to remove this warning. See [2020-11-16T06:17:07.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:17:07.297Z] [2020-11-16T06:17:07.297Z] Login Succeeded [2020-11-16T06:17:07.297Z] docker.io [2020-11-16T06:17:07.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:17:07.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:17:07.827Z] Configure a credential helper to remove this warning. See [2020-11-16T06:17:07.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:17:07.827Z] [2020-11-16T06:17:07.827Z] Login Succeeded [2020-11-16T06:17:07.827Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:17:07.854Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T06:17:08.952Z] + git log --format=format:%s -1 61125b8572828d25f52fa56e3e3ba453e4a9b108 [Pipeline] echo [2020-11-16T06:17:09.079Z] GIT_COMMIT: 61125b8572828d25f52fa56e3e3ba453e4a9b108, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo [2020-11-16T06:17:09.161Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:17:10.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:17:10.286Z] [2020-11-16T06:17:10.286Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:17:10.864Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:17:10.864Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T06:17:10.864Z] 31603596830f: Pulling fs layer [2020-11-16T06:17:10.864Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T06:17:10.864Z] 6ca5941a6612: Pulling fs layer [2020-11-16T06:17:10.864Z] ecc8261a40a4: Pulling fs layer [2020-11-16T06:17:10.864Z] ecc8261a40a4: Waiting [2020-11-16T06:17:10.864Z] 2a8b12db71e7: Download complete [2020-11-16T06:17:11.168Z] 31603596830f: Verifying Checksum [2020-11-16T06:17:11.168Z] 31603596830f: Download complete [2020-11-16T06:17:11.443Z] ecc8261a40a4: Verifying Checksum [2020-11-16T06:17:11.443Z] ecc8261a40a4: Download complete [2020-11-16T06:17:11.722Z] 6ca5941a6612: Verifying Checksum [2020-11-16T06:17:11.722Z] 6ca5941a6612: Download complete [2020-11-16T06:17:11.722Z] 31603596830f: Pull complete [2020-11-16T06:17:11.987Z] 2a8b12db71e7: Pull complete [2020-11-16T06:17:12.949Z] 6ca5941a6612: Pull complete [2020-11-16T06:17:13.215Z] ecc8261a40a4: Pull complete [2020-11-16T06:17:13.215Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T06:17:13.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:17:13.215Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T06:17:13.443Z] prd-centos7-docker-4c-2g-12213 does not seem to be running inside a container [2020-11-16T06:17:13.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-185 -v /w/workspace/gexfoundry_device-mqtt-go_PR-185:/w/workspace/gexfoundry_device-mqtt-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T06:17:15.985Z] $ docker top 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T06:17:16.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T06:17:16.496Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T06:17:16.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T06:17:16.771Z] $ docker exec 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 ssh-agent [2020-11-16T06:17:16.968Z] SSH_AUTH_SOCK=/tmp/ssh-ZDCOkkex8FFx/agent.11 [2020-11-16T06:17:16.968Z] SSH_AGENT_PID=16 [2020-11-16T06:17:16.985Z] Running ssh-add (command line suppressed) [2020-11-16T06:17:17.124Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/private_key_3981381464636309709.key (/w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/private_key_3981381464636309709.key) [2020-11-16T06:17:17.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T06:17:17.794Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T06:17:17.842Z] $ docker exec --env ******** --env ******** 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 ssh-agent -k [2020-11-16T06:17:18.124Z] unset SSH_AUTH_SOCK; [2020-11-16T06:17:18.124Z] unset SSH_AGENT_PID; [2020-11-16T06:17:18.124Z] echo Agent pid 16 killed; [2020-11-16T06:17:18.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T06:17:18.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T06:17:18.413Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T06:17:18.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T06:17:18.617Z] $ docker exec 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 ssh-agent [2020-11-16T06:17:18.811Z] SSH_AUTH_SOCK=/tmp/ssh-KKsQlsli4xVa/agent.46 [2020-11-16T06:17:18.811Z] SSH_AGENT_PID=51 [2020-11-16T06:17:18.824Z] Running ssh-add (command line suppressed) [2020-11-16T06:17:18.961Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/private_key_5465342821833119396.key (/w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/private_key_5465342821833119396.key) [2020-11-16T06:17:19.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T06:17:19.454Z] + git semver init [2020-11-16T06:17:19.454Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T06:17:19.454Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-185/.git [2020-11-16T06:17:19.454Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-185 [2020-11-16T06:17:19.454Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T06:17:19.454Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T06:17:19.454Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T06:17:19.454Z] # $SEMVER_BRANCH = PR-185 [2020-11-16T06:17:19.454Z] # $SEMVER_TEMP = /tmp/semver-548680414 [2020-11-16T06:17:19.454Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-11-16T06:17:20.035Z] # '/tmp/semver-548680414' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-185/.semver' [2020-11-16T06:17:20.035Z] # -> Force: false [2020-11-16T06:17:20.035Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-185/.semver [Pipeline] } [2020-11-16T06:17:20.061Z] $ docker exec --env ******** --env ******** 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 ssh-agent -k [2020-11-16T06:17:20.197Z] unset SSH_AUTH_SOCK; [2020-11-16T06:17:20.201Z] unset SSH_AGENT_PID; [2020-11-16T06:17:20.201Z] echo Agent pid 51 killed; [2020-11-16T06:17:20.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T06:17:20.877Z] + git semver [Pipeline] } [2020-11-16T06:17:20.925Z] $ docker stop --time=1 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 [2020-11-16T06:17:22.462Z] $ docker rm -f 603a214a0a098896616662c3cd054d207d57cf3f65cf6da7246ecaa120fa6bd3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:17:23.014Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T06:17:23.557Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T06:17:23.577Z] [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-11-16T06:17:39.521Z] Still waiting to schedule task [2020-11-16T06:17:39.521Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12213’ [2020-11-16T06:17:39.549Z] Still waiting to schedule task [2020-11-16T06:17:39.549Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-16T06:19:21.273Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12214 in /w/workspace/gexfoundry_device-mqtt-go_PR-185 [Pipeline] { [Pipeline] ws [2020-11-16T06:19:21.434Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:19:26.891Z] using credential edgex-jenkins-ssh [2020-11-16T06:19:26.982Z] Cloning the remote Git repository [2020-11-16T06:19:27.041Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:19:27.153Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-16T06:19:27.236Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:19:27.237Z] > git --version # timeout=10 [2020-11-16T06:19:27.264Z] > git --version # 'git version 2.17.1' [2020-11-16T06:19:27.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:19:27.333Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:19:28.762Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:19:28.981Z] Merge succeeded, producing 61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:19:28.981Z] Checking out Revision 61125b8572828d25f52fa56e3e3ba453e4a9b108 (PR-185) [2020-11-16T06:19:28.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T06:19:28.205Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:19:28.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T06:19:28.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:19:28.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:19:28.290Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:19:28.784Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:19:28.808Z] > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 [2020-11-16T06:19:28.888Z] > git remote # timeout=10 [2020-11-16T06:19:28.906Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:19:28.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:19:28.942Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-16T06:19:28.966Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:19:28.990Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:19:29.009Z] > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 [2020-11-16T06:19:33.540Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" [2020-11-16T06:19:33.592Z] > git --version # timeout=10 [2020-11-16T06:19:33.600Z] > git --version # 'git version 2.17.1' [2020-11-16T06:19:33.615Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:19:34.654Z] provisioning config files... [2020-11-16T06:19:34.702Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6652839232484944842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:19:35.731Z] ---> docker-login.sh [2020-11-16T06:19:35.731Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:19:36.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:19:37.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:19:37.000Z] Configure a credential helper to remove this warning. See [2020-11-16T06:19:37.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:19:37.000Z] [2020-11-16T06:19:37.000Z] Login Succeeded [2020-11-16T06:19:37.000Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:19:37.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:19:37.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:19:37.602Z] Configure a credential helper to remove this warning. See [2020-11-16T06:19:37.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:19:37.602Z] [2020-11-16T06:19:37.602Z] Login Succeeded [2020-11-16T06:19:37.602Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:19:37.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:19:38.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:19:38.151Z] Configure a credential helper to remove this warning. See [2020-11-16T06:19:38.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:19:38.151Z] [2020-11-16T06:19:38.151Z] Login Succeeded [2020-11-16T06:19:38.151Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:19:38.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:19:38.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:19:38.430Z] Configure a credential helper to remove this warning. See [2020-11-16T06:19:38.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:19:38.430Z] [2020-11-16T06:19:38.430Z] Login Succeeded [2020-11-16T06:19:38.430Z] docker.io [2020-11-16T06:19:39.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:19:39.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:19:39.307Z] Configure a credential helper to remove this warning. See [2020-11-16T06:19:39.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:19:39.307Z] [2020-11-16T06:19:39.307Z] Login Succeeded [2020-11-16T06:19:39.307Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:19:39.471Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T06:19:40.039Z] ========================================================= [2020-11-16T06:19:40.039Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T06:19:40.039Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:19:40.491Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-16T06:19:40.770Z] Sending build context to Docker daemon 469kB [2020-11-16T06:19:40.770Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T06:19:40.770Z] Step 2/8 : FROM ${BASE} [2020-11-16T06:19:40.770Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T06:19:40.770Z] b538f80385f9: Pulling fs layer [2020-11-16T06:19:40.770Z] 74f711af9a0d: Pulling fs layer [2020-11-16T06:19:40.770Z] 99f96fe45779: Pulling fs layer [2020-11-16T06:19:40.770Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T06:19:40.770Z] 45590311c82a: Pulling fs layer [2020-11-16T06:19:40.770Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T06:19:40.770Z] 209524e5b208: Pulling fs layer [2020-11-16T06:19:40.770Z] 8529a6b9a6be: Waiting [2020-11-16T06:19:40.770Z] 45590311c82a: Waiting [2020-11-16T06:19:40.770Z] 69ca0ff8b7b3: Waiting [2020-11-16T06:19:40.770Z] 209524e5b208: Waiting [2020-11-16T06:19:41.056Z] 99f96fe45779: Download complete [2020-11-16T06:19:41.056Z] 74f711af9a0d: Verifying Checksum [2020-11-16T06:19:41.056Z] 74f711af9a0d: Download complete [2020-11-16T06:19:41.056Z] 45590311c82a: Verifying Checksum [2020-11-16T06:19:41.056Z] 45590311c82a: Download complete [2020-11-16T06:19:41.652Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T06:19:41.652Z] 69ca0ff8b7b3: Download complete [2020-11-16T06:19:41.652Z] b538f80385f9: Verifying Checksum [2020-11-16T06:19:41.652Z] b538f80385f9: Download complete [2020-11-16T06:19:42.633Z] b538f80385f9: Pull complete [2020-11-16T06:19:42.908Z] 74f711af9a0d: Pull complete [2020-11-16T06:19:43.181Z] 99f96fe45779: Pull complete [2020-11-16T06:19:44.622Z] 209524e5b208: Verifying Checksum [2020-11-16T06:19:44.622Z] 209524e5b208: Download complete [2020-11-16T06:19:45.231Z] 8529a6b9a6be: Verifying Checksum [2020-11-16T06:19:45.231Z] 8529a6b9a6be: Download complete [2020-11-16T06:19:55.419Z] 8529a6b9a6be: Pull complete [2020-11-16T06:19:55.694Z] 45590311c82a: Pull complete [2020-11-16T06:19:55.970Z] 69ca0ff8b7b3: Pull complete [2020-11-16T06:20:00.337Z] 209524e5b208: Pull complete [2020-11-16T06:20:00.337Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T06:20:00.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T06:20:00.337Z] ---> 5bddaf1c2fca [2020-11-16T06:20:00.337Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T06:20:02.349Z] ---> Running in 339fad8d3143 [2020-11-16T06:20:02.942Z] Removing intermediate container 339fad8d3143 [2020-11-16T06:20:02.942Z] ---> c12a93ebac38 [2020-11-16T06:20:02.942Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:20:02.942Z] ---> Running in 2c490be79f25 [2020-11-16T06:20:05.567Z] Removing intermediate container 2c490be79f25 [2020-11-16T06:20:05.567Z] ---> d7a5f0b38192 [2020-11-16T06:20:05.567Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T06:20:05.567Z] ---> Running in f9c86ebcfbb6 [2020-11-16T06:20:07.002Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T06:20:07.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T06:20:08.567Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T06:20:09.157Z] (2/14) Installing file (5.38-r0) [2020-11-16T06:20:09.157Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T06:20:09.157Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T06:20:13.448Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T06:20:13.448Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T06:20:13.448Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T06:20:13.448Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T06:20:13.448Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T06:20:13.448Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T06:20:13.718Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T06:20:13.718Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T06:20:13.993Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T06:20:13.993Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T06:20:14.265Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T06:20:14.265Z] OK: 221 MiB in 53 packages [2020-11-16T06:20:18.565Z] Removing intermediate container f9c86ebcfbb6 [2020-11-16T06:20:18.565Z] ---> 0838d00bd143 [2020-11-16T06:20:18.565Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-16T06:20:18.565Z] ---> Running in 7d0c4dd66ab8 [2020-11-16T06:20:18.839Z] Removing intermediate container 7d0c4dd66ab8 [2020-11-16T06:20:18.839Z] ---> 0fb6801424f2 [2020-11-16T06:20:18.839Z] Step 7/8 : COPY . . [2020-11-16T06:20:19.825Z] ---> 9c7bcaf45a91 [2020-11-16T06:20:19.825Z] Step 8/8 : RUN go mod download [2020-11-16T06:20:19.825Z] ---> Running in 3ec41ba0fde4 [2020-11-16T06:20:24.933Z] Running on prd-centos7-docker-4c-2g-12215 in /w/workspace/gexfoundry_device-mqtt-go_PR-185 [Pipeline] { [Pipeline] ws [2020-11-16T06:20:25.041Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:20:33.355Z] using credential edgex-jenkins-ssh [2020-11-16T06:20:33.548Z] Cloning the remote Git repository [2020-11-16T06:20:33.646Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:20:33.719Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-16T06:20:34.038Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:20:34.038Z] > git --version # timeout=10 [2020-11-16T06:20:34.047Z] > git --version # 'git version 2.16.5' [2020-11-16T06:20:34.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:20:34.086Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:20:34.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T06:20:34.726Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:20:34.766Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T06:20:34.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:20:34.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:20:34.833Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:20:35.611Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:20:36.884Z] Merge succeeded, producing 61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:20:36.885Z] Checking out Revision 61125b8572828d25f52fa56e3e3ba453e4a9b108 (PR-185) [2020-11-16T06:20:35.637Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:20:35.656Z] > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 [2020-11-16T06:20:35.946Z] > git remote # timeout=10 [2020-11-16T06:20:35.958Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:20:35.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:20:36.776Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-16T06:20:36.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:20:36.893Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:20:36.934Z] > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 [2020-11-16T06:20:40.790Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" [2020-11-16T06:20:40.828Z] > git --version # timeout=10 [2020-11-16T06:20:40.854Z] > git --version # 'git version 2.16.5' [2020-11-16T06:20:40.861Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:20:42.031Z] provisioning config files... [2020-11-16T06:20:42.073Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4269081239961360349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:20:43.261Z] ---> docker-login.sh [2020-11-16T06:20:43.261Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:20:43.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:20:43.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:20:43.801Z] Configure a credential helper to remove this warning. See [2020-11-16T06:20:43.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:20:43.801Z] [2020-11-16T06:20:43.801Z] Login Succeeded [2020-11-16T06:20:43.801Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:20:44.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:20:44.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:20:44.069Z] Configure a credential helper to remove this warning. See [2020-11-16T06:20:44.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:20:44.069Z] [2020-11-16T06:20:44.069Z] Login Succeeded [2020-11-16T06:20:44.069Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:20:44.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:20:44.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:20:44.342Z] Configure a credential helper to remove this warning. See [2020-11-16T06:20:44.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:20:44.342Z] [2020-11-16T06:20:44.342Z] Login Succeeded [2020-11-16T06:20:44.342Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:20:44.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:20:44.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:20:44.626Z] Configure a credential helper to remove this warning. See [2020-11-16T06:20:44.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:20:44.626Z] [2020-11-16T06:20:44.626Z] Login Succeeded [2020-11-16T06:20:44.626Z] docker.io [2020-11-16T06:20:44.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:20:45.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:20:45.173Z] Configure a credential helper to remove this warning. See [2020-11-16T06:20:45.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:20:45.173Z] [2020-11-16T06:20:45.173Z] Login Succeeded [2020-11-16T06:20:45.173Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:20:45.257Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T06:20:46.122Z] ========================================================= [2020-11-16T06:20:46.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T06:20:46.122Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:20:46.550Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-16T06:20:46.643Z] Removing intermediate container 3ec41ba0fde4 [2020-11-16T06:20:46.643Z] ---> 4e66f8ceff9d [2020-11-16T06:20:46.643Z] Successfully built 4e66f8ceff9d [2020-11-16T06:20:46.643Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:20:46.816Z] Sending build context to Docker daemon 469kB [2020-11-16T06:20:46.816Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T06:20:46.816Z] Step 2/8 : FROM ${BASE} [2020-11-16T06:20:47.029Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T06:20:47.030Z] . [Pipeline] withDockerContainer [2020-11-16T06:20:47.107Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T06:20:47.107Z] df20fa9351a1: Pulling fs layer [2020-11-16T06:20:47.107Z] ed8968b2872e: Pulling fs layer [2020-11-16T06:20:47.107Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T06:20:47.107Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T06:20:47.107Z] e73272ec9a57: Pulling fs layer [2020-11-16T06:20:47.107Z] 1e910a182e73: Pulling fs layer [2020-11-16T06:20:47.107Z] 4e634b169226: Pulling fs layer [2020-11-16T06:20:47.107Z] e73272ec9a57: Waiting [2020-11-16T06:20:47.107Z] 1e910a182e73: Waiting [2020-11-16T06:20:47.107Z] 4e634b169226: Waiting [2020-11-16T06:20:47.107Z] e871e8e8d7a9: Waiting [2020-11-16T06:20:47.107Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T06:20:47.107Z] a92cc7c5fd73: Download complete [2020-11-16T06:20:47.107Z] ed8968b2872e: Verifying Checksum [2020-11-16T06:20:47.107Z] ed8968b2872e: Download complete [2020-11-16T06:20:47.107Z] e73272ec9a57: Verifying Checksum [2020-11-16T06:20:47.107Z] e73272ec9a57: Download complete [2020-11-16T06:20:47.293Z] prd-ubuntu18.04-docker-arm64-4c-16g-12214 does not seem to be running inside a container [2020-11-16T06:20:47.387Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-16T06:20:47.394Z] 1e910a182e73: Verifying Checksum [2020-11-16T06:20:47.394Z] 1e910a182e73: Download complete [2020-11-16T06:20:47.704Z] df20fa9351a1: Verifying Checksum [2020-11-16T06:20:47.704Z] df20fa9351a1: Download complete [2020-11-16T06:20:47.998Z] df20fa9351a1: Pull complete [2020-11-16T06:20:48.288Z] ed8968b2872e: Pull complete [2020-11-16T06:20:48.564Z] a92cc7c5fd73: Pull complete [2020-11-16T06:20:49.207Z] $ docker top b4b9c5148cf8b1046509934aefb97947a6cb5e8ad49cb23ae867012e782a476d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:20:50.748Z] + go version [2020-11-16T06:20:50.749Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T06:20:50.791Z] $ docker stop --time=1 b4b9c5148cf8b1046509934aefb97947a6cb5e8ad49cb23ae867012e782a476d [2020-11-16T06:20:52.673Z] $ docker rm -f b4b9c5148cf8b1046509934aefb97947a6cb5e8ad49cb23ae867012e782a476d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:20:53.694Z] 4e634b169226: Verifying Checksum [2020-11-16T06:20:53.694Z] 4e634b169226: Download complete [2020-11-16T06:20:53.985Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T06:20:53.985Z] . [Pipeline] withDockerContainer [2020-11-16T06:20:54.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-12214 does not seem to be running inside a container [2020-11-16T06:20:54.361Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-16T06:20:55.188Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T06:20:55.188Z] e871e8e8d7a9: Download complete [2020-11-16T06:20:56.132Z] $ docker top dc2b48122cf7854d6a0badab4ad49a1bc7939e3229d823d580d4fc464b3749c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:20:57.586Z] + make test [2020-11-16T06:20:57.586Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T06:20:58.570Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-16T06:21:03.623Z] e871e8e8d7a9: Pull complete [2020-11-16T06:21:03.623Z] e73272ec9a57: Pull complete [2020-11-16T06:21:03.623Z] 1e910a182e73: Pull complete [2020-11-16T06:21:07.938Z] 4e634b169226: Pull complete [2020-11-16T06:21:07.938Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T06:21:07.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T06:21:07.938Z] ---> f7629b54cfaa [2020-11-16T06:21:07.938Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T06:21:07.938Z] ---> Running in 4312b583fa76 [2020-11-16T06:21:08.211Z] Removing intermediate container 4312b583fa76 [2020-11-16T06:21:08.211Z] ---> 547c1f528519 [2020-11-16T06:21:08.211Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:21:08.211Z] ---> Running in eb6e6a518656 [2020-11-16T06:21:10.215Z] Removing intermediate container eb6e6a518656 [2020-11-16T06:21:10.215Z] ---> 0cfb97c1d604 [2020-11-16T06:21:10.215Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T06:21:10.215Z] ---> Running in 81504c2e1bac [2020-11-16T06:21:10.495Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T06:21:11.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T06:21:11.694Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T06:21:11.694Z] (2/14) Installing file (5.38-r0) [2020-11-16T06:21:11.965Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T06:21:11.965Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T06:21:16.260Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T06:21:16.260Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T06:21:16.260Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T06:21:16.529Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T06:21:16.529Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T06:21:16.529Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T06:21:17.117Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T06:21:17.117Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T06:21:17.117Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T06:21:17.402Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T06:21:17.402Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T06:21:17.402Z] OK: 237 MiB in 53 packages [2020-11-16T06:21:20.826Z] Removing intermediate container 81504c2e1bac [2020-11-16T06:21:20.826Z] ---> fb1a514daecc [2020-11-16T06:21:20.826Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-16T06:21:21.108Z] ---> Running in e051ed82d844 [2020-11-16T06:21:21.108Z] Removing intermediate container e051ed82d844 [2020-11-16T06:21:21.108Z] ---> bc7c560ed662 [2020-11-16T06:21:21.108Z] Step 7/8 : COPY . . [2020-11-16T06:21:22.076Z] ---> 0e7b1a1b5dea [2020-11-16T06:21:22.076Z] Step 8/8 : RUN go mod download [2020-11-16T06:21:22.076Z] ---> Running in 79a754878fbf [2020-11-16T06:21:37.601Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-16T06:21:37.602Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements [2020-11-16T06:21:37.602Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-16T06:21:37.602Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T06:21:44.279Z] Removing intermediate container 79a754878fbf [2020-11-16T06:21:44.279Z] ---> 1ab5b6ec7ccc [2020-11-16T06:21:44.279Z] Successfully built 1ab5b6ec7ccc [2020-11-16T06:21:44.279Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [2020-11-16T06:21:44.350Z] gofmt -l . [2020-11-16T06:21:44.350Z] ["`gofmt -l .`" = ""] [2020-11-16T06:21:44.350Z] ./bin/test-attribution-txt.sh [Pipeline] sh [2020-11-16T06:21:44.633Z] ./bin/test-go-mod-tidy.sh [2020-11-16T06:21:44.719Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T06:21:44.995Z] . [Pipeline] withDockerContainer [2020-11-16T06:21:45.228Z] prd-centos7-docker-4c-2g-12215 does not seem to be running inside a container [2020-11-16T06:21:45.313Z] $ 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 ******** ci-base-image-x86_64 cat [2020-11-16T06:21:46.637Z] $ docker top a67bbdbaa04ddd84bfc97e296631c02f41d80b918b38b7bbaffae0188d7dba47 -eo pid,comm [Pipeline] { [Pipeline] } [2020-11-16T06:21:47.048Z] $ docker stop --time=1 dc2b48122cf7854d6a0badab4ad49a1bc7939e3229d823d580d4fc464b3749c1 [2020-11-16T06:21:49.172Z] $ docker rm -f dc2b48122cf7854d6a0badab4ad49a1bc7939e3229d823d580d4fc464b3749c1 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2020-11-16T06:21:50.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T06:21:50.105Z] + go version [2020-11-16T06:21:50.105Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T06:21:50.167Z] $ docker stop --time=1 a67bbdbaa04ddd84bfc97e296631c02f41d80b918b38b7bbaffae0188d7dba47 [2020-11-16T06:21:50.833Z] Stashed 1 file(s) [2020-11-16T06:21:51.635Z] $ docker rm -f a67bbdbaa04ddd84bfc97e296631c02f41d80b918b38b7bbaffae0188d7dba47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:21:55.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T06:21:55.411Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T06:21:55.411Z] . [Pipeline] withDockerContainer [2020-11-16T06:21:55.663Z] prd-centos7-docker-4c-2g-12215 does not seem to be running inside a container [2020-11-16T06:21:55.706Z] + ls -al . [2020-11-16T06:21:55.706Z] total 132 [2020-11-16T06:21:55.706Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 16 06:21 . [2020-11-16T06:21:55.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:19 .. [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 16 06:19 .dockerignore [2020-11-16T06:21:55.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:19 .git [2020-11-16T06:21:55.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:19 .github [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 336 Nov 16 06:19 .gitignore [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 5932 Nov 16 06:19 Attribution.txt [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 1784 Nov 16 06:19 Dockerfile [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 953 Nov 16 06:19 Dockerfile.build [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 06:19 Jenkinsfile [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 06:19 LICENSE [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 902 Nov 16 06:19 Makefile [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 16 06:19 README.md [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 16 06:17 VERSION [2020-11-16T06:21:55.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:19 bin [2020-11-16T06:21:55.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:19 cmd [2020-11-16T06:21:55.706Z] -rw-r--r-- 1 jenkins jenkins 18940 Nov 16 06:21 coverage.out [2020-11-16T06:21:55.706Z] -rw-r--r-- 1 jenkins jenkins 504 Nov 16 06:21 go.mod [2020-11-16T06:21:55.706Z] -rw-r--r-- 1 jenkins jenkins 14793 Nov 16 06:21 go.sum [2020-11-16T06:21:55.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:19 internal [2020-11-16T06:21:55.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:19 mock [2020-11-16T06:21:55.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:19 snap [2020-11-16T06:21:55.706Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 16 06:19 version.go [2020-11-16T06:21:55.740Z] $ 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 ******** ci-base-image-x86_64 cat [2020-11-16T06:21:56.479Z] $ docker top dc82a4bb43776dd3bd1d04806a0e9df97ed1244c6c4f57796ad96b69da418ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:21:57.303Z] + make test [2020-11-16T06:21:57.303Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T06:21:57.463Z] + 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=61125b8572828d25f52fa56e3e3ba453e4a9b108 --label arch=arm64 --label version=0.0.0 . [2020-11-16T06:21:57.750Z] Sending build context to Docker daemon 488.4kB [2020-11-16T06:21:58.041Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-16T06:21:58.041Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-16T06:21:58.041Z] ---> 4e66f8ceff9d [2020-11-16T06:21:58.041Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-16T06:21:58.041Z] ---> Running in a41f0a52a097 [2020-11-16T06:21:58.637Z] Removing intermediate container a41f0a52a097 [2020-11-16T06:21:58.637Z] ---> c81aa6f6e03a [2020-11-16T06:21:58.637Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T06:21:58.637Z] ---> Running in c268b24ea1aa [2020-11-16T06:21:59.237Z] Removing intermediate container c268b24ea1aa [2020-11-16T06:21:59.237Z] ---> 5458f24cf86f [2020-11-16T06:21:59.237Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:21:59.237Z] ---> Running in d89ca9e7fea3 [2020-11-16T06:21:59.267Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-16T06:22:01.872Z] Removing intermediate container d89ca9e7fea3 [2020-11-16T06:22:01.873Z] ---> 4bcbabde257a [2020-11-16T06:22:01.873Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T06:22:01.873Z] ---> Running in 5714cbc7ab34 [2020-11-16T06:22:03.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T06:22:04.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T06:22:04.554Z] OK: 221 MiB in 53 packages [2020-11-16T06:22:05.989Z] Removing intermediate container 5714cbc7ab34 [2020-11-16T06:22:05.989Z] ---> 561540149b0c [2020-11-16T06:22:05.989Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-16T06:22:05.989Z] ---> Running in 4c4393f95dc2 [2020-11-16T06:22:06.603Z] Removing intermediate container 4c4393f95dc2 [2020-11-16T06:22:06.603Z] ---> 9ad37e3eed65 [2020-11-16T06:22:06.603Z] Step 8/22 : COPY . . [2020-11-16T06:22:07.591Z] ---> a8785fb9ea95 [2020-11-16T06:22:07.591Z] Step 9/22 : ARG MAKE='make build' [2020-11-16T06:22:07.591Z] ---> Running in 6028464e88be [2020-11-16T06:22:08.188Z] Removing intermediate container 6028464e88be [2020-11-16T06:22:08.188Z] ---> c22fda2a99ad [2020-11-16T06:22:08.188Z] Step 10/22 : RUN $MAKE [2020-11-16T06:22:08.188Z] ---> Running in 3b9634f15e3d [2020-11-16T06:22:09.624Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-11-16T06:22:22.034Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-16T06:22:22.035Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.025s coverage: 28.3% of statements [2020-11-16T06:22:22.035Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-16T06:22:22.035Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T06:22:26.522Z] gofmt -l . [2020-11-16T06:22:26.522Z] ["`gofmt -l .`" = ""] [2020-11-16T06:22:26.522Z] ./bin/test-attribution-txt.sh [2020-11-16T06:22:26.816Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T06:22:27.130Z] $ docker stop --time=1 dc82a4bb43776dd3bd1d04806a0e9df97ed1244c6c4f57796ad96b69da418ca2 [2020-11-16T06:22:29.744Z] $ docker rm -f dc82a4bb43776dd3bd1d04806a0e9df97ed1244c6c4f57796ad96b69da418ca2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:22:30.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T06:22:30.625Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T06:22:31.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-16T06:22:32.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T06:22:32.542Z] + ls -al . [2020-11-16T06:22:32.542Z] total 100 [2020-11-16T06:22:32.542Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 16 06:22 . [2020-11-16T06:22:32.542Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 16 06:20 .. [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 5932 Nov 16 06:20 Attribution.txt [2020-11-16T06:22:32.542Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 16 06:20 bin [2020-11-16T06:22:32.542Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 06:20 cmd [2020-11-16T06:22:32.542Z] -rw-r--r--. 1 jenkins jenkins 18940 Nov 16 06:22 coverage.out [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 1784 Nov 16 06:20 Dockerfile [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 953 Nov 16 06:20 Dockerfile.build [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 16 06:20 .dockerignore [2020-11-16T06:22:32.542Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 16 06:20 .git [2020-11-16T06:22:32.542Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 06:20 .github [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 336 Nov 16 06:20 .gitignore [2020-11-16T06:22:32.542Z] -rw-r--r--. 1 jenkins jenkins 504 Nov 16 06:22 go.mod [2020-11-16T06:22:32.542Z] -rw-r--r--. 1 jenkins jenkins 14793 Nov 16 06:22 go.sum [2020-11-16T06:22:32.542Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 06:20 internal [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 06:20 Jenkinsfile [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 06:20 LICENSE [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 902 Nov 16 06:20 Makefile [2020-11-16T06:22:32.542Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 16 06:20 mock [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 444 Nov 16 06:20 README.md [2020-11-16T06:22:32.542Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 06:20 snap [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 16 06:17 VERSION [2020-11-16T06:22:32.542Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 16 06:20 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:22:32.933Z] + 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=61125b8572828d25f52fa56e3e3ba453e4a9b108 --label arch=amd64 --label version=0.0.0 . [2020-11-16T06:22:33.208Z] Sending build context to Docker daemon 488.4kB [2020-11-16T06:22:33.208Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-16T06:22:33.208Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-16T06:22:33.208Z] ---> 1ab5b6ec7ccc [2020-11-16T06:22:33.208Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-16T06:22:33.478Z] ---> Running in 5902f5553ec3 [2020-11-16T06:22:33.745Z] Removing intermediate container 5902f5553ec3 [2020-11-16T06:22:33.745Z] ---> 29055f43ad16 [2020-11-16T06:22:33.745Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T06:22:33.745Z] ---> Running in d3d3d2725ee3 [2020-11-16T06:22:34.016Z] Removing intermediate container d3d3d2725ee3 [2020-11-16T06:22:34.016Z] ---> 7700a2242cb5 [2020-11-16T06:22:34.016Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:22:34.016Z] ---> Running in bf445d321557 [2020-11-16T06:22:35.574Z] Removing intermediate container bf445d321557 [2020-11-16T06:22:35.574Z] ---> 850a1cbb69fa [2020-11-16T06:22:35.574Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T06:22:35.574Z] ---> Running in 7835e2e903a9 [2020-11-16T06:22:35.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T06:22:36.447Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T06:22:37.010Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T06:22:37.641Z] OK: 237 MiB in 53 packages [2020-11-16T06:22:37.907Z] Removing intermediate container 7835e2e903a9 [2020-11-16T06:22:37.907Z] ---> e4b509590808 [2020-11-16T06:22:37.907Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-16T06:22:38.175Z] ---> Running in b4a0c22c58a9 [2020-11-16T06:22:38.175Z] Removing intermediate container b4a0c22c58a9 [2020-11-16T06:22:38.175Z] ---> c3337d51c256 [2020-11-16T06:22:38.175Z] Step 8/22 : COPY . . [2020-11-16T06:22:39.578Z] ---> da4409453668 [2020-11-16T06:22:39.578Z] Step 9/22 : ARG MAKE='make build' [2020-11-16T06:22:39.578Z] ---> Running in 3a56e0be93f2 [2020-11-16T06:22:39.578Z] Removing intermediate container 3a56e0be93f2 [2020-11-16T06:22:39.578Z] ---> 388982fa2d66 [2020-11-16T06:22:39.578Z] Step 10/22 : RUN $MAKE [2020-11-16T06:22:39.847Z] ---> Running in b843d0c006e3 [2020-11-16T06:22:40.118Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-11-16T06:22:43.192Z] Removing intermediate container 3b9634f15e3d [2020-11-16T06:22:43.192Z] ---> 9c212919a3e1 [2020-11-16T06:22:43.192Z] Step 11/22 : FROM alpine [2020-11-16T06:22:43.464Z] latest: Pulling from library/alpine [2020-11-16T06:22:44.786Z] 5f621e34cdf4: Pulling fs layer [2020-11-16T06:22:44.786Z] 5f621e34cdf4: Download complete [2020-11-16T06:22:44.786Z] 5f621e34cdf4: Pull complete [2020-11-16T06:22:44.786Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T06:22:44.786Z] Status: Downloaded newer image for alpine:latest [2020-11-16T06:22:44.786Z] ---> 2e77e061c27f [2020-11-16T06:22:44.786Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-16T06:22:45.098Z] ---> Running in 59d44e633b33 [2020-11-16T06:22:45.373Z] Removing intermediate container 59d44e633b33 [2020-11-16T06:22:45.373Z] ---> db5309db45f4 [2020-11-16T06:22:45.373Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-16T06:22:45.645Z] ---> Running in c6ad9b75eb85 [2020-11-16T06:22:46.243Z] Removing intermediate container c6ad9b75eb85 [2020-11-16T06:22:46.243Z] ---> 212132e29b4f [2020-11-16T06:22:46.243Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-16T06:22:47.681Z] ---> 045ca26e4700 [2020-11-16T06:22:47.682Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-16T06:22:48.280Z] ---> e671a1b1503c [2020-11-16T06:22:48.280Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-16T06:22:48.879Z] ---> 396af114e8fe [2020-11-16T06:22:48.879Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-16T06:22:49.154Z] ---> Running in bbe3a07d6d05 [2020-11-16T06:22:49.433Z] Removing intermediate container bbe3a07d6d05 [2020-11-16T06:22:49.433Z] ---> 38bb25300e96 [2020-11-16T06:22:49.433Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-16T06:22:49.709Z] ---> Running in e8b36f2168d7 [2020-11-16T06:22:49.984Z] Removing intermediate container e8b36f2168d7 [2020-11-16T06:22:49.984Z] ---> 6f0ccc8b21a3 [2020-11-16T06:22:49.984Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T06:22:50.259Z] ---> Running in 7fb5fc0ed7e4 [2020-11-16T06:22:50.533Z] Removing intermediate container 7fb5fc0ed7e4 [2020-11-16T06:22:50.533Z] ---> 05f541099a28 [2020-11-16T06:22:50.533Z] Step 20/22 : LABEL arch=arm64 [2020-11-16T06:22:50.812Z] ---> Running in 49fabca4a377 [2020-11-16T06:22:51.089Z] Removing intermediate container 49fabca4a377 [2020-11-16T06:22:51.089Z] ---> b0ed8f33ad11 [2020-11-16T06:22:51.089Z] Step 21/22 : LABEL git_sha=61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:22:51.366Z] ---> Running in 67eb4d412881 [2020-11-16T06:22:51.642Z] Removing intermediate container 67eb4d412881 [2020-11-16T06:22:51.642Z] ---> 68aa4bd3d6da [2020-11-16T06:22:51.642Z] Step 22/22 : LABEL version=0.0.0 [2020-11-16T06:22:51.916Z] ---> Running in 9a5ea9a0a383 [2020-11-16T06:22:52.190Z] Removing intermediate container 9a5ea9a0a383 [2020-11-16T06:22:52.190Z] ---> b41a9804a8c1 [2020-11-16T06:22:52.190Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T06:22:52.190Z] Successfully built b41a9804a8c1 [2020-11-16T06:22:52.190Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-16T06:22:56.622Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T06:22:59.286Z] Removing intermediate container b843d0c006e3 [2020-11-16T06:22:59.286Z] ---> 5a20f71f964e [2020-11-16T06:22:59.286Z] Step 11/22 : FROM alpine [2020-11-16T06:22:59.555Z] latest: Pulling from library/alpine [2020-11-16T06:22:59.842Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T06:23:00.176Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T06:23:00.176Z] 188c0c94c7c5: Download complete [2020-11-16T06:23:00.449Z] 188c0c94c7c5: Pull complete [2020-11-16T06:23:00.449Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T06:23:00.449Z] Status: Downloaded newer image for alpine:latest [2020-11-16T06:23:00.449Z] ---> d6e46aa2470d [2020-11-16T06:23:00.449Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-16T06:23:00.730Z] ---> Running in 5ccddc86bba0 [2020-11-16T06:23:00.730Z] Removing intermediate container 5ccddc86bba0 [2020-11-16T06:23:00.730Z] ---> 979262265704 [2020-11-16T06:23:00.730Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-16T06:23:00.730Z] ---> Running in a8471836b0e2 [2020-11-16T06:23:01.002Z] Removing intermediate container a8471836b0e2 [2020-11-16T06:23:01.002Z] ---> b7f291243531 [2020-11-16T06:23:01.002Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-16T06:23:01.991Z] ---> 95ebc69eb8a8 [2020-11-16T06:23:01.991Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-16T06:23:02.575Z] ---> 40942bf114fc [2020-11-16T06:23:02.575Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-16T06:23:02.575Z] ---> d26af0238c82 [2020-11-16T06:23:02.575Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-16T06:23:02.841Z] ---> Running in 00d381ad72e3 [2020-11-16T06:23:02.841Z] Removing intermediate container 00d381ad72e3 [2020-11-16T06:23:02.841Z] ---> bf884f3c0de9 [2020-11-16T06:23:02.841Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-16T06:23:03.105Z] ---> Running in 49b151fa69d0 [2020-11-16T06:23:03.105Z] Removing intermediate container 49b151fa69d0 [2020-11-16T06:23:03.105Z] ---> 91c2bcfcc36a [2020-11-16T06:23:03.105Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T06:23:03.398Z] ---> Running in 7af8ddde249a [2020-11-16T06:23:03.398Z] Removing intermediate container 7af8ddde249a [2020-11-16T06:23:03.398Z] ---> db8dbc05d443 [2020-11-16T06:23:03.398Z] Step 20/22 : LABEL arch=amd64 [2020-11-16T06:23:03.671Z] ---> Running in b515aad60b3d [2020-11-16T06:23:03.671Z] Removing intermediate container b515aad60b3d [2020-11-16T06:23:03.671Z] ---> 93bef8572f27 [2020-11-16T06:23:03.671Z] Step 21/22 : LABEL git_sha=61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:23:03.941Z] ---> Running in 9bd8c733eb2e [2020-11-16T06:23:03.941Z] Removing intermediate container 9bd8c733eb2e [2020-11-16T06:23:03.941Z] ---> 0d6fce203778 [2020-11-16T06:23:03.941Z] Step 22/22 : LABEL version=0.0.0 [2020-11-16T06:23:03.941Z] ---> Running in 7f702efa6adc [2020-11-16T06:23:04.215Z] Removing intermediate container 7f702efa6adc [2020-11-16T06:23:04.215Z] ---> 793a737d208f [2020-11-16T06:23:04.215Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T06:23:04.215Z] Successfully built 793a737d208f [2020-11-16T06:23:04.215Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-11-16T06:23:20.043Z] Still waiting to schedule task [2020-11-16T06:23:20.043Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-11-16T06:24:15.059Z] Running on prd-centos7-docker-8c-8g-12216 in /w/workspace/gexfoundry_device-mqtt-go_PR-185 [Pipeline] { [Pipeline] ws [2020-11-16T06:24:15.151Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:24:17.257Z] using credential edgex-jenkins-ssh [2020-11-16T06:24:17.307Z] Cloning the remote Git repository [2020-11-16T06:24:16.735Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:24:16.805Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-16T06:24:16.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:24:16.835Z] > git --version # timeout=10 [2020-11-16T06:24:16.840Z] > git --version # 'git version 2.16.5' [2020-11-16T06:24:16.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:24:16.870Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:24:18.406Z] Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit 61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:24:18.481Z] Merge succeeded, producing 61125b8572828d25f52fa56e3e3ba453e4a9b108 [2020-11-16T06:24:18.481Z] Checking out Revision 61125b8572828d25f52fa56e3e3ba453e4a9b108 (PR-185) [2020-11-16T06:24:17.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T06:24:17.421Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:24:17.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T06:24:17.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T06:24:17.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:24:17.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:24:17.861Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:24:17.866Z] > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 [2020-11-16T06:24:17.899Z] > git remote # timeout=10 [2020-11-16T06:24:17.904Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:24:17.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:24:17.916Z] > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [2020-11-16T06:24:17.926Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:24:17.936Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:24:17.940Z] > git checkout -f 61125b8572828d25f52fa56e3e3ba453e4a9b108 # timeout=10 [2020-11-16T06:24:21.849Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go" [2020-11-16T06:24:21.609Z] > git --version # timeout=10 [2020-11-16T06:24:21.614Z] > git --version # 'git version 2.16.5' [2020-11-16T06:24:21.618Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-16T06:24:23.445Z] ++ find /w/workspace/device-mqtt-go/1 [2020-11-16T06:24:23.445Z] ++ grep snapcraft.yaml [2020-11-16T06:24:23.445Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T06:24:23.654Z] provisioning config files... [2020-11-16T06:24:23.668Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config104588460386410510tmp [Pipeline] { [Pipeline] sh [2020-11-16T06:24:24.093Z] + cp /w/workspace/device-mqtt-go/1@tmp/config104588460386410510tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-16T06:24:24.421Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-16T06:24:24.687Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-16T06:24:24.687Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-16T06:24:24.687Z] f08d8e2a3ba1: Pulling fs layer [2020-11-16T06:24:24.687Z] 3baa9cb2483b: Pulling fs layer [2020-11-16T06:24:24.687Z] 94e5ff4c0b15: Pulling fs layer [2020-11-16T06:24:24.687Z] 1860925334f9: Pulling fs layer [2020-11-16T06:24:24.687Z] 2daf38717194: Pulling fs layer [2020-11-16T06:24:24.687Z] 309017e8d7a4: Pulling fs layer [2020-11-16T06:24:24.687Z] f7790dc9fd0f: Pulling fs layer [2020-11-16T06:24:24.687Z] cac0ae9282c2: Pulling fs layer [2020-11-16T06:24:24.687Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-16T06:24:24.687Z] 1860925334f9: Waiting [2020-11-16T06:24:24.687Z] 2daf38717194: Waiting [2020-11-16T06:24:24.687Z] 309017e8d7a4: Waiting [2020-11-16T06:24:24.687Z] f7790dc9fd0f: Waiting [2020-11-16T06:24:24.687Z] cac0ae9282c2: Waiting [2020-11-16T06:24:24.687Z] 1f4cadf9a1ed: Waiting [2020-11-16T06:24:24.687Z] 94e5ff4c0b15: Verifying Checksum [2020-11-16T06:24:24.687Z] 94e5ff4c0b15: Download complete [2020-11-16T06:24:24.687Z] 3baa9cb2483b: Download complete [2020-11-16T06:24:24.687Z] 1860925334f9: Verifying Checksum [2020-11-16T06:24:24.687Z] 1860925334f9: Download complete [2020-11-16T06:24:24.687Z] 309017e8d7a4: Verifying Checksum [2020-11-16T06:24:24.687Z] 309017e8d7a4: Download complete [2020-11-16T06:24:26.089Z] f7790dc9fd0f: Verifying Checksum [2020-11-16T06:24:26.089Z] f7790dc9fd0f: Download complete [2020-11-16T06:24:26.089Z] cac0ae9282c2: Verifying Checksum [2020-11-16T06:24:26.089Z] cac0ae9282c2: Download complete [2020-11-16T06:24:27.478Z] 1f4cadf9a1ed: Download complete [2020-11-16T06:24:27.747Z] f08d8e2a3ba1: Verifying Checksum [2020-11-16T06:24:27.747Z] f08d8e2a3ba1: Download complete [2020-11-16T06:24:29.147Z] f08d8e2a3ba1: Pull complete [2020-11-16T06:24:29.147Z] 3baa9cb2483b: Pull complete [2020-11-16T06:24:29.410Z] 94e5ff4c0b15: Pull complete [2020-11-16T06:24:29.410Z] 1860925334f9: Pull complete [2020-11-16T06:24:32.726Z] 2daf38717194: Verifying Checksum [2020-11-16T06:24:32.726Z] 2daf38717194: Download complete [2020-11-16T06:24:50.882Z] 2daf38717194: Pull complete [2020-11-16T06:24:50.882Z] 309017e8d7a4: Pull complete [2020-11-16T06:24:50.882Z] f7790dc9fd0f: Pull complete [2020-11-16T06:24:50.882Z] cac0ae9282c2: Pull complete [2020-11-16T06:24:50.882Z] 1f4cadf9a1ed: Pull complete [2020-11-16T06:24:50.882Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-16T06:24:50.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-16T06:24:52.877Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-16T06:24:52.877Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-16T06:24:53.139Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-16T06:24:53.401Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-16T06:24:53.401Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] [2020-11-16T06:24:53.401Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [46.3 kB] [2020-11-16T06:24:53.401Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2198 kB] [2020-11-16T06:24:53.976Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] [2020-11-16T06:24:53.976Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [247 kB] [2020-11-16T06:24:53.976Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2129 kB] [2020-11-16T06:24:53.976Z] Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] [2020-11-16T06:24:53.976Z] Get:12 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-11-16T06:24:53.976Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-16T06:24:53.976Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-16T06:24:54.548Z] Fetched 8278 kB in 2s (4736 kB/s) [2020-11-16T06:24:55.937Z] Reading package lists... [2020-11-16T06:24:59.254Z] 0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-16T06:24:59.254Z] Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-11-16T06:24:59.516Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-11-16T06:24:59.516Z] 0% [1 InRelease gpgv 242 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-11-16T06:25:00.879Z] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 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... 56% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-16T06:25:02.805Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 [2020-11-16T06:25:04.175Z] 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... 54% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-16T06:25:04.438Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 94% Building dependency tree [2020-11-16T06:25:04.438Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-16T06:25:04.700Z] The following packages were automatically installed and are no longer required: [2020-11-16T06:25:04.700Z] libjq1 libonig4 [2020-11-16T06:25:04.700Z] Use 'sudo apt autoremove' to remove them. [2020-11-16T06:25:04.700Z] Suggested packages: [2020-11-16T06:25:04.700Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-16T06:25:04.700Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-16T06:25:04.700Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-16T06:25:04.700Z] | libterm-readline-perl-perl [2020-11-16T06:25:04.700Z] The following NEW packages will be installed: [2020-11-16T06:25:04.700Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-16T06:25:04.700Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-16T06:25:04.700Z] The following packages will be upgraded: [2020-11-16T06:25:04.700Z] perl-base [2020-11-16T06:25:04.700Z] 1 upgraded, 14 newly installed, 0 to remove and 38 not upgraded. [2020-11-16T06:25:04.700Z] Need to get 13.4 MB of archives. [2020-11-16T06:25:04.700Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-16T06:25:08.040Z] 0% [Working] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-11-16T06:25:08.612Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 702 kB/1391 kB 50%] 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-11-16T06:25:08.876Z] 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-11-16T06:25:08.876Z] 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-11-16T06:25:08.876Z] 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-11-16T06:25:09.138Z] 30% [5 libperl5.26 4096 B/3534 kB 0%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] [2020-11-16T06:25:09.138Z] 53% [6 perl 12.2 kB/201 kB 6%] 55% [Working] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-16T06:25:09.138Z] 55% [7 less 6998 B/112 kB 6%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-16T06:25:09.138Z] 57% [8 netbase 12.7 kB/12.7 kB 100%] 59% [Working] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-11-16T06:25:09.138Z] 59% [9 curl 13.3 kB/159 kB 8%] 61% [Working] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-11-16T06:25:09.138Z] 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Working] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-11-16T06:25:09.138Z] 64% [11 liberror-perl 22.8 kB/22.8 kB 100%] 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-11-16T06:25:09.138Z] 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Working] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-11-16T06:25:09.399Z] 71% [13 git 24.6 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-11-16T06:25:09.399Z] 96% [14 make 11.3 kB/154 kB 7%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-11-16T06:25:09.399Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 5s (2872 kB/s) [2020-11-16T06:25:09.660Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-16T06:25:09.660Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-11-16T06:25:09.660Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-16T06:25:09.660Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-16T06:25:12.968Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:12.968Z] Selecting previously unselected package perl-modules-5.26. [2020-11-16T06:25:12.968Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-11-16T06:25:12.968Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-16T06:25:12.968Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:13.911Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-16T06:25:13.911Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-16T06:25:13.911Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-16T06:25:13.911Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-16T06:25:13.912Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-16T06:25:13.912Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-16T06:25:13.912Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-16T06:25:13.912Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-16T06:25:13.912Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:14.486Z] Selecting previously unselected package perl. [2020-11-16T06:25:14.486Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-16T06:25:14.747Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:14.747Z] Selecting previously unselected package less. [2020-11-16T06:25:14.747Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-16T06:25:14.747Z] Unpacking less (487-0.1) ... [2020-11-16T06:25:14.747Z] Selecting previously unselected package netbase. [2020-11-16T06:25:14.747Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-16T06:25:14.747Z] Unpacking netbase (5.4) ... [2020-11-16T06:25:14.747Z] Selecting previously unselected package curl. [2020-11-16T06:25:14.747Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-16T06:25:14.747Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-16T06:25:15.009Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-16T06:25:15.009Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-16T06:25:15.009Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-16T06:25:15.009Z] Selecting previously unselected package liberror-perl. [2020-11-16T06:25:15.009Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-16T06:25:15.009Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-16T06:25:15.009Z] Selecting previously unselected package git-man. [2020-11-16T06:25:15.009Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-16T06:25:15.009Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:25:15.272Z] Selecting previously unselected package git. [2020-11-16T06:25:15.272Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-16T06:25:15.272Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:25:15.859Z] Selecting previously unselected package make. [2020-11-16T06:25:15.859Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-16T06:25:15.859Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-16T06:25:15.859Z] Selecting previously unselected package patch. [2020-11-16T06:25:15.859Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-16T06:25:15.859Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-16T06:25:15.859Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:25:15.859Z] Setting up less (487-0.1) ... [2020-11-16T06:25:16.122Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-16T06:25:16.122Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-16T06:25:16.122Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-16T06:25:16.122Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:16.122Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-16T06:25:16.122Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-16T06:25:16.122Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-16T06:25:16.122Z] Setting up netbase (5.4) ... [2020-11-16T06:25:16.122Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:16.385Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-16T06:25:16.385Z] Setting up liberror-perl (0.17025-1) ... [2020-11-16T06:25:16.385Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:25:16.385Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-16T06:25:16.385Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-16T06:25:18.304Z] curl set to automatically installed. [2020-11-16T06:25:18.304Z] git set to automatically installed. [2020-11-16T06:25:18.304Z] git-man set to automatically installed. [2020-11-16T06:25:18.304Z] less set to automatically installed. [2020-11-16T06:25:18.304Z] libcurl3-gnutls set to automatically installed. [2020-11-16T06:25:18.304Z] liberror-perl set to automatically installed. [2020-11-16T06:25:18.304Z] libgdbm-compat4 set to automatically installed. [2020-11-16T06:25:18.304Z] libgdbm5 set to automatically installed. [2020-11-16T06:25:18.304Z] libperl5.26 set to automatically installed. [2020-11-16T06:25:18.304Z] make set to automatically installed. [2020-11-16T06:25:18.304Z] netbase set to automatically installed. [2020-11-16T06:25:18.304Z] patch set to automatically installed. [2020-11-16T06:25:18.304Z] perl set to automatically installed. [2020-11-16T06:25:18.304Z] perl-base set to automatically installed. [2020-11-16T06:25:18.304Z] perl-modules-5.26 set to automatically installed. [2020-11-16T06:25:18.304Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-16T06:25:18.304Z] Please ensure the environment is properly setup before continuing. [2020-11-16T06:25:18.304Z] Ignore this message if the appropriate measures have already been taken [2020-11-16T06:25:18.878Z] Pulling go  [2020-11-16T06:25:19.823Z] 'device-mqtt' has dependencies that need to be staged: go [2020-11-16T06:25:19.823Z] Skipping pull go (already ran) [2020-11-16T06:25:19.823Z] Building go  [2020-11-16T06:25:19.823Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T06:25:19.823Z] Dload Upload Total Spent Left Speed [2020-11-16T06:25:21.729Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 115M 0 327k 0 0 2099k 0 0:00:56 --:--:-- 0:00:56 2086k 55 115M 55 64.2M 0 0 55.0M 0 0:00:02 0:00:01 0:00:01 54.9M 100 115M 100 115M 0 0 57.1M 0 0:00:02 0:00:02 --:--:-- 57.1M [2020-11-16T06:25:22.674Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-16T06:25:29.266Z] Staging go  [2020-11-16T06:25:29.837Z] Pulling device-mqtt  [2020-11-16T06:25:30.409Z] Skipping build go (already ran) [2020-11-16T06:25:30.409Z] Building device-mqtt  [2020-11-16T06:25:30.669Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-11-16T06:25:31.614Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 [2020-11-16T06:25:31.614Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/spf13/cast v1.3.1 [2020-11-16T06:25:31.614Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-11-16T06:25:31.614Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-11-16T06:25:31.614Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-16T06:25:31.614Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-16T06:25:31.614Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-16T06:25:31.614Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-16T06:25:31.614Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-16T06:25:31.614Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-16T06:25:31.614Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-16T06:25:31.614Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-16T06:25:31.614Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-16T06:25:31.614Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-16T06:25:31.614Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-16T06:25:31.614Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-16T06:25:31.614Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-16T06:25:31.876Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-16T06:25:31.876Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-16T06:25:31.876Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-16T06:25:31.876Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-16T06:25:31.876Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-16T06:25:31.876Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-16T06:25:31.876Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-16T06:25:31.876Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-16T06:25:31.876Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-16T06:25:31.876Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-16T06:25:32.138Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-16T06:25:32.138Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-11-16T06:25:38.812Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T06:25:42.120Z] Skipping stage go (already ran) [2020-11-16T06:25:42.120Z] Staging device-mqtt  [2020-11-16T06:25:42.693Z] Priming go  [2020-11-16T06:25:43.638Z] Priming device-mqtt  [2020-11-16T06:25:44.213Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-16T06:25:44.213Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-16T06:25:44.213Z] Determining the version from the project repo (version-script). [2020-11-16T06:25:44.213Z] The version has been set to 'local-dev-20201116+61125b8' [2020-11-16T06:25:45.049Z] Snapping | Snapping / Snapping - Snapping \ Snapping | [2020-11-16T06:25:45.049Z] Snapped edgex-device-mqtt_local-dev-20201116+61125b8_amd64.snap [Pipeline] } [2020-11-16T06:25:47.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-16T06:25:50.645Z] provisioning config files... [2020-11-16T06:25:50.658Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/config5141776448509755299tmp [Pipeline] { [Pipeline] sh [2020-11-16T06:25:51.122Z] + set +x [2020-11-16T06:25:51.122Z] + curl -s https://codecov.io/bash [2020-11-16T06:25:51.122Z] + bash -s -- [2020-11-16T06:25:51.422Z] [2020-11-16T06:25:51.422Z] _____ _ [2020-11-16T06:25:51.422Z] / ____| | | [2020-11-16T06:25:51.422Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T06:25:51.422Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T06:25:51.422Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T06:25:51.422Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T06:25:51.422Z] Bash-20201106-81372f2 [2020-11-16T06:25:51.422Z] [2020-11-16T06:25:51.422Z] [2020-11-16T06:25:51.422Z] ==> Jenkins CI detected. [2020-11-16T06:25:51.422Z] project root: . [2020-11-16T06:25:51.422Z] --> token set from env [2020-11-16T06:25:51.422Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T06:25:51.422Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T06:25:51.422Z] ==> Python coveragepy not found [2020-11-16T06:25:51.422Z] ==> Searching for coverage reports in: [2020-11-16T06:25:51.422Z] + . [2020-11-16T06:25:51.690Z] -> Found 1 reports [2020-11-16T06:25:51.690Z] ==> Detecting git/mercurial file structure [2020-11-16T06:25:51.690Z] ==> Reading reports [2020-11-16T06:25:51.690Z] + ./coverage.out bytes=18940 [2020-11-16T06:25:51.690Z] ==> Appending adjustments [2020-11-16T06:25:51.690Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T06:25:51.690Z] + Found adjustments [2020-11-16T06:25:51.690Z] ==> Gzipping contents [2020-11-16T06:25:51.690Z] ==> Uploading reports [2020-11-16T06:25:51.690Z] url: https://codecov.io [2020-11-16T06:25:51.690Z] query: branch=PR-185&commit=61125b8572828d25f52fa56e3e3ba453e4a9b108&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2020-11-16T06:25:51.690Z] -> Pinging Codecov [2020-11-16T06:25:51.690Z] https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-185&commit=61125b8572828d25f52fa56e3e3ba453e4a9b108&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2020-11-16T06:25:52.293Z] -> Uploading to [2020-11-16T06:25:52.293Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/7D719EC7BBE17E464838252E33014C33/61125b8572828d25f52fa56e3e3ba453e4a9b108/0278bd3b-6b5b-43cc-b12f-d8f0aa400295.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T062552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd8a5dd23afac878aa671f1f8e80c351b9cf987dc5e016a9f80762fd3416628f [2020-11-16T06:25:52.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T06:25:52.293Z] Dload Upload Total Spent Left Speed [2020-11-16T06:25:52.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3282 0 0 100 3282 0 7642 --:--:-- --:--:-- --:--:-- 7650 [2020-11-16T06:25:52.836Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/61125b8572828d25f52fa56e3e3ba453e4a9b108 [Pipeline] } [2020-11-16T06:25:52.857Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:25:56.927Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:25:57.564Z] ---> package-listing.sh [2020-11-16T06:25:57.564Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T06:25:57.564Z] ++ facter osfamily [2020-11-16T06:25:57.564Z] + OS_FAMILY=redhat [2020-11-16T06:25:57.564Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-185 [2020-11-16T06:25:57.564Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T06:25:57.564Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T06:25:57.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T06:25:57.564Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T06:25:57.564Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-185 ']' [2020-11-16T06:25:57.564Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T06:25:57.564Z] + case "${OS_FAMILY}" in [2020-11-16T06:25:57.564Z] + rpm -qa [2020-11-16T06:25:57.564Z] + sort [2020-11-16T06:26:01.840Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T06:26:01.840Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T06:26:01.840Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T06:26:01.840Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-185 ']' [2020-11-16T06:26:01.840Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-185/archives/ [2020-11-16T06:26:01.840Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-185/archives/ [Pipeline] echo [2020-11-16T06:26:01.920Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-16T06:26:02.296Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:26:02.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:26:03.253Z] [2020-11-16T06:26:03.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:26:03.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:26:03.736Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T06:26:03.736Z] df20fa9351a1: Pulling fs layer [2020-11-16T06:26:03.736Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T06:26:03.736Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T06:26:03.736Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T06:26:03.736Z] 93b61091891f: Pulling fs layer [2020-11-16T06:26:03.736Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T06:26:03.736Z] 5e14af77c1be: Pulling fs layer [2020-11-16T06:26:03.736Z] 01666e4c0597: Pulling fs layer [2020-11-16T06:26:03.736Z] aa168da1d23b: Pulling fs layer [2020-11-16T06:26:03.736Z] 93b9cdb0e59b: Waiting [2020-11-16T06:26:03.736Z] 5e14af77c1be: Waiting [2020-11-16T06:26:03.736Z] 01666e4c0597: Waiting [2020-11-16T06:26:03.736Z] aa168da1d23b: Waiting [2020-11-16T06:26:03.736Z] 93b61091891f: Waiting [2020-11-16T06:26:03.736Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T06:26:03.736Z] 36b3adc4ff6f: Download complete [2020-11-16T06:26:04.001Z] 46f8f816bc3b: Verifying Checksum [2020-11-16T06:26:04.002Z] 46f8f816bc3b: Download complete [2020-11-16T06:26:04.002Z] df20fa9351a1: Verifying Checksum [2020-11-16T06:26:04.002Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T06:26:04.002Z] 93b9cdb0e59b: Download complete [2020-11-16T06:26:04.002Z] 5e14af77c1be: Verifying Checksum [2020-11-16T06:26:04.002Z] 5e14af77c1be: Download complete [2020-11-16T06:26:04.002Z] 93b61091891f: Verifying Checksum [2020-11-16T06:26:04.002Z] 93b61091891f: Download complete [2020-11-16T06:26:04.002Z] 01666e4c0597: Verifying Checksum [2020-11-16T06:26:04.002Z] 01666e4c0597: Download complete [2020-11-16T06:26:04.594Z] df20fa9351a1: Pull complete [2020-11-16T06:26:04.594Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T06:26:04.594Z] 8ad3a11d3b57: Download complete [2020-11-16T06:26:04.594Z] 36b3adc4ff6f: Pull complete [2020-11-16T06:26:05.600Z] 8ad3a11d3b57: Pull complete [2020-11-16T06:26:05.882Z] 46f8f816bc3b: Pull complete [2020-11-16T06:26:06.518Z] 93b61091891f: Pull complete [2020-11-16T06:26:06.803Z] 93b9cdb0e59b: Pull complete [2020-11-16T06:26:07.079Z] 5e14af77c1be: Pull complete [2020-11-16T06:26:07.357Z] 01666e4c0597: Pull complete [2020-11-16T06:26:07.939Z] aa168da1d23b: Verifying Checksum [2020-11-16T06:26:07.939Z] aa168da1d23b: Download complete [2020-11-16T06:26:16.173Z] aa168da1d23b: Pull complete [2020-11-16T06:26:16.173Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T06:26:16.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:26:16.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T06:26:16.384Z] prd-centos7-docker-4c-2g-12213 does not seem to be running inside a container [2020-11-16T06:26:16.510Z] $ 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-185/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-185 -v /w/workspace/gexfoundry_device-mqtt-go_PR-185:/w/workspace/gexfoundry_device-mqtt-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-185@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-16T06:26:20.444Z] $ docker top e23f4f9680cc4fc3785fcba9976ac297b22e6c9200491637a0752659cf01af8a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:26:21.207Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T06:26:21.556Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T06:26:21.942Z] + ls /var/log/sa-host [2020-11-16T06:26:21.942Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T06:26:21.942Z] file_magic: OK [2020-11-16T06:26:21.942Z] HZ: Using current value: 100 [2020-11-16T06:26:21.942Z] file_header: OK [2020-11-16T06:26:21.942Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T06:26:21.942Z] Statistics: [2020-11-16T06:26:21.942Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T06:26:21.942Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T06:26:21.942Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T06:26:21.942Z] file_magic: OK [2020-11-16T06:26:21.942Z] HZ: Using current value: 100 [2020-11-16T06:26:21.942Z] file_header: OK [2020-11-16T06:26:21.942Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T06:26:21.942Z] Statistics: [2020-11-16T06:26:21.942Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T06:26:21.942Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T06:26:22.791Z] provisioning config files... [2020-11-16T06:26:22.814Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-185@tmp/config3500133467189101087tmp [Pipeline] { [Pipeline] echo [2020-11-16T06:26:22.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:26:23.350Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T06:26:23.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T06:26:23.542Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:26:23.895Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T06:26:23.927Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:26:24.308Z] ---> sudo-logs.sh [2020-11-16T06:26:24.308Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T06:26:24.339Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:26:24.697Z] ---> job-cost.sh [2020-11-16T06:26:24.697Z] lf-activate-venv: SKIPPING [2020-11-16T06:26:24.697Z] INFO: No Stack... [2020-11-16T06:26:26.159Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T06:26:26.742Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T06:26:26.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:26:27.163Z] ---> logs-deploy.sh [2020-11-16T06:26:27.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-185/1 [2020-11-16T06:26:27.164Z] INFO: archiving workspace using pattern(s): [2020-11-16T06:26:29.731Z] Archives upload complete. [2020-11-16T06:26:29.731Z] INFO: archiving logs to Nexus