Pull request #179 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 435ef4019a1e63803151036ee17d62447a1e1df5+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (64afda2e1fd78e4dcafbe465ab2c5b6ec0ba2999) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19471 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.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/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 435ef4019a1e63803151036ee17d62447a1e1df5 Merge succeeded, producing 435ef4019a1e63803151036ee17d62447a1e1df5 Checking out Revision 435ef4019a1e63803151036ee17d62447a1e1df5 (PR-179) > git config core.sparsecheckout # timeout=10 > git checkout -f 435ef4019a1e63803151036ee17d62447a1e1df5 # 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 cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 435ef4019a1e63803151036ee17d62447a1e1df5 # timeout=10 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T08:07:12.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 5ea8ce38b9617cf2c3bf4379205dcef612d06a92 # timeout=10 [Pipeline] withCredentials [2021-01-11T08:07:13.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T08:07:13.311Z] ========================================================= [2021-01-11T08:07:13.311Z] EdgeX Global Pipelines Version Info [2021-01-11T08:07:13.311Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:07:14.792Z] ------------------- [2021-01-11T08:07:14.792Z] stable info: [2021-01-11T08:07:14.792Z] ------------------- [2021-01-11T08:07:14.792Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T08:07:14.792Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T08:07:14.792Z] Message: update stable to v1.0.173 [2021-01-11T08:07:16.201Z] ------------------- [2021-01-11T08:07:16.201Z] experimental info: [2021-01-11T08:07:16.201Z] ------------------- [2021-01-11T08:07:16.201Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T08:07:16.201Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T08:07:16.201Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T08:07:16.480Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-11T08:07:16.562Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-11T08:07:16.647Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T08:07:16.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T08:07:16.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T08:07:16.913Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T08:07:17.030Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T08:07:17.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T08:07:17.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T08:07:17.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T08:07:17.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T08:07:17.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-11T08:07:17.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T08:07:17.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T08:07:17.933Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T08:07:18.082Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T08:07:18.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T08:07:18.255Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T08:07:18.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T08:07:18.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-11T08:07:18.546Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T08:07:18.628Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T08:07:18.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T08:07:18.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T08:07:18.884Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T08:07:18.972Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T08:07:19.052Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T08:07:19.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2021-01-11T08:07:19.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2021-01-11T08:07:19.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2021-01-11T08:07:19.395Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 435ef4019a1e63803151036ee17d62447a1e1df5 [Pipeline] echo [2021-01-11T08:07:19.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 435ef40 [Pipeline] echo [2021-01-11T08:07:19.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:07:19.739Z] provisioning config files... [2021-01-11T08:07:19.772Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config3518407909822416025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:07:20.120Z] ---> docker-login.sh [2021-01-11T08:07:20.120Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:07:20.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:07:20.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:07:20.650Z] Configure a credential helper to remove this warning. See [2021-01-11T08:07:20.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:07:20.650Z] [2021-01-11T08:07:20.650Z] Login Succeeded [2021-01-11T08:07:20.650Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:07:20.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:07:20.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:07:20.650Z] Configure a credential helper to remove this warning. See [2021-01-11T08:07:20.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:07:20.650Z] [2021-01-11T08:07:20.650Z] Login Succeeded [2021-01-11T08:07:20.650Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:07:20.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:07:20.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:07:20.913Z] Configure a credential helper to remove this warning. See [2021-01-11T08:07:20.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:07:20.913Z] [2021-01-11T08:07:20.913Z] Login Succeeded [2021-01-11T08:07:20.913Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:07:20.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:07:21.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:07:21.177Z] Configure a credential helper to remove this warning. See [2021-01-11T08:07:21.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:07:21.177Z] [2021-01-11T08:07:21.177Z] Login Succeeded [2021-01-11T08:07:21.177Z] docker.io [2021-01-11T08:07:21.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:07:21.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:07:21.439Z] Configure a credential helper to remove this warning. See [2021-01-11T08:07:21.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:07:21.439Z] [2021-01-11T08:07:21.439Z] Login Succeeded [2021-01-11T08:07:21.439Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:07:21.451Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T08:07:22.308Z] + git log --format=format:%s -1 435ef4019a1e63803151036ee17d62447a1e1df5 [Pipeline] echo [2021-01-11T08:07:22.413Z] GIT_COMMIT: 435ef4019a1e63803151036ee17d62447a1e1df5, Commit Message: Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 [Pipeline] echo [2021-01-11T08:07:22.456Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:07:23.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:07:23.039Z] [2021-01-11T08:07:23.039Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:07:23.398Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:07:23.398Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T08:07:23.398Z] 31603596830f: Pulling fs layer [2021-01-11T08:07:23.398Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T08:07:23.398Z] 6ca5941a6612: Pulling fs layer [2021-01-11T08:07:23.398Z] ecc8261a40a4: Pulling fs layer [2021-01-11T08:07:23.398Z] ecc8261a40a4: Waiting [2021-01-11T08:07:23.398Z] 2a8b12db71e7: Download complete [2021-01-11T08:07:23.398Z] 31603596830f: Verifying Checksum [2021-01-11T08:07:23.398Z] 31603596830f: Download complete [2021-01-11T08:07:23.663Z] ecc8261a40a4: Verifying Checksum [2021-01-11T08:07:23.663Z] ecc8261a40a4: Download complete [2021-01-11T08:07:23.663Z] 6ca5941a6612: Verifying Checksum [2021-01-11T08:07:23.663Z] 6ca5941a6612: Download complete [2021-01-11T08:07:23.925Z] 31603596830f: Pull complete [2021-01-11T08:07:23.925Z] 2a8b12db71e7: Pull complete [2021-01-11T08:07:24.885Z] 6ca5941a6612: Pull complete [2021-01-11T08:07:25.152Z] ecc8261a40a4: Pull complete [2021-01-11T08:07:25.152Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T08:07:25.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:07:25.152Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T08:07:25.256Z] prd-centos7-docker-4c-2g-19471 does not seem to be running inside a container [2021-01-11T08:07:25.308Z] $ 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 [2021-01-11T08:07:27.456Z] $ docker top a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T08:07:27.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T08:07:27.850Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T08:07:28.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T08:07:28.133Z] $ docker exec a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e ssh-agent [2021-01-11T08:07:28.306Z] SSH_AUTH_SOCK=/tmp/ssh-8fX4Q0pYryxE/agent.12 [2021-01-11T08:07:28.306Z] SSH_AGENT_PID=17 [2021-01-11T08:07:28.321Z] Running ssh-add (command line suppressed) [2021-01-11T08:07:28.454Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_7312798682593983341.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_7312798682593983341.key) [2021-01-11T08:07:28.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T08:07:28.845Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T08:07:28.871Z] $ docker exec --env ******** --env ******** a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e ssh-agent -k [2021-01-11T08:07:28.995Z] unset SSH_AUTH_SOCK; [2021-01-11T08:07:28.995Z] unset SSH_AGENT_PID; [2021-01-11T08:07:28.995Z] echo Agent pid 17 killed; [2021-01-11T08:07:29.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T08:07:29.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T08:07:29.180Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T08:07:29.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T08:07:29.357Z] $ docker exec a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e ssh-agent [2021-01-11T08:07:29.529Z] SSH_AUTH_SOCK=/tmp/ssh-I9ImMv5hX5zH/agent.47 [2021-01-11T08:07:29.529Z] SSH_AGENT_PID=52 [2021-01-11T08:07:29.536Z] Running ssh-add (command line suppressed) [2021-01-11T08:07:29.669Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_1796485806859593168.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_1796485806859593168.key) [2021-01-11T08:07:29.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T08:07:30.081Z] + git semver init [2021-01-11T08:07:30.081Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T08:07:30.081Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git [2021-01-11T08:07:30.081Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 [2021-01-11T08:07:30.081Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T08:07:30.081Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T08:07:30.081Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T08:07:30.081Z] # $SEMVER_BRANCH = PR-179 [2021-01-11T08:07:30.081Z] # $SEMVER_TEMP = /tmp/semver-439222387 [2021-01-11T08:07:30.081Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-11T08:07:30.343Z] # '/tmp/semver-439222387' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' [2021-01-11T08:07:30.605Z] # -> Force: false [2021-01-11T08:07:30.605Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } [2021-01-11T08:07:30.621Z] $ docker exec --env ******** --env ******** a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e ssh-agent -k [2021-01-11T08:07:30.734Z] unset SSH_AUTH_SOCK; [2021-01-11T08:07:30.734Z] unset SSH_AGENT_PID; [2021-01-11T08:07:30.734Z] echo Agent pid 52 killed; [2021-01-11T08:07:30.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T08:07:31.288Z] + git semver [Pipeline] } [2021-01-11T08:07:31.308Z] $ docker stop --time=1 a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e [2021-01-11T08:07:32.821Z] $ docker rm -f a58a60b9078a0f9fe7da66091fdbc980d499cad8e1d60fb7fecf9ac24934ce9e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T08:07:33.308Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T08:07:33.930Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T08:07:33.933Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-11T08:07:49.420Z] Still waiting to schedule task [2021-01-11T08:07:49.421Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19476’ is offline; ‘prd-centos7-docker-4c-2g-19477’ is offline; ‘prd-centos7-docker-4c-2g-19478’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-11T08:07:49.423Z] Still waiting to schedule task [2021-01-11T08:07:49.423Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-11T08:08:48.306Z] Running on prd-centos7-docker-4c-2g-19480 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws [2021-01-11T08:08:48.382Z] Running in /w/workspace/device-mqtt-go/11 [Pipeline] { [Pipeline] checkout [2021-01-11T08:08:50.878Z] using credential edgex-jenkins-ssh [2021-01-11T08:08:50.931Z] Cloning the remote Git repository [2021-01-11T08:08:50.960Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:51.033Z] > git init /w/workspace/device-mqtt-go/11 # timeout=10 [2021-01-11T08:08:51.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:51.100Z] > git --version # timeout=10 [2021-01-11T08:08:51.107Z] > git --version # 'git version 2.24.3' [2021-01-11T08:08:51.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:51.139Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:08:52.500Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 435ef4019a1e63803151036ee17d62447a1e1df5 [2021-01-11T08:08:52.595Z] Merge succeeded, producing 435ef4019a1e63803151036ee17d62447a1e1df5 [2021-01-11T08:08:52.596Z] Checking out Revision 435ef4019a1e63803151036ee17d62447a1e1df5 (PR-179) [2021-01-11T08:08:52.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:08:52.022Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:08:52.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:08:52.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:52.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:52.052Z] > git fetch --tags --force --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 [2021-01-11T08:08:52.510Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:08:52.518Z] > git checkout -f 435ef4019a1e63803151036ee17d62447a1e1df5 # timeout=10 [2021-01-11T08:08:52.553Z] > git remote # timeout=10 [2021-01-11T08:08:52.564Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T08:08:52.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:52.575Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-11T08:08:52.587Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T08:08:52.599Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:08:52.605Z] > git checkout -f 435ef4019a1e63803151036ee17d62447a1e1df5 # timeout=10 [2021-01-11T08:08:56.249Z] 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] sh [2021-01-11T08:08:57.751Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:08:58.104Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:08:58.405Z] + sudo service docker restart [2021-01-11T08:08:58.405Z] + true [2021-01-11T08:08:58.405Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:08:59.437Z] provisioning config files... [2021-01-11T08:08:59.467Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/11@tmp/config8152969994287625672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:08:59.849Z] ---> docker-login.sh [2021-01-11T08:08:59.849Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:09:00.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:09:00.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:09:00.115Z] Configure a credential helper to remove this warning. See [2021-01-11T08:09:00.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:09:00.115Z] [2021-01-11T08:09:00.115Z] Login Succeeded [2021-01-11T08:09:00.115Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:09:00.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:09:00.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:09:00.379Z] Configure a credential helper to remove this warning. See [2021-01-11T08:09:00.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:09:00.379Z] [2021-01-11T08:09:00.379Z] Login Succeeded [2021-01-11T08:09:00.379Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:09:00.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:09:00.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:09:00.643Z] Configure a credential helper to remove this warning. See [2021-01-11T08:09:00.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:09:00.643Z] [2021-01-11T08:09:00.643Z] Login Succeeded [2021-01-11T08:09:00.643Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:09:00.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:09:00.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:09:00.909Z] Configure a credential helper to remove this warning. See [2021-01-11T08:09:00.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:09:00.909Z] [2021-01-11T08:09:00.909Z] Login Succeeded [2021-01-11T08:09:00.909Z] docker.io [2021-01-11T08:09:00.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:09:01.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:09:01.178Z] Configure a credential helper to remove this warning. See [2021-01-11T08:09:01.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:09:01.178Z] [2021-01-11T08:09:01.178Z] Login Succeeded [2021-01-11T08:09:01.178Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:09:01.189Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T08:09:01.565Z] ========================================================= [2021-01-11T08:09:01.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T08:09:01.565Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:09:01.979Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-11T08:09:02.247Z] Sending build context to Docker daemon 493.1kB [2021-01-11T08:09:02.247Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T08:09:02.247Z] Step 2/8 : FROM ${BASE} [2021-01-11T08:09:02.247Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T08:09:02.247Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T08:09:02.247Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T08:09:02.247Z] de9db76c5a1d: Pulling fs layer [2021-01-11T08:09:02.247Z] bca2f99d35d6: Pulling fs layer [2021-01-11T08:09:02.247Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T08:09:02.247Z] 7c6f9722023f: Pulling fs layer [2021-01-11T08:09:02.248Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T08:09:02.248Z] 93359f2a8cfa: Waiting [2021-01-11T08:09:02.248Z] 7c6f9722023f: Waiting [2021-01-11T08:09:02.248Z] a35cf1a2eb13: Waiting [2021-01-11T08:09:02.248Z] bca2f99d35d6: Waiting [2021-01-11T08:09:02.248Z] de9db76c5a1d: Verifying Checksum [2021-01-11T08:09:02.248Z] de9db76c5a1d: Download complete [2021-01-11T08:09:02.248Z] 0ef7d3d256c8: Download complete [2021-01-11T08:09:02.248Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T08:09:02.248Z] 93359f2a8cfa: Download complete [2021-01-11T08:09:02.248Z] 7c6f9722023f: Verifying Checksum [2021-01-11T08:09:02.248Z] 7c6f9722023f: Download complete [2021-01-11T08:09:02.248Z] 188c0c94c7c5: Download complete [2021-01-11T08:09:02.832Z] 188c0c94c7c5: Pull complete [2021-01-11T08:09:02.832Z] 0ef7d3d256c8: Pull complete [2021-01-11T08:09:03.096Z] de9db76c5a1d: Pull complete [2021-01-11T08:09:04.519Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T08:09:04.519Z] a35cf1a2eb13: Download complete [2021-01-11T08:09:04.783Z] bca2f99d35d6: Verifying Checksum [2021-01-11T08:09:04.783Z] bca2f99d35d6: Download complete [2021-01-11T08:09:10.138Z] bca2f99d35d6: Pull complete [2021-01-11T08:09:10.138Z] 93359f2a8cfa: Pull complete [2021-01-11T08:09:10.410Z] 7c6f9722023f: Pull complete [2021-01-11T08:09:14.690Z] a35cf1a2eb13: Pull complete [2021-01-11T08:09:14.690Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T08:09:14.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T08:09:14.690Z] ---> a62c8e92a672 [2021-01-11T08:09:14.690Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T08:09:14.690Z] ---> Running in c712c6e0bed6 [2021-01-11T08:09:14.690Z] Removing intermediate container c712c6e0bed6 [2021-01-11T08:09:14.690Z] ---> 5c2279f455c9 [2021-01-11T08:09:14.690Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T08:09:14.690Z] ---> Running in 00c910ed3808 [2021-01-11T08:09:15.649Z] Removing intermediate container 00c910ed3808 [2021-01-11T08:09:15.650Z] ---> ae5efcd3d7ff [2021-01-11T08:09:15.650Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T08:09:15.920Z] ---> Running in 8e5ce1e1af25 [2021-01-11T08:09:16.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T08:09:19.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T08:09:21.631Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T08:09:21.895Z] (2/14) Installing file (5.38-r0) [2021-01-11T08:09:21.895Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T08:09:22.158Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T08:09:32.198Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T08:09:32.199Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T08:09:32.199Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T08:09:32.199Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T08:09:32.199Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T08:09:32.199Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T08:09:32.199Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T08:09:32.199Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T08:09:32.199Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T08:09:32.199Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T08:09:32.199Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T08:09:32.199Z] OK: 237 MiB in 53 packages [2021-01-11T08:09:35.527Z] Removing intermediate container 8e5ce1e1af25 [2021-01-11T08:09:35.527Z] ---> 7d1375059ef2 [2021-01-11T08:09:35.527Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T08:09:35.527Z] ---> Running in a8b0789ecb4f [2021-01-11T08:09:35.790Z] Removing intermediate container a8b0789ecb4f [2021-01-11T08:09:35.790Z] ---> ba7ef691befa [2021-01-11T08:09:35.790Z] Step 7/8 : COPY . . [2021-01-11T08:09:36.770Z] ---> 36c157b1912a [2021-01-11T08:09:36.770Z] Step 8/8 : RUN go mod download [2021-01-11T08:09:36.770Z] ---> Running in d4375367abd5 [2021-01-11T08:09:58.839Z] Removing intermediate container d4375367abd5 [2021-01-11T08:09:58.839Z] ---> d88896c9d837 [2021-01-11T08:09:58.839Z] Successfully built d88896c9d837 [2021-01-11T08:09:58.839Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:09:59.161Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T08:09:59.161Z] . [Pipeline] withDockerContainer [2021-01-11T08:09:59.280Z] prd-centos7-docker-4c-2g-19480 does not seem to be running inside a container [2021-01-11T08:09:59.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@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 [2021-01-11T08:10:00.176Z] $ docker top a8f3bd342594b421897b9b4451353a9a78c03453faa03c01bb391179f72aa86d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:10:00.737Z] + go version [2021-01-11T08:10:00.737Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T08:10:00.754Z] $ docker stop --time=1 a8f3bd342594b421897b9b4451353a9a78c03453faa03c01bb391179f72aa86d [2021-01-11T08:10:02.155Z] $ docker rm -f a8f3bd342594b421897b9b4451353a9a78c03453faa03c01bb391179f72aa86d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:10:02.962Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T08:10:02.962Z] . [Pipeline] withDockerContainer [2021-01-11T08:10:03.060Z] prd-centos7-docker-4c-2g-19480 does not seem to be running inside a container [2021-01-11T08:10:03.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@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 [2021-01-11T08:10:03.704Z] $ docker top f6670a4b881f3a6a40b57fd5405813e69012b64fefc69632cf588de561622e52 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:10:04.181Z] + make test [2021-01-11T08:10:04.181Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T08:10:05.134Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T08:10:17.519Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-11T08:10:18.094Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2021-01-11T08:10:18.094Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-11T08:10:18.094Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T08:10:20.678Z] gofmt -l . [2021-01-11T08:10:20.678Z] ["`gofmt -l .`" = ""] [2021-01-11T08:10:20.678Z] ./bin/test-attribution-txt.sh [2021-01-11T08:10:21.270Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-11T08:10:21.534Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-11T08:10:21.555Z] $ docker stop --time=1 f6670a4b881f3a6a40b57fd5405813e69012b64fefc69632cf588de561622e52 [2021-01-11T08:10:24.125Z] $ docker rm -f f6670a4b881f3a6a40b57fd5405813e69012b64fefc69632cf588de561622e52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T08:10:25.773Z] Failed in branch amd64 [2021-01-11T08:11:10.563Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19486 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws [2021-01-11T08:11:10.620Z] Running in /w/workspace/device-mqtt-go/11 [Pipeline] { [Pipeline] checkout [2021-01-11T08:11:17.117Z] using credential edgex-jenkins-ssh [2021-01-11T08:11:17.179Z] Cloning the remote Git repository [2021-01-11T08:11:17.260Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:11:17.394Z] > git init /w/workspace/device-mqtt-go/11 # timeout=10 [2021-01-11T08:11:17.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:11:17.535Z] > git --version # timeout=10 [2021-01-11T08:11:17.567Z] > git --version # 'git version 2.17.1' [2021-01-11T08:11:17.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:11:17.659Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:11:18.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:11:18.485Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:11:19.111Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 435ef4019a1e63803151036ee17d62447a1e1df5 [2021-01-11T08:11:19.612Z] Merge succeeded, producing 435ef4019a1e63803151036ee17d62447a1e1df5 [2021-01-11T08:11:19.612Z] Checking out Revision 435ef4019a1e63803151036ee17d62447a1e1df5 (PR-179) [2021-01-11T08:11:18.524Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:11:18.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:11:18.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:11:18.579Z] > 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 [2021-01-11T08:11:19.136Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:11:19.166Z] > git checkout -f 435ef4019a1e63803151036ee17d62447a1e1df5 # timeout=10 [2021-01-11T08:11:19.319Z] > git remote # timeout=10 [2021-01-11T08:11:19.359Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T08:11:19.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:11:19.443Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-11T08:11:19.546Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T08:11:19.627Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:11:19.661Z] > git checkout -f 435ef4019a1e63803151036ee17d62447a1e1df5 # timeout=10 [2021-01-11T08:11:24.137Z] 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] sh [2021-01-11T08:11:25.664Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:11:26.098Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:11:26.512Z] + sudo service+ docker restart [2021-01-11T08:11:26.512Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:11:29.243Z] provisioning config files... [2021-01-11T08:11:29.324Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/11@tmp/config1082038928982634147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:11:29.748Z] ---> docker-login.sh [2021-01-11T08:11:29.748Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:11:30.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:11:31.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:11:31.026Z] Configure a credential helper to remove this warning. See [2021-01-11T08:11:31.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:11:31.026Z] [2021-01-11T08:11:31.026Z] Login Succeeded [2021-01-11T08:11:31.304Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:11:31.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:11:31.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:11:31.860Z] Configure a credential helper to remove this warning. See [2021-01-11T08:11:31.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:11:31.860Z] [2021-01-11T08:11:31.860Z] Login Succeeded [2021-01-11T08:11:31.860Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:11:32.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:11:32.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:11:32.408Z] Configure a credential helper to remove this warning. See [2021-01-11T08:11:32.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:11:32.408Z] [2021-01-11T08:11:32.408Z] Login Succeeded [2021-01-11T08:11:32.408Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:11:32.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:11:32.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:11:32.681Z] Configure a credential helper to remove this warning. See [2021-01-11T08:11:32.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:11:32.681Z] [2021-01-11T08:11:32.681Z] Login Succeeded [2021-01-11T08:11:32.962Z] docker.io [2021-01-11T08:11:33.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:11:33.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:11:33.510Z] Configure a credential helper to remove this warning. See [2021-01-11T08:11:33.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:11:33.510Z] [2021-01-11T08:11:33.510Z] Login Succeeded [2021-01-11T08:11:33.510Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:11:33.532Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T08:11:34.025Z] ========================================================= [2021-01-11T08:11:34.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T08:11:34.025Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:11:34.419Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-11T08:11:34.712Z] Sending build context to Docker daemon 492kB [2021-01-11T08:11:34.712Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T08:11:34.712Z] Step 2/8 : FROM ${BASE} [2021-01-11T08:11:34.996Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T08:11:34.996Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T08:11:34.996Z] a4357932f1b6: Pulling fs layer [2021-01-11T08:11:34.996Z] 18c013af1878: Pulling fs layer [2021-01-11T08:11:34.996Z] 00ac8860ef70: Pulling fs layer [2021-01-11T08:11:34.996Z] 63d7cb157983: Pulling fs layer [2021-01-11T08:11:34.996Z] 00ac8860ef70: Waiting [2021-01-11T08:11:34.996Z] b116817d02f9: Pulling fs layer [2021-01-11T08:11:34.996Z] 745a02a5169b: Pulling fs layer [2021-01-11T08:11:34.996Z] 63d7cb157983: Waiting [2021-01-11T08:11:34.996Z] b116817d02f9: Waiting [2021-01-11T08:11:34.996Z] 745a02a5169b: Waiting [2021-01-11T08:11:34.996Z] 18c013af1878: Verifying Checksum [2021-01-11T08:11:34.996Z] 18c013af1878: Download complete [2021-01-11T08:11:34.996Z] a4357932f1b6: Download complete [2021-01-11T08:11:34.996Z] 63d7cb157983: Verifying Checksum [2021-01-11T08:11:34.996Z] 63d7cb157983: Download complete [2021-01-11T08:11:34.996Z] b116817d02f9: Verifying Checksum [2021-01-11T08:11:34.996Z] b116817d02f9: Download complete [2021-01-11T08:11:34.996Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T08:11:34.996Z] 5f621e34cdf4: Download complete [2021-01-11T08:11:35.604Z] 5f621e34cdf4: Pull complete [2021-01-11T08:11:36.217Z] a4357932f1b6: Pull complete [2021-01-11T08:11:36.821Z] 18c013af1878: Pull complete [2021-01-11T08:11:38.264Z] 745a02a5169b: Verifying Checksum [2021-01-11T08:11:38.264Z] 745a02a5169b: Download complete [2021-01-11T08:11:39.251Z] 00ac8860ef70: Verifying Checksum [2021-01-11T08:11:39.251Z] 00ac8860ef70: Download complete [2021-01-11T08:11:49.492Z] 00ac8860ef70: Pull complete [2021-01-11T08:11:49.768Z] 63d7cb157983: Pull complete [2021-01-11T08:11:50.058Z] b116817d02f9: Pull complete [2021-01-11T08:11:54.394Z] 745a02a5169b: Pull complete [2021-01-11T08:11:54.395Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T08:11:54.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T08:11:54.395Z] ---> b7e6874047d6 [2021-01-11T08:11:54.395Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T08:11:57.816Z] ---> Running in 24d827c7f830 [2021-01-11T08:11:57.816Z] Removing intermediate container 24d827c7f830 [2021-01-11T08:11:57.816Z] ---> 2fb55c517322 [2021-01-11T08:11:57.816Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T08:11:58.099Z] ---> Running in 55d9c413ddfb [2021-01-11T08:12:00.102Z] Removing intermediate container 55d9c413ddfb [2021-01-11T08:12:00.102Z] ---> 6a0a14bf8aa8 [2021-01-11T08:12:00.102Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T08:12:00.387Z] ---> Running in 531df3ec5dd6 [2021-01-11T08:12:01.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T08:12:02.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T08:12:02.965Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T08:12:02.965Z] (2/14) Installing file (5.38-r0) [2021-01-11T08:12:03.245Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T08:12:03.245Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T08:12:08.647Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T08:12:08.647Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T08:12:08.647Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T08:12:08.647Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T08:12:08.647Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T08:12:08.922Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T08:12:10.368Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T08:12:10.368Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T08:12:10.646Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T08:12:10.923Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T08:12:11.526Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T08:12:11.526Z] OK: 221 MiB in 53 packages [2021-01-11T08:12:15.861Z] Removing intermediate container 531df3ec5dd6 [2021-01-11T08:12:15.861Z] ---> 2f54ea9988d5 [2021-01-11T08:12:15.861Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T08:12:15.861Z] ---> Running in 7cd75e71d5fa [2021-01-11T08:12:16.462Z] Removing intermediate container 7cd75e71d5fa [2021-01-11T08:12:16.462Z] ---> ca1903ef3921 [2021-01-11T08:12:16.462Z] Step 7/8 : COPY . . [2021-01-11T08:12:17.446Z] ---> be8b601d3911 [2021-01-11T08:12:17.446Z] Step 8/8 : RUN go mod download [2021-01-11T08:12:17.720Z] ---> Running in 5c840e21c122 [2021-01-11T08:12:44.577Z] Removing intermediate container 5c840e21c122 [2021-01-11T08:12:44.577Z] ---> 4231bf299213 [2021-01-11T08:12:44.577Z] Successfully built 4231bf299213 [2021-01-11T08:12:44.577Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:12:44.925Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T08:12:44.925Z] . [Pipeline] withDockerContainer [2021-01-11T08:12:45.182Z] prd-ubuntu18.04-docker-arm64-4c-16g-19486 does not seem to be running inside a container [2021-01-11T08:12:45.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-11T08:12:46.993Z] $ docker top 931c470f2cfbb302b1f92278b0b860ba4e313a38030d87e75458bb1d1cff9319 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:12:48.027Z] + go version [2021-01-11T08:12:48.027Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T08:12:48.074Z] $ docker stop --time=1 931c470f2cfbb302b1f92278b0b860ba4e313a38030d87e75458bb1d1cff9319 [2021-01-11T08:12:50.129Z] $ docker rm -f 931c470f2cfbb302b1f92278b0b860ba4e313a38030d87e75458bb1d1cff9319 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:12:51.243Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T08:12:51.243Z] . [Pipeline] withDockerContainer [2021-01-11T08:12:51.521Z] prd-ubuntu18.04-docker-arm64-4c-16g-19486 does not seem to be running inside a container [2021-01-11T08:12:51.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-11T08:12:53.173Z] $ docker top 72654e28e61c0843e1ce0f60f8de9a3909eaf8a4d7ab94c32fdcdbe9ff340f16 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:12:54.182Z] + make test [2021-01-11T08:12:54.182Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T08:12:55.634Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T08:13:34.707Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-11T08:13:38.106Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.036s coverage: 28.3% of statements [2021-01-11T08:13:38.106Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-11T08:13:38.386Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T08:13:48.603Z] gofmt -l . [2021-01-11T08:13:48.603Z] ["`gofmt -l .`" = ""] [2021-01-11T08:13:48.603Z] ./bin/test-attribution-txt.sh [2021-01-11T08:13:48.603Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-11T08:13:48.603Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-11T08:13:48.687Z] $ docker stop --time=1 72654e28e61c0843e1ce0f60f8de9a3909eaf8a4d7ab94c32fdcdbe9ff340f16 [2021-01-11T08:13:51.180Z] $ docker rm -f 72654e28e61c0843e1ce0f60f8de9a3909eaf8a4d7ab94c32fdcdbe9ff340f16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T08:13:52.741Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:55.114Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:55.685Z] ---> package-listing.sh [2021-01-11T08:13:55.685Z] ++ facter osfamily [2021-01-11T08:13:55.685Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T08:13:55.685Z] + OS_FAMILY=redhat [2021-01-11T08:13:55.685Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 [2021-01-11T08:13:55.685Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T08:13:55.685Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T08:13:55.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T08:13:55.685Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T08:13:55.685Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' [2021-01-11T08:13:55.685Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T08:13:55.685Z] + case "${OS_FAMILY}" in [2021-01-11T08:13:55.685Z] + rpm -qa [2021-01-11T08:13:55.685Z] + sort [2021-01-11T08:14:00.996Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T08:14:00.996Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T08:14:00.996Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T08:14:00.996Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' [2021-01-11T08:14:00.996Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [2021-01-11T08:14:00.997Z] + 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 [2021-01-11T08:14:01.010Z] 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 [2021-01-11T08:14:01.301Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:14:01.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:14:01.610Z] [2021-01-11T08:14:01.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:14:01.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:14:01.965Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T08:14:01.965Z] df20fa9351a1: Pulling fs layer [2021-01-11T08:14:01.965Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T08:14:01.965Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T08:14:01.965Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T08:14:01.965Z] 93b61091891f: Pulling fs layer [2021-01-11T08:14:01.965Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T08:14:01.965Z] 5e14af77c1be: Pulling fs layer [2021-01-11T08:14:01.965Z] 01666e4c0597: Pulling fs layer [2021-01-11T08:14:01.965Z] aa168da1d23b: Pulling fs layer [2021-01-11T08:14:01.965Z] 46f8f816bc3b: Waiting [2021-01-11T08:14:01.965Z] 93b61091891f: Waiting [2021-01-11T08:14:01.965Z] 93b9cdb0e59b: Waiting [2021-01-11T08:14:01.965Z] 5e14af77c1be: Waiting [2021-01-11T08:14:01.965Z] 01666e4c0597: Waiting [2021-01-11T08:14:01.965Z] aa168da1d23b: Waiting [2021-01-11T08:14:01.965Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T08:14:01.965Z] 36b3adc4ff6f: Download complete [2021-01-11T08:14:01.965Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T08:14:01.965Z] 46f8f816bc3b: Download complete [2021-01-11T08:14:02.239Z] df20fa9351a1: Verifying Checksum [2021-01-11T08:14:02.239Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T08:14:02.239Z] 93b9cdb0e59b: Download complete [2021-01-11T08:14:02.239Z] 5e14af77c1be: Verifying Checksum [2021-01-11T08:14:02.239Z] 5e14af77c1be: Download complete [2021-01-11T08:14:02.239Z] 93b61091891f: Verifying Checksum [2021-01-11T08:14:02.239Z] 93b61091891f: Download complete [2021-01-11T08:14:02.239Z] 01666e4c0597: Verifying Checksum [2021-01-11T08:14:02.239Z] 01666e4c0597: Download complete [2021-01-11T08:14:02.239Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T08:14:02.239Z] 8ad3a11d3b57: Download complete [2021-01-11T08:14:02.503Z] df20fa9351a1: Pull complete [2021-01-11T08:14:02.770Z] 36b3adc4ff6f: Pull complete [2021-01-11T08:14:04.194Z] 8ad3a11d3b57: Pull complete [2021-01-11T08:14:04.194Z] aa168da1d23b: Download complete [2021-01-11T08:14:04.458Z] 46f8f816bc3b: Pull complete [2021-01-11T08:14:05.033Z] 93b61091891f: Pull complete [2021-01-11T08:14:05.033Z] 93b9cdb0e59b: Pull complete [2021-01-11T08:14:05.033Z] 5e14af77c1be: Pull complete [2021-01-11T08:14:05.299Z] 01666e4c0597: Pull complete [2021-01-11T08:14:11.953Z] aa168da1d23b: Pull complete [2021-01-11T08:14:11.953Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T08:14:11.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:14:11.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T08:14:12.144Z] prd-centos7-docker-4c-2g-19471 does not seem to be running inside a container [2021-01-11T08:14:12.198Z] $ 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 [2021-01-11T08:14:15.394Z] $ docker top b00a18d55cfae92e2c96e8cb0a69bf97809cc7212abfaaecee38e67c9312351d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:14:15.946Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T08:14:16.248Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T08:14:16.550Z] + ls /var/log/sa-host [2021-01-11T08:14:16.550Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T08:14:16.550Z] file_magic: OK [2021-01-11T08:14:16.550Z] HZ: Using current value: 100 [2021-01-11T08:14:16.550Z] file_header: OK [2021-01-11T08:14:16.550Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-11T08:14:16.550Z] Statistics: [2021-01-11T08:14:16.550Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T08:14:16.550Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T08:14:16.550Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T08:14:16.550Z] file_magic: OK [2021-01-11T08:14:16.550Z] HZ: Using current value: 100 [2021-01-11T08:14:16.550Z] file_header: OK [2021-01-11T08:14:16.550Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-11T08:14:16.550Z] Statistics: [2021-01-11T08:14:16.550Z] Hnuu...uuuununununu... [2021-01-11T08:14:16.550Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T08:14:16.755Z] provisioning config files... [2021-01-11T08:14:16.769Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config3575883963206362030tmp [Pipeline] { [Pipeline] echo [2021-01-11T08:14:16.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:14:17.150Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T08:14:17.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T08:14:17.246Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:14:17.545Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T08:14:17.556Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:14:17.855Z] ---> sudo-logs.sh [2021-01-11T08:14:17.855Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T08:14:17.867Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:14:18.164Z] ---> job-cost.sh [2021-01-11T08:14:18.164Z] lf-activate-venv: SKIPPING [2021-01-11T08:14:18.164Z] INFO: No Stack... [2021-01-11T08:14:19.110Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T08:14:19.374Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T08:14:19.390Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:14:19.691Z] ---> logs-deploy.sh [2021-01-11T08:14:19.691Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/11 [2021-01-11T08:14:19.691Z] INFO: archiving workspace using pattern(s): [2021-01-11T08:14:21.610Z] Archives upload complete. [2021-01-11T08:14:21.610Z] INFO: archiving logs to Nexus