Pull request #179 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 07355228612828934d7917b8177258c9093cd58a+06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (377c94db764187d0181052420581baa7aa07c77e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-12254’ Running on prd-centos7-docker-4c-2g-12257 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-179 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 07355228612828934d7917b8177258c9093cd58a Merge succeeded, producing 07355228612828934d7917b8177258c9093cd58a Checking out Revision 07355228612828934d7917b8177258c9093cd58a (PR-179) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" First time build. Skipping changelog. > git rev-list --no-walk ced8a9762b11cd855a349cb69fd00ee291895ad5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T16:20:50.305Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T16:20:50.666Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T16:20:50.759Z] ========================================================= [2020-11-16T16:20:50.759Z] EdgeX Global Pipelines Version Info [2020-11-16T16:20:50.759Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:20:52.695Z] ------------------- [2020-11-16T16:20:52.695Z] stable info: [2020-11-16T16:20:52.695Z] ------------------- [2020-11-16T16:20:52.695Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:20:52.695Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T16:20:52.695Z] Message: update stable to v1.0.162 [2020-11-16T16:20:53.283Z] ------------------- [2020-11-16T16:20:53.283Z] experimental info: [2020-11-16T16:20:53.283Z] ------------------- [2020-11-16T16:20:53.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:20:53.283Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T16:20:53.283Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T16:20:53.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-11-16T16:20:53.743Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-11-16T16:20:53.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T16:20:53.933Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T16:20:54.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T16:20:54.110Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T16:20:54.252Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T16:20:54.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T16:20:54.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T16:20:54.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T16:20:54.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T16:20:54.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-11-16T16:20:54.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T16:20:54.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T16:20:55.087Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:20:55.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:20:55.291Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:20:55.394Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:20:55.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T16:20:55.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-16T16:20:55.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T16:20:55.740Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T16:20:55.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T16:20:55.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T16:20:56.002Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T16:20:56.265Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T16:20:56.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2020-11-16T16:20:56.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2020-11-16T16:20:56.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2020-11-16T16:20:56.633Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07355228612828934d7917b8177258c9093cd58a [Pipeline] echo [2020-11-16T16:20:56.731Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0735522 [Pipeline] echo [2020-11-16T16:20:56.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:20:57.030Z] provisioning config files... [2020-11-16T16:20:57.058Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config6605479046988435863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:20:57.435Z] ---> docker-login.sh [2020-11-16T16:20:57.435Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:20:57.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:20:57.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:20:57.703Z] Configure a credential helper to remove this warning. See [2020-11-16T16:20:57.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:20:57.703Z] [2020-11-16T16:20:57.703Z] Login Succeeded [2020-11-16T16:20:57.703Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:20:57.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:20:57.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:20:57.970Z] Configure a credential helper to remove this warning. See [2020-11-16T16:20:57.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:20:57.970Z] [2020-11-16T16:20:57.970Z] Login Succeeded [2020-11-16T16:20:57.970Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:20:58.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:20:58.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:20:58.238Z] Configure a credential helper to remove this warning. See [2020-11-16T16:20:58.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:20:58.238Z] [2020-11-16T16:20:58.238Z] Login Succeeded [2020-11-16T16:20:58.238Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:20:58.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:20:58.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:20:58.238Z] Configure a credential helper to remove this warning. See [2020-11-16T16:20:58.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:20:58.238Z] [2020-11-16T16:20:58.238Z] Login Succeeded [2020-11-16T16:20:58.238Z] docker.io [2020-11-16T16:20:58.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:20:58.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:20:58.763Z] Configure a credential helper to remove this warning. See [2020-11-16T16:20:58.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:20:58.763Z] [2020-11-16T16:20:58.763Z] Login Succeeded [2020-11-16T16:20:58.763Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:20:58.773Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:20:59.522Z] + git log --format=format:%s -1 07355228612828934d7917b8177258c9093cd58a [Pipeline] echo [2020-11-16T16:20:59.588Z] GIT_COMMIT: 07355228612828934d7917b8177258c9093cd58a, Commit Message: Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 [Pipeline] echo [2020-11-16T16:20:59.634Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:21:00.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:21:00.230Z] [2020-11-16T16:21:00.230Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:21:00.595Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:21:00.595Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T16:21:00.595Z] 31603596830f: Pulling fs layer [2020-11-16T16:21:00.595Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T16:21:00.595Z] 6ca5941a6612: Pulling fs layer [2020-11-16T16:21:00.595Z] ecc8261a40a4: Pulling fs layer [2020-11-16T16:21:00.595Z] ecc8261a40a4: Waiting [2020-11-16T16:21:00.595Z] 2a8b12db71e7: Verifying Checksum [2020-11-16T16:21:00.595Z] 2a8b12db71e7: Download complete [2020-11-16T16:21:00.860Z] 31603596830f: Verifying Checksum [2020-11-16T16:21:00.860Z] 31603596830f: Download complete [2020-11-16T16:21:00.860Z] ecc8261a40a4: Verifying Checksum [2020-11-16T16:21:00.860Z] ecc8261a40a4: Download complete [2020-11-16T16:21:00.860Z] 6ca5941a6612: Verifying Checksum [2020-11-16T16:21:00.860Z] 6ca5941a6612: Download complete [2020-11-16T16:21:01.125Z] 31603596830f: Pull complete [2020-11-16T16:21:01.125Z] 2a8b12db71e7: Pull complete [2020-11-16T16:21:02.080Z] 6ca5941a6612: Pull complete [2020-11-16T16:21:02.344Z] ecc8261a40a4: Pull complete [2020-11-16T16:21:02.344Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T16:21:02.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:21:02.344Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T16:21:02.458Z] prd-centos7-docker-4c-2g-12257 does not seem to be running inside a container [2020-11-16T16:21:02.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:21:04.519Z] $ docker top 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:21:04.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:21:04.794Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:21:05.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:21:05.010Z] $ docker exec 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 ssh-agent [2020-11-16T16:21:05.196Z] SSH_AUTH_SOCK=/tmp/ssh-QrB5dEPat3io/agent.12 [2020-11-16T16:21:05.196Z] SSH_AGENT_PID=18 [2020-11-16T16:21:05.210Z] Running ssh-add (command line suppressed) [2020-11-16T16:21:05.341Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_2599734063298975662.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_2599734063298975662.key) [2020-11-16T16:21:05.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:21:05.794Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T16:21:05.818Z] $ docker exec --env ******** --env ******** 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 ssh-agent -k [2020-11-16T16:21:05.934Z] unset SSH_AUTH_SOCK; [2020-11-16T16:21:05.934Z] unset SSH_AGENT_PID; [2020-11-16T16:21:05.934Z] echo Agent pid 18 killed; [2020-11-16T16:21:05.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T16:21:06.155Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:21:06.155Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:21:06.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:21:06.332Z] $ docker exec 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 ssh-agent [2020-11-16T16:21:06.512Z] SSH_AUTH_SOCK=/tmp/ssh-2ps40P1HWIe7/agent.47 [2020-11-16T16:21:06.512Z] SSH_AGENT_PID=52 [2020-11-16T16:21:06.518Z] Running ssh-add (command line suppressed) [2020-11-16T16:21:06.676Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_861098206209164690.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_861098206209164690.key) [2020-11-16T16:21:06.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:21:07.113Z] + git semver init [2020-11-16T16:21:07.114Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:21:07.114Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git [2020-11-16T16:21:07.114Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 [2020-11-16T16:21:07.114Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:21:07.114Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:21:07.114Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:21:07.114Z] # $SEMVER_BRANCH = PR-179 [2020-11-16T16:21:07.114Z] # $SEMVER_TEMP = /tmp/semver-662907044 [2020-11-16T16:21:07.114Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-11-16T16:21:07.690Z] # '/tmp/semver-662907044' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' [2020-11-16T16:21:07.690Z] # -> Force: false [2020-11-16T16:21:07.690Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } [2020-11-16T16:21:07.705Z] $ docker exec --env ******** --env ******** 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 ssh-agent -k [2020-11-16T16:21:07.830Z] unset SSH_AUTH_SOCK; [2020-11-16T16:21:07.830Z] unset SSH_AGENT_PID; [2020-11-16T16:21:07.830Z] echo Agent pid 52 killed; [2020-11-16T16:21:07.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:21:08.342Z] + git semver [Pipeline] } [2020-11-16T16:21:08.361Z] $ docker stop --time=1 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 [2020-11-16T16:21:09.740Z] $ docker rm -f 60c511a650c95339d6d2d11da3696522e3d119effbb5ca851aff80dd25e62f63 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:21:10.202Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T16:21:10.731Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T16:21:10.734Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-16T16:21:26.344Z] Still waiting to schedule task [2020-11-16T16:21:26.344Z] ‘prd-centos7-docker-4c-2g-12255’ is offline; ‘prd-centos7-docker-4c-2g-12259’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-11-16T16:21:26.347Z] Still waiting to schedule task [2020-11-16T16:21:26.347Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-16T16:22:53.465Z] Running on prd-centos7-docker-4c-2g-12263 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws [2020-11-16T16:22:53.539Z] Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout [2020-11-16T16:22:56.416Z] using credential edgex-jenkins-ssh [2020-11-16T16:22:56.503Z] Cloning the remote Git repository [2020-11-16T16:22:56.538Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:22:56.609Z] > git init /w/workspace/device-mqtt-go/7 # timeout=10 [2020-11-16T16:22:56.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:22:56.674Z] > git --version # timeout=10 [2020-11-16T16:22:56.681Z] > git --version # 'git version 2.16.5' [2020-11-16T16:22:56.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:22:56.718Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:22:57.752Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 07355228612828934d7917b8177258c9093cd58a [2020-11-16T16:22:57.836Z] Merge succeeded, producing 07355228612828934d7917b8177258c9093cd58a [2020-11-16T16:22:57.837Z] Checking out Revision 07355228612828934d7917b8177258c9093cd58a (PR-179) [2020-11-16T16:22:57.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:22:57.317Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:22:57.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:22:57.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:22:57.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:22:57.348Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:22:57.765Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:22:57.771Z] > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 [2020-11-16T16:22:57.808Z] > git remote # timeout=10 [2020-11-16T16:22:57.814Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T16:22:57.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:22:57.824Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-16T16:22:57.834Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T16:22:57.845Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:22:57.848Z] > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 [2020-11-16T16:23:01.566Z] Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:23:02.288Z] provisioning config files... [2020-11-16T16:23:02.318Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config8389374260008635247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:23:03.016Z] ---> docker-login.sh [2020-11-16T16:23:03.016Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:23:03.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:03.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:03.280Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:03.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:03.280Z] [2020-11-16T16:23:03.280Z] Login Succeeded [2020-11-16T16:23:03.280Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:23:03.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:03.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:03.548Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:03.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:03.548Z] [2020-11-16T16:23:03.548Z] Login Succeeded [2020-11-16T16:23:03.548Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:23:03.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:03.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:03.812Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:03.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:03.812Z] [2020-11-16T16:23:03.812Z] Login Succeeded [2020-11-16T16:23:03.812Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:23:03.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:04.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:04.074Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:04.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:04.074Z] [2020-11-16T16:23:04.074Z] Login Succeeded [2020-11-16T16:23:04.074Z] docker.io [2020-11-16T16:23:04.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:23:04.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:23:04.337Z] Configure a credential helper to remove this warning. See [2020-11-16T16:23:04.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:23:04.337Z] [2020-11-16T16:23:04.337Z] Login Succeeded [2020-11-16T16:23:04.337Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:23:04.379Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:23:04.745Z] ========================================================= [2020-11-16T16:23:04.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T16:23:04.745Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:05.091Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-16T16:23:05.358Z] Sending build context to Docker daemon 463.4kB [2020-11-16T16:23:05.358Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T16:23:05.358Z] Step 2/8 : FROM ${BASE} [2020-11-16T16:23:05.358Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T16:23:05.358Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:23:05.358Z] ed8968b2872e: Pulling fs layer [2020-11-16T16:23:05.358Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T16:23:05.358Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T16:23:05.358Z] e73272ec9a57: Pulling fs layer [2020-11-16T16:23:05.358Z] 1e910a182e73: Pulling fs layer [2020-11-16T16:23:05.358Z] 4e634b169226: Pulling fs layer [2020-11-16T16:23:05.358Z] e73272ec9a57: Waiting [2020-11-16T16:23:05.358Z] 1e910a182e73: Waiting [2020-11-16T16:23:05.358Z] 4e634b169226: Waiting [2020-11-16T16:23:05.358Z] e871e8e8d7a9: Waiting [2020-11-16T16:23:05.358Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T16:23:05.358Z] a92cc7c5fd73: Download complete [2020-11-16T16:23:05.358Z] ed8968b2872e: Verifying Checksum [2020-11-16T16:23:05.358Z] ed8968b2872e: Download complete [2020-11-16T16:23:05.358Z] e73272ec9a57: Verifying Checksum [2020-11-16T16:23:05.358Z] e73272ec9a57: Download complete [2020-11-16T16:23:05.358Z] 1e910a182e73: Verifying Checksum [2020-11-16T16:23:05.358Z] 1e910a182e73: Download complete [2020-11-16T16:23:05.358Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:23:05.358Z] df20fa9351a1: Download complete [2020-11-16T16:23:05.621Z] df20fa9351a1: Pull complete [2020-11-16T16:23:05.884Z] ed8968b2872e: Pull complete [2020-11-16T16:23:05.884Z] a92cc7c5fd73: Pull complete [2020-11-16T16:23:07.847Z] 4e634b169226: Verifying Checksum [2020-11-16T16:23:07.847Z] 4e634b169226: Download complete [2020-11-16T16:23:08.116Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T16:23:08.116Z] e871e8e8d7a9: Download complete [2020-11-16T16:23:14.785Z] e871e8e8d7a9: Pull complete [2020-11-16T16:23:14.785Z] e73272ec9a57: Pull complete [2020-11-16T16:23:14.785Z] 1e910a182e73: Pull complete [2020-11-16T16:23:20.179Z] 4e634b169226: Pull complete [2020-11-16T16:23:20.179Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T16:23:20.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T16:23:20.179Z] ---> f7629b54cfaa [2020-11-16T16:23:20.179Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T16:23:20.179Z] ---> Running in 4fa3a566b54e [2020-11-16T16:23:20.457Z] Removing intermediate container 4fa3a566b54e [2020-11-16T16:23:20.457Z] ---> 4ebcf3f2dd6e [2020-11-16T16:23:20.457Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:23:20.457Z] ---> Running in 5fc66c142138 [2020-11-16T16:23:21.885Z] Removing intermediate container 5fc66c142138 [2020-11-16T16:23:21.885Z] ---> d218c251a35d [2020-11-16T16:23:21.886Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:23:21.886Z] ---> Running in ca2941d4d26d [2020-11-16T16:23:22.849Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:23:23.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:23:24.021Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T16:23:24.285Z] (2/14) Installing file (5.38-r0) [2020-11-16T16:23:24.285Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T16:23:24.285Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T16:23:28.539Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T16:23:28.539Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T16:23:28.539Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T16:23:28.539Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T16:23:28.539Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T16:23:28.539Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T16:23:28.539Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T16:23:28.539Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T16:23:28.801Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T16:23:28.801Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T16:23:28.801Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T16:23:28.801Z] OK: 237 MiB in 53 packages [2020-11-16T16:23:33.048Z] Removing intermediate container ca2941d4d26d [2020-11-16T16:23:33.048Z] ---> dd095ed67fc5 [2020-11-16T16:23:33.048Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-16T16:23:33.048Z] ---> Running in dbb3f0fa7574 [2020-11-16T16:23:33.048Z] Removing intermediate container dbb3f0fa7574 [2020-11-16T16:23:33.048Z] ---> 3ae58d146196 [2020-11-16T16:23:33.048Z] Step 7/8 : COPY . . [2020-11-16T16:23:33.632Z] ---> 97c175e898d5 [2020-11-16T16:23:33.632Z] Step 8/8 : RUN go mod download [2020-11-16T16:23:33.632Z] ---> Running in 7d3a28189a31 [2020-11-16T16:23:55.754Z] Removing intermediate container 7d3a28189a31 [2020-11-16T16:23:55.754Z] ---> 79e693ca650d [2020-11-16T16:23:55.754Z] Successfully built 79e693ca650d [2020-11-16T16:23:55.754Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:56.092Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:23:56.092Z] . [Pipeline] withDockerContainer [2020-11-16T16:23:56.221Z] prd-centos7-docker-4c-2g-12263 does not seem to be running inside a container [2020-11-16T16:23:56.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-16T16:23:57.087Z] $ docker top fcc825fe1d106e1288ed16a62bd3510de420eccac2177fb6659ce466fa992f7f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:23:57.589Z] + go version [2020-11-16T16:23:57.590Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T16:23:57.609Z] $ docker stop --time=1 fcc825fe1d106e1288ed16a62bd3510de420eccac2177fb6659ce466fa992f7f [2020-11-16T16:23:58.942Z] $ docker rm -f fcc825fe1d106e1288ed16a62bd3510de420eccac2177fb6659ce466fa992f7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:59.960Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:23:59.960Z] . [Pipeline] withDockerContainer [2020-11-16T16:24:00.062Z] prd-centos7-docker-4c-2g-12263 does not seem to be running inside a container [2020-11-16T16:24:00.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-16T16:24:00.685Z] $ docker top d47786f1579c57d9608500d8b10b58ddb85cf8ed8c70ce04cc7ffcebfbf18537 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:24:01.179Z] + make test [2020-11-16T16:24:01.179Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:24:02.146Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-16T16:24:14.556Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-16T16:24:15.139Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2020-11-16T16:24:15.139Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-16T16:24:15.139Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:24:17.739Z] gofmt -l . [2020-11-16T16:24:17.739Z] ["`gofmt -l .`" = ""] [2020-11-16T16:24:17.739Z] ./bin/test-attribution-txt.sh [2020-11-16T16:24:18.317Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-11-16T16:24:18.317Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2020-11-16T16:24:18.342Z] $ docker stop --time=1 d47786f1579c57d9608500d8b10b58ddb85cf8ed8c70ce04cc7ffcebfbf18537 [2020-11-16T16:24:20.721Z] $ docker rm -f d47786f1579c57d9608500d8b10b58ddb85cf8ed8c70ce04cc7ffcebfbf18537 [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-11-16T16:24:22.375Z] Failed in branch amd64 [2020-11-16T16:24:22.636Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12265 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws [2020-11-16T16:24:22.688Z] Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout [2020-11-16T16:24:28.222Z] using credential edgex-jenkins-ssh [2020-11-16T16:24:28.292Z] Cloning the remote Git repository [2020-11-16T16:24:28.353Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:24:28.483Z] > git init /w/workspace/device-mqtt-go/7 # timeout=10 [2020-11-16T16:24:28.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:24:28.615Z] > git --version # timeout=10 [2020-11-16T16:24:28.640Z] > git --version # 'git version 2.17.1' [2020-11-16T16:24:28.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:24:28.741Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:24:30.157Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit 07355228612828934d7917b8177258c9093cd58a [2020-11-16T16:24:29.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:24:29.598Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:24:29.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:24:29.673Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:24:29.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:24:29.688Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:24:30.179Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:24:30.232Z] > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 [2020-11-16T16:24:30.351Z] > git remote # timeout=10 [2020-11-16T16:24:30.391Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T16:24:30.519Z] Merge succeeded, producing 07355228612828934d7917b8177258c9093cd58a [2020-11-16T16:24:30.520Z] Checking out Revision 07355228612828934d7917b8177258c9093cd58a (PR-179) [2020-11-16T16:24:30.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:24:30.473Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-16T16:24:30.500Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T16:24:30.524Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:24:30.539Z] > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 [2020-11-16T16:24:34.991Z] Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:24:35.655Z] provisioning config files... [2020-11-16T16:24:35.703Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config8912241407701554819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:24:36.658Z] ---> docker-login.sh [2020-11-16T16:24:36.658Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:24:37.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:37.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:37.862Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:37.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:37.862Z] [2020-11-16T16:24:37.862Z] Login Succeeded [2020-11-16T16:24:37.862Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:24:38.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:38.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:38.539Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:38.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:38.539Z] [2020-11-16T16:24:38.539Z] Login Succeeded [2020-11-16T16:24:38.539Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:24:38.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:39.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:39.093Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:39.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:39.093Z] [2020-11-16T16:24:39.093Z] Login Succeeded [2020-11-16T16:24:39.093Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:24:39.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:39.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:39.694Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:39.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:39.694Z] [2020-11-16T16:24:39.694Z] Login Succeeded [2020-11-16T16:24:39.694Z] docker.io [2020-11-16T16:24:40.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:40.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:40.574Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:40.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:40.574Z] [2020-11-16T16:24:40.574Z] Login Succeeded [2020-11-16T16:24:40.574Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:24:40.658Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:24:41.139Z] ========================================================= [2020-11-16T16:24:41.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T16:24:41.139Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:41.532Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-16T16:24:41.808Z] Sending build context to Docker daemon 463.4kB [2020-11-16T16:24:42.083Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T16:24:42.083Z] Step 2/8 : FROM ${BASE} [2020-11-16T16:24:42.083Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T16:24:42.083Z] b538f80385f9: Pulling fs layer [2020-11-16T16:24:42.083Z] 74f711af9a0d: Pulling fs layer [2020-11-16T16:24:42.083Z] 99f96fe45779: Pulling fs layer [2020-11-16T16:24:42.083Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T16:24:42.083Z] 45590311c82a: Pulling fs layer [2020-11-16T16:24:42.083Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T16:24:42.083Z] 209524e5b208: Pulling fs layer [2020-11-16T16:24:42.083Z] 8529a6b9a6be: Waiting [2020-11-16T16:24:42.083Z] 45590311c82a: Waiting [2020-11-16T16:24:42.083Z] 69ca0ff8b7b3: Waiting [2020-11-16T16:24:42.083Z] 209524e5b208: Waiting [2020-11-16T16:24:42.083Z] 99f96fe45779: Verifying Checksum [2020-11-16T16:24:42.083Z] 99f96fe45779: Download complete [2020-11-16T16:24:42.358Z] b538f80385f9: Verifying Checksum [2020-11-16T16:24:42.358Z] b538f80385f9: Download complete [2020-11-16T16:24:42.358Z] 45590311c82a: Verifying Checksum [2020-11-16T16:24:42.358Z] 45590311c82a: Download complete [2020-11-16T16:24:42.358Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T16:24:42.358Z] 69ca0ff8b7b3: Download complete [2020-11-16T16:24:42.358Z] 74f711af9a0d: Verifying Checksum [2020-11-16T16:24:42.358Z] 74f711af9a0d: Download complete [2020-11-16T16:24:42.960Z] b538f80385f9: Pull complete [2020-11-16T16:24:43.954Z] 74f711af9a0d: Pull complete [2020-11-16T16:24:44.243Z] 99f96fe45779: Pull complete [2020-11-16T16:24:44.857Z] 209524e5b208: Verifying Checksum [2020-11-16T16:24:44.857Z] 209524e5b208: Download complete [2020-11-16T16:24:45.455Z] 8529a6b9a6be: Verifying Checksum [2020-11-16T16:24:45.455Z] 8529a6b9a6be: Download complete [2020-11-16T16:24:55.683Z] 8529a6b9a6be: Pull complete [2020-11-16T16:24:55.683Z] 45590311c82a: Pull complete [2020-11-16T16:24:55.964Z] 69ca0ff8b7b3: Pull complete [2020-11-16T16:24:59.373Z] 209524e5b208: Pull complete [2020-11-16T16:24:59.373Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T16:24:59.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T16:24:59.373Z] ---> 5bddaf1c2fca [2020-11-16T16:24:59.373Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T16:25:02.787Z] ---> Running in 2faf77823c05 [2020-11-16T16:25:03.063Z] Removing intermediate container 2faf77823c05 [2020-11-16T16:25:03.063Z] ---> 077dc0c6e5dd [2020-11-16T16:25:03.063Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:25:03.063Z] ---> Running in 7b4df3410ba5 [2020-11-16T16:25:05.695Z] Removing intermediate container 7b4df3410ba5 [2020-11-16T16:25:05.695Z] ---> 9a3357a9b516 [2020-11-16T16:25:05.695Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:25:05.971Z] ---> Running in 80e8575649f1 [2020-11-16T16:25:07.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:25:08.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:25:08.607Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T16:25:08.878Z] (2/14) Installing file (5.38-r0) [2020-11-16T16:25:08.878Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T16:25:08.878Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T16:25:15.582Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T16:25:15.582Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T16:25:15.582Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T16:25:15.582Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T16:25:15.582Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T16:25:15.582Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T16:25:15.582Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T16:25:15.582Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T16:25:15.582Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T16:25:15.854Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T16:25:15.854Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T16:25:16.128Z] OK: 221 MiB in 53 packages [2020-11-16T16:25:20.453Z] Removing intermediate container 80e8575649f1 [2020-11-16T16:25:20.453Z] ---> 9b1b57af29e9 [2020-11-16T16:25:20.453Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-16T16:25:20.728Z] ---> Running in 09898bc27685 [2020-11-16T16:25:21.005Z] Removing intermediate container 09898bc27685 [2020-11-16T16:25:21.005Z] ---> f29be17355da [2020-11-16T16:25:21.005Z] Step 7/8 : COPY . . [2020-11-16T16:25:21.984Z] ---> 1e6b7c35415f [2020-11-16T16:25:21.984Z] Step 8/8 : RUN go mod download [2020-11-16T16:25:22.260Z] ---> Running in cdab03b0dec7 [2020-11-16T16:25:49.074Z] Removing intermediate container cdab03b0dec7 [2020-11-16T16:25:49.074Z] ---> 846d2b950d8c [2020-11-16T16:25:49.074Z] Successfully built 846d2b950d8c [2020-11-16T16:25:49.074Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:49.426Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:25:49.427Z] . [Pipeline] withDockerContainer [2020-11-16T16:25:49.686Z] prd-ubuntu18.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container [2020-11-16T16:25:49.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-16T16:25:51.620Z] $ docker top b6e5e2ca1b7b9dfd250159eef94ec584b130cb2bf4d767035027a91912a87735 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:25:52.997Z] + go version [2020-11-16T16:25:52.997Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T16:25:53.024Z] $ docker stop --time=1 b6e5e2ca1b7b9dfd250159eef94ec584b130cb2bf4d767035027a91912a87735 [2020-11-16T16:25:54.902Z] $ docker rm -f b6e5e2ca1b7b9dfd250159eef94ec584b130cb2bf4d767035027a91912a87735 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:56.108Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:25:56.108Z] . [Pipeline] withDockerContainer [2020-11-16T16:25:56.419Z] prd-ubuntu18.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container [2020-11-16T16:25:56.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-16T16:25:58.269Z] $ docker top 2451bfb96c9b3e38ee1b062ae8deef1f0e967d65244ad8c43c1290e3ae492512 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:25:59.647Z] + make test [2020-11-16T16:25:59.647Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:26:00.636Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-16T16:26:47.673Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-16T16:26:47.673Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.036s coverage: 28.3% of statements [2020-11-16T16:26:47.673Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-16T16:26:47.673Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:26:53.107Z] gofmt -l . [2020-11-16T16:26:53.107Z] ["`gofmt -l .`" = ""] [2020-11-16T16:26:53.107Z] ./bin/test-attribution-txt.sh [2020-11-16T16:26:53.707Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-11-16T16:26:53.707Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2020-11-16T16:26:53.736Z] $ docker stop --time=1 2451bfb96c9b3e38ee1b062ae8deef1f0e967d65244ad8c43c1290e3ae492512 [2020-11-16T16:26:55.982Z] $ docker rm -f 2451bfb96c9b3e38ee1b062ae8deef1f0e967d65244ad8c43c1290e3ae492512 [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-11-16T16:26:57.826Z] 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-11-16T16:27:00.836Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:01.413Z] ---> package-listing.sh [2020-11-16T16:27:01.413Z] ++ facter osfamily [2020-11-16T16:27:01.413Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T16:27:01.413Z] + OS_FAMILY=redhat [2020-11-16T16:27:01.413Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 [2020-11-16T16:27:01.413Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T16:27:01.413Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T16:27:01.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T16:27:01.413Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T16:27:01.413Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' [2020-11-16T16:27:01.413Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T16:27:01.413Z] + case "${OS_FAMILY}" in [2020-11-16T16:27:01.413Z] + rpm -qa [2020-11-16T16:27:01.413Z] + sort [2020-11-16T16:27:05.632Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T16:27:05.632Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T16:27:05.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T16:27:05.632Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' [2020-11-16T16:27:05.632Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [2020-11-16T16:27:05.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [Pipeline] echo [2020-11-16T16:27:05.646Z] 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-16T16:27:05.936Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:06.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:27:06.242Z] [2020-11-16T16:27:06.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:27:06.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:27:06.593Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T16:27:06.593Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:27:06.593Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T16:27:06.593Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T16:27:06.593Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T16:27:06.593Z] 93b61091891f: Pulling fs layer [2020-11-16T16:27:06.593Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T16:27:06.593Z] 5e14af77c1be: Pulling fs layer [2020-11-16T16:27:06.593Z] 01666e4c0597: Pulling fs layer [2020-11-16T16:27:06.593Z] aa168da1d23b: Pulling fs layer [2020-11-16T16:27:06.593Z] 46f8f816bc3b: Waiting [2020-11-16T16:27:06.593Z] 93b9cdb0e59b: Waiting [2020-11-16T16:27:06.593Z] 5e14af77c1be: Waiting [2020-11-16T16:27:06.593Z] 01666e4c0597: Waiting [2020-11-16T16:27:06.593Z] 93b61091891f: Waiting [2020-11-16T16:27:06.593Z] aa168da1d23b: Waiting [2020-11-16T16:27:06.593Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T16:27:06.593Z] 36b3adc4ff6f: Download complete [2020-11-16T16:27:06.593Z] 46f8f816bc3b: Verifying Checksum [2020-11-16T16:27:06.593Z] 46f8f816bc3b: Download complete [2020-11-16T16:27:06.856Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:27:06.856Z] df20fa9351a1: Download complete [2020-11-16T16:27:06.856Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T16:27:06.856Z] 93b9cdb0e59b: Download complete [2020-11-16T16:27:06.856Z] 5e14af77c1be: Verifying Checksum [2020-11-16T16:27:06.856Z] 5e14af77c1be: Download complete [2020-11-16T16:27:06.857Z] 01666e4c0597: Verifying Checksum [2020-11-16T16:27:06.857Z] 01666e4c0597: Download complete [2020-11-16T16:27:06.857Z] 93b61091891f: Verifying Checksum [2020-11-16T16:27:06.857Z] 93b61091891f: Download complete [2020-11-16T16:27:07.120Z] df20fa9351a1: Pull complete [2020-11-16T16:27:07.390Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T16:27:07.390Z] 8ad3a11d3b57: Download complete [2020-11-16T16:27:07.390Z] 36b3adc4ff6f: Pull complete [2020-11-16T16:27:08.358Z] 8ad3a11d3b57: Pull complete [2020-11-16T16:27:08.358Z] 46f8f816bc3b: Pull complete [2020-11-16T16:27:08.626Z] 93b61091891f: Pull complete [2020-11-16T16:27:09.211Z] 93b9cdb0e59b: Pull complete [2020-11-16T16:27:09.211Z] 5e14af77c1be: Pull complete [2020-11-16T16:27:09.477Z] 01666e4c0597: Pull complete [2020-11-16T16:27:09.743Z] aa168da1d23b: Verifying Checksum [2020-11-16T16:27:09.743Z] aa168da1d23b: Download complete [2020-11-16T16:27:17.903Z] aa168da1d23b: Pull complete [2020-11-16T16:27:17.903Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T16:27:17.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:27:17.903Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T16:27:18.068Z] prd-centos7-docker-4c-2g-12257 does not seem to be running inside a container [2020-11-16T16:27:18.116Z] $ 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-179/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-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-16T16:27:21.619Z] $ docker top a937df56b0ecbaf861efd520c3c3c261840bb6bc1f19c391802536d53a9da27a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:27:22.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T16:27:22.503Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T16:27:22.800Z] + ls /var/log/sa-host [2020-11-16T16:27:22.800Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T16:27:22.800Z] file_magic: OK [2020-11-16T16:27:22.800Z] HZ: Using current value: 100 [2020-11-16T16:27:22.800Z] file_header: OK [2020-11-16T16:27:22.800Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T16:27:22.800Z] Statistics: [2020-11-16T16:27:22.800Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:27:22.800Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T16:27:22.800Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T16:27:22.800Z] file_magic: OK [2020-11-16T16:27:22.800Z] HZ: Using current value: 100 [2020-11-16T16:27:22.800Z] file_header: OK [2020-11-16T16:27:22.800Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T16:27:22.800Z] Statistics: [2020-11-16T16:27:22.800Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:27:22.800Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:27:23.033Z] provisioning config files... [2020-11-16T16:27:23.047Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config3159873774315400562tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:27:23.143Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:23.438Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T16:27:23.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T16:27:23.553Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:23.850Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T16:27:23.861Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:24.159Z] ---> sudo-logs.sh [2020-11-16T16:27:24.159Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T16:27:24.169Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:24.469Z] ---> job-cost.sh [2020-11-16T16:27:24.469Z] lf-activate-venv: SKIPPING [2020-11-16T16:27:24.469Z] INFO: No Stack... [2020-11-16T16:27:25.420Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T16:27:25.682Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T16:27:25.696Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:25.992Z] ---> logs-deploy.sh [2020-11-16T16:27:25.992Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/7 [2020-11-16T16:27:25.992Z] INFO: archiving workspace using pattern(s): [2020-11-16T16:27:27.920Z] Archives upload complete. [2020-11-16T16:27:27.920Z] INFO: archiving logs to Nexus [2020-11-16T16:27:28.871Z] ---> uname -a: [2020-11-16T16:27:28.871Z] Linux prd-centos7-docker-4c-2g-12257.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-11-16T16:27:28.871Z] [2020-11-16T16:27:28.871Z]