Pull request #188 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1b57d69f7631392d22d15a183e508b1abd703c95+06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (bd70e81846b1d4afb450016ab6396f29ab0f72f5) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-188/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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-188/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-13216 in /w/workspace/gexfoundry_device-mqtt-go_PR-188 [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-188 # 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 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 1b57d69f7631392d22d15a183e508b1abd703c95 > 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/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 Merge succeeded, producing 1b57d69f7631392d22d15a183e508b1abd703c95 Checking out Revision 1b57d69f7631392d22d15a183e508b1abd703c95 (PR-188) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-23T06:25:51.116Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-23T06:25:51.456Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-23T06:25:51.680Z] ========================================================= [2020-11-23T06:25:51.680Z] EdgeX Global Pipelines Version Info [2020-11-23T06:25:51.680Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:25:53.676Z] ------------------- [2020-11-23T06:25:53.676Z] stable info: [2020-11-23T06:25:53.676Z] ------------------- [2020-11-23T06:25:53.676Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-23T06:25:53.676Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-23T06:25:53.676Z] Message: update stable to v1.0.167 [2020-11-23T06:25:54.628Z] ------------------- [2020-11-23T06:25:54.628Z] experimental info: [2020-11-23T06:25:54.628Z] ------------------- [2020-11-23T06:25:54.628Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-23T06:25:54.628Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-23T06:25:54.628Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-23T06:25:55.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-11-23T06:25:55.327Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-11-23T06:25:55.446Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-23T06:25:55.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-23T06:25:55.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-23T06:25:55.877Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-23T06:25:56.000Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-23T06:25:56.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-23T06:25:56.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-23T06:25:56.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-23T06:25:56.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-23T06:25:56.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-11-23T06:25:56.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-23T06:25:57.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-23T06:25:57.143Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-23T06:25:57.266Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-23T06:25:57.444Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T06:25:57.599Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T06:25:57.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-23T06:25:57.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-23T06:25:57.971Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-23T06:25:58.116Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-23T06:25:58.246Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-23T06:25:58.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-23T06:25:58.538Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-23T06:25:58.677Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-23T06:25:58.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2020-11-23T06:25:58.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2020-11-23T06:25:59.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2020-11-23T06:25:59.239Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b57d69f7631392d22d15a183e508b1abd703c95 [Pipeline] echo [2020-11-23T06:25:59.372Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b57d69 [Pipeline] echo [2020-11-23T06:25:59.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T06:25:59.774Z] provisioning config files... [2020-11-23T06:25:59.811Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/config3288888239281259263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:26:00.231Z] ---> docker-login.sh [2020-11-23T06:26:00.231Z] nexus3.edgexfoundry.org:10001 [2020-11-23T06:26:00.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:26:01.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:26:01.074Z] Configure a credential helper to remove this warning. See [2020-11-23T06:26:01.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:26:01.074Z] [2020-11-23T06:26:01.074Z] Login Succeeded [2020-11-23T06:26:01.074Z] nexus3.edgexfoundry.org:10002 [2020-11-23T06:26:01.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:26:01.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:26:01.337Z] Configure a credential helper to remove this warning. See [2020-11-23T06:26:01.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:26:01.337Z] [2020-11-23T06:26:01.337Z] Login Succeeded [2020-11-23T06:26:01.337Z] nexus3.edgexfoundry.org:10003 [2020-11-23T06:26:01.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:26:01.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:26:01.603Z] Configure a credential helper to remove this warning. See [2020-11-23T06:26:01.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:26:01.603Z] [2020-11-23T06:26:01.603Z] Login Succeeded [2020-11-23T06:26:01.603Z] nexus3.edgexfoundry.org:10004 [2020-11-23T06:26:01.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:26:01.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:26:01.603Z] Configure a credential helper to remove this warning. See [2020-11-23T06:26:01.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:26:01.603Z] [2020-11-23T06:26:01.603Z] Login Succeeded [2020-11-23T06:26:01.603Z] docker.io [2020-11-23T06:26:01.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:26:02.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:26:02.132Z] Configure a credential helper to remove this warning. See [2020-11-23T06:26:02.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:26:02.132Z] [2020-11-23T06:26:02.132Z] Login Succeeded [2020-11-23T06:26:02.132Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T06:26:02.167Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:26:03.137Z] + git log --format=format:%s -1 1b57d69f7631392d22d15a183e508b1abd703c95 [Pipeline] echo [2020-11-23T06:26:03.271Z] GIT_COMMIT: 1b57d69f7631392d22d15a183e508b1abd703c95, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-23T06:26:03.375Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:26:04.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T06:26:04.146Z] [2020-11-23T06:26:04.146Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:26:04.529Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T06:26:04.529Z] latest: Pulling from edgex-devops/git-semver [2020-11-23T06:26:04.529Z] 31603596830f: Pulling fs layer [2020-11-23T06:26:04.529Z] 2a8b12db71e7: Pulling fs layer [2020-11-23T06:26:04.529Z] 6ca5941a6612: Pulling fs layer [2020-11-23T06:26:04.529Z] ecc8261a40a4: Pulling fs layer [2020-11-23T06:26:04.529Z] ecc8261a40a4: Waiting [2020-11-23T06:26:04.529Z] 2a8b12db71e7: Verifying Checksum [2020-11-23T06:26:04.529Z] 2a8b12db71e7: Download complete [2020-11-23T06:26:04.792Z] 31603596830f: Verifying Checksum [2020-11-23T06:26:04.792Z] 31603596830f: Download complete [2020-11-23T06:26:04.792Z] ecc8261a40a4: Verifying Checksum [2020-11-23T06:26:04.792Z] ecc8261a40a4: Download complete [2020-11-23T06:26:04.792Z] 6ca5941a6612: Verifying Checksum [2020-11-23T06:26:04.792Z] 6ca5941a6612: Download complete [2020-11-23T06:26:05.055Z] 31603596830f: Pull complete [2020-11-23T06:26:05.323Z] 2a8b12db71e7: Pull complete [2020-11-23T06:26:06.311Z] 6ca5941a6612: Pull complete [2020-11-23T06:26:06.311Z] ecc8261a40a4: Pull complete [2020-11-23T06:26:06.311Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-23T06:26:06.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T06:26:06.311Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-23T06:26:06.446Z] prd-centos7-docker-4c-2g-13216 does not seem to be running inside a container [2020-11-23T06:26:06.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-188 -v /w/workspace/gexfoundry_device-mqtt-go_PR-188:/w/workspace/gexfoundry_device-mqtt-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-188@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-23T06:26:08.803Z] $ docker top bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-23T06:26:09.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-23T06:26:09.244Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-23T06:26:09.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-23T06:26:09.496Z] $ docker exec bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 ssh-agent [2020-11-23T06:26:09.665Z] SSH_AUTH_SOCK=/tmp/ssh-Av22JiNS55dO/agent.11 [2020-11-23T06:26:09.666Z] SSH_AGENT_PID=16 [2020-11-23T06:26:09.677Z] Running ssh-add (command line suppressed) [2020-11-23T06:26:09.813Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/private_key_8881875013321172479.key (/w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/private_key_8881875013321172479.key) [2020-11-23T06:26:09.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-23T06:26:10.233Z] + git tag --points-at HEAD [Pipeline] } [2020-11-23T06:26:10.262Z] $ docker exec --env ******** --env ******** bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 ssh-agent -k [2020-11-23T06:26:10.378Z] unset SSH_AUTH_SOCK; [2020-11-23T06:26:10.378Z] unset SSH_AGENT_PID; [2020-11-23T06:26:10.378Z] echo Agent pid 16 killed; [2020-11-23T06:26:10.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-23T06:26:10.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-23T06:26:10.649Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-23T06:26:10.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-23T06:26:10.854Z] $ docker exec bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 ssh-agent [2020-11-23T06:26:11.041Z] SSH_AUTH_SOCK=/tmp/ssh-3wZMmVJxV0gl/agent.46 [2020-11-23T06:26:11.041Z] SSH_AGENT_PID=52 [2020-11-23T06:26:11.050Z] Running ssh-add (command line suppressed) [2020-11-23T06:26:11.183Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/private_key_2372685399819231438.key (/w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/private_key_2372685399819231438.key) [2020-11-23T06:26:11.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-23T06:26:11.616Z] + git semver init [2020-11-23T06:26:11.616Z] # -> Open(): unable to determine branch for HEAD [2020-11-23T06:26:11.616Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-188/.git [2020-11-23T06:26:11.616Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-188 [2020-11-23T06:26:11.616Z] # $SEMVER_REMOTE_NAME = origin [2020-11-23T06:26:11.616Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-23T06:26:11.616Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-23T06:26:11.616Z] # $SEMVER_BRANCH = PR-188 [2020-11-23T06:26:11.616Z] # $SEMVER_TEMP = /tmp/semver-920053381 [2020-11-23T06:26:11.616Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-11-23T06:26:11.879Z] # '/tmp/semver-920053381' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-188/.semver' [2020-11-23T06:26:11.879Z] # -> Force: false [2020-11-23T06:26:11.879Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-188/.semver [Pipeline] } [2020-11-23T06:26:11.901Z] $ docker exec --env ******** --env ******** bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 ssh-agent -k [2020-11-23T06:26:12.018Z] unset SSH_AUTH_SOCK; [2020-11-23T06:26:12.018Z] unset SSH_AGENT_PID; [2020-11-23T06:26:12.018Z] echo Agent pid 52 killed; [2020-11-23T06:26:12.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-23T06:26:12.638Z] + git semver [Pipeline] } [2020-11-23T06:26:12.678Z] $ docker stop --time=1 bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 [2020-11-23T06:26:14.122Z] $ docker rm -f bac3b58882c8a86d4c2743bbf398396b107be7f9bce35179069f11fa0d93ebe0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-23T06:26:14.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-23T06:26:15.164Z] Stashed 1 file(s) [Pipeline] echo [2020-11-23T06:26:15.186Z] [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-23T06:26:31.075Z] Still waiting to schedule task [2020-11-23T06:26:31.075Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13216’ [2020-11-23T06:26:31.102Z] Still waiting to schedule task [2020-11-23T06:26:31.102Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-23T06:28:20.468Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13217 in /w/workspace/gexfoundry_device-mqtt-go_PR-188 [Pipeline] { [Pipeline] ws [2020-11-23T06:28:20.637Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T06:28:26.219Z] using credential edgex-jenkins-ssh [2020-11-23T06:28:26.338Z] Cloning the remote Git repository [2020-11-23T06:28:26.409Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:28:26.522Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-23T06:28:26.595Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:28:26.595Z] > git --version # timeout=10 [2020-11-23T06:28:26.610Z] > git --version # 'git version 2.17.1' [2020-11-23T06:28:26.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:28:26.690Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:28:27.971Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:28:28.203Z] Merge succeeded, producing 1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:28:28.204Z] Checking out Revision 1b57d69f7631392d22d15a183e508b1abd703c95 (PR-188) [2020-11-23T06:28:27.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-23T06:28:27.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:28:27.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-23T06:28:27.480Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:28:27.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:28:27.491Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T06:28:27.994Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:28:28.008Z] > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 [2020-11-23T06:28:28.097Z] > git remote # timeout=10 [2020-11-23T06:28:28.132Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T06:28:28.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:28:28.166Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-23T06:28:28.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T06:28:28.215Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:28:28.275Z] > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 [2020-11-23T06:28:32.561Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T06:28:32.616Z] > git --version # timeout=10 [2020-11-23T06:28:32.628Z] > git --version # 'git version 2.17.1' [2020-11-23T06:28:32.642Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:28:34.439Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-23T06:28:34.850Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-23T06:28:35.215Z] + sudo service docker restart [2020-11-23T06:28:35.215Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T06:28:37.971Z] provisioning config files... [2020-11-23T06:28:38.017Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8917991324342581882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:28:38.488Z] ---> docker-login.sh [2020-11-23T06:28:38.488Z] nexus3.edgexfoundry.org:10001 [2020-11-23T06:28:39.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:28:39.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:28:39.746Z] Configure a credential helper to remove this warning. See [2020-11-23T06:28:39.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:28:39.746Z] [2020-11-23T06:28:39.746Z] Login Succeeded [2020-11-23T06:28:39.746Z] nexus3.edgexfoundry.org:10002 [2020-11-23T06:28:40.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:28:40.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:28:40.292Z] Configure a credential helper to remove this warning. See [2020-11-23T06:28:40.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:28:40.292Z] [2020-11-23T06:28:40.292Z] Login Succeeded [2020-11-23T06:28:40.292Z] nexus3.edgexfoundry.org:10003 [2020-11-23T06:28:40.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:28:40.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:28:40.839Z] Configure a credential helper to remove this warning. See [2020-11-23T06:28:40.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:28:40.839Z] [2020-11-23T06:28:40.839Z] Login Succeeded [2020-11-23T06:28:40.839Z] nexus3.edgexfoundry.org:10004 [2020-11-23T06:28:41.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:28:41.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:28:41.389Z] Configure a credential helper to remove this warning. See [2020-11-23T06:28:41.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:28:41.389Z] [2020-11-23T06:28:41.389Z] Login Succeeded [2020-11-23T06:28:41.389Z] docker.io [2020-11-23T06:28:41.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:28:41.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:28:41.934Z] Configure a credential helper to remove this warning. See [2020-11-23T06:28:41.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:28:41.934Z] [2020-11-23T06:28:41.934Z] Login Succeeded [2020-11-23T06:28:41.934Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T06:28:41.962Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-23T06:28:42.698Z] ========================================================= [2020-11-23T06:28:42.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-23T06:28:42.699Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:28:43.137Z] + 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-23T06:28:43.418Z] Sending build context to Docker daemon 471kB [2020-11-23T06:28:43.418Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-23T06:28:43.418Z] Step 2/8 : FROM ${BASE} [2020-11-23T06:28:43.704Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-23T06:28:43.704Z] b538f80385f9: Pulling fs layer [2020-11-23T06:28:43.704Z] 74f711af9a0d: Pulling fs layer [2020-11-23T06:28:43.704Z] 99f96fe45779: Pulling fs layer [2020-11-23T06:28:43.704Z] 8529a6b9a6be: Pulling fs layer [2020-11-23T06:28:43.704Z] 45590311c82a: Pulling fs layer [2020-11-23T06:28:43.704Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-23T06:28:43.704Z] 209524e5b208: Pulling fs layer [2020-11-23T06:28:43.704Z] 8529a6b9a6be: Waiting [2020-11-23T06:28:43.704Z] 45590311c82a: Waiting [2020-11-23T06:28:43.704Z] 69ca0ff8b7b3: Waiting [2020-11-23T06:28:43.704Z] 209524e5b208: Waiting [2020-11-23T06:28:43.704Z] 99f96fe45779: Download complete [2020-11-23T06:28:43.704Z] 74f711af9a0d: Verifying Checksum [2020-11-23T06:28:43.704Z] 74f711af9a0d: Download complete [2020-11-23T06:28:43.704Z] 45590311c82a: Verifying Checksum [2020-11-23T06:28:43.704Z] 45590311c82a: Download complete [2020-11-23T06:28:43.704Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-23T06:28:43.704Z] 69ca0ff8b7b3: Download complete [2020-11-23T06:28:43.704Z] b538f80385f9: Download complete [2020-11-23T06:28:44.308Z] b538f80385f9: Pull complete [2020-11-23T06:28:45.301Z] 74f711af9a0d: Pull complete [2020-11-23T06:28:45.577Z] 99f96fe45779: Pull complete [2020-11-23T06:28:46.568Z] 209524e5b208: Download complete [2020-11-23T06:28:47.540Z] 8529a6b9a6be: Verifying Checksum [2020-11-23T06:28:47.540Z] 8529a6b9a6be: Download complete [2020-11-23T06:28:57.701Z] 8529a6b9a6be: Pull complete [2020-11-23T06:28:57.701Z] 45590311c82a: Pull complete [2020-11-23T06:28:57.972Z] 69ca0ff8b7b3: Pull complete [2020-11-23T06:29:02.317Z] 209524e5b208: Pull complete [2020-11-23T06:29:02.317Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-23T06:29:02.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-23T06:29:02.317Z] ---> 5bddaf1c2fca [2020-11-23T06:29:02.317Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-23T06:29:04.302Z] ---> Running in d74091c150ed [2020-11-23T06:29:04.909Z] Removing intermediate container d74091c150ed [2020-11-23T06:29:04.909Z] ---> 2556e399fb60 [2020-11-23T06:29:04.909Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:29:04.909Z] ---> Running in 6a8f6ecc4a9e [2020-11-23T06:29:07.528Z] Removing intermediate container 6a8f6ecc4a9e [2020-11-23T06:29:07.528Z] ---> 1751a2166e28 [2020-11-23T06:29:07.528Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-23T06:29:07.805Z] ---> Running in 352c0e01008d [2020-11-23T06:29:09.256Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-23T06:29:10.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-23T06:29:11.211Z] (1/14) Installing libmagic (5.38-r0) [2020-11-23T06:29:11.211Z] (2/14) Installing file (5.38-r0) [2020-11-23T06:29:11.211Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-23T06:29:11.368Z] Running on prd-centos7-docker-4c-2g-13218 in /w/workspace/gexfoundry_device-mqtt-go_PR-188 [Pipeline] { [Pipeline] ws [2020-11-23T06:29:11.469Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [2020-11-23T06:29:11.490Z] (4/14) Installing g++ (9.3.0-r2) [Pipeline] checkout [2020-11-23T06:29:14.514Z] using credential edgex-jenkins-ssh [2020-11-23T06:29:14.582Z] Cloning the remote Git repository [2020-11-23T06:29:14.616Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:29:14.684Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-23T06:29:14.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:29:14.739Z] > git --version # timeout=10 [2020-11-23T06:29:14.747Z] > git --version # 'git version 2.16.5' [2020-11-23T06:29:14.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:29:14.778Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:29:15.795Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-23T06:29:15.795Z] (6/14) Installing patch (2.7.6-r6) [2020-11-23T06:29:15.795Z] (7/14) Installing build-base (0.5-r2) [2020-11-23T06:29:15.795Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-23T06:29:15.795Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-23T06:29:15.795Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-23T06:29:16.065Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-23T06:29:16.065Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-23T06:29:16.321Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:29:16.338Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-23T06:29:16.338Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-23T06:29:16.338Z] Executing busybox-1.31.1-r16.trigger [2020-11-23T06:29:16.403Z] Merge succeeded, producing 1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:29:16.403Z] Checking out Revision 1b57d69f7631392d22d15a183e508b1abd703c95 (PR-188) [2020-11-23T06:29:15.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-23T06:29:15.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:29:15.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-23T06:29:15.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:29:15.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:29:15.968Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T06:29:16.336Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:29:16.340Z] > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 [2020-11-23T06:29:16.377Z] > git remote # timeout=10 [2020-11-23T06:29:16.382Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T06:29:16.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:29:16.393Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-23T06:29:16.402Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T06:29:16.412Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:29:16.416Z] > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 [2020-11-23T06:29:16.613Z] OK: 221 MiB in 53 packages [2020-11-23T06:29:20.075Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T06:29:20.114Z] > git --version # timeout=10 [2020-11-23T06:29:20.119Z] > git --version # 'git version 2.16.5' [2020-11-23T06:29:20.128Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-11-23T06:29:20.939Z] Removing intermediate container 352c0e01008d [2020-11-23T06:29:20.939Z] ---> 989529ee7e36 [2020-11-23T06:29:20.939Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-23T06:29:20.939Z] ---> Running in f4bc9c714077 [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:29:21.213Z] Removing intermediate container f4bc9c714077 [2020-11-23T06:29:21.213Z] ---> 9da51cb68844 [2020-11-23T06:29:21.213Z] Step 7/8 : COPY . . [2020-11-23T06:29:21.857Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-23T06:29:22.205Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2020-11-23T06:29:22.229Z] ---> 8bbc7ad67e04 [2020-11-23T06:29:22.229Z] Step 8/8 : RUN go mod download [2020-11-23T06:29:22.229Z] ---> Running in f3c20995dc04 [Pipeline] sh [2020-11-23T06:29:22.521Z] + sudo service docker restart [2020-11-23T06:29:22.521Z] + true [2020-11-23T06:29:22.521Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T06:29:23.609Z] provisioning config files... [2020-11-23T06:29:23.651Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config301338410677372271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:29:24.117Z] ---> docker-login.sh [2020-11-23T06:29:24.118Z] nexus3.edgexfoundry.org:10001 [2020-11-23T06:29:24.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:29:24.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:29:24.694Z] Configure a credential helper to remove this warning. See [2020-11-23T06:29:24.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:29:24.694Z] [2020-11-23T06:29:24.694Z] Login Succeeded [2020-11-23T06:29:24.694Z] nexus3.edgexfoundry.org:10002 [2020-11-23T06:29:24.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:29:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:29:24.958Z] Configure a credential helper to remove this warning. See [2020-11-23T06:29:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:29:24.958Z] [2020-11-23T06:29:24.958Z] Login Succeeded [2020-11-23T06:29:24.958Z] nexus3.edgexfoundry.org:10003 [2020-11-23T06:29:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:29:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:29:24.958Z] Configure a credential helper to remove this warning. See [2020-11-23T06:29:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:29:24.958Z] [2020-11-23T06:29:24.958Z] Login Succeeded [2020-11-23T06:29:24.958Z] nexus3.edgexfoundry.org:10004 [2020-11-23T06:29:25.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:29:25.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:29:25.221Z] Configure a credential helper to remove this warning. See [2020-11-23T06:29:25.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:29:25.221Z] [2020-11-23T06:29:25.222Z] Login Succeeded [2020-11-23T06:29:25.222Z] docker.io [2020-11-23T06:29:25.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:29:25.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:29:25.484Z] Configure a credential helper to remove this warning. See [2020-11-23T06:29:25.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:29:25.484Z] [2020-11-23T06:29:25.484Z] Login Succeeded [2020-11-23T06:29:25.484Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T06:29:25.505Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-23T06:29:26.110Z] ========================================================= [2020-11-23T06:29:26.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-23T06:29:26.110Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:29:26.499Z] + 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-23T06:29:26.499Z] Sending build context to Docker daemon 471kB [2020-11-23T06:29:26.499Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-23T06:29:26.499Z] Step 2/8 : FROM ${BASE} [2020-11-23T06:29:26.767Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-23T06:29:26.767Z] df20fa9351a1: Pulling fs layer [2020-11-23T06:29:26.767Z] ed8968b2872e: Pulling fs layer [2020-11-23T06:29:26.767Z] a92cc7c5fd73: Pulling fs layer [2020-11-23T06:29:26.767Z] e871e8e8d7a9: Pulling fs layer [2020-11-23T06:29:26.767Z] e73272ec9a57: Pulling fs layer [2020-11-23T06:29:26.767Z] 1e910a182e73: Pulling fs layer [2020-11-23T06:29:26.767Z] 4e634b169226: Pulling fs layer [2020-11-23T06:29:26.767Z] 1e910a182e73: Waiting [2020-11-23T06:29:26.767Z] e871e8e8d7a9: Waiting [2020-11-23T06:29:26.767Z] 4e634b169226: Waiting [2020-11-23T06:29:26.767Z] e73272ec9a57: Waiting [2020-11-23T06:29:26.767Z] a92cc7c5fd73: Verifying Checksum [2020-11-23T06:29:26.767Z] a92cc7c5fd73: Download complete [2020-11-23T06:29:26.767Z] ed8968b2872e: Verifying Checksum [2020-11-23T06:29:26.767Z] ed8968b2872e: Download complete [2020-11-23T06:29:26.767Z] e73272ec9a57: Verifying Checksum [2020-11-23T06:29:26.767Z] e73272ec9a57: Download complete [2020-11-23T06:29:26.767Z] df20fa9351a1: Verifying Checksum [2020-11-23T06:29:26.767Z] df20fa9351a1: Download complete [2020-11-23T06:29:26.767Z] 1e910a182e73: Verifying Checksum [2020-11-23T06:29:26.767Z] 1e910a182e73: Download complete [2020-11-23T06:29:27.035Z] df20fa9351a1: Pull complete [2020-11-23T06:29:27.299Z] ed8968b2872e: Pull complete [2020-11-23T06:29:27.299Z] a92cc7c5fd73: Pull complete [2020-11-23T06:29:29.238Z] 4e634b169226: Verifying Checksum [2020-11-23T06:29:29.238Z] 4e634b169226: Download complete [2020-11-23T06:29:29.504Z] e871e8e8d7a9: Verifying Checksum [2020-11-23T06:29:29.504Z] e871e8e8d7a9: Download complete [2020-11-23T06:29:36.151Z] e871e8e8d7a9: Pull complete [2020-11-23T06:29:36.151Z] e73272ec9a57: Pull complete [2020-11-23T06:29:36.151Z] 1e910a182e73: Pull complete [2020-11-23T06:29:41.502Z] 4e634b169226: Pull complete [2020-11-23T06:29:41.502Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-23T06:29:41.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-23T06:29:41.502Z] ---> f7629b54cfaa [2020-11-23T06:29:41.502Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-23T06:29:41.502Z] ---> Running in 693ab19dec57 [2020-11-23T06:29:41.502Z] Removing intermediate container 693ab19dec57 [2020-11-23T06:29:41.502Z] ---> 87c8571ace20 [2020-11-23T06:29:41.502Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:29:41.502Z] ---> Running in 08314a6e9bb9 [2020-11-23T06:29:42.468Z] Removing intermediate container 08314a6e9bb9 [2020-11-23T06:29:42.468Z] ---> 8a5f178213ba [2020-11-23T06:29:42.468Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-23T06:29:42.468Z] ---> Running in c38a7f22700d [2020-11-23T06:29:43.420Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-23T06:29:44.374Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-23T06:29:46.301Z] (1/14) Installing libmagic (5.38-r0) [2020-11-23T06:29:46.879Z] (2/14) Installing file (5.38-r0) [2020-11-23T06:29:47.142Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-23T06:29:47.142Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-23T06:29:49.028Z] Removing intermediate container f3c20995dc04 [2020-11-23T06:29:49.028Z] ---> b16dda5e178b [2020-11-23T06:29:49.028Z] Successfully built b16dda5e178b [2020-11-23T06:29:49.028Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:29:49.405Z] + docker inspect -f . ci-base-image-arm64 [2020-11-23T06:29:49.405Z] . [Pipeline] withDockerContainer [2020-11-23T06:29:49.688Z] prd-ubuntu18.04-docker-arm64-4c-16g-13217 does not seem to be running inside a container [2020-11-23T06:29:49.781Z] $ 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-23T06:29:51.599Z] $ docker top 4bc718166cda26372d1835cae1c98aafe4734f11cba981936fc77bb0647669e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:29:53.093Z] + go version [2020-11-23T06:29:53.093Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-23T06:29:53.137Z] $ docker stop --time=1 4bc718166cda26372d1835cae1c98aafe4734f11cba981936fc77bb0647669e7 [2020-11-23T06:29:55.158Z] $ docker rm -f 4bc718166cda26372d1835cae1c98aafe4734f11cba981936fc77bb0647669e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:29:56.887Z] + docker inspect -f . ci-base-image-arm64 [2020-11-23T06:29:56.887Z] . [Pipeline] withDockerContainer [2020-11-23T06:29:57.133Z] prd-ubuntu18.04-docker-arm64-4c-16g-13217 does not seem to be running inside a container [2020-11-23T06:29:57.228Z] $ 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-23T06:29:59.023Z] $ docker top 847425fb5e58abd14199a82ddfd75eab3de36753e814b657e29710c84bc0cbe6 -eo pid,comm [Pipeline] { [2020-11-23T06:29:59.407Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-23T06:29:59.407Z] (6/14) Installing patch (2.7.6-r6) [2020-11-23T06:29:59.407Z] (7/14) Installing build-base (0.5-r2) [2020-11-23T06:29:59.407Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-23T06:29:59.407Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-23T06:29:59.407Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-23T06:29:59.407Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-23T06:29:59.407Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-23T06:29:59.407Z] (13/14) Installing openssh-server (8.3_p1-r0) [Pipeline] sh [2020-11-23T06:29:59.671Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-23T06:29:59.671Z] Executing busybox-1.31.1-r16.trigger [2020-11-23T06:29:59.671Z] OK: 237 MiB in 53 packages [2020-11-23T06:30:00.512Z] + make test [2020-11-23T06:30:00.512Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-23T06:30:01.508Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-23T06:30:03.921Z] Removing intermediate container c38a7f22700d [2020-11-23T06:30:03.921Z] ---> d65d32ae147e [2020-11-23T06:30:03.921Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-23T06:30:03.921Z] ---> Running in fcf22c2f8f14 [2020-11-23T06:30:03.921Z] Removing intermediate container fcf22c2f8f14 [2020-11-23T06:30:03.921Z] ---> e45e4f22b470 [2020-11-23T06:30:03.921Z] Step 7/8 : COPY . . [2020-11-23T06:30:04.499Z] ---> 3eeb75c9dfce [2020-11-23T06:30:04.499Z] Step 8/8 : RUN go mod download [2020-11-23T06:30:04.499Z] ---> Running in 5b2e9a9d65f8 [2020-11-23T06:30:26.576Z] Removing intermediate container 5b2e9a9d65f8 [2020-11-23T06:30:26.576Z] ---> 5f1b5723ba44 [2020-11-23T06:30:26.576Z] Successfully built 5f1b5723ba44 [2020-11-23T06:30:26.576Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:30:26.948Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-23T06:30:26.948Z] . [Pipeline] withDockerContainer [2020-11-23T06:30:27.089Z] prd-centos7-docker-4c-2g-13218 does not seem to be running inside a container [2020-11-23T06:30:27.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-23T06:30:28.039Z] $ docker top c1032a826832b440c267e2a488caae699574668cd151323d256b5bba10f2b3e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:30:28.608Z] + go version [2020-11-23T06:30:28.608Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-23T06:30:28.647Z] $ docker stop --time=1 c1032a826832b440c267e2a488caae699574668cd151323d256b5bba10f2b3e4 [2020-11-23T06:30:29.984Z] $ docker rm -f c1032a826832b440c267e2a488caae699574668cd151323d256b5bba10f2b3e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:30:31.343Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-23T06:30:31.343Z] . [Pipeline] withDockerContainer [2020-11-23T06:30:31.490Z] prd-centos7-docker-4c-2g-13218 does not seem to be running inside a container [2020-11-23T06:30:31.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-23T06:30:32.688Z] $ docker top 3b9f9b5aaae66f67b809035fea0da52b7fb8e7c820785589bca547aebaa16ecf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:30:33.334Z] + make test [2020-11-23T06:30:33.334Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-23T06:30:34.741Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-23T06:30:40.593Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-23T06:30:40.593Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements [2020-11-23T06:30:40.593Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-23T06:30:40.593Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-23T06:30:47.128Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-23T06:30:47.128Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2020-11-23T06:30:47.128Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-23T06:30:47.336Z] gofmt -l . [2020-11-23T06:30:47.336Z] ["`gofmt -l .`" = ""] [2020-11-23T06:30:47.336Z] ./bin/test-attribution-txt.sh [2020-11-23T06:30:47.394Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-23T06:30:48.312Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-23T06:30:48.631Z] $ docker stop --time=1 847425fb5e58abd14199a82ddfd75eab3de36753e814b657e29710c84bc0cbe6 [2020-11-23T06:30:49.997Z] gofmt -l . [2020-11-23T06:30:49.997Z] ["`gofmt -l .`" = ""] [2020-11-23T06:30:49.997Z] ./bin/test-attribution-txt.sh [2020-11-23T06:30:50.725Z] $ docker rm -f 847425fb5e58abd14199a82ddfd75eab3de36753e814b657e29710c84bc0cbe6 [2020-11-23T06:30:50.956Z] ./bin/test-go-mod-tidy.sh [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2020-11-23T06:30:51.424Z] $ docker stop --time=1 3b9f9b5aaae66f67b809035fea0da52b7fb8e7c820785589bca547aebaa16ecf [2020-11-23T06:30:51.660Z] + sudo chown -R jenkins:jenkins . [2020-11-23T06:30:53.967Z] $ docker rm -f 3b9f9b5aaae66f67b809035fea0da52b7fb8e7c820785589bca547aebaa16ecf [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] sh [2020-11-23T06:30:54.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-23T06:30:54.662Z] Warning: overwriting stash ‘coverage-report’ [2020-11-23T06:30:55.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-11-23T06:30:55.308Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:30:58.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-23T06:30:58.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-23T06:30:58.449Z] + ls -al . [2020-11-23T06:30:58.449Z] total 100 [2020-11-23T06:30:58.449Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 23 06:30 . [2020-11-23T06:30:58.449Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 23 06:29 .. [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 5932 Nov 23 06:29 Attribution.txt [2020-11-23T06:30:58.449Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 23 06:29 bin [2020-11-23T06:30:58.449Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 23 06:29 cmd [2020-11-23T06:30:58.449Z] -rw-r--r--. 1 jenkins jenkins 18940 Nov 23 06:30 coverage.out [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 1784 Nov 23 06:29 Dockerfile [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 953 Nov 23 06:29 Dockerfile.build [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 23 06:29 .dockerignore [2020-11-23T06:30:58.449Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 23 06:29 .git [2020-11-23T06:30:58.449Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 23 06:29 .github [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 336 Nov 23 06:29 .gitignore [2020-11-23T06:30:58.449Z] -rw-r--r--. 1 jenkins jenkins 504 Nov 23 06:30 go.mod [2020-11-23T06:30:58.449Z] -rw-r--r--. 1 jenkins jenkins 14903 Nov 23 06:30 go.sum [2020-11-23T06:30:58.449Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 23 06:29 internal [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 23 06:29 Jenkinsfile [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 23 06:29 LICENSE [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 902 Nov 23 06:29 Makefile [2020-11-23T06:30:58.449Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 23 06:29 mock [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 444 Nov 23 06:29 README.md [2020-11-23T06:30:58.449Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 23 06:29 snap [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 23 06:26 VERSION [2020-11-23T06:30:58.449Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 23 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:30:58.767Z] + ls -al . [2020-11-23T06:30:58.768Z] total 132 [2020-11-23T06:30:58.768Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 06:30 . [2020-11-23T06:30:58.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 06:28 .. [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 23 06:28 .dockerignore [2020-11-23T06:30:58.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 23 06:28 .git [2020-11-23T06:30:58.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:28 .github [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 336 Nov 23 06:28 .gitignore [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 5932 Nov 23 06:28 Attribution.txt [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 1784 Nov 23 06:28 Dockerfile [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 953 Nov 23 06:28 Dockerfile.build [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 23 06:28 Jenkinsfile [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 23 06:28 LICENSE [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 902 Nov 23 06:28 Makefile [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 23 06:28 README.md [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 23 06:26 VERSION [2020-11-23T06:30:58.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:28 bin [2020-11-23T06:30:58.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 23 06:28 cmd [2020-11-23T06:30:58.768Z] -rw-r--r-- 1 jenkins jenkins 18940 Nov 23 06:30 coverage.out [2020-11-23T06:30:58.768Z] -rw-r--r-- 1 jenkins jenkins 504 Nov 23 06:30 go.mod [2020-11-23T06:30:58.768Z] -rw-r--r-- 1 jenkins jenkins 14903 Nov 23 06:30 go.sum [2020-11-23T06:30:58.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 23 06:28 internal [2020-11-23T06:30:58.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:28 mock [2020-11-23T06:30:58.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 06:28 snap [2020-11-23T06:30:58.768Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 23 06:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:30:58.898Z] + 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=1b57d69f7631392d22d15a183e508b1abd703c95 --label arch=amd64 --label version=0.0.0 . [2020-11-23T06:30:59.162Z] Sending build context to Docker daemon 490.5kB [2020-11-23T06:30:59.162Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-23T06:30:59.162Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-23T06:30:59.162Z] ---> 5f1b5723ba44 [2020-11-23T06:30:59.162Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-23T06:30:59.162Z] ---> Running in 08d3aac14e54 [2020-11-23T06:30:59.197Z] + 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=1b57d69f7631392d22d15a183e508b1abd703c95 --label arch=arm64 --label version=0.0.0 . [2020-11-23T06:30:59.425Z] Removing intermediate container 08d3aac14e54 [2020-11-23T06:30:59.425Z] ---> c80151fe7ad2 [2020-11-23T06:30:59.425Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-23T06:30:59.425Z] ---> Running in 5af34905278b [2020-11-23T06:30:59.475Z] Sending build context to Docker daemon 490.5kB [2020-11-23T06:30:59.689Z] Removing intermediate container 5af34905278b [2020-11-23T06:30:59.689Z] ---> 3694a658b6c8 [2020-11-23T06:30:59.689Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:30:59.689Z] ---> Running in 7856d1bca88e [2020-11-23T06:30:59.769Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-23T06:30:59.769Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-23T06:30:59.769Z] ---> b16dda5e178b [2020-11-23T06:30:59.769Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-23T06:30:59.769Z] ---> Running in 05f337530c89 [2020-11-23T06:31:00.382Z] Removing intermediate container 05f337530c89 [2020-11-23T06:31:00.382Z] ---> 890b2b6e49f9 [2020-11-23T06:31:00.382Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-23T06:31:00.382Z] ---> Running in 040fceb662ec [2020-11-23T06:31:00.643Z] Removing intermediate container 7856d1bca88e [2020-11-23T06:31:00.643Z] ---> 2506639d71fe [2020-11-23T06:31:00.643Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-23T06:31:00.643Z] ---> Running in 90e1c5f98482 [2020-11-23T06:31:00.985Z] Removing intermediate container 040fceb662ec [2020-11-23T06:31:00.985Z] ---> 9a63825856c2 [2020-11-23T06:31:00.985Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:31:00.985Z] ---> Running in ed340540769f [2020-11-23T06:31:01.222Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-23T06:31:01.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-23T06:31:02.397Z] OK: 237 MiB in 53 packages [2020-11-23T06:31:02.661Z] Removing intermediate container 90e1c5f98482 [2020-11-23T06:31:02.661Z] ---> d0a40254bc63 [2020-11-23T06:31:02.661Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-23T06:31:02.927Z] ---> Running in dce533a5469b [2020-11-23T06:31:03.197Z] Removing intermediate container dce533a5469b [2020-11-23T06:31:03.197Z] ---> 8708a727a2e8 [2020-11-23T06:31:03.197Z] Step 8/22 : COPY . . [2020-11-23T06:31:03.616Z] Removing intermediate container ed340540769f [2020-11-23T06:31:03.617Z] ---> 80f4a8c80573 [2020-11-23T06:31:03.617Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-23T06:31:03.617Z] ---> Running in 33d10cdb659e [2020-11-23T06:31:03.774Z] ---> 7c9cdf5dab39 [2020-11-23T06:31:03.774Z] Step 9/22 : ARG MAKE='make build' [2020-11-23T06:31:04.037Z] ---> Running in 17d811e8a96e [2020-11-23T06:31:04.037Z] Removing intermediate container 17d811e8a96e [2020-11-23T06:31:04.037Z] ---> e6845a6ccbed [2020-11-23T06:31:04.037Z] Step 10/22 : RUN $MAKE [2020-11-23T06:31:04.304Z] ---> Running in b649a2e6faf3 [2020-11-23T06:31:04.880Z] 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-23T06:31:05.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-23T06:31:05.640Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-23T06:31:06.237Z] OK: 221 MiB in 53 packages [2020-11-23T06:31:07.673Z] Removing intermediate container 33d10cdb659e [2020-11-23T06:31:07.673Z] ---> 770cc7488fb3 [2020-11-23T06:31:07.673Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-23T06:31:07.673Z] ---> Running in 787016cb26e1 [2020-11-23T06:31:07.946Z] Removing intermediate container 787016cb26e1 [2020-11-23T06:31:07.946Z] ---> 38c1af98172f [2020-11-23T06:31:07.946Z] Step 8/22 : COPY . . [2020-11-23T06:31:08.922Z] ---> 4facb01439aa [2020-11-23T06:31:08.922Z] Step 9/22 : ARG MAKE='make build' [2020-11-23T06:31:09.193Z] ---> Running in 3b200c24beec [2020-11-23T06:31:09.465Z] Removing intermediate container 3b200c24beec [2020-11-23T06:31:09.465Z] ---> f06c988e54c7 [2020-11-23T06:31:09.465Z] Step 10/22 : RUN $MAKE [2020-11-23T06:31:09.739Z] ---> Running in 73be0d4b8c7e [2020-11-23T06:31:11.170Z] 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-23T06:31:14.996Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-23T06:31:18.326Z] Removing intermediate container b649a2e6faf3 [2020-11-23T06:31:18.326Z] ---> 2bb212a58e95 [2020-11-23T06:31:18.326Z] Step 11/22 : FROM alpine [2020-11-23T06:31:18.593Z] latest: Pulling from library/alpine [2020-11-23T06:31:18.593Z] 188c0c94c7c5: Pulling fs layer [2020-11-23T06:31:18.860Z] 188c0c94c7c5: Verifying Checksum [2020-11-23T06:31:18.860Z] 188c0c94c7c5: Download complete [2020-11-23T06:31:19.124Z] 188c0c94c7c5: Pull complete [2020-11-23T06:31:19.124Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-23T06:31:19.124Z] Status: Downloaded newer image for alpine:latest [2020-11-23T06:31:19.124Z] ---> d6e46aa2470d [2020-11-23T06:31:19.124Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-23T06:31:19.388Z] ---> Running in b71ed21effdc [2020-11-23T06:31:19.388Z] Removing intermediate container b71ed21effdc [2020-11-23T06:31:19.388Z] ---> 1370273ddb7a [2020-11-23T06:31:19.388Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-23T06:31:19.388Z] ---> Running in 2a1657df3492 [2020-11-23T06:31:19.652Z] Removing intermediate container 2a1657df3492 [2020-11-23T06:31:19.652Z] ---> 7111d7d744a8 [2020-11-23T06:31:19.652Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-23T06:31:20.235Z] ---> 478ed828bf2e [2020-11-23T06:31:20.235Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-23T06:31:20.497Z] ---> b37ed5a049c1 [2020-11-23T06:31:20.497Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-23T06:31:20.759Z] ---> 0f483f3fd6e3 [2020-11-23T06:31:20.759Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-23T06:31:20.760Z] ---> Running in d55796c50935 [2020-11-23T06:31:21.023Z] Removing intermediate container d55796c50935 [2020-11-23T06:31:21.023Z] ---> b53c4c596e2f [2020-11-23T06:31:21.023Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-23T06:31:21.023Z] ---> Running in 3b575d698fe4 [2020-11-23T06:31:21.023Z] Removing intermediate container 3b575d698fe4 [2020-11-23T06:31:21.023Z] ---> 10bb1c29f5f1 [2020-11-23T06:31:21.023Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-23T06:31:21.287Z] ---> Running in 3e2841755238 [2020-11-23T06:31:21.287Z] Removing intermediate container 3e2841755238 [2020-11-23T06:31:21.287Z] ---> 7889426f567c [2020-11-23T06:31:21.287Z] Step 20/22 : LABEL arch=amd64 [2020-11-23T06:31:21.556Z] ---> Running in aff11b81cc80 [2020-11-23T06:31:21.556Z] Removing intermediate container aff11b81cc80 [2020-11-23T06:31:21.556Z] ---> 428945bc46e7 [2020-11-23T06:31:21.556Z] Step 21/22 : LABEL git_sha=1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:31:21.823Z] ---> Running in 544439e9f040 [2020-11-23T06:31:21.823Z] Removing intermediate container 544439e9f040 [2020-11-23T06:31:21.823Z] ---> e4e5e70ba9c0 [2020-11-23T06:31:21.823Z] Step 22/22 : LABEL version=0.0.0 [2020-11-23T06:31:21.823Z] ---> Running in f53213c82809 [2020-11-23T06:31:22.088Z] Removing intermediate container f53213c82809 [2020-11-23T06:31:22.088Z] ---> 71c3f04e60d4 [2020-11-23T06:31:22.088Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-23T06:31:22.088Z] Successfully built 71c3f04e60d4 [2020-11-23T06:31:22.088Z] 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-23T06:31:37.978Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-23T06:31:38.002Z] Still waiting to schedule task [2020-11-23T06:31:38.002Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-11-23T06:31:44.669Z] Removing intermediate container 73be0d4b8c7e [2020-11-23T06:31:44.669Z] ---> a184e9fff4f2 [2020-11-23T06:31:44.669Z] Step 11/22 : FROM alpine [2020-11-23T06:31:44.669Z] latest: Pulling from library/alpine [2020-11-23T06:31:44.669Z] 5f621e34cdf4: Pulling fs layer [2020-11-23T06:31:44.941Z] 5f621e34cdf4: Verifying Checksum [2020-11-23T06:31:44.941Z] 5f621e34cdf4: Download complete [2020-11-23T06:31:45.537Z] 5f621e34cdf4: Pull complete [2020-11-23T06:31:45.537Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-23T06:31:45.537Z] Status: Downloaded newer image for alpine:latest [2020-11-23T06:31:45.537Z] ---> 2e77e061c27f [2020-11-23T06:31:45.537Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-23T06:31:45.811Z] ---> Running in 69f57f326ff5 [2020-11-23T06:31:46.082Z] Removing intermediate container 69f57f326ff5 [2020-11-23T06:31:46.082Z] ---> af8f020f2eea [2020-11-23T06:31:46.082Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-23T06:31:46.358Z] ---> Running in c798b0b2c66f [2020-11-23T06:31:46.955Z] Removing intermediate container c798b0b2c66f [2020-11-23T06:31:46.955Z] ---> 4d3cdd5c2a1b [2020-11-23T06:31:46.955Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-23T06:31:47.936Z] ---> d2988f229bfc [2020-11-23T06:31:47.936Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-23T06:31:48.917Z] ---> 9c8c94495bb6 [2020-11-23T06:31:48.917Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-23T06:31:49.513Z] ---> 4aab5313ae3b [2020-11-23T06:31:49.513Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-23T06:31:49.513Z] ---> Running in 7b053d711298 [2020-11-23T06:31:50.108Z] Removing intermediate container 7b053d711298 [2020-11-23T06:31:50.108Z] ---> ef98b775a6ae [2020-11-23T06:31:50.108Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-23T06:31:50.108Z] ---> Running in 2a2868ce1247 [2020-11-23T06:31:50.704Z] Removing intermediate container 2a2868ce1247 [2020-11-23T06:31:50.704Z] ---> bb31059137d2 [2020-11-23T06:31:50.704Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-23T06:31:50.704Z] ---> Running in b9e7ed216e7b [2020-11-23T06:31:50.976Z] Removing intermediate container b9e7ed216e7b [2020-11-23T06:31:50.976Z] ---> 99f2825a7557 [2020-11-23T06:31:50.976Z] Step 20/22 : LABEL arch=arm64 [2020-11-23T06:31:51.252Z] ---> Running in 0ba053079dd8 [2020-11-23T06:31:51.524Z] Removing intermediate container 0ba053079dd8 [2020-11-23T06:31:51.524Z] ---> 05f3466cc24f [2020-11-23T06:31:51.524Z] Step 21/22 : LABEL git_sha=1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:31:51.796Z] ---> Running in 338344bdc668 [2020-11-23T06:31:52.391Z] Removing intermediate container 338344bdc668 [2020-11-23T06:31:52.391Z] ---> 59b11ef2e569 [2020-11-23T06:31:52.391Z] Step 22/22 : LABEL version=0.0.0 [2020-11-23T06:31:52.391Z] ---> Running in 2b75e4cbd988 [2020-11-23T06:31:52.665Z] Removing intermediate container 2b75e4cbd988 [2020-11-23T06:31:52.665Z] ---> 10ae8fb3b362 [2020-11-23T06:31:52.665Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-23T06:31:52.665Z] Successfully built 10ae8fb3b362 [2020-11-23T06:31:52.665Z] 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-23T06:32:44.347Z] Running on prd-centos7-docker-8c-8g-13219 in /w/workspace/gexfoundry_device-mqtt-go_PR-188 [Pipeline] { [Pipeline] ws [2020-11-23T06:32:44.435Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T06:32:46.708Z] using credential edgex-jenkins-ssh [2020-11-23T06:32:46.764Z] Cloning the remote Git repository [2020-11-23T06:32:46.787Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:32:46.850Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-11-23T06:32:46.879Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:32:46.879Z] > git --version # timeout=10 [2020-11-23T06:32:46.886Z] > git --version # 'git version 2.16.5' [2020-11-23T06:32:46.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:32:46.907Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:32:47.853Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:32:47.922Z] Merge succeeded, producing 1b57d69f7631392d22d15a183e508b1abd703c95 [2020-11-23T06:32:47.922Z] Checking out Revision 1b57d69f7631392d22d15a183e508b1abd703c95 (PR-188) [2020-11-23T06:32:47.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-23T06:32:47.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:32:47.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-23T06:32:47.482Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-23T06:32:47.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:32:47.486Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T06:32:47.863Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:32:47.868Z] > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 [2020-11-23T06:32:47.896Z] > git remote # timeout=10 [2020-11-23T06:32:47.900Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T06:32:47.908Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:32:47.911Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-23T06:32:47.919Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T06:32:47.927Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:32:47.931Z] > git checkout -f 1b57d69f7631392d22d15a183e508b1abd703c95 # timeout=10 [2020-11-23T06:32:51.538Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T06:32:51.562Z] > git --version # timeout=10 [2020-11-23T06:32:51.566Z] > git --version # 'git version 2.16.5' [2020-11-23T06:32:51.570Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-23T06:32:53.232Z] ++ find /w/workspace/device-mqtt-go/1 [2020-11-23T06:32:53.232Z] ++ grep snapcraft.yaml [2020-11-23T06:32:53.232Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-23T06:32:53.434Z] provisioning config files... [2020-11-23T06:32:53.445Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config2217951277437098816tmp [Pipeline] { [Pipeline] sh [2020-11-23T06:32:53.865Z] + cp /w/workspace/device-mqtt-go/1@tmp/config2217951277437098816tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-23T06:32:54.184Z] + 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-23T06:32:54.184Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-23T06:32:54.184Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-23T06:32:54.184Z] f08d8e2a3ba1: Pulling fs layer [2020-11-23T06:32:54.184Z] 3baa9cb2483b: Pulling fs layer [2020-11-23T06:32:54.184Z] 94e5ff4c0b15: Pulling fs layer [2020-11-23T06:32:54.184Z] 1860925334f9: Pulling fs layer [2020-11-23T06:32:54.184Z] 2daf38717194: Pulling fs layer [2020-11-23T06:32:54.184Z] 309017e8d7a4: Pulling fs layer [2020-11-23T06:32:54.184Z] f7790dc9fd0f: Pulling fs layer [2020-11-23T06:32:54.184Z] cac0ae9282c2: Pulling fs layer [2020-11-23T06:32:54.184Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-23T06:32:54.184Z] 2daf38717194: Waiting [2020-11-23T06:32:54.184Z] f7790dc9fd0f: Waiting [2020-11-23T06:32:54.184Z] 309017e8d7a4: Waiting [2020-11-23T06:32:54.184Z] cac0ae9282c2: Waiting [2020-11-23T06:32:54.184Z] 1860925334f9: Waiting [2020-11-23T06:32:54.184Z] 1f4cadf9a1ed: Waiting [2020-11-23T06:32:54.446Z] 94e5ff4c0b15: Verifying Checksum [2020-11-23T06:32:54.446Z] 94e5ff4c0b15: Download complete [2020-11-23T06:32:54.446Z] 3baa9cb2483b: Verifying Checksum [2020-11-23T06:32:54.446Z] 3baa9cb2483b: Download complete [2020-11-23T06:32:54.446Z] 1860925334f9: Verifying Checksum [2020-11-23T06:32:54.446Z] 1860925334f9: Download complete [2020-11-23T06:32:54.446Z] 309017e8d7a4: Verifying Checksum [2020-11-23T06:32:54.446Z] 309017e8d7a4: Download complete [2020-11-23T06:32:54.446Z] f7790dc9fd0f: Download complete [2020-11-23T06:32:54.446Z] cac0ae9282c2: Download complete [2020-11-23T06:32:55.402Z] 1f4cadf9a1ed: Verifying Checksum [2020-11-23T06:32:55.403Z] 1f4cadf9a1ed: Download complete [2020-11-23T06:32:57.327Z] f08d8e2a3ba1: Verifying Checksum [2020-11-23T06:32:57.327Z] f08d8e2a3ba1: Download complete [2020-11-23T06:32:58.277Z] f08d8e2a3ba1: Pull complete [2020-11-23T06:32:58.541Z] 3baa9cb2483b: Pull complete [2020-11-23T06:32:58.541Z] 94e5ff4c0b15: Pull complete [2020-11-23T06:32:58.804Z] 1860925334f9: Pull complete [2020-11-23T06:33:02.124Z] 2daf38717194: Verifying Checksum [2020-11-23T06:33:02.124Z] 2daf38717194: Download complete [2020-11-23T06:33:20.290Z] 2daf38717194: Pull complete [2020-11-23T06:33:20.290Z] 309017e8d7a4: Pull complete [2020-11-23T06:33:20.290Z] f7790dc9fd0f: Pull complete [2020-11-23T06:33:20.290Z] cac0ae9282c2: Pull complete [2020-11-23T06:33:20.290Z] 1f4cadf9a1ed: Pull complete [2020-11-23T06:33:20.290Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-23T06:33:20.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-23T06:33:23.608Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-23T06:33:23.608Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-23T06:33:23.608Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-23T06:33:23.870Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-23T06:33:24.132Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] [2020-11-23T06:33:24.132Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [252 kB] [2020-11-23T06:33:24.394Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] [2020-11-23T06:33:24.394Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] [2020-11-23T06:33:24.394Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2130 kB] [2020-11-23T06:33:24.656Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] [2020-11-23T06:33:24.656Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2208 kB] [2020-11-23T06:33:24.656Z] Get:12 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-11-23T06:33:24.656Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-23T06:33:24.656Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-23T06:33:25.231Z] Fetched 8303 kB in 2s (4581 kB/s) [2020-11-23T06:33:26.623Z] Reading package lists... [2020-11-23T06:33:30.196Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-11-23T06:33:30.196Z] 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-23T06:33:30.196Z] 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-11-23T06:33:30.459Z] 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-11-23T06:33:32.092Z] 0% [2 InRelease gpgv 242 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... 44% 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-23T06:33:34.008Z] 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-23T06:33:35.369Z] 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-23T06:33:35.631Z] 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-23T06:33:35.631Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-23T06:33:35.631Z] The following packages were automatically installed and are no longer required: [2020-11-23T06:33:35.631Z] libjq1 libonig4 [2020-11-23T06:33:35.631Z] Use 'sudo apt autoremove' to remove them. [2020-11-23T06:33:35.631Z] Suggested packages: [2020-11-23T06:33:35.631Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-23T06:33:35.631Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-23T06:33:35.631Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-23T06:33:35.631Z] | libterm-readline-perl-perl [2020-11-23T06:33:35.892Z] The following NEW packages will be installed: [2020-11-23T06:33:35.892Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-23T06:33:35.892Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-23T06:33:35.892Z] The following packages will be upgraded: [2020-11-23T06:33:35.892Z] perl-base [2020-11-23T06:33:35.892Z] 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. [2020-11-23T06:33:35.892Z] Need to get 13.4 MB of archives. [2020-11-23T06:33:35.892Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-23T06:33:36.155Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-11-23T06:33:36.738Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 671 kB/1391 kB 48%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-11-23T06:33:37.000Z] 10% [2 perl-modules-5.26 39.6 kB/2762 kB 1%] 27% [Working] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-11-23T06:33:37.000Z] 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-23T06:33:37.000Z] 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-11-23T06:33:37.000Z] 30% [5 libperl5.26 28.9 kB/3534 kB 1%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] [2020-11-23T06:33:37.000Z] 53% [6 perl 65.5 kB/201 kB 33%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-23T06:33:37.000Z] 56% [7 less 65.5 kB/112 kB 59%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-23T06:33:37.000Z] 57% [8 netbase 8192 B/12.7 kB 64%] 59% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-11-23T06:33:37.000Z] 59% [9 curl 13.3 kB/159 kB 8%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-11-23T06:33:37.000Z] 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-11-23T06:33:37.000Z] 64% [11 liberror-perl 22.6 kB/22.8 kB 99%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-11-23T06:33:37.000Z] 65% [12 git-man 4096 B/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-11-23T06:33:37.573Z] 71% [13 git 59.8 kB/3915 kB 2%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-11-23T06:33:37.573Z] 96% [14 make 65.5 kB/154 kB 43%] 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-23T06:33:37.573Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9051 kB/s) [2020-11-23T06:33:37.573Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-23T06:33:37.573Z] (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-23T06:33:37.573Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-23T06:33:37.573Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-23T06:33:40.882Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:41.145Z] Selecting previously unselected package perl-modules-5.26. [2020-11-23T06:33:41.145Z] (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-23T06:33:41.145Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-23T06:33:41.145Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:42.094Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-23T06:33:42.094Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-23T06:33:42.094Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-23T06:33:42.094Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-23T06:33:42.094Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-23T06:33:42.094Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-23T06:33:42.094Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-23T06:33:42.094Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-23T06:33:42.094Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:43.040Z] Selecting previously unselected package perl. [2020-11-23T06:33:43.040Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-23T06:33:43.040Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:43.040Z] Selecting previously unselected package less. [2020-11-23T06:33:43.040Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-23T06:33:43.040Z] Unpacking less (487-0.1) ... [2020-11-23T06:33:43.040Z] Selecting previously unselected package netbase. [2020-11-23T06:33:43.040Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-23T06:33:43.040Z] Unpacking netbase (5.4) ... [2020-11-23T06:33:43.040Z] Selecting previously unselected package curl. [2020-11-23T06:33:43.040Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-23T06:33:43.040Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-23T06:33:43.301Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-23T06:33:43.301Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-23T06:33:43.301Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-23T06:33:43.301Z] Selecting previously unselected package liberror-perl. [2020-11-23T06:33:43.301Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-23T06:33:43.301Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-23T06:33:43.301Z] Selecting previously unselected package git-man. [2020-11-23T06:33:43.301Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-23T06:33:43.301Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:33:43.563Z] Selecting previously unselected package git. [2020-11-23T06:33:43.563Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-23T06:33:43.563Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:33:44.138Z] Selecting previously unselected package make. [2020-11-23T06:33:44.138Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-23T06:33:44.138Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-23T06:33:44.401Z] Selecting previously unselected package patch. [2020-11-23T06:33:44.401Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-23T06:33:44.401Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-23T06:33:44.401Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:33:44.401Z] Setting up less (487-0.1) ... [2020-11-23T06:33:44.662Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-23T06:33:44.662Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-23T06:33:44.662Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-23T06:33:44.662Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:44.662Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-23T06:33:44.662Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-23T06:33:44.662Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-23T06:33:44.662Z] Setting up netbase (5.4) ... [2020-11-23T06:33:44.662Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:44.662Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-23T06:33:44.923Z] Setting up liberror-perl (0.17025-1) ... [2020-11-23T06:33:44.923Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:33:44.923Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-23T06:33:44.923Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-23T06:33:46.839Z] curl set to automatically installed. [2020-11-23T06:33:46.839Z] git set to automatically installed. [2020-11-23T06:33:46.839Z] git-man set to automatically installed. [2020-11-23T06:33:46.839Z] less set to automatically installed. [2020-11-23T06:33:46.839Z] libcurl3-gnutls set to automatically installed. [2020-11-23T06:33:46.839Z] liberror-perl set to automatically installed. [2020-11-23T06:33:46.839Z] libgdbm-compat4 set to automatically installed. [2020-11-23T06:33:46.839Z] libgdbm5 set to automatically installed. [2020-11-23T06:33:46.839Z] libperl5.26 set to automatically installed. [2020-11-23T06:33:46.839Z] make set to automatically installed. [2020-11-23T06:33:46.839Z] netbase set to automatically installed. [2020-11-23T06:33:46.839Z] patch set to automatically installed. [2020-11-23T06:33:46.839Z] perl set to automatically installed. [2020-11-23T06:33:46.839Z] perl-base set to automatically installed. [2020-11-23T06:33:46.839Z] perl-modules-5.26 set to automatically installed. [2020-11-23T06:33:46.839Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-23T06:33:46.839Z] Please ensure the environment is properly setup before continuing. [2020-11-23T06:33:46.839Z] Ignore this message if the appropriate measures have already been taken [2020-11-23T06:33:47.412Z] Pulling go  [2020-11-23T06:33:48.357Z] 'device-mqtt' has dependencies that need to be staged: go [2020-11-23T06:33:48.357Z] Skipping pull go (already ran) [2020-11-23T06:33:48.357Z] Building go  [2020-11-23T06:33:48.357Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-23T06:33:48.357Z] Dload Upload Total Spent Left Speed [2020-11-23T06:33:54.391Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 115M 0 44261 0 0 163k 0 0:12:02 --:--:-- 0:12:02 163k 14 115M 14 16.5M 0 0 13.0M 0 0:00:08 0:00:01 0:00:07 13.0M 29 115M 29 34.1M 0 0 14.7M 0 0:00:07 0:00:02 0:00:05 14.7M 48 115M 48 56.3M 0 0 17.0M 0 0:00:06 0:00:03 0:00:03 17.0M 68 115M 68 79.3M 0 0 18.3M 0 0:00:06 0:00:04 0:00:02 18.3M 85 115M 85 98.3M 0 0 18.6M 0 0:00:06 0:00:05 0:00:01 19.5M 100 115M 100 115M 0 0 18.8M 0 0:00:06 0:00:06 --:--:-- 20.3M [2020-11-23T06:33:55.339Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-23T06:34:01.939Z] Staging go  [2020-11-23T06:34:02.883Z] Pulling device-mqtt  [2020-11-23T06:34:03.829Z] Skipping build go (already ran) [2020-11-23T06:34:03.829Z] Building device-mqtt  [2020-11-23T06:34:03.829Z] 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-23T06:34:04.780Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 [2020-11-23T06:34:04.780Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-11-23T06:34:04.780Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 [2020-11-23T06:34:04.780Z] go: downloading github.com/spf13/cast v1.3.1 [2020-11-23T06:34:04.780Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-11-23T06:34:04.780Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-23T06:34:04.780Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-23T06:34:04.780Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-23T06:34:04.780Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-23T06:34:04.780Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-23T06:34:04.780Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-23T06:34:04.780Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-23T06:34:04.780Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-23T06:34:04.780Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-23T06:34:04.780Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-23T06:34:04.780Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-23T06:34:04.780Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-23T06:34:04.780Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-23T06:34:04.780Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-23T06:34:04.780Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-23T06:34:04.780Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-23T06:34:04.780Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-23T06:34:05.045Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-23T06:34:05.045Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-23T06:34:05.045Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-23T06:34:05.045Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-23T06:34:05.045Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-23T06:34:05.045Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-23T06:34:05.046Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-23T06:34:05.046Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-23T06:34:05.046Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-23T06:34:05.307Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-11-23T06:34:11.944Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-23T06:34:16.158Z] Skipping stage go (already ran) [2020-11-23T06:34:16.158Z] Staging device-mqtt  [2020-11-23T06:34:17.102Z] Priming go  [2020-11-23T06:34:17.680Z] Priming device-mqtt  [2020-11-23T06:34:18.629Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-23T06:34:18.629Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-23T06:34:18.629Z] Determining the version from the project repo (version-script). [2020-11-23T06:34:18.629Z] The version has been set to 'local-dev-20201123+1b57d69' [2020-11-23T06:34:19.453Z] Snapping | Snapping / Snapping - Snapping | [2020-11-23T06:34:19.453Z] Snapped edgex-device-mqtt_local-dev-20201123+1b57d69_amd64.snap [Pipeline] } [2020-11-23T06:34:22.033Z] 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-23T06:34:25.255Z] provisioning config files... [2020-11-23T06:34:25.268Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/config811172437033050051tmp [Pipeline] { [Pipeline] sh [2020-11-23T06:34:25.694Z] + set +x [2020-11-23T06:34:25.694Z] + curl -s https://codecov.io/bash [2020-11-23T06:34:25.694Z] + bash -s -- [2020-11-23T06:34:25.958Z] [2020-11-23T06:34:25.958Z] _____ _ [2020-11-23T06:34:25.958Z] / ____| | | [2020-11-23T06:34:25.958Z] | | ___ __| | ___ ___ _____ __ [2020-11-23T06:34:25.958Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-23T06:34:25.958Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-23T06:34:25.958Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-23T06:34:25.958Z] Bash-20201123-d0fed5f [2020-11-23T06:34:25.958Z] [2020-11-23T06:34:25.958Z] [2020-11-23T06:34:25.958Z] ==> Jenkins CI detected. [2020-11-23T06:34:25.958Z] project root: . [2020-11-23T06:34:25.958Z] --> token set from env [2020-11-23T06:34:25.958Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-23T06:34:25.958Z] ==> Running gcov in . (disable via -X gcov) [2020-11-23T06:34:25.958Z] ==> Python coveragepy not found [2020-11-23T06:34:25.958Z] ==> Searching for coverage reports in: [2020-11-23T06:34:25.958Z] + . [2020-11-23T06:34:25.958Z] -> Found 1 reports [2020-11-23T06:34:25.958Z] ==> Detecting git/mercurial file structure [2020-11-23T06:34:25.958Z] ==> Reading reports [2020-11-23T06:34:25.958Z] + ./coverage.out bytes=18940 [2020-11-23T06:34:25.958Z] ==> Appending adjustments [2020-11-23T06:34:25.958Z] https://docs.codecov.io/docs/fixing-reports [2020-11-23T06:34:26.222Z] + Found adjustments [2020-11-23T06:34:26.222Z] ==> Gzipping contents [2020-11-23T06:34:26.222Z] ==> Uploading reports [2020-11-23T06:34:26.222Z] url: https://codecov.io [2020-11-23T06:34:26.222Z] query: branch=PR-188&commit=1b57d69f7631392d22d15a183e508b1abd703c95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2020-11-23T06:34:26.222Z] -> Pinging Codecov [2020-11-23T06:34:26.222Z] https://codecov.io/upload/v4?package=bash-20201123-d0fed5f&token=secret&branch=PR-188&commit=1b57d69f7631392d22d15a183e508b1abd703c95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2020-11-23T06:34:26.485Z] -> Uploading to [2020-11-23T06:34:26.485Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-23/7D719EC7BBE17E464838252E33014C33/1b57d69f7631392d22d15a183e508b1abd703c95/d8ca2335-2d24-4368-bf0c-0cd37eb11851.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201123T063426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce6f2e4b8fdf0b20dcbd57f54a111b5f5562bea78d0fcd0c84c434e718efa264 [2020-11-23T06:34:26.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-23T06:34:26.748Z] Dload Upload Total Spent Left Speed [2020-11-23T06:34:27.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3275 0 0 100 3275 0 7963 --:--:-- --:--:-- --:--:-- 7949 [2020-11-23T06:34:27.011Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1b57d69f7631392d22d15a183e508b1abd703c95 [Pipeline] } [2020-11-23T06:34:27.040Z] 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-23T06:34:31.194Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:34:31.819Z] ---> package-listing.sh [2020-11-23T06:34:31.819Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-23T06:34:31.819Z] ++ facter osfamily [2020-11-23T06:34:31.819Z] + OS_FAMILY=redhat [2020-11-23T06:34:31.819Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-188 [2020-11-23T06:34:31.819Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-23T06:34:31.819Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-23T06:34:31.819Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-23T06:34:31.819Z] + PACKAGES=/tmp/packages_start.txt [2020-11-23T06:34:31.819Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-188 ']' [2020-11-23T06:34:31.819Z] + PACKAGES=/tmp/packages_end.txt [2020-11-23T06:34:31.819Z] + case "${OS_FAMILY}" in [2020-11-23T06:34:31.819Z] + rpm -qa [2020-11-23T06:34:31.819Z] + sort [2020-11-23T06:34:36.071Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-23T06:34:36.071Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-23T06:34:36.071Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-23T06:34:36.071Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-188 ']' [2020-11-23T06:34:36.071Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-188/archives/ [2020-11-23T06:34:36.071Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-188/archives/ [Pipeline] echo [2020-11-23T06:34:36.106Z] 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-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-23T06:34:36.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:34:36.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T06:34:36.768Z] [2020-11-23T06:34:36.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:34:37.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T06:34:37.165Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-23T06:34:37.165Z] df20fa9351a1: Pulling fs layer [2020-11-23T06:34:37.165Z] 36b3adc4ff6f: Pulling fs layer [2020-11-23T06:34:37.165Z] 8ad3a11d3b57: Pulling fs layer [2020-11-23T06:34:37.165Z] 46f8f816bc3b: Pulling fs layer [2020-11-23T06:34:37.165Z] 93b61091891f: Pulling fs layer [2020-11-23T06:34:37.165Z] 93b9cdb0e59b: Pulling fs layer [2020-11-23T06:34:37.165Z] 5e14af77c1be: Pulling fs layer [2020-11-23T06:34:37.165Z] 01666e4c0597: Pulling fs layer [2020-11-23T06:34:37.165Z] aa168da1d23b: Pulling fs layer [2020-11-23T06:34:37.165Z] 46f8f816bc3b: Waiting [2020-11-23T06:34:37.165Z] 93b61091891f: Waiting [2020-11-23T06:34:37.165Z] 93b9cdb0e59b: Waiting [2020-11-23T06:34:37.165Z] 5e14af77c1be: Waiting [2020-11-23T06:34:37.165Z] 01666e4c0597: Waiting [2020-11-23T06:34:37.165Z] aa168da1d23b: Waiting [2020-11-23T06:34:37.165Z] 36b3adc4ff6f: Verifying Checksum [2020-11-23T06:34:37.165Z] 36b3adc4ff6f: Download complete [2020-11-23T06:34:37.428Z] 46f8f816bc3b: Verifying Checksum [2020-11-23T06:34:37.428Z] 46f8f816bc3b: Download complete [2020-11-23T06:34:37.428Z] 93b61091891f: Download complete [2020-11-23T06:34:37.428Z] df20fa9351a1: Verifying Checksum [2020-11-23T06:34:37.428Z] df20fa9351a1: Download complete [2020-11-23T06:34:37.428Z] 93b9cdb0e59b: Verifying Checksum [2020-11-23T06:34:37.428Z] 93b9cdb0e59b: Download complete [2020-11-23T06:34:37.428Z] 5e14af77c1be: Verifying Checksum [2020-11-23T06:34:37.428Z] 5e14af77c1be: Download complete [2020-11-23T06:34:37.428Z] 01666e4c0597: Verifying Checksum [2020-11-23T06:34:37.428Z] 01666e4c0597: Download complete [2020-11-23T06:34:38.005Z] df20fa9351a1: Pull complete [2020-11-23T06:34:38.005Z] 8ad3a11d3b57: Verifying Checksum [2020-11-23T06:34:38.005Z] 8ad3a11d3b57: Download complete [2020-11-23T06:34:38.005Z] 36b3adc4ff6f: Pull complete [2020-11-23T06:34:38.976Z] 8ad3a11d3b57: Pull complete [2020-11-23T06:34:38.976Z] 46f8f816bc3b: Pull complete [2020-11-23T06:34:39.562Z] 93b61091891f: Pull complete [2020-11-23T06:34:39.826Z] 93b9cdb0e59b: Pull complete [2020-11-23T06:34:39.826Z] aa168da1d23b: Verifying Checksum [2020-11-23T06:34:39.826Z] aa168da1d23b: Download complete [2020-11-23T06:34:40.092Z] 5e14af77c1be: Pull complete [2020-11-23T06:34:40.092Z] 01666e4c0597: Pull complete [2020-11-23T06:34:48.275Z] aa168da1d23b: Pull complete [2020-11-23T06:34:48.275Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-23T06:34:48.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T06:34:48.275Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-23T06:34:48.475Z] prd-centos7-docker-4c-2g-13216 does not seem to be running inside a container [2020-11-23T06:34:48.526Z] $ 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-188/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-188 -v /w/workspace/gexfoundry_device-mqtt-go_PR-188:/w/workspace/gexfoundry_device-mqtt-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-188@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-23T06:34:52.437Z] $ docker top 7c4a0c024ab8f4ea789829d3a6737fd9888835997b07489c42183fc5537b7347 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:34:53.106Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-23T06:34:53.431Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-23T06:34:53.756Z] + ls /var/log/sa-host [2020-11-23T06:34:53.756Z] + sadf -c /var/log/sa-host/sa05 [2020-11-23T06:34:53.756Z] file_magic: OK [2020-11-23T06:34:53.756Z] HZ: Using current value: 100 [2020-11-23T06:34:53.757Z] file_header: OK [2020-11-23T06:34:53.757Z] 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-23T06:34:53.757Z] Statistics: [2020-11-23T06:34:53.757Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-23T06:34:53.757Z] File successfully converted to sysstat format version 12.2.1 [2020-11-23T06:34:53.757Z] + sadf -c /var/log/sa-host/sa23 [2020-11-23T06:34:53.757Z] file_magic: OK [2020-11-23T06:34:53.757Z] HZ: Using current value: 100 [2020-11-23T06:34:53.757Z] file_header: OK [2020-11-23T06:34:53.757Z] 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-23T06:34:53.757Z] Statistics: [2020-11-23T06:34:53.757Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-23T06:34:53.757Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-23T06:34:54.457Z] provisioning config files... [2020-11-23T06:34:54.475Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-188@tmp/config3953533943297356405tmp [Pipeline] { [Pipeline] echo [2020-11-23T06:34:54.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:34:54.954Z] ---> create-netrc.sh [Pipeline] } [2020-11-23T06:34:54.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-23T06:34:55.190Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:34:55.520Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-23T06:34:55.550Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:34:55.887Z] ---> sudo-logs.sh [2020-11-23T06:34:55.887Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-23T06:34:55.926Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:34:56.263Z] ---> job-cost.sh [2020-11-23T06:34:56.263Z] lf-activate-venv: SKIPPING [2020-11-23T06:34:56.263Z] INFO: No Stack... [2020-11-23T06:34:57.215Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-23T06:34:57.478Z] INFO: Archiving Costs [Pipeline] echo [2020-11-23T06:34:57.520Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:34:57.852Z] ---> logs-deploy.sh [2020-11-23T06:34:57.853Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-188/1 [2020-11-23T06:34:57.853Z] INFO: archiving workspace using pattern(s): [2020-11-23T06:34:59.771Z] Archives upload complete. [2020-11-23T06:34:59.771Z] INFO: archiving logs to Nexus