Pull request #190 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6845dc53671c9040b867967a9a77166da238528c+06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (2855ba8f4111778f9d60e4c6ef59fa5a568b280d) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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-190/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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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-190/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 a5c854593eac886f27ddeefb8920871132e8ed78 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14788 in /w/workspace/gexfoundry_device-mqtt-go_PR-190 [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 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 6845dc53671c9040b867967a9a77166da238528c > git init /w/workspace/gexfoundry_device-mqtt-go_PR-190 # 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/190/head:refs/remotes/origin/PR-190 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 Merge succeeded, producing 6845dc53671c9040b867967a9a77166da238528c Checking out Revision 6845dc53671c9040b867967a9a77166da238528c (PR-190) > 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 6845dc53671c9040b867967a9a77166da238528c # 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 a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T06:22:26.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T06:22:27.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T06:22:27.341Z] ========================================================= [2020-12-07T06:22:27.341Z] EdgeX Global Pipelines Version Info [2020-12-07T06:22:27.341Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:22:28.854Z] ------------------- [2020-12-07T06:22:28.854Z] stable info: [2020-12-07T06:22:28.854Z] ------------------- [2020-12-07T06:22:28.854Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T06:22:28.854Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T06:22:28.854Z] Message: update stable to v1.0.169 [2020-12-07T06:22:29.807Z] ------------------- [2020-12-07T06:22:29.807Z] experimental info: [2020-12-07T06:22:29.807Z] ------------------- [2020-12-07T06:22:29.807Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T06:22:29.807Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T06:22:29.807Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T06:22:30.326Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-07T06:22:30.499Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-07T06:22:30.638Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T06:22:30.776Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T06:22:30.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T06:22:31.041Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T06:22:31.184Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T06:22:31.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T06:22:31.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T06:22:31.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T06:22:31.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T06:22:31.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-07T06:22:32.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T06:22:32.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T06:22:32.319Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T06:22:32.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T06:22:32.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T06:22:32.700Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T06:22:32.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T06:22:32.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-07T06:22:33.086Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T06:22:33.224Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T06:22:33.430Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T06:22:33.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T06:22:33.688Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T06:22:33.821Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T06:22:33.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo [2020-12-07T06:22:34.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo [2020-12-07T06:22:34.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo [2020-12-07T06:22:34.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6845dc53671c9040b867967a9a77166da238528c [Pipeline] echo [2020-12-07T06:22:34.453Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6845dc5 [Pipeline] echo [2020-12-07T06:22:34.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:22:34.828Z] provisioning config files... [2020-12-07T06:22:34.858Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/config7465687716022675000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:22:35.275Z] ---> docker-login.sh [2020-12-07T06:22:35.275Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:22:35.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:22:35.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:22:35.537Z] Configure a credential helper to remove this warning. See [2020-12-07T06:22:35.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:22:35.537Z] [2020-12-07T06:22:35.537Z] Login Succeeded [2020-12-07T06:22:35.537Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:22:35.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:22:35.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:22:35.800Z] Configure a credential helper to remove this warning. See [2020-12-07T06:22:35.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:22:35.800Z] [2020-12-07T06:22:35.800Z] Login Succeeded [2020-12-07T06:22:35.800Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:22:35.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:22:36.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:22:36.061Z] Configure a credential helper to remove this warning. See [2020-12-07T06:22:36.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:22:36.061Z] [2020-12-07T06:22:36.061Z] Login Succeeded [2020-12-07T06:22:36.061Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:22:36.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:22:36.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:22:36.061Z] Configure a credential helper to remove this warning. See [2020-12-07T06:22:36.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:22:36.061Z] [2020-12-07T06:22:36.061Z] Login Succeeded [2020-12-07T06:22:36.061Z] docker.io [2020-12-07T06:22:36.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:22:36.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:22:36.586Z] Configure a credential helper to remove this warning. See [2020-12-07T06:22:36.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:22:36.586Z] [2020-12-07T06:22:36.586Z] Login Succeeded [2020-12-07T06:22:36.586Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:22:36.609Z] 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 [2020-12-07T06:22:37.718Z] + git log --format=format:%s -1 6845dc53671c9040b867967a9a77166da238528c [Pipeline] echo [2020-12-07T06:22:37.854Z] GIT_COMMIT: 6845dc53671c9040b867967a9a77166da238528c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-07T06:22:37.931Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:22:39.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:22:39.079Z] [2020-12-07T06:22:39.079Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:22:39.465Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:22:39.465Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T06:22:39.465Z] 31603596830f: Pulling fs layer [2020-12-07T06:22:39.465Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T06:22:39.465Z] 6ca5941a6612: Pulling fs layer [2020-12-07T06:22:39.465Z] ecc8261a40a4: Pulling fs layer [2020-12-07T06:22:39.465Z] ecc8261a40a4: Waiting [2020-12-07T06:22:39.465Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T06:22:39.465Z] 2a8b12db71e7: Download complete [2020-12-07T06:22:39.465Z] 31603596830f: Verifying Checksum [2020-12-07T06:22:39.465Z] 31603596830f: Download complete [2020-12-07T06:22:39.727Z] ecc8261a40a4: Verifying Checksum [2020-12-07T06:22:39.727Z] ecc8261a40a4: Download complete [2020-12-07T06:22:39.727Z] 6ca5941a6612: Verifying Checksum [2020-12-07T06:22:39.727Z] 6ca5941a6612: Download complete [2020-12-07T06:22:39.727Z] 31603596830f: Pull complete [2020-12-07T06:22:39.992Z] 2a8b12db71e7: Pull complete [2020-12-07T06:22:40.578Z] 6ca5941a6612: Pull complete [2020-12-07T06:22:41.525Z] ecc8261a40a4: Pull complete [2020-12-07T06:22:41.525Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T06:22:41.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:22:41.525Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T06:22:41.650Z] prd-centos7-docker-4c-2g-14788 does not seem to be running inside a container [2020-12-07T06:22:41.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-190 -v /w/workspace/gexfoundry_device-mqtt-go_PR-190:/w/workspace/gexfoundry_device-mqtt-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-190@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-12-07T06:22:43.207Z] $ docker top 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T06:22:43.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T06:22:43.695Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T06:22:43.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T06:22:43.911Z] $ docker exec 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 ssh-agent [2020-12-07T06:22:44.077Z] SSH_AUTH_SOCK=/tmp/ssh-gbweMet9uRPy/agent.12 [2020-12-07T06:22:44.077Z] SSH_AGENT_PID=17 [2020-12-07T06:22:44.090Z] Running ssh-add (command line suppressed) [2020-12-07T06:22:44.216Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_3076467699080172286.key (/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_3076467699080172286.key) [2020-12-07T06:22:44.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T06:22:44.645Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T06:22:44.678Z] $ docker exec --env ******** --env ******** 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 ssh-agent -k [2020-12-07T06:22:44.785Z] unset SSH_AUTH_SOCK; [2020-12-07T06:22:44.785Z] unset SSH_AGENT_PID; [2020-12-07T06:22:44.785Z] echo Agent pid 17 killed; [2020-12-07T06:22:44.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T06:22:45.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T06:22:45.035Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T06:22:45.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T06:22:45.213Z] $ docker exec 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 ssh-agent [2020-12-07T06:22:45.368Z] SSH_AUTH_SOCK=/tmp/ssh-W6RYjTdxvKTx/agent.47 [2020-12-07T06:22:45.368Z] SSH_AGENT_PID=53 [2020-12-07T06:22:45.375Z] Running ssh-add (command line suppressed) [2020-12-07T06:22:45.488Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_5409759505863913698.key (/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/private_key_5409759505863913698.key) [2020-12-07T06:22:45.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T06:22:45.938Z] + git semver init [2020-12-07T06:22:45.938Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T06:22:45.938Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-190/.git [2020-12-07T06:22:45.938Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-190 [2020-12-07T06:22:45.938Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T06:22:45.938Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T06:22:45.938Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T06:22:45.938Z] # $SEMVER_BRANCH = PR-190 [2020-12-07T06:22:45.938Z] # $SEMVER_TEMP = /tmp/semver-801579599 [2020-12-07T06:22:45.938Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-07T06:22:46.516Z] # '/tmp/semver-801579599' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-190/.semver' [2020-12-07T06:22:46.516Z] # -> Force: false [2020-12-07T06:22:46.516Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-190/.semver [Pipeline] } [2020-12-07T06:22:46.542Z] $ docker exec --env ******** --env ******** 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 ssh-agent -k [2020-12-07T06:22:46.668Z] unset SSH_AUTH_SOCK; [2020-12-07T06:22:46.669Z] unset SSH_AGENT_PID; [2020-12-07T06:22:46.669Z] echo Agent pid 53 killed; [2020-12-07T06:22:46.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T06:22:47.287Z] + git semver [Pipeline] } [2020-12-07T06:22:47.318Z] $ docker stop --time=1 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 [2020-12-07T06:22:48.663Z] $ docker rm -f 782dac444b8113611a593e58cf70fc4a0fd85d837b22bfe9148c039d489b8b88 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T06:22:49.212Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T06:22:49.691Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T06:22:49.714Z] [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-12-07T06:23:05.597Z] Still waiting to schedule task [2020-12-07T06:23:05.597Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-07T06:23:05.624Z] Still waiting to schedule task [2020-12-07T06:23:05.624Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T06:24:18.024Z] Running on prd-centos7-docker-4c-2g-14790 in /w/workspace/gexfoundry_device-mqtt-go_PR-190 [Pipeline] { [Pipeline] ws [2020-12-07T06:24:18.144Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-07T06:24:20.640Z] using credential edgex-jenkins-ssh [2020-12-07T06:24:20.732Z] Cloning the remote Git repository [2020-12-07T06:24:20.578Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T06:24:20.648Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-07T06:24:20.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T06:24:20.710Z] > git --version # timeout=10 [2020-12-07T06:24:20.720Z] > git --version # 'git version 2.24.3' [2020-12-07T06:24:20.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:24:20.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:24:21.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T06:24:21.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:24:21.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T06:24:21.938Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 6845dc53671c9040b867967a9a77166da238528c [2020-12-07T06:24:22.018Z] Merge succeeded, producing 6845dc53671c9040b867967a9a77166da238528c [2020-12-07T06:24:22.018Z] Checking out Revision 6845dc53671c9040b867967a9a77166da238528c (PR-190) [2020-12-07T06:24:21.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T06:24:21.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:24:21.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T06:24:21.865Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:24:21.872Z] > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [2020-12-07T06:24:21.908Z] > git remote # timeout=10 [2020-12-07T06:24:21.913Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T06:24:21.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:24:21.925Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-12-07T06:24:21.936Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T06:24:21.947Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:24:21.951Z] > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [2020-12-07T06:24:25.584Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-07T06:24:25.611Z] > git --version # timeout=10 [2020-12-07T06:24:25.618Z] > git --version # 'git version 2.24.3' [2020-12-07T06:24:25.626Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T06:24:27.172Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:24:27.522Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:24:27.843Z] + sudo service docker restart [2020-12-07T06:24:27.843Z] + true [2020-12-07T06:24:27.843Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:24:28.924Z] provisioning config files... [2020-12-07T06:24:28.955Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7397195949061780222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:24:29.390Z] ---> docker-login.sh [2020-12-07T06:24:29.390Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:24:29.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:24:29.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:24:29.651Z] Configure a credential helper to remove this warning. See [2020-12-07T06:24:29.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:24:29.651Z] [2020-12-07T06:24:29.651Z] Login Succeeded [2020-12-07T06:24:29.651Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:24:29.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:24:29.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:24:29.913Z] Configure a credential helper to remove this warning. See [2020-12-07T06:24:29.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:24:29.913Z] [2020-12-07T06:24:29.913Z] Login Succeeded [2020-12-07T06:24:29.913Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:24:30.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:24:30.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:24:30.177Z] Configure a credential helper to remove this warning. See [2020-12-07T06:24:30.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:24:30.177Z] [2020-12-07T06:24:30.177Z] Login Succeeded [2020-12-07T06:24:30.177Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:24:30.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:24:30.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:24:30.177Z] Configure a credential helper to remove this warning. See [2020-12-07T06:24:30.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:24:30.177Z] [2020-12-07T06:24:30.177Z] Login Succeeded [2020-12-07T06:24:30.177Z] docker.io [2020-12-07T06:24:30.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:24:30.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:24:30.702Z] Configure a credential helper to remove this warning. See [2020-12-07T06:24:30.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:24:30.702Z] [2020-12-07T06:24:30.702Z] Login Succeeded [2020-12-07T06:24:30.702Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:24:30.727Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T06:24:31.313Z] ========================================================= [2020-12-07T06:24:31.313Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T06:24:31.313Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:24:31.704Z] + 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-12-07T06:24:31.704Z] Sending build context to Docker daemon 472.1kB [2020-12-07T06:24:31.704Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T06:24:31.704Z] Step 2/8 : FROM ${BASE} [2020-12-07T06:24:31.968Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T06:24:31.968Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T06:24:31.968Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T06:24:31.968Z] de9db76c5a1d: Pulling fs layer [2020-12-07T06:24:31.968Z] bca2f99d35d6: Pulling fs layer [2020-12-07T06:24:31.968Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T06:24:31.968Z] 7c6f9722023f: Pulling fs layer [2020-12-07T06:24:31.968Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T06:24:31.968Z] 93359f2a8cfa: Waiting [2020-12-07T06:24:31.968Z] 7c6f9722023f: Waiting [2020-12-07T06:24:31.968Z] a35cf1a2eb13: Waiting [2020-12-07T06:24:31.968Z] bca2f99d35d6: Waiting [2020-12-07T06:24:31.968Z] de9db76c5a1d: Verifying Checksum [2020-12-07T06:24:31.968Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T06:24:31.968Z] 0ef7d3d256c8: Download complete [2020-12-07T06:24:31.968Z] 93359f2a8cfa: Download complete [2020-12-07T06:24:31.968Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T06:24:31.968Z] 7c6f9722023f: Verifying Checksum [2020-12-07T06:24:31.968Z] 7c6f9722023f: Download complete [2020-12-07T06:24:32.233Z] 188c0c94c7c5: Pull complete [2020-12-07T06:24:32.496Z] 0ef7d3d256c8: Pull complete [2020-12-07T06:24:32.496Z] de9db76c5a1d: Pull complete [2020-12-07T06:24:33.908Z] a35cf1a2eb13: Download complete [2020-12-07T06:24:34.172Z] bca2f99d35d6: Verifying Checksum [2020-12-07T06:24:34.172Z] bca2f99d35d6: Download complete [2020-12-07T06:24:39.514Z] bca2f99d35d6: Pull complete [2020-12-07T06:24:39.514Z] 93359f2a8cfa: Pull complete [2020-12-07T06:24:39.780Z] 7c6f9722023f: Pull complete [2020-12-07T06:24:45.091Z] a35cf1a2eb13: Pull complete [2020-12-07T06:24:45.091Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T06:24:45.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T06:24:45.091Z] ---> a62c8e92a672 [2020-12-07T06:24:45.091Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-07T06:24:45.091Z] ---> Running in daffa42a57e8 [2020-12-07T06:24:45.091Z] Removing intermediate container daffa42a57e8 [2020-12-07T06:24:45.091Z] ---> 984b25b93b61 [2020-12-07T06:24:45.091Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T06:24:45.354Z] ---> Running in 5e444150fbda [2020-12-07T06:24:46.302Z] Removing intermediate container 5e444150fbda [2020-12-07T06:24:46.302Z] ---> ee1aad9bb21d [2020-12-07T06:24:46.302Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-07T06:24:46.302Z] ---> Running in 7b09a50e85e5 [2020-12-07T06:24:47.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T06:24:47.824Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T06:24:48.398Z] (1/14) Installing libmagic (5.38-r0) [2020-12-07T06:24:48.972Z] (2/14) Installing file (5.38-r0) [2020-12-07T06:24:49.235Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-07T06:24:49.235Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-07T06:24:53.454Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-07T06:24:53.454Z] (6/14) Installing patch (2.7.6-r6) [2020-12-07T06:24:53.454Z] (7/14) Installing build-base (0.5-r2) [2020-12-07T06:24:53.454Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-07T06:24:53.454Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-07T06:24:53.454Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-07T06:24:54.030Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-07T06:24:54.030Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-07T06:24:54.030Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-07T06:24:54.293Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-07T06:24:54.293Z] Executing busybox-1.31.1-r19.trigger [2020-12-07T06:24:54.293Z] OK: 237 MiB in 53 packages [2020-12-07T06:24:57.619Z] Removing intermediate container 7b09a50e85e5 [2020-12-07T06:24:57.619Z] ---> 4b481831dc19 [2020-12-07T06:24:57.619Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-07T06:24:57.619Z] ---> Running in 5673fcfbc1c6 [2020-12-07T06:24:57.619Z] Removing intermediate container 5673fcfbc1c6 [2020-12-07T06:24:57.619Z] ---> 7775f7a201f0 [2020-12-07T06:24:57.619Z] Step 7/8 : COPY . . [2020-12-07T06:24:58.194Z] ---> 4c807b7eaea3 [2020-12-07T06:24:58.194Z] Step 8/8 : RUN go mod download [2020-12-07T06:24:58.194Z] ---> Running in 749a4c6723bc [2020-12-07T06:25:20.238Z] Removing intermediate container 749a4c6723bc [2020-12-07T06:25:20.238Z] ---> 8683a1e6cb0b [2020-12-07T06:25:20.238Z] Successfully built 8683a1e6cb0b [2020-12-07T06:25:20.238Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:25:20.586Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T06:25:20.586Z] . [Pipeline] withDockerContainer [2020-12-07T06:25:20.723Z] prd-centos7-docker-4c-2g-14790 does not seem to be running inside a container [2020-12-07T06:25:20.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-07T06:25:21.544Z] $ docker top 4975ec4c3462d874afdcec2e0ffa203dbdb59257cdcac2c3a7a6a5739c104404 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:25:22.089Z] + go version [2020-12-07T06:25:22.089Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T06:25:22.116Z] $ docker stop --time=1 4975ec4c3462d874afdcec2e0ffa203dbdb59257cdcac2c3a7a6a5739c104404 [2020-12-07T06:25:23.483Z] $ docker rm -f 4975ec4c3462d874afdcec2e0ffa203dbdb59257cdcac2c3a7a6a5739c104404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:25:24.665Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T06:25:24.665Z] . [Pipeline] withDockerContainer [2020-12-07T06:25:24.795Z] prd-centos7-docker-4c-2g-14790 does not seem to be running inside a container [2020-12-07T06:25:24.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-07T06:25:25.494Z] $ docker top f5bcda2d2464219df2e5fcf2444d1ea7fc7ec847e2cd5b7c6740110f2d143e31 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:25:26.056Z] + make test [2020-12-07T06:25:26.056Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T06:25:27.018Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-07T06:25:35.287Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T06:25:35.287Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T06:25:35.287Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T06:25:38.650Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2020-12-07T06:25:38.650Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2020-12-07T06:25:38.696Z] $ docker stop --time=1 f5bcda2d2464219df2e5fcf2444d1ea7fc7ec847e2cd5b7c6740110f2d143e31 [2020-12-07T06:25:41.836Z] $ docker rm -f f5bcda2d2464219df2e5fcf2444d1ea7fc7ec847e2cd5b7c6740110f2d143e31 [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] } [2020-12-07T06:25:44.523Z] Failed in branch amd64 [2020-12-07T06:26:37.452Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14792 in /w/workspace/gexfoundry_device-mqtt-go_PR-190 [Pipeline] { [Pipeline] ws [2020-12-07T06:26:37.551Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-07T06:26:42.475Z] using credential edgex-jenkins-ssh [2020-12-07T06:26:42.538Z] Cloning the remote Git repository [2020-12-07T06:26:42.595Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T06:26:42.717Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-07T06:26:42.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T06:26:42.810Z] > git --version # timeout=10 [2020-12-07T06:26:42.831Z] > git --version # 'git version 2.17.1' [2020-12-07T06:26:42.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:26:42.899Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:26:43.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T06:26:43.691Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:26:43.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T06:26:43.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T06:26:43.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:26:43.782Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T06:26:44.240Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 6845dc53671c9040b867967a9a77166da238528c [2020-12-07T06:26:44.662Z] Merge succeeded, producing 6845dc53671c9040b867967a9a77166da238528c [2020-12-07T06:26:44.662Z] Checking out Revision 6845dc53671c9040b867967a9a77166da238528c (PR-190) [2020-12-07T06:26:44.266Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:26:44.283Z] > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [2020-12-07T06:26:44.456Z] > git remote # timeout=10 [2020-12-07T06:26:44.512Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T06:26:44.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:26:44.580Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-12-07T06:26:44.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T06:26:44.671Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:26:44.687Z] > git checkout -f 6845dc53671c9040b867967a9a77166da238528c # timeout=10 [2020-12-07T06:26:48.957Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-07T06:26:49.015Z] > git --version # timeout=10 [2020-12-07T06:26:49.024Z] > git --version # 'git version 2.17.1' [2020-12-07T06:26:49.041Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T06:26:50.773Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:26:51.198Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:26:51.556Z] + sudo service docker restart [2020-12-07T06:26:51.556Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:26:54.331Z] provisioning config files... [2020-12-07T06:26:54.372Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4860656063282076543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:26:54.826Z] ---> docker-login.sh [2020-12-07T06:26:54.826Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:26:55.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:26:56.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:26:56.017Z] Configure a credential helper to remove this warning. See [2020-12-07T06:26:56.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:26:56.017Z] [2020-12-07T06:26:56.017Z] Login Succeeded [2020-12-07T06:26:56.017Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:26:56.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:26:56.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:26:56.567Z] Configure a credential helper to remove this warning. See [2020-12-07T06:26:56.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:26:56.567Z] [2020-12-07T06:26:56.567Z] Login Succeeded [2020-12-07T06:26:56.567Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:26:56.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:26:57.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:26:57.115Z] Configure a credential helper to remove this warning. See [2020-12-07T06:26:57.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:26:57.115Z] [2020-12-07T06:26:57.115Z] Login Succeeded [2020-12-07T06:26:57.115Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:26:57.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:26:57.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:26:57.389Z] Configure a credential helper to remove this warning. See [2020-12-07T06:26:57.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:26:57.389Z] [2020-12-07T06:26:57.389Z] Login Succeeded [2020-12-07T06:26:57.389Z] docker.io [2020-12-07T06:26:57.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:26:58.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:26:58.261Z] Configure a credential helper to remove this warning. See [2020-12-07T06:26:58.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:26:58.261Z] [2020-12-07T06:26:58.261Z] Login Succeeded [2020-12-07T06:26:58.261Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:26:58.294Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T06:26:58.820Z] ========================================================= [2020-12-07T06:26:58.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T06:26:58.820Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:26:59.244Z] + 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-12-07T06:26:59.519Z] Sending build context to Docker daemon 471kB [2020-12-07T06:26:59.519Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T06:26:59.519Z] Step 2/8 : FROM ${BASE} [2020-12-07T06:26:59.797Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T06:26:59.797Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T06:26:59.797Z] a4357932f1b6: Pulling fs layer [2020-12-07T06:26:59.797Z] 18c013af1878: Pulling fs layer [2020-12-07T06:26:59.797Z] 00ac8860ef70: Pulling fs layer [2020-12-07T06:26:59.797Z] 63d7cb157983: Pulling fs layer [2020-12-07T06:26:59.797Z] b116817d02f9: Pulling fs layer [2020-12-07T06:26:59.797Z] 745a02a5169b: Pulling fs layer [2020-12-07T06:26:59.797Z] 00ac8860ef70: Waiting [2020-12-07T06:26:59.797Z] b116817d02f9: Waiting [2020-12-07T06:26:59.797Z] 745a02a5169b: Waiting [2020-12-07T06:26:59.797Z] 63d7cb157983: Waiting [2020-12-07T06:26:59.797Z] a4357932f1b6: Verifying Checksum [2020-12-07T06:26:59.797Z] a4357932f1b6: Download complete [2020-12-07T06:26:59.797Z] 18c013af1878: Verifying Checksum [2020-12-07T06:26:59.797Z] 18c013af1878: Download complete [2020-12-07T06:26:59.797Z] 63d7cb157983: Verifying Checksum [2020-12-07T06:26:59.797Z] 63d7cb157983: Download complete [2020-12-07T06:26:59.797Z] b116817d02f9: Verifying Checksum [2020-12-07T06:26:59.797Z] b116817d02f9: Download complete [2020-12-07T06:26:59.797Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T06:26:59.797Z] 5f621e34cdf4: Download complete [2020-12-07T06:27:00.790Z] 5f621e34cdf4: Pull complete [2020-12-07T06:27:01.394Z] a4357932f1b6: Pull complete [2020-12-07T06:27:01.672Z] 18c013af1878: Pull complete [2020-12-07T06:27:01.672Z] 745a02a5169b: Verifying Checksum [2020-12-07T06:27:01.672Z] 745a02a5169b: Download complete [2020-12-07T06:27:03.659Z] 00ac8860ef70: Download complete [2020-12-07T06:27:13.836Z] 00ac8860ef70: Pull complete [2020-12-07T06:27:14.110Z] 63d7cb157983: Pull complete [2020-12-07T06:27:14.384Z] b116817d02f9: Pull complete [2020-12-07T06:27:17.777Z] 745a02a5169b: Pull complete [2020-12-07T06:27:17.777Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T06:27:17.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T06:27:17.777Z] ---> b7e6874047d6 [2020-12-07T06:27:17.777Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-07T06:27:21.159Z] ---> Running in c89171d3caf1 [2020-12-07T06:27:21.159Z] Removing intermediate container c89171d3caf1 [2020-12-07T06:27:21.159Z] ---> 4ed5a8c164c4 [2020-12-07T06:27:21.159Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T06:27:21.437Z] ---> Running in 322b083a18eb [2020-12-07T06:27:24.088Z] Removing intermediate container 322b083a18eb [2020-12-07T06:27:24.088Z] ---> f7766acb70d2 [2020-12-07T06:27:24.088Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-07T06:27:24.088Z] ---> Running in b9a800375ce6 [2020-12-07T06:27:25.077Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T06:27:25.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T06:27:26.266Z] (1/14) Installing libmagic (5.38-r0) [2020-12-07T06:27:26.266Z] (2/14) Installing file (5.38-r0) [2020-12-07T06:27:26.266Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-07T06:27:26.538Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-07T06:27:29.150Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-07T06:27:29.150Z] (6/14) Installing patch (2.7.6-r6) [2020-12-07T06:27:29.150Z] (7/14) Installing build-base (0.5-r2) [2020-12-07T06:27:29.150Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-07T06:27:29.150Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-07T06:27:29.150Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-07T06:27:29.741Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-07T06:27:29.741Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-07T06:27:30.015Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-07T06:27:30.015Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-07T06:27:30.016Z] Executing busybox-1.31.1-r19.trigger [2020-12-07T06:27:30.016Z] OK: 221 MiB in 53 packages [2020-12-07T06:27:34.330Z] Removing intermediate container b9a800375ce6 [2020-12-07T06:27:34.330Z] ---> 0900d6067dcb [2020-12-07T06:27:34.330Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-07T06:27:34.330Z] ---> Running in abd571aa6132 [2020-12-07T06:27:34.924Z] Removing intermediate container abd571aa6132 [2020-12-07T06:27:34.924Z] ---> daa8505841f8 [2020-12-07T06:27:34.924Z] Step 7/8 : COPY . . [2020-12-07T06:27:35.907Z] ---> 0a3fe5d08f7e [2020-12-07T06:27:35.907Z] Step 8/8 : RUN go mod download [2020-12-07T06:27:35.907Z] ---> Running in 8d078bc1f581 [2020-12-07T06:27:58.092Z] Removing intermediate container 8d078bc1f581 [2020-12-07T06:27:58.092Z] ---> c45e783994cb [2020-12-07T06:27:58.092Z] Successfully built c45e783994cb [2020-12-07T06:27:58.092Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:27:58.504Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T06:27:58.504Z] . [Pipeline] withDockerContainer [2020-12-07T06:27:58.783Z] prd-ubuntu18.04-docker-arm64-4c-16g-14792 does not seem to be running inside a container [2020-12-07T06:27:58.874Z] $ 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-arm64 cat [2020-12-07T06:28:00.332Z] $ docker top 3a2c1be894c64865f307decb960cd4ae7dfcc8ae3fd3ce4ccb2ee4cdfb6016d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:28:01.459Z] + go version [2020-12-07T06:28:01.459Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T06:28:01.500Z] $ docker stop --time=1 3a2c1be894c64865f307decb960cd4ae7dfcc8ae3fd3ce4ccb2ee4cdfb6016d4 [2020-12-07T06:28:03.418Z] $ docker rm -f 3a2c1be894c64865f307decb960cd4ae7dfcc8ae3fd3ce4ccb2ee4cdfb6016d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:28:04.798Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T06:28:04.798Z] . [Pipeline] withDockerContainer [2020-12-07T06:28:05.059Z] prd-ubuntu18.04-docker-arm64-4c-16g-14792 does not seem to be running inside a container [2020-12-07T06:28:05.162Z] $ 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-arm64 cat [2020-12-07T06:28:06.625Z] $ docker top 8475ef6af07bb984717311c53ed850665640beb1d566b79efd58b366e30c95bf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:28:07.851Z] + make test [2020-12-07T06:28:07.851Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T06:28:08.883Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-07T06:28:35.882Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T06:28:35.882Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-07T06:28:35.882Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-07T06:28:42.703Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2020-12-07T06:28:42.976Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2020-12-07T06:28:43.039Z] $ docker stop --time=1 8475ef6af07bb984717311c53ed850665640beb1d566b79efd58b366e30c95bf [2020-12-07T06:28:45.360Z] $ docker rm -f 8475ef6af07bb984717311c53ed850665640beb1d566b79efd58b366e30c95bf [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] } [2020-12-07T06:28:48.011Z] 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 [2020-12-07T06:28:52.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:28:53.270Z] ---> package-listing.sh [2020-12-07T06:28:53.270Z] ++ facter osfamily [2020-12-07T06:28:53.270Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T06:28:53.270Z] + OS_FAMILY=redhat [2020-12-07T06:28:53.270Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-190 [2020-12-07T06:28:53.270Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T06:28:53.270Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T06:28:53.270Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T06:28:53.270Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T06:28:53.270Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-190 ']' [2020-12-07T06:28:53.270Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T06:28:53.270Z] + case "${OS_FAMILY}" in [2020-12-07T06:28:53.270Z] + rpm -qa [2020-12-07T06:28:53.270Z] + sort [2020-12-07T06:28:58.607Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T06:28:58.607Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T06:28:58.607Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T06:28:58.607Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-190 ']' [2020-12-07T06:28:58.607Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-190/archives/ [2020-12-07T06:28:58.607Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-190/archives/ [Pipeline] echo [2020-12-07T06:28:58.641Z] 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T06:28:58.962Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:28:59.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:28:59.292Z] [2020-12-07T06:28:59.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:28:59.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:28:59.696Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T06:28:59.696Z] df20fa9351a1: Pulling fs layer [2020-12-07T06:28:59.696Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T06:28:59.696Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T06:28:59.696Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T06:28:59.696Z] 93b61091891f: Pulling fs layer [2020-12-07T06:28:59.696Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T06:28:59.696Z] 5e14af77c1be: Pulling fs layer [2020-12-07T06:28:59.696Z] 01666e4c0597: Pulling fs layer [2020-12-07T06:28:59.696Z] aa168da1d23b: Pulling fs layer [2020-12-07T06:28:59.696Z] 93b9cdb0e59b: Waiting [2020-12-07T06:28:59.696Z] 5e14af77c1be: Waiting [2020-12-07T06:28:59.696Z] 93b61091891f: Waiting [2020-12-07T06:28:59.696Z] 01666e4c0597: Waiting [2020-12-07T06:28:59.696Z] aa168da1d23b: Waiting [2020-12-07T06:28:59.696Z] 46f8f816bc3b: Waiting [2020-12-07T06:28:59.696Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T06:28:59.696Z] 36b3adc4ff6f: Download complete [2020-12-07T06:28:59.696Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T06:28:59.696Z] 46f8f816bc3b: Download complete [2020-12-07T06:28:59.960Z] df20fa9351a1: Verifying Checksum [2020-12-07T06:28:59.960Z] df20fa9351a1: Download complete [2020-12-07T06:28:59.960Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T06:28:59.960Z] 93b9cdb0e59b: Download complete [2020-12-07T06:28:59.960Z] 93b61091891f: Verifying Checksum [2020-12-07T06:28:59.960Z] 93b61091891f: Download complete [2020-12-07T06:28:59.960Z] 5e14af77c1be: Verifying Checksum [2020-12-07T06:28:59.960Z] 5e14af77c1be: Download complete [2020-12-07T06:28:59.960Z] 01666e4c0597: Verifying Checksum [2020-12-07T06:28:59.960Z] 01666e4c0597: Download complete [2020-12-07T06:28:59.960Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T06:28:59.960Z] 8ad3a11d3b57: Download complete [2020-12-07T06:29:00.229Z] df20fa9351a1: Pull complete [2020-12-07T06:29:00.229Z] 36b3adc4ff6f: Pull complete [2020-12-07T06:29:01.182Z] 8ad3a11d3b57: Pull complete [2020-12-07T06:29:01.182Z] 46f8f816bc3b: Pull complete [2020-12-07T06:29:01.770Z] 93b61091891f: Pull complete [2020-12-07T06:29:02.033Z] aa168da1d23b: Verifying Checksum [2020-12-07T06:29:02.033Z] aa168da1d23b: Download complete [2020-12-07T06:29:02.033Z] 93b9cdb0e59b: Pull complete [2020-12-07T06:29:02.033Z] 5e14af77c1be: Pull complete [2020-12-07T06:29:02.306Z] 01666e4c0597: Pull complete [2020-12-07T06:29:08.926Z] aa168da1d23b: Pull complete [2020-12-07T06:29:08.926Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T06:29:08.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:29:08.926Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T06:29:09.104Z] prd-centos7-docker-4c-2g-14788 does not seem to be running inside a container [2020-12-07T06:29:09.145Z] $ 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-190/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-190 -v /w/workspace/gexfoundry_device-mqtt-go_PR-190:/w/workspace/gexfoundry_device-mqtt-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-190@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-12-07T06:29:13.104Z] $ docker top 7941fb0b04d9faa30b3c64c6435e866777920f5530570495f70a1e398c48c63a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:29:13.690Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T06:29:14.012Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T06:29:14.335Z] + ls /var/log/sa-host [2020-12-07T06:29:14.335Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T06:29:14.335Z] file_magic: OK [2020-12-07T06:29:14.335Z] HZ: Using current value: 100 [2020-12-07T06:29:14.335Z] file_header: OK [2020-12-07T06:29:14.335Z] 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-12-07T06:29:14.335Z] Statistics: [2020-12-07T06:29:14.335Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T06:29:14.335Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T06:29:14.335Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T06:29:14.335Z] file_magic: OK [2020-12-07T06:29:14.335Z] HZ: Using current value: 100 [2020-12-07T06:29:14.335Z] file_header: OK [2020-12-07T06:29:14.335Z] 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-12-07T06:29:14.335Z] Statistics: [2020-12-07T06:29:14.336Z] Hnuu...uuuununununu... [2020-12-07T06:29:14.336Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T06:29:15.045Z] provisioning config files... [2020-12-07T06:29:15.063Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-190@tmp/config7150367331546074003tmp [Pipeline] { [Pipeline] echo [2020-12-07T06:29:15.194Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:29:15.527Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T06:29:15.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T06:29:15.697Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:29:16.036Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T06:29:16.068Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:29:16.415Z] ---> sudo-logs.sh [2020-12-07T06:29:16.415Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T06:29:16.446Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:29:16.792Z] ---> job-cost.sh [2020-12-07T06:29:16.792Z] lf-activate-venv: SKIPPING [2020-12-07T06:29:16.792Z] INFO: No Stack... [2020-12-07T06:29:17.744Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T06:29:18.012Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T06:29:18.050Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:29:18.420Z] ---> logs-deploy.sh [2020-12-07T06:29:18.420Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-190/1 [2020-12-07T06:29:18.420Z] INFO: archiving workspace using pattern(s): [2020-12-07T06:29:20.341Z] Archives upload complete. [2020-12-07T06:29:20.341Z] INFO: archiving logs to Nexus