Pull request #207 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7d3fac01e70055c183287e1481e2b59da4885889+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (1a802932a1057eee7ca8174730ace1b134cbd1e5) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-207/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-207/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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20899 in /w/workspace/gexfoundry_device-mqtt-go_PR-207 [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 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 7d3fac01e70055c183287e1481e2b59da4885889 > git init /w/workspace/gexfoundry_device-mqtt-go_PR-207 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 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 --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 Merge succeeded, producing 7d3fac01e70055c183287e1481e2b59da4885889 Checking out Revision 7d3fac01e70055c183287e1481e2b59da4885889 (PR-207) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # 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.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T06:08:22.486Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-18T06:08:22.838Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T06:08:23.022Z] ========================================================= [2021-01-18T06:08:23.022Z] EdgeX Global Pipelines Version Info [2021-01-18T06:08:23.022Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:08:24.652Z] ------------------- [2021-01-18T06:08:24.652Z] stable info: [2021-01-18T06:08:24.652Z] ------------------- [2021-01-18T06:08:24.652Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T06:08:24.652Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T06:08:24.652Z] Message: update stable to v1.0.177 [2021-01-18T06:08:25.600Z] ------------------- [2021-01-18T06:08:25.600Z] experimental info: [2021-01-18T06:08:25.600Z] ------------------- [2021-01-18T06:08:25.600Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T06:08:25.600Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T06:08:25.600Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T06:08:25.984Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-18T06:08:26.098Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-18T06:08:26.222Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T06:08:26.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T06:08:26.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T06:08:26.602Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T06:08:26.713Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T06:08:26.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T06:08:26.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-18T06:08:27.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T06:08:27.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T06:08:27.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-18T06:08:27.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T06:08:27.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T06:08:27.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T06:08:27.864Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T06:08:28.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T06:08:28.153Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T06:08:28.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T06:08:28.496Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-18T06:08:28.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-18T06:08:28.821Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-18T06:08:29.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-18T06:08:29.186Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-18T06:08:29.318Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-18T06:08:29.468Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T06:08:29.607Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T06:08:29.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-207 [Pipeline] echo [2021-01-18T06:08:29.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-207 [Pipeline] echo [2021-01-18T06:08:30.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-207 [Pipeline] echo [2021-01-18T06:08:30.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d3fac01e70055c183287e1481e2b59da4885889 [Pipeline] echo [2021-01-18T06:08:30.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d3fac0 [Pipeline] echo [2021-01-18T06:08:30.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T06:08:30.807Z] provisioning config files... [2021-01-18T06:08:30.844Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/config8014142717261681447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:08:31.269Z] ---> docker-login.sh [2021-01-18T06:08:31.269Z] nexus3.edgexfoundry.org:10001 [2021-01-18T06:08:31.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:08:31.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:08:31.799Z] Configure a credential helper to remove this warning. See [2021-01-18T06:08:31.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:08:31.799Z] [2021-01-18T06:08:31.799Z] Login Succeeded [2021-01-18T06:08:31.799Z] nexus3.edgexfoundry.org:10002 [2021-01-18T06:08:31.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:08:31.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:08:31.799Z] Configure a credential helper to remove this warning. See [2021-01-18T06:08:31.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:08:31.799Z] [2021-01-18T06:08:31.799Z] Login Succeeded [2021-01-18T06:08:31.799Z] nexus3.edgexfoundry.org:10003 [2021-01-18T06:08:32.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:08:32.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:08:32.063Z] Configure a credential helper to remove this warning. See [2021-01-18T06:08:32.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:08:32.063Z] [2021-01-18T06:08:32.063Z] Login Succeeded [2021-01-18T06:08:32.063Z] nexus3.edgexfoundry.org:10004 [2021-01-18T06:08:32.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:08:32.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:08:32.327Z] Configure a credential helper to remove this warning. See [2021-01-18T06:08:32.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:08:32.327Z] [2021-01-18T06:08:32.327Z] Login Succeeded [2021-01-18T06:08:32.327Z] docker.io [2021-01-18T06:08:32.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:08:32.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:08:32.597Z] Configure a credential helper to remove this warning. See [2021-01-18T06:08:32.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:08:32.597Z] [2021-01-18T06:08:32.597Z] Login Succeeded [2021-01-18T06:08:32.597Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T06:08:32.627Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T06:08:33.724Z] + git log --format=format:%s -1 7d3fac01e70055c183287e1481e2b59da4885889 [Pipeline] echo [2021-01-18T06:08:33.819Z] GIT_COMMIT: 7d3fac01e70055c183287e1481e2b59da4885889, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-18T06:08:33.893Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:08:34.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T06:08:34.521Z] [2021-01-18T06:08:34.521Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:08:34.935Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T06:08:34.935Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T06:08:34.935Z] 31603596830f: Pulling fs layer [2021-01-18T06:08:34.935Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T06:08:34.935Z] 6ca5941a6612: Pulling fs layer [2021-01-18T06:08:34.935Z] ecc8261a40a4: Pulling fs layer [2021-01-18T06:08:34.935Z] ecc8261a40a4: Waiting [2021-01-18T06:08:34.935Z] 2a8b12db71e7: Verifying Checksum [2021-01-18T06:08:34.935Z] 2a8b12db71e7: Download complete [2021-01-18T06:08:35.202Z] 31603596830f: Verifying Checksum [2021-01-18T06:08:35.202Z] 31603596830f: Download complete [2021-01-18T06:08:35.202Z] 6ca5941a6612: Verifying Checksum [2021-01-18T06:08:35.202Z] 6ca5941a6612: Download complete [2021-01-18T06:08:35.202Z] ecc8261a40a4: Verifying Checksum [2021-01-18T06:08:35.202Z] ecc8261a40a4: Download complete [2021-01-18T06:08:35.465Z] 31603596830f: Pull complete [2021-01-18T06:08:35.465Z] 2a8b12db71e7: Pull complete [2021-01-18T06:08:36.422Z] 6ca5941a6612: Pull complete [2021-01-18T06:08:36.687Z] ecc8261a40a4: Pull complete [2021-01-18T06:08:36.687Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T06:08:36.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T06:08:36.687Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T06:08:36.814Z] prd-centos7-docker-4c-2g-20899 does not seem to be running inside a container [2021-01-18T06:08:36.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-207 -v /w/workspace/gexfoundry_device-mqtt-go_PR-207:/w/workspace/gexfoundry_device-mqtt-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-207@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 [2021-01-18T06:08:39.303Z] $ docker top 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T06:08:39.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T06:08:39.708Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T06:08:39.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T06:08:39.937Z] $ docker exec 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 ssh-agent [2021-01-18T06:08:40.113Z] SSH_AUTH_SOCK=/tmp/ssh-NOTDoTLhjyVb/agent.13 [2021-01-18T06:08:40.113Z] SSH_AGENT_PID=18 [2021-01-18T06:08:40.124Z] Running ssh-add (command line suppressed) [2021-01-18T06:08:40.244Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_4397445404238899149.key (/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_4397445404238899149.key) [2021-01-18T06:08:40.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T06:08:40.710Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T06:08:40.741Z] $ docker exec --env ******** --env ******** 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 ssh-agent -k [2021-01-18T06:08:40.861Z] unset SSH_AUTH_SOCK; [2021-01-18T06:08:40.861Z] unset SSH_AGENT_PID; [2021-01-18T06:08:40.861Z] echo Agent pid 18 killed; [2021-01-18T06:08:40.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T06:08:41.129Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T06:08:41.129Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T06:08:41.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T06:08:41.327Z] $ docker exec 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 ssh-agent [2021-01-18T06:08:41.505Z] SSH_AUTH_SOCK=/tmp/ssh-SK0Gx7hYMKSQ/agent.46 [2021-01-18T06:08:41.505Z] SSH_AGENT_PID=52 [2021-01-18T06:08:41.512Z] Running ssh-add (command line suppressed) [2021-01-18T06:08:41.647Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_7321167160784629160.key (/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/private_key_7321167160784629160.key) [2021-01-18T06:08:41.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T06:08:42.095Z] + git semver init [2021-01-18T06:08:42.095Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T06:08:42.095Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-207/.git [2021-01-18T06:08:42.095Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-207 [2021-01-18T06:08:42.095Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T06:08:42.095Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T06:08:42.095Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T06:08:42.095Z] # $SEMVER_BRANCH = PR-207 [2021-01-18T06:08:42.095Z] # $SEMVER_TEMP = /tmp/semver-868278155 [2021-01-18T06:08:42.095Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-18T06:08:42.360Z] # '/tmp/semver-868278155' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-207/.semver' [2021-01-18T06:08:42.360Z] # -> Force: false [2021-01-18T06:08:42.360Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-207/.semver [Pipeline] } [2021-01-18T06:08:42.383Z] $ docker exec --env ******** --env ******** 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 ssh-agent -k [2021-01-18T06:08:42.517Z] unset SSH_AUTH_SOCK; [2021-01-18T06:08:42.517Z] unset SSH_AGENT_PID; [2021-01-18T06:08:42.517Z] echo Agent pid 52 killed; [2021-01-18T06:08:42.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T06:08:43.123Z] + git semver [Pipeline] } [2021-01-18T06:08:43.157Z] $ docker stop --time=1 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 [2021-01-18T06:08:44.514Z] $ docker rm -f 5cbc9bebe258a28d21dd6d82825cd41790202a980708eb6265c8fe0d86373934 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T06:08:45.059Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T06:08:45.560Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T06:08:45.584Z] [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 [2021-01-18T06:09:01.475Z] Still waiting to schedule task [2021-01-18T06:09:01.475Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-20894’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20896’ is offline; ‘prd-centos7-docker-4c-2g-20897’ is offline; ‘prd-centos7-docker-4c-2g-20900’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-18T06:09:01.503Z] Still waiting to schedule task [2021-01-18T06:09:01.503Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-18T06:10:39.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20901 in /w/workspace/gexfoundry_device-mqtt-go_PR-207 [Pipeline] { [Pipeline] ws [2021-01-18T06:10:39.619Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-18T06:10:44.604Z] using credential edgex-jenkins-ssh [2021-01-18T06:10:44.661Z] Cloning the remote Git repository [2021-01-18T06:10:44.729Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-18T06:10:44.843Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-18T06:10:44.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-18T06:10:44.970Z] > git --version # timeout=10 [2021-01-18T06:10:45.016Z] > git --version # 'git version 2.17.1' [2021-01-18T06:10:45.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:10:45.129Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:10:46.561Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 7d3fac01e70055c183287e1481e2b59da4885889 [2021-01-18T06:10:46.756Z] Merge succeeded, producing 7d3fac01e70055c183287e1481e2b59da4885889 [2021-01-18T06:10:46.757Z] Checking out Revision 7d3fac01e70055c183287e1481e2b59da4885889 (PR-207) [2021-01-18T06:10:45.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-18T06:10:46.013Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:10:46.046Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-18T06:10:46.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-18T06:10:46.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:10:46.101Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T06:10:46.583Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:10:46.599Z] > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [2021-01-18T06:10:46.683Z] > git remote # timeout=10 [2021-01-18T06:10:46.703Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T06:10:46.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:10:46.726Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-18T06:10:46.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T06:10:46.765Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:10:46.779Z] > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [2021-01-18T06:10:50.937Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-18T06:10:51.001Z] > git --version # timeout=10 [2021-01-18T06:10:51.018Z] > git --version # 'git version 2.17.1' [2021-01-18T06:10:51.039Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T06:10:52.872Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:10:53.302Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:10:53.678Z] + sudo service docker restart [2021-01-18T06:10:53.678Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T06:10:55.839Z] provisioning config files... [2021-01-18T06:10:55.883Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2342701011264148221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:10:56.337Z] ---> docker-login.sh [2021-01-18T06:10:56.338Z] nexus3.edgexfoundry.org:10001 [2021-01-18T06:10:57.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:10:57.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:10:57.618Z] Configure a credential helper to remove this warning. See [2021-01-18T06:10:57.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:10:57.618Z] [2021-01-18T06:10:57.618Z] Login Succeeded [2021-01-18T06:10:57.618Z] nexus3.edgexfoundry.org:10002 [2021-01-18T06:10:57.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:10:58.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:10:58.172Z] Configure a credential helper to remove this warning. See [2021-01-18T06:10:58.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:10:58.172Z] [2021-01-18T06:10:58.172Z] Login Succeeded [2021-01-18T06:10:58.172Z] nexus3.edgexfoundry.org:10003 [2021-01-18T06:10:58.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:10:58.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:10:58.722Z] Configure a credential helper to remove this warning. See [2021-01-18T06:10:58.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:10:58.722Z] [2021-01-18T06:10:58.722Z] Login Succeeded [2021-01-18T06:10:58.722Z] nexus3.edgexfoundry.org:10004 [2021-01-18T06:10:58.892Z] Running on prd-centos7-docker-4c-2g-20902 in /w/workspace/gexfoundry_device-mqtt-go_PR-207 [Pipeline] { [Pipeline] ws [2021-01-18T06:10:58.994Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [2021-01-18T06:10:59.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] checkout [2021-01-18T06:10:59.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:10:59.281Z] Configure a credential helper to remove this warning. See [2021-01-18T06:10:59.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:10:59.282Z] [2021-01-18T06:10:59.282Z] Login Succeeded [2021-01-18T06:10:59.282Z] docker.io [2021-01-18T06:10:59.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:10:59.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:10:59.837Z] Configure a credential helper to remove this warning. See [2021-01-18T06:10:59.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:10:59.837Z] [2021-01-18T06:10:59.837Z] Login Succeeded [2021-01-18T06:11:00.113Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T06:11:00.143Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T06:11:00.727Z] ========================================================= [2021-01-18T06:11:00.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T06:11:00.727Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:11:01.159Z] + 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 . [2021-01-18T06:11:01.417Z] using credential edgex-jenkins-ssh [2021-01-18T06:11:01.438Z] Sending build context to Docker daemon 492.5kB [2021-01-18T06:11:01.438Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T06:11:01.438Z] Step 2/8 : FROM ${BASE} [2021-01-18T06:11:01.468Z] Cloning the remote Git repository [2021-01-18T06:11:01.720Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T06:11:01.720Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T06:11:01.720Z] a4357932f1b6: Pulling fs layer [2021-01-18T06:11:01.720Z] 18c013af1878: Pulling fs layer [2021-01-18T06:11:01.720Z] 00ac8860ef70: Pulling fs layer [2021-01-18T06:11:01.720Z] 63d7cb157983: Pulling fs layer [2021-01-18T06:11:01.720Z] b116817d02f9: Pulling fs layer [2021-01-18T06:11:01.720Z] 745a02a5169b: Pulling fs layer [2021-01-18T06:11:01.720Z] 00ac8860ef70: Waiting [2021-01-18T06:11:01.720Z] 63d7cb157983: Waiting [2021-01-18T06:11:01.720Z] b116817d02f9: Waiting [2021-01-18T06:11:01.720Z] 745a02a5169b: Waiting [2021-01-18T06:11:01.720Z] 18c013af1878: Download complete [2021-01-18T06:11:01.720Z] a4357932f1b6: Verifying Checksum [2021-01-18T06:11:01.720Z] a4357932f1b6: Download complete [2021-01-18T06:11:01.720Z] 63d7cb157983: Download complete [2021-01-18T06:11:01.720Z] b116817d02f9: Download complete [2021-01-18T06:11:01.720Z] 5f621e34cdf4: Verifying Checksum [2021-01-18T06:11:01.720Z] 5f621e34cdf4: Download complete [2021-01-18T06:11:01.340Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-18T06:11:01.409Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-18T06:11:01.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-18T06:11:01.480Z] > git --version # timeout=10 [2021-01-18T06:11:01.486Z] > git --version # 'git version 2.24.3' [2021-01-18T06:11:01.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:11:01.514Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:11:02.707Z] 5f621e34cdf4: Pull complete [2021-01-18T06:11:02.997Z] a4357932f1b6: Pull complete [2021-01-18T06:11:03.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-18T06:11:03.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:11:03.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-18T06:11:03.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-18T06:11:03.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:11:03.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T06:11:03.602Z] 18c013af1878: Pull complete [2021-01-18T06:11:04.198Z] 745a02a5169b: Verifying Checksum [2021-01-18T06:11:04.198Z] 745a02a5169b: Download complete [2021-01-18T06:11:04.447Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 7d3fac01e70055c183287e1481e2b59da4885889 [2021-01-18T06:11:04.522Z] Merge succeeded, producing 7d3fac01e70055c183287e1481e2b59da4885889 [2021-01-18T06:11:04.522Z] Checking out Revision 7d3fac01e70055c183287e1481e2b59da4885889 (PR-207) [2021-01-18T06:11:04.458Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:11:04.464Z] > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [2021-01-18T06:11:04.495Z] > git remote # timeout=10 [2021-01-18T06:11:04.501Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T06:11:04.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:11:04.509Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-18T06:11:04.519Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T06:11:04.528Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:11:04.531Z] > git checkout -f 7d3fac01e70055c183287e1481e2b59da4885889 # timeout=10 [2021-01-18T06:11:05.647Z] 00ac8860ef70: Download complete [2021-01-18T06:11:08.131Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-18T06:11:08.162Z] > git --version # timeout=10 [2021-01-18T06:11:08.166Z] > git --version # 'git version 2.24.3' [2021-01-18T06:11:08.173Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T06:11:09.556Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:11:09.912Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:11:10.231Z] + sudo service docker restart [2021-01-18T06:11:10.231Z] + true [2021-01-18T06:11:10.231Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T06:11:11.850Z] provisioning config files... [2021-01-18T06:11:11.877Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6614702984038744893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:11:12.329Z] ---> docker-login.sh [2021-01-18T06:11:12.329Z] nexus3.edgexfoundry.org:10001 [2021-01-18T06:11:12.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:11:12.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:11:12.595Z] Configure a credential helper to remove this warning. See [2021-01-18T06:11:12.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:11:12.595Z] [2021-01-18T06:11:12.595Z] Login Succeeded [2021-01-18T06:11:12.595Z] nexus3.edgexfoundry.org:10002 [2021-01-18T06:11:12.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:11:12.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:11:12.859Z] Configure a credential helper to remove this warning. See [2021-01-18T06:11:12.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:11:12.859Z] [2021-01-18T06:11:12.859Z] Login Succeeded [2021-01-18T06:11:12.859Z] nexus3.edgexfoundry.org:10003 [2021-01-18T06:11:12.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:11:13.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:11:13.124Z] Configure a credential helper to remove this warning. See [2021-01-18T06:11:13.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:11:13.125Z] [2021-01-18T06:11:13.125Z] Login Succeeded [2021-01-18T06:11:13.125Z] nexus3.edgexfoundry.org:10004 [2021-01-18T06:11:13.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:11:13.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:11:13.125Z] Configure a credential helper to remove this warning. See [2021-01-18T06:11:13.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:11:13.125Z] [2021-01-18T06:11:13.125Z] Login Succeeded [2021-01-18T06:11:13.125Z] docker.io [2021-01-18T06:11:13.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:11:13.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:11:13.651Z] Configure a credential helper to remove this warning. See [2021-01-18T06:11:13.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:11:13.651Z] [2021-01-18T06:11:13.651Z] Login Succeeded [2021-01-18T06:11:13.651Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T06:11:13.706Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T06:11:14.223Z] ========================================================= [2021-01-18T06:11:14.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T06:11:14.223Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:11:14.621Z] + 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 . [2021-01-18T06:11:14.622Z] Sending build context to Docker daemon 493.6kB [2021-01-18T06:11:14.622Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T06:11:14.622Z] Step 2/8 : FROM ${BASE} [2021-01-18T06:11:14.894Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T06:11:14.894Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T06:11:14.894Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T06:11:14.894Z] de9db76c5a1d: Pulling fs layer [2021-01-18T06:11:14.894Z] bca2f99d35d6: Pulling fs layer [2021-01-18T06:11:14.894Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T06:11:14.894Z] 7c6f9722023f: Pulling fs layer [2021-01-18T06:11:14.894Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T06:11:14.894Z] 93359f2a8cfa: Waiting [2021-01-18T06:11:14.894Z] 7c6f9722023f: Waiting [2021-01-18T06:11:14.894Z] bca2f99d35d6: Waiting [2021-01-18T06:11:14.894Z] a35cf1a2eb13: Waiting [2021-01-18T06:11:14.894Z] 0ef7d3d256c8: Download complete [2021-01-18T06:11:14.894Z] de9db76c5a1d: Verifying Checksum [2021-01-18T06:11:14.894Z] de9db76c5a1d: Download complete [2021-01-18T06:11:14.894Z] 93359f2a8cfa: Download complete [2021-01-18T06:11:14.894Z] 7c6f9722023f: Verifying Checksum [2021-01-18T06:11:14.894Z] 7c6f9722023f: Download complete [2021-01-18T06:11:14.894Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T06:11:14.894Z] 188c0c94c7c5: Download complete [2021-01-18T06:11:15.160Z] 188c0c94c7c5: Pull complete [2021-01-18T06:11:15.423Z] 0ef7d3d256c8: Pull complete [2021-01-18T06:11:15.423Z] de9db76c5a1d: Pull complete [2021-01-18T06:11:15.840Z] 00ac8860ef70: Pull complete [2021-01-18T06:11:15.840Z] 63d7cb157983: Pull complete [2021-01-18T06:11:16.115Z] b116817d02f9: Pull complete [2021-01-18T06:11:16.830Z] a35cf1a2eb13: Download complete [2021-01-18T06:11:17.405Z] bca2f99d35d6: Verifying Checksum [2021-01-18T06:11:17.405Z] bca2f99d35d6: Download complete [2021-01-18T06:11:19.514Z] 745a02a5169b: Pull complete [2021-01-18T06:11:19.514Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T06:11:19.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T06:11:19.788Z] ---> b7e6874047d6 [2021-01-18T06:11:19.788Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-18T06:11:22.441Z] ---> Running in 72a904126416 [2021-01-18T06:11:22.735Z] Removing intermediate container 72a904126416 [2021-01-18T06:11:22.735Z] ---> e7da19b2b3ba [2021-01-18T06:11:22.735Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T06:11:22.735Z] ---> Running in 702c8b5c78ef [2021-01-18T06:11:24.036Z] bca2f99d35d6: Pull complete [2021-01-18T06:11:24.036Z] 93359f2a8cfa: Pull complete [2021-01-18T06:11:24.036Z] 7c6f9722023f: Pull complete [2021-01-18T06:11:25.366Z] Removing intermediate container 702c8b5c78ef [2021-01-18T06:11:25.366Z] ---> aa607c93a17d [2021-01-18T06:11:25.366Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-18T06:11:25.366Z] ---> Running in 4494d1fe2635 [2021-01-18T06:11:26.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T06:11:26.950Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T06:11:27.550Z] (1/14) Installing libmagic (5.38-r0) [2021-01-18T06:11:27.822Z] (2/14) Installing file (5.38-r0) [2021-01-18T06:11:29.271Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-18T06:11:29.271Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-18T06:11:29.286Z] a35cf1a2eb13: Pull complete [2021-01-18T06:11:29.286Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T06:11:29.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T06:11:29.286Z] ---> a62c8e92a672 [2021-01-18T06:11:29.286Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-18T06:11:29.286Z] ---> Running in eb574f120322 [2021-01-18T06:11:29.286Z] Removing intermediate container eb574f120322 [2021-01-18T06:11:29.286Z] ---> 766e80c7bbc0 [2021-01-18T06:11:29.286Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T06:11:29.286Z] ---> Running in 7d6e733715cc [2021-01-18T06:11:30.248Z] Removing intermediate container 7d6e733715cc [2021-01-18T06:11:30.248Z] ---> b7824f530807 [2021-01-18T06:11:30.248Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-18T06:11:30.248Z] ---> Running in 4fde9062cb73 [2021-01-18T06:11:30.839Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T06:11:32.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T06:11:33.569Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-18T06:11:33.569Z] (6/14) Installing patch (2.7.6-r6) [2021-01-18T06:11:33.569Z] (7/14) Installing build-base (0.5-r2) [2021-01-18T06:11:33.569Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-18T06:11:33.569Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-18T06:11:33.569Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-18T06:11:33.630Z] (1/14) Installing libmagic (5.38-r0) [2021-01-18T06:11:33.860Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-18T06:11:33.900Z] (2/14) Installing file (5.38-r0) [2021-01-18T06:11:34.145Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-18T06:11:34.145Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-18T06:11:34.166Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-18T06:11:34.166Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-18T06:11:34.419Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-18T06:11:34.419Z] Executing busybox-1.31.1-r19.trigger [2021-01-18T06:11:34.419Z] OK: 221 MiB in 53 packages [2021-01-18T06:11:38.718Z] Removing intermediate container 4494d1fe2635 [2021-01-18T06:11:38.718Z] ---> 23b5b84b4967 [2021-01-18T06:11:38.718Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-18T06:11:38.718Z] ---> Running in 47d9fbf45634 [2021-01-18T06:11:38.718Z] Removing intermediate container 47d9fbf45634 [2021-01-18T06:11:38.718Z] ---> 52ce814cba38 [2021-01-18T06:11:38.718Z] Step 7/8 : COPY . . [2021-01-18T06:11:39.708Z] ---> 1fde3dde484b [2021-01-18T06:11:39.708Z] Step 8/8 : RUN go mod download [2021-01-18T06:11:39.708Z] ---> Running in e35b0c6b4c6c [2021-01-18T06:11:44.221Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-18T06:11:44.221Z] (6/14) Installing patch (2.7.6-r6) [2021-01-18T06:11:44.221Z] (7/14) Installing build-base (0.5-r2) [2021-01-18T06:11:44.489Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-18T06:11:44.489Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-18T06:11:44.489Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-18T06:11:45.087Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-18T06:11:45.087Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-18T06:11:45.087Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-18T06:11:46.041Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-18T06:11:46.312Z] Executing busybox-1.31.1-r19.trigger [2021-01-18T06:11:46.312Z] OK: 237 MiB in 53 packages [2021-01-18T06:11:50.693Z] Removing intermediate container 4fde9062cb73 [2021-01-18T06:11:50.693Z] ---> 4515c90f6b54 [2021-01-18T06:11:50.693Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-18T06:11:50.693Z] ---> Running in 21e3acdd10b9 [2021-01-18T06:11:50.693Z] Removing intermediate container 21e3acdd10b9 [2021-01-18T06:11:50.693Z] ---> 45077bab9dd6 [2021-01-18T06:11:50.693Z] Step 7/8 : COPY . . [2021-01-18T06:11:51.301Z] ---> 5a2bfaffcc2f [2021-01-18T06:11:51.301Z] Step 8/8 : RUN go mod download [2021-01-18T06:11:51.301Z] ---> Running in 5ac6c8394e16 [2021-01-18T06:12:06.679Z] Removing intermediate container e35b0c6b4c6c [2021-01-18T06:12:06.679Z] ---> be1eba7342bb [2021-01-18T06:12:06.679Z] Successfully built be1eba7342bb [2021-01-18T06:12:06.679Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:12:07.073Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T06:12:07.073Z] . [Pipeline] withDockerContainer [2021-01-18T06:12:07.362Z] prd-ubuntu18.04-docker-arm64-4c-16g-20901 does not seem to be running inside a container [2021-01-18T06:12:07.448Z] $ 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 [2021-01-18T06:12:08.941Z] $ docker top d4f4592f751bb40f7481c34e7e1d0a48a691efe35d60a415975687dbaef5ac7a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:12:09.730Z] Removing intermediate container 5ac6c8394e16 [2021-01-18T06:12:09.730Z] ---> 152947a09da0 [2021-01-18T06:12:09.730Z] Successfully built 152947a09da0 [2021-01-18T06:12:09.730Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:12:10.064Z] + go version [2021-01-18T06:12:10.064Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T06:12:10.105Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T06:12:10.105Z] . [2021-01-18T06:12:10.108Z] $ docker stop --time=1 d4f4592f751bb40f7481c34e7e1d0a48a691efe35d60a415975687dbaef5ac7a [2021-01-18T06:12:12.034Z] $ docker rm -f d4f4592f751bb40f7481c34e7e1d0a48a691efe35d60a415975687dbaef5ac7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-01-18T06:12:12.500Z] prd-centos7-docker-4c-2g-20902 does not seem to be running inside a container [2021-01-18T06:12:12.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T06:12:13.287Z] $ docker top d52e5478e1fe5ef7435f4b1cb65fb7909aa4978ed1e81deaaa8a02d3ff519dc3 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-01-18T06:12:13.902Z] + go version [2021-01-18T06:12:13.902Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-18T06:12:13.944Z] $ docker stop --time=1 d52e5478e1fe5ef7435f4b1cb65fb7909aa4978ed1e81deaaa8a02d3ff519dc3 [2021-01-18T06:12:15.311Z] $ docker rm -f d52e5478e1fe5ef7435f4b1cb65fb7909aa4978ed1e81deaaa8a02d3ff519dc3 [Pipeline] script [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [2021-01-18T06:12:16.200Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T06:12:16.200Z] . [Pipeline] { [Pipeline] withDockerContainer [2021-01-18T06:12:16.640Z] prd-ubuntu18.04-docker-arm64-4c-16g-20901 does not seem to be running inside a container [2021-01-18T06:12:16.722Z] $ 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 [2021-01-18T06:12:18.204Z] $ docker top 78f651ef8bf7be86eb51f1f92fe7482477c2e56f2f12feb152b8ea0e4d961dba -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:12:18.967Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T06:12:18.967Z] . [Pipeline] withDockerContainer [2021-01-18T06:12:19.098Z] prd-centos7-docker-4c-2g-20902 does not seem to be running inside a container [2021-01-18T06:12:19.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T06:12:19.246Z] + make test [2021-01-18T06:12:19.246Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-18T06:12:19.795Z] $ docker top 72f88c6f460be6d1f72180e0f2ca681ca9a658d43fb72964afabb4be8885251d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:12:20.229Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-18T06:12:20.396Z] + make test [2021-01-18T06:12:20.396Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-18T06:12:21.821Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-18T06:12:28.546Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-18T06:12:28.546Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-18T06:12:28.546Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-18T06:12:28.546Z] have (string, bool, string, string) [2021-01-18T06:12:28.546Z] want (string, string) [2021-01-18T06:12:31.920Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-18T06:12:31.920Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-18T06:12:32.005Z] $ docker stop --time=1 72f88c6f460be6d1f72180e0f2ca681ca9a658d43fb72964afabb4be8885251d [2021-01-18T06:12:34.294Z] $ docker rm -f 72f88c6f460be6d1f72180e0f2ca681ca9a658d43fb72964afabb4be8885251d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-18T06:12:37.045Z] Failed in branch amd64 [2021-01-18T06:12:42.486Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-18T06:12:42.487Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-18T06:12:42.487Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-18T06:12:42.487Z] have (string, bool, string, string) [2021-01-18T06:12:42.487Z] want (string, string) [2021-01-18T06:12:52.723Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-18T06:12:52.723Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-18T06:12:52.787Z] $ docker stop --time=1 78f651ef8bf7be86eb51f1f92fe7482477c2e56f2f12feb152b8ea0e4d961dba [2021-01-18T06:12:55.113Z] $ docker rm -f 78f651ef8bf7be86eb51f1f92fe7482477c2e56f2f12feb152b8ea0e4d961dba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-18T06:12:57.650Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:02.020Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:02.675Z] ---> package-listing.sh [2021-01-18T06:13:02.675Z] ++ facter osfamily [2021-01-18T06:13:02.675Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T06:13:02.675Z] + OS_FAMILY=redhat [2021-01-18T06:13:02.675Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-207 [2021-01-18T06:13:02.675Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T06:13:02.675Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T06:13:02.675Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T06:13:02.675Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T06:13:02.675Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-207 ']' [2021-01-18T06:13:02.675Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T06:13:02.675Z] + case "${OS_FAMILY}" in [2021-01-18T06:13:02.675Z] + rpm -qa [2021-01-18T06:13:02.675Z] + sort [2021-01-18T06:13:08.044Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T06:13:08.044Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T06:13:08.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T06:13:08.044Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-207 ']' [2021-01-18T06:13:08.044Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-207/archives/ [2021-01-18T06:13:08.044Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-207/archives/ [Pipeline] echo [2021-01-18T06:13:08.085Z] 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-207/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-18T06:13:08.466Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:13:08.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T06:13:08.842Z] [2021-01-18T06:13:08.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:13:09.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T06:13:09.282Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T06:13:09.282Z] df20fa9351a1: Pulling fs layer [2021-01-18T06:13:09.282Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T06:13:09.282Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T06:13:09.282Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T06:13:09.282Z] 93b61091891f: Pulling fs layer [2021-01-18T06:13:09.282Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T06:13:09.282Z] 5e14af77c1be: Pulling fs layer [2021-01-18T06:13:09.282Z] 01666e4c0597: Pulling fs layer [2021-01-18T06:13:09.282Z] aa168da1d23b: Pulling fs layer [2021-01-18T06:13:09.282Z] 46f8f816bc3b: Waiting [2021-01-18T06:13:09.282Z] 93b61091891f: Waiting [2021-01-18T06:13:09.282Z] 93b9cdb0e59b: Waiting [2021-01-18T06:13:09.282Z] 5e14af77c1be: Waiting [2021-01-18T06:13:09.282Z] 01666e4c0597: Waiting [2021-01-18T06:13:09.282Z] aa168da1d23b: Waiting [2021-01-18T06:13:09.282Z] 36b3adc4ff6f: Download complete [2021-01-18T06:13:09.282Z] 46f8f816bc3b: Download complete [2021-01-18T06:13:09.282Z] df20fa9351a1: Verifying Checksum [2021-01-18T06:13:09.282Z] df20fa9351a1: Download complete [2021-01-18T06:13:09.561Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T06:13:09.561Z] 93b9cdb0e59b: Download complete [2021-01-18T06:13:09.561Z] 93b61091891f: Verifying Checksum [2021-01-18T06:13:09.561Z] 93b61091891f: Download complete [2021-01-18T06:13:09.561Z] 5e14af77c1be: Download complete [2021-01-18T06:13:09.561Z] 01666e4c0597: Verifying Checksum [2021-01-18T06:13:09.561Z] 01666e4c0597: Download complete [2021-01-18T06:13:09.828Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T06:13:09.828Z] 8ad3a11d3b57: Download complete [2021-01-18T06:13:09.828Z] df20fa9351a1: Pull complete [2021-01-18T06:13:10.101Z] 36b3adc4ff6f: Pull complete [2021-01-18T06:13:11.075Z] 8ad3a11d3b57: Pull complete [2021-01-18T06:13:11.075Z] 46f8f816bc3b: Pull complete [2021-01-18T06:13:11.661Z] 93b61091891f: Pull complete [2021-01-18T06:13:12.240Z] aa168da1d23b: Verifying Checksum [2021-01-18T06:13:12.240Z] aa168da1d23b: Download complete [2021-01-18T06:13:12.240Z] 93b9cdb0e59b: Pull complete [2021-01-18T06:13:12.507Z] 5e14af77c1be: Pull complete [2021-01-18T06:13:12.507Z] 01666e4c0597: Pull complete [2021-01-18T06:13:19.172Z] aa168da1d23b: Pull complete [2021-01-18T06:13:19.172Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T06:13:19.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T06:13:19.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T06:13:19.626Z] prd-centos7-docker-4c-2g-20899 does not seem to be running inside a container [2021-01-18T06:13:19.702Z] $ 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-207/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-207 -v /w/workspace/gexfoundry_device-mqtt-go_PR-207:/w/workspace/gexfoundry_device-mqtt-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-207@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 [2021-01-18T06:13:23.647Z] $ docker top 826b36b5ebe5b02b60efff16c1baccf00d46753088587fa870780d47d16df3a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:13:24.329Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T06:13:24.935Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T06:13:25.351Z] + ls /var/log/sa-host [2021-01-18T06:13:25.351Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T06:13:25.351Z] file_magic: OK [2021-01-18T06:13:25.351Z] HZ: Using current value: 100 [2021-01-18T06:13:25.351Z] file_header: OK [2021-01-18T06:13:25.351Z] 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 [2021-01-18T06:13:25.351Z] Statistics: [2021-01-18T06:13:25.351Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T06:13:25.351Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T06:13:25.351Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T06:13:25.351Z] file_magic: OK [2021-01-18T06:13:25.351Z] HZ: Using current value: 100 [2021-01-18T06:13:25.351Z] file_header: OK [2021-01-18T06:13:25.351Z] 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 [2021-01-18T06:13:25.351Z] Statistics: [2021-01-18T06:13:25.351Z] Hnuu...uuuununununu... [2021-01-18T06:13:25.351Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T06:13:25.682Z] provisioning config files... [2021-01-18T06:13:25.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-207@tmp/config8696076928164111029tmp [Pipeline] { [Pipeline] echo [2021-01-18T06:13:25.842Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:26.220Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T06:13:26.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T06:13:26.386Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:26.712Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T06:13:26.743Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:27.128Z] ---> sudo-logs.sh [2021-01-18T06:13:27.129Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T06:13:27.161Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:27.515Z] ---> job-cost.sh [2021-01-18T06:13:27.516Z] lf-activate-venv: SKIPPING [2021-01-18T06:13:27.516Z] INFO: No Stack... [2021-01-18T06:13:28.476Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T06:13:29.053Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T06:13:29.087Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:13:29.425Z] ---> logs-deploy.sh [2021-01-18T06:13:29.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-207/1 [2021-01-18T06:13:29.425Z] INFO: archiving workspace using pattern(s): [2021-01-18T06:13:31.351Z] Archives upload complete. [2021-01-18T06:13:31.351Z] INFO: archiving logs to Nexus