Pull request #192 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871+fcf415a52e09a542e74d978699b87b5b4fab4063 (d7eb8ff07262c22ed9696ff209ebcc424004e36c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-192/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-192/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15838 in /w/workspace/gexfoundry_device-mqtt-go_PR-192 [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-192 # 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 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 > 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/192/head:refs/remotes/origin/PR-192 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 Checking out Revision 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 (PR-192) > git config core.sparsecheckout # timeout=10 > git checkout -f 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 # 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 fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-14T06:22:56.908Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-14T06:22:57.257Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-14T06:22:57.484Z] ========================================================= [2020-12-14T06:22:57.484Z] EdgeX Global Pipelines Version Info [2020-12-14T06:22:57.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:22:59.047Z] ------------------- [2020-12-14T06:22:59.047Z] stable info: [2020-12-14T06:22:59.047Z] ------------------- [2020-12-14T06:22:59.047Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:22:59.047Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:22:59.047Z] Message: update stable to v1.0.172 [2020-12-14T06:22:59.993Z] ------------------- [2020-12-14T06:22:59.993Z] experimental info: [2020-12-14T06:22:59.993Z] ------------------- [2020-12-14T06:22:59.994Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:22:59.994Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:22:59.994Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-14T06:23:00.401Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-14T06:23:00.526Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-14T06:23:00.754Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-14T06:23:00.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-14T06:23:01.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-14T06:23:01.149Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-14T06:23:01.278Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-14T06:23:01.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-14T06:23:01.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-14T06:23:01.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-14T06:23:01.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-14T06:23:01.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-14T06:23:02.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-14T06:23:02.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-14T06:23:02.454Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T06:23:02.578Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T06:23:02.718Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:23:02.858Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:23:02.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-14T06:23:03.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-14T06:23:03.291Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-14T06:23:03.439Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-14T06:23:03.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-14T06:23:03.732Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-14T06:23:03.864Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-14T06:23:03.997Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-14T06:23:04.124Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo [2020-12-14T06:23:04.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo [2020-12-14T06:23:04.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo [2020-12-14T06:23:04.516Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 [Pipeline] echo [2020-12-14T06:23:04.640Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5684557 [Pipeline] echo [2020-12-14T06:23:04.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:23:05.043Z] provisioning config files... [2020-12-14T06:23:05.079Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp/config3737875805386471276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:23:05.503Z] ---> docker-login.sh [2020-12-14T06:23:05.504Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:23:05.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:05.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:05.774Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:05.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:05.774Z] [2020-12-14T06:23:05.774Z] Login Succeeded [2020-12-14T06:23:05.774Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:23:06.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:06.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:06.035Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:06.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:06.035Z] [2020-12-14T06:23:06.035Z] Login Succeeded [2020-12-14T06:23:06.035Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:23:06.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:06.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:06.300Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:06.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:06.300Z] [2020-12-14T06:23:06.300Z] Login Succeeded [2020-12-14T06:23:06.300Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:23:06.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:06.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:06.300Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:06.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:06.300Z] [2020-12-14T06:23:06.300Z] Login Succeeded [2020-12-14T06:23:06.300Z] docker.io [2020-12-14T06:23:06.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:06.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:06.826Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:06.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:06.826Z] [2020-12-14T06:23:06.826Z] Login Succeeded [2020-12-14T06:23:06.826Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:23:06.853Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:23:08.000Z] + git log --format=format:%s -1 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 [Pipeline] echo [2020-12-14T06:23:08.084Z] GIT_COMMIT: 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2020-12-14T06:23:08.185Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:23:08.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:23:08.811Z] [2020-12-14T06:23:08.811Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:23:09.205Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:23:09.205Z] latest: Pulling from edgex-devops/git-semver [2020-12-14T06:23:09.205Z] 31603596830f: Pulling fs layer [2020-12-14T06:23:09.205Z] 2a8b12db71e7: Pulling fs layer [2020-12-14T06:23:09.205Z] 6ca5941a6612: Pulling fs layer [2020-12-14T06:23:09.205Z] ecc8261a40a4: Pulling fs layer [2020-12-14T06:23:09.205Z] ecc8261a40a4: Waiting [2020-12-14T06:23:09.205Z] 2a8b12db71e7: Verifying Checksum [2020-12-14T06:23:09.205Z] 2a8b12db71e7: Download complete [2020-12-14T06:23:09.473Z] 31603596830f: Verifying Checksum [2020-12-14T06:23:09.473Z] 31603596830f: Download complete [2020-12-14T06:23:09.473Z] 6ca5941a6612: Verifying Checksum [2020-12-14T06:23:09.473Z] 6ca5941a6612: Download complete [2020-12-14T06:23:09.473Z] ecc8261a40a4: Verifying Checksum [2020-12-14T06:23:09.473Z] ecc8261a40a4: Download complete [2020-12-14T06:23:09.739Z] 31603596830f: Pull complete [2020-12-14T06:23:09.739Z] 2a8b12db71e7: Pull complete [2020-12-14T06:23:10.682Z] 6ca5941a6612: Pull complete [2020-12-14T06:23:10.682Z] ecc8261a40a4: Pull complete [2020-12-14T06:23:10.682Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-14T06:23:10.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:23:10.682Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-14T06:23:10.796Z] prd-centos7-docker-4c-2g-15838 does not seem to be running inside a container [2020-12-14T06:23:10.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-192 -v /w/workspace/gexfoundry_device-mqtt-go_PR-192:/w/workspace/gexfoundry_device-mqtt-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-192@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-14T06:23:12.690Z] $ docker top b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T06:23:13.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:23:13.156Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:23:13.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:23:13.353Z] $ docker exec b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 ssh-agent [2020-12-14T06:23:13.548Z] SSH_AUTH_SOCK=/tmp/ssh-ILZeLDk71v4N/agent.12 [2020-12-14T06:23:13.548Z] SSH_AGENT_PID=17 [2020-12-14T06:23:13.564Z] Running ssh-add (command line suppressed) [2020-12-14T06:23:13.698Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp/private_key_3800382775244609556.key (/w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp/private_key_3800382775244609556.key) [2020-12-14T06:23:13.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:23:14.145Z] + git tag --points-at HEAD [Pipeline] } [2020-12-14T06:23:14.180Z] $ docker exec --env ******** --env ******** b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 ssh-agent -k [2020-12-14T06:23:14.300Z] unset SSH_AUTH_SOCK; [2020-12-14T06:23:14.300Z] unset SSH_AGENT_PID; [2020-12-14T06:23:14.300Z] echo Agent pid 17 killed; [2020-12-14T06:23:14.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-14T06:23:14.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:23:14.561Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:23:14.727Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:23:14.733Z] $ docker exec b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 ssh-agent [2020-12-14T06:23:14.903Z] SSH_AUTH_SOCK=/tmp/ssh-0noCaUfsL97P/agent.47 [2020-12-14T06:23:14.903Z] SSH_AGENT_PID=52 [2020-12-14T06:23:14.910Z] Running ssh-add (command line suppressed) [2020-12-14T06:23:15.042Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp/private_key_2432195261632750047.key (/w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp/private_key_2432195261632750047.key) [2020-12-14T06:23:15.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:23:15.491Z] + git semver init [2020-12-14T06:23:15.491Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T06:23:15.491Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-192/.git [2020-12-14T06:23:15.491Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-192 [2020-12-14T06:23:15.491Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T06:23:15.491Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T06:23:15.491Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T06:23:15.491Z] # $SEMVER_BRANCH = PR-192 [2020-12-14T06:23:15.491Z] # $SEMVER_TEMP = /tmp/semver-978203785 [2020-12-14T06:23:15.491Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-14T06:23:15.755Z] # '/tmp/semver-978203785' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-192/.semver' [2020-12-14T06:23:15.755Z] # -> Force: false [2020-12-14T06:23:16.017Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-192/.semver [Pipeline] } [2020-12-14T06:23:16.038Z] $ docker exec --env ******** --env ******** b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 ssh-agent -k [2020-12-14T06:23:16.146Z] unset SSH_AUTH_SOCK; [2020-12-14T06:23:16.147Z] unset SSH_AGENT_PID; [2020-12-14T06:23:16.147Z] echo Agent pid 52 killed; [2020-12-14T06:23:16.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T06:23:16.771Z] + git semver [Pipeline] } [2020-12-14T06:23:16.804Z] $ docker stop --time=1 b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 [2020-12-14T06:23:18.180Z] $ docker rm -f b1c81774d70dfc568b33f8798ac3a3ed99d1587992cb74ee6a62716a63614299 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T06:23:18.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-14T06:23:19.163Z] Stashed 1 file(s) [Pipeline] echo [2020-12-14T06:23:19.185Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-14T06:23:35.089Z] Still waiting to schedule task [2020-12-14T06:23:35.090Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-14T06:23:35.118Z] Still waiting to schedule task [2020-12-14T06:23:35.118Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-14T06:24:46.807Z] Running on prd-centos7-docker-4c-2g-15841 in /w/workspace/gexfoundry_device-mqtt-go_PR-192 [Pipeline] { [Pipeline] ws [2020-12-14T06:24:46.909Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:24:49.573Z] using credential edgex-jenkins-ssh [2020-12-14T06:24:49.631Z] Cloning the remote Git repository [2020-12-14T06:24:49.668Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:24:49.739Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-14T06:24:49.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:24:49.802Z] > git --version # timeout=10 [2020-12-14T06:24:49.811Z] > git --version # 'git version 2.24.3' [2020-12-14T06:24:49.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:24:49.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:24:50.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:24:50.473Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:24:50.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:24:50.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:24:50.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:24:50.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:24:50.917Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 [2020-12-14T06:24:51.006Z] Merge succeeded, producing 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 [2020-12-14T06:24:51.007Z] Checking out Revision 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 (PR-192) [2020-12-14T06:24:50.930Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:24:50.937Z] > git checkout -f 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 # timeout=10 [2020-12-14T06:24:50.974Z] > git remote # timeout=10 [2020-12-14T06:24:50.981Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:24:50.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:24:50.990Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-14T06:24:51.002Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:24:51.014Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:24:51.022Z] > git checkout -f 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 # timeout=10 [2020-12-14T06:24:54.673Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2020-12-14T06:24:54.712Z] > git --version # timeout=10 [2020-12-14T06:24:54.717Z] > git --version # 'git version 2.24.3' [2020-12-14T06:24:54.724Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:24:56.274Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:24:56.642Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:24:56.974Z] + sudo service docker restart [2020-12-14T06:24:56.974Z] + true [2020-12-14T06:24:56.974Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:24:58.096Z] provisioning config files... [2020-12-14T06:24:58.125Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6310208773975713320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:24:58.569Z] ---> docker-login.sh [2020-12-14T06:24:58.569Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:24:58.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:24:59.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:24:59.095Z] Configure a credential helper to remove this warning. See [2020-12-14T06:24:59.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:24:59.095Z] [2020-12-14T06:24:59.095Z] Login Succeeded [2020-12-14T06:24:59.095Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:24:59.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:24:59.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:24:59.095Z] Configure a credential helper to remove this warning. See [2020-12-14T06:24:59.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:24:59.095Z] [2020-12-14T06:24:59.095Z] Login Succeeded [2020-12-14T06:24:59.371Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:24:59.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:24:59.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:24:59.371Z] Configure a credential helper to remove this warning. See [2020-12-14T06:24:59.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:24:59.371Z] [2020-12-14T06:24:59.371Z] Login Succeeded [2020-12-14T06:24:59.371Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:24:59.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:24:59.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:24:59.637Z] Configure a credential helper to remove this warning. See [2020-12-14T06:24:59.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:24:59.637Z] [2020-12-14T06:24:59.637Z] Login Succeeded [2020-12-14T06:24:59.637Z] docker.io [2020-12-14T06:24:59.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:00.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:00.167Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:00.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:00.167Z] [2020-12-14T06:25:00.167Z] Login Succeeded [2020-12-14T06:25:00.167Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:25:00.193Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T06:25:00.784Z] ========================================================= [2020-12-14T06:25:00.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-14T06:25:00.784Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:25:01.183Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-14T06:25:01.463Z] Sending build context to Docker daemon 485.9kB [2020-12-14T06:25:01.463Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T06:25:01.463Z] Step 2/8 : FROM ${BASE} [2020-12-14T06:25:01.463Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-14T06:25:01.463Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T06:25:01.463Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T06:25:01.463Z] de9db76c5a1d: Pulling fs layer [2020-12-14T06:25:01.463Z] bca2f99d35d6: Pulling fs layer [2020-12-14T06:25:01.463Z] 93359f2a8cfa: Pulling fs layer [2020-12-14T06:25:01.463Z] 7c6f9722023f: Pulling fs layer [2020-12-14T06:25:01.463Z] a35cf1a2eb13: Pulling fs layer [2020-12-14T06:25:01.463Z] 93359f2a8cfa: Waiting [2020-12-14T06:25:01.463Z] 7c6f9722023f: Waiting [2020-12-14T06:25:01.463Z] a35cf1a2eb13: Waiting [2020-12-14T06:25:01.463Z] bca2f99d35d6: Waiting [2020-12-14T06:25:01.463Z] de9db76c5a1d: Verifying Checksum [2020-12-14T06:25:01.463Z] de9db76c5a1d: Download complete [2020-12-14T06:25:01.463Z] 0ef7d3d256c8: Verifying Checksum [2020-12-14T06:25:01.463Z] 0ef7d3d256c8: Download complete [2020-12-14T06:25:01.463Z] 93359f2a8cfa: Verifying Checksum [2020-12-14T06:25:01.463Z] 93359f2a8cfa: Download complete [2020-12-14T06:25:01.463Z] 7c6f9722023f: Download complete [2020-12-14T06:25:01.463Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T06:25:01.463Z] 188c0c94c7c5: Download complete [2020-12-14T06:25:02.044Z] 188c0c94c7c5: Pull complete [2020-12-14T06:25:02.044Z] 0ef7d3d256c8: Pull complete [2020-12-14T06:25:02.321Z] de9db76c5a1d: Pull complete [2020-12-14T06:25:04.276Z] a35cf1a2eb13: Verifying Checksum [2020-12-14T06:25:04.276Z] a35cf1a2eb13: Download complete [2020-12-14T06:25:04.548Z] bca2f99d35d6: Verifying Checksum [2020-12-14T06:25:04.548Z] bca2f99d35d6: Download complete [2020-12-14T06:25:09.891Z] bca2f99d35d6: Pull complete [2020-12-14T06:25:10.156Z] 93359f2a8cfa: Pull complete [2020-12-14T06:25:10.156Z] 7c6f9722023f: Pull complete [2020-12-14T06:25:16.815Z] a35cf1a2eb13: Pull complete [2020-12-14T06:25:16.815Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-14T06:25:16.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-14T06:25:16.815Z] ---> a62c8e92a672 [2020-12-14T06:25:16.815Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-14T06:25:17.396Z] ---> Running in 6bb062754b20 [2020-12-14T06:25:17.659Z] Removing intermediate container 6bb062754b20 [2020-12-14T06:25:17.659Z] ---> 83f85e29f729 [2020-12-14T06:25:17.659Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T06:25:17.659Z] ---> Running in 0be481a502de [2020-12-14T06:25:18.616Z] Removing intermediate container 0be481a502de [2020-12-14T06:25:18.616Z] ---> 540cbf2bee0c [2020-12-14T06:25:18.616Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-14T06:25:18.616Z] ---> Running in c970a7606db0 [2020-12-14T06:25:19.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T06:25:19.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T06:25:20.360Z] (1/14) Installing libmagic (5.38-r0) [2020-12-14T06:25:20.623Z] (2/14) Installing file (5.38-r0) [2020-12-14T06:25:20.623Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-14T06:25:20.623Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-14T06:25:26.195Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-14T06:25:26.195Z] (6/14) Installing patch (2.7.6-r6) [2020-12-14T06:25:26.195Z] (7/14) Installing build-base (0.5-r2) [2020-12-14T06:25:26.195Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-14T06:25:26.195Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-14T06:25:26.195Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-14T06:25:26.195Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-14T06:25:26.195Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-14T06:25:26.472Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-14T06:25:26.472Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-14T06:25:26.748Z] Executing busybox-1.31.1-r19.trigger [2020-12-14T06:25:26.748Z] OK: 237 MiB in 53 packages [2020-12-14T06:25:30.097Z] Removing intermediate container c970a7606db0 [2020-12-14T06:25:30.097Z] ---> e0d7ed61eda2 [2020-12-14T06:25:30.097Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-14T06:25:30.097Z] ---> Running in 5c2f1348af30 [2020-12-14T06:25:30.097Z] Removing intermediate container 5c2f1348af30 [2020-12-14T06:25:30.097Z] ---> c6505bdc489f [2020-12-14T06:25:30.097Z] Step 7/8 : COPY . . [2020-12-14T06:25:31.077Z] ---> 1fa07949d487 [2020-12-14T06:25:31.077Z] Step 8/8 : RUN go mod download [2020-12-14T06:25:31.077Z] ---> Running in f6bbb1b40fe0 [2020-12-14T06:25:31.596Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15840 in /w/workspace/gexfoundry_device-mqtt-go_PR-192 [Pipeline] { [Pipeline] ws [2020-12-14T06:25:31.715Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:25:37.000Z] using credential edgex-jenkins-ssh [2020-12-14T06:25:37.058Z] Cloning the remote Git repository [2020-12-14T06:25:37.128Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:25:37.243Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-14T06:25:37.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:25:37.328Z] > git --version # timeout=10 [2020-12-14T06:25:37.362Z] > git --version # 'git version 2.17.1' [2020-12-14T06:25:37.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:25:37.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:25:38.762Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 [2020-12-14T06:25:39.001Z] Merge succeeded, producing 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 [2020-12-14T06:25:39.001Z] Checking out Revision 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 (PR-192) [2020-12-14T06:25:38.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:25:38.210Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:25:38.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:25:38.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:25:38.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:25:38.297Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:25:38.786Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:25:38.803Z] > git checkout -f 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 # timeout=10 [2020-12-14T06:25:38.896Z] > git remote # timeout=10 [2020-12-14T06:25:38.915Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:25:38.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:25:38.954Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-14T06:25:38.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:25:39.015Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:25:39.029Z] > git checkout -f 5684557b3bbe5b4bb4a556e3a4a3b5a7682d0871 # timeout=10 [2020-12-14T06:25:43.510Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2020-12-14T06:25:43.568Z] > git --version # timeout=10 [2020-12-14T06:25:43.576Z] > git --version # 'git version 2.17.1' [2020-12-14T06:25:43.588Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:25:45.202Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:25:45.616Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:25:45.979Z] + sudo service docker restart [2020-12-14T06:25:45.979Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:25:48.762Z] provisioning config files... [2020-12-14T06:25:48.804Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8434985462730639067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:25:49.279Z] ---> docker-login.sh [2020-12-14T06:25:49.279Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:25:50.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:50.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:50.573Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:50.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:50.573Z] [2020-12-14T06:25:50.573Z] Login Succeeded [2020-12-14T06:25:50.573Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:25:51.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:51.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:51.184Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:51.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:51.184Z] [2020-12-14T06:25:51.184Z] Login Succeeded [2020-12-14T06:25:51.184Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:25:51.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:51.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:51.728Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:51.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:51.728Z] [2020-12-14T06:25:51.728Z] Login Succeeded [2020-12-14T06:25:51.728Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:25:52.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:52.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:52.001Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:52.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:52.001Z] [2020-12-14T06:25:52.001Z] Login Succeeded [2020-12-14T06:25:52.001Z] docker.io [2020-12-14T06:25:52.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:52.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:52.873Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:52.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:52.873Z] [2020-12-14T06:25:52.873Z] Login Succeeded [2020-12-14T06:25:52.873Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:25:52.941Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2020-12-14T06:25:53.118Z] Removing intermediate container f6bbb1b40fe0 [2020-12-14T06:25:53.118Z] ---> 83b43d33db65 [2020-12-14T06:25:53.118Z] Successfully built 83b43d33db65 [2020-12-14T06:25:53.118Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // withEnv [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-12-14T06:25:53.556Z] ========================================================= [2020-12-14T06:25:53.556Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-14T06:25:53.556Z] ========================================================= [2020-12-14T06:25:53.605Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:25:53.606Z] . [Pipeline] withDockerContainer [2020-12-14T06:25:53.755Z] prd-centos7-docker-4c-2g-15841 does not seem to be running inside a container [2020-12-14T06:25:53.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-14T06:25:54.545Z] $ docker top 951ddf03e94fc1788adcec6d891f559d613f8ecee5434078c96289b4cdc0aa18 -eo pid,comm [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2020-12-14T06:25:55.120Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-14T06:25:55.160Z] + go version [2020-12-14T06:25:55.161Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-14T06:25:55.193Z] $ docker stop --time=1 951ddf03e94fc1788adcec6d891f559d613f8ecee5434078c96289b4cdc0aa18 [2020-12-14T06:25:55.394Z] Sending build context to Docker daemon 484.9kB [2020-12-14T06:25:55.395Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T06:25:55.395Z] Step 2/8 : FROM ${BASE} [2020-12-14T06:25:55.994Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-14T06:25:55.994Z] 5f621e34cdf4: Pulling fs layer [2020-12-14T06:25:55.994Z] a4357932f1b6: Pulling fs layer [2020-12-14T06:25:55.994Z] 18c013af1878: Pulling fs layer [2020-12-14T06:25:55.994Z] 00ac8860ef70: Pulling fs layer [2020-12-14T06:25:55.994Z] 63d7cb157983: Pulling fs layer [2020-12-14T06:25:55.994Z] b116817d02f9: Pulling fs layer [2020-12-14T06:25:55.994Z] 745a02a5169b: Pulling fs layer [2020-12-14T06:25:55.994Z] 745a02a5169b: Waiting [2020-12-14T06:25:55.994Z] 63d7cb157983: Waiting [2020-12-14T06:25:55.994Z] b116817d02f9: Waiting [2020-12-14T06:25:55.994Z] 18c013af1878: Download complete [2020-12-14T06:25:55.994Z] a4357932f1b6: Download complete [2020-12-14T06:25:56.268Z] 63d7cb157983: Download complete [2020-12-14T06:25:56.268Z] b116817d02f9: Verifying Checksum [2020-12-14T06:25:56.268Z] b116817d02f9: Download complete [2020-12-14T06:25:56.545Z] 5f621e34cdf4: Download complete [2020-12-14T06:25:56.563Z] $ docker rm -f 951ddf03e94fc1788adcec6d891f559d613f8ecee5434078c96289b4cdc0aa18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-12-14T06:25:57.156Z] 5f621e34cdf4: Pull complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:25:57.725Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:25:57.725Z] . [Pipeline] withDockerContainer [2020-12-14T06:25:57.772Z] a4357932f1b6: Pull complete [2020-12-14T06:25:57.843Z] prd-centos7-docker-4c-2g-15841 does not seem to be running inside a container [2020-12-14T06:25:57.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-14T06:25:58.047Z] 18c013af1878: Pull complete [2020-12-14T06:25:58.581Z] $ docker top 190bc86a0c47d6de555940a85d1af625468fa99012576da0fd39211c509d0db1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:25:59.198Z] + make test [2020-12-14T06:25:59.198Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-14T06:25:59.496Z] 745a02a5169b: Verifying Checksum [2020-12-14T06:25:59.496Z] 745a02a5169b: Download complete [2020-12-14T06:26:00.630Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-14T06:26:00.940Z] 00ac8860ef70: Verifying Checksum [2020-12-14T06:26:00.940Z] 00ac8860ef70: Download complete [2020-12-14T06:26:11.109Z] 00ac8860ef70: Pull complete [2020-12-14T06:26:11.384Z] 63d7cb157983: Pull complete [2020-12-14T06:26:11.983Z] b116817d02f9: Pull complete [2020-12-14T06:26:13.035Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-12-14T06:26:13.035Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2020-12-14T06:26:13.036Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-12-14T06:26:13.036Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-14T06:26:15.392Z] 745a02a5169b: Pull complete [2020-12-14T06:26:15.392Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-14T06:26:15.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-14T06:26:15.392Z] ---> b7e6874047d6 [2020-12-14T06:26:15.392Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-14T06:26:15.648Z] gofmt -l . [2020-12-14T06:26:15.648Z] ["`gofmt -l .`" = ""] [2020-12-14T06:26:15.648Z] ./bin/test-attribution-txt.sh [2020-12-14T06:26:15.912Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2020-12-14T06:26:16.176Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2020-12-14T06:26:16.229Z] $ docker stop --time=1 190bc86a0c47d6de555940a85d1af625468fa99012576da0fd39211c509d0db1 [2020-12-14T06:26:18.678Z] $ docker rm -f 190bc86a0c47d6de555940a85d1af625468fa99012576da0fd39211c509d0db1 [2020-12-14T06:26:18.783Z] ---> Running in 6a3aea8e71bd [2020-12-14T06:26:18.783Z] Removing intermediate container 6a3aea8e71bd [2020-12-14T06:26:18.783Z] ---> 21a975e70428 [2020-12-14T06:26:18.783Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T06:26:18.783Z] ---> Running in 47abc6cc3ab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:26:21.352Z] Failed in branch amd64 [2020-12-14T06:26:21.408Z] Removing intermediate container 47abc6cc3ab7 [2020-12-14T06:26:21.408Z] ---> 83f7212c36c0 [2020-12-14T06:26:21.408Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-14T06:26:21.408Z] ---> Running in 9a5355b6bd9b [2020-12-14T06:26:22.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T06:26:22.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T06:26:23.571Z] (1/14) Installing libmagic (5.38-r0) [2020-12-14T06:26:23.843Z] (2/14) Installing file (5.38-r0) [2020-12-14T06:26:23.843Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-14T06:26:23.843Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-14T06:26:27.227Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-14T06:26:27.227Z] (6/14) Installing patch (2.7.6-r6) [2020-12-14T06:26:27.227Z] (7/14) Installing build-base (0.5-r2) [2020-12-14T06:26:27.227Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-14T06:26:27.227Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-14T06:26:27.227Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-14T06:26:27.498Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-14T06:26:27.498Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-14T06:26:27.771Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-14T06:26:28.048Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-14T06:26:28.048Z] Executing busybox-1.31.1-r19.trigger [2020-12-14T06:26:28.048Z] OK: 221 MiB in 53 packages [2020-12-14T06:26:32.363Z] Removing intermediate container 9a5355b6bd9b [2020-12-14T06:26:32.363Z] ---> 9cdc9634b8cf [2020-12-14T06:26:32.363Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-14T06:26:32.363Z] ---> Running in 36c7f1e62310 [2020-12-14T06:26:32.971Z] Removing intermediate container 36c7f1e62310 [2020-12-14T06:26:32.971Z] ---> a7515d0c3942 [2020-12-14T06:26:32.971Z] Step 7/8 : COPY . . [2020-12-14T06:26:33.950Z] ---> fe8e4f48a9fe [2020-12-14T06:26:33.950Z] Step 8/8 : RUN go mod download [2020-12-14T06:26:33.950Z] ---> Running in c7f4d640bdce [2020-12-14T06:27:00.741Z] Removing intermediate container c7f4d640bdce [2020-12-14T06:27:00.741Z] ---> a6e9f61e8191 [2020-12-14T06:27:00.741Z] Successfully built a6e9f61e8191 [2020-12-14T06:27:00.741Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:27:01.123Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:27:01.123Z] . [Pipeline] withDockerContainer [2020-12-14T06:27:01.409Z] prd-ubuntu18.04-docker-arm64-4c-16g-15840 does not seem to be running inside a container [2020-12-14T06:27:01.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-14T06:27:03.055Z] $ docker top 268a2950ff92a71638e9810ba1e30cb9de516b9cb8934680df4c9d502ec69c51 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:27:04.128Z] + go version [2020-12-14T06:27:04.128Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-14T06:27:04.178Z] $ docker stop --time=1 268a2950ff92a71638e9810ba1e30cb9de516b9cb8934680df4c9d502ec69c51 [2020-12-14T06:27:06.138Z] $ docker rm -f 268a2950ff92a71638e9810ba1e30cb9de516b9cb8934680df4c9d502ec69c51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:27:07.435Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:27:07.435Z] . [Pipeline] withDockerContainer [2020-12-14T06:27:07.728Z] prd-ubuntu18.04-docker-arm64-4c-16g-15840 does not seem to be running inside a container [2020-12-14T06:27:07.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-14T06:27:09.358Z] $ docker top d6641a3678a947e28a85f0e2a32af31576d87963ad6567c93efd3f3b95f431d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:27:10.431Z] + make test [2020-12-14T06:27:10.431Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-14T06:27:11.415Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-14T06:27:50.501Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-12-14T06:27:50.501Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.034s coverage: 28.3% of statements [2020-12-14T06:27:50.501Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-12-14T06:27:50.501Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-14T06:27:57.266Z] gofmt -l . [2020-12-14T06:27:57.266Z] ["`gofmt -l .`" = ""] [2020-12-14T06:27:57.266Z] ./bin/test-attribution-txt.sh [2020-12-14T06:27:57.266Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2020-12-14T06:27:57.543Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2020-12-14T06:27:57.606Z] $ docker stop --time=1 d6641a3678a947e28a85f0e2a32af31576d87963ad6567c93efd3f3b95f431d5 [2020-12-14T06:27:59.876Z] $ docker rm -f d6641a3678a947e28a85f0e2a32af31576d87963ad6567c93efd3f3b95f431d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:28:02.819Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:07.470Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:08.097Z] ---> package-listing.sh [2020-12-14T06:28:08.098Z] ++ facter osfamily [2020-12-14T06:28:08.098Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-14T06:28:08.098Z] + OS_FAMILY=redhat [2020-12-14T06:28:08.098Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-192 [2020-12-14T06:28:08.098Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-14T06:28:08.098Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-14T06:28:08.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-14T06:28:08.098Z] + PACKAGES=/tmp/packages_start.txt [2020-12-14T06:28:08.098Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-192 ']' [2020-12-14T06:28:08.098Z] + PACKAGES=/tmp/packages_end.txt [2020-12-14T06:28:08.098Z] + case "${OS_FAMILY}" in [2020-12-14T06:28:08.098Z] + rpm -qa [2020-12-14T06:28:08.098Z] + sort [2020-12-14T06:28:12.330Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-14T06:28:12.330Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-14T06:28:12.330Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-14T06:28:12.330Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-192 ']' [2020-12-14T06:28:12.330Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-192/archives/ [2020-12-14T06:28:12.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-192/archives/ [Pipeline] echo [2020-12-14T06:28:12.378Z] 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-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-14T06:28:12.694Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:28:13.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:28:13.042Z] [2020-12-14T06:28:13.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:28:13.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:28:13.455Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-14T06:28:13.455Z] df20fa9351a1: Pulling fs layer [2020-12-14T06:28:13.455Z] 36b3adc4ff6f: Pulling fs layer [2020-12-14T06:28:13.455Z] 8ad3a11d3b57: Pulling fs layer [2020-12-14T06:28:13.455Z] 46f8f816bc3b: Pulling fs layer [2020-12-14T06:28:13.455Z] 93b61091891f: Pulling fs layer [2020-12-14T06:28:13.455Z] 93b9cdb0e59b: Pulling fs layer [2020-12-14T06:28:13.455Z] 5e14af77c1be: Pulling fs layer [2020-12-14T06:28:13.455Z] 01666e4c0597: Pulling fs layer [2020-12-14T06:28:13.455Z] aa168da1d23b: Pulling fs layer [2020-12-14T06:28:13.455Z] 93b9cdb0e59b: Waiting [2020-12-14T06:28:13.455Z] 5e14af77c1be: Waiting [2020-12-14T06:28:13.455Z] 01666e4c0597: Waiting [2020-12-14T06:28:13.455Z] aa168da1d23b: Waiting [2020-12-14T06:28:13.455Z] 46f8f816bc3b: Waiting [2020-12-14T06:28:13.455Z] 93b61091891f: Waiting [2020-12-14T06:28:13.455Z] 36b3adc4ff6f: Verifying Checksum [2020-12-14T06:28:13.455Z] 36b3adc4ff6f: Download complete [2020-12-14T06:28:13.455Z] 46f8f816bc3b: Verifying Checksum [2020-12-14T06:28:13.455Z] 46f8f816bc3b: Download complete [2020-12-14T06:28:13.723Z] df20fa9351a1: Download complete [2020-12-14T06:28:13.723Z] 93b9cdb0e59b: Verifying Checksum [2020-12-14T06:28:13.723Z] 93b9cdb0e59b: Download complete [2020-12-14T06:28:13.723Z] 5e14af77c1be: Verifying Checksum [2020-12-14T06:28:13.723Z] 5e14af77c1be: Download complete [2020-12-14T06:28:13.723Z] 01666e4c0597: Verifying Checksum [2020-12-14T06:28:13.723Z] 01666e4c0597: Download complete [2020-12-14T06:28:13.723Z] 93b61091891f: Verifying Checksum [2020-12-14T06:28:13.723Z] 93b61091891f: Download complete [2020-12-14T06:28:13.723Z] df20fa9351a1: Pull complete [2020-12-14T06:28:13.986Z] 36b3adc4ff6f: Pull complete [2020-12-14T06:28:14.258Z] 8ad3a11d3b57: Verifying Checksum [2020-12-14T06:28:14.258Z] 8ad3a11d3b57: Download complete [2020-12-14T06:28:15.714Z] 8ad3a11d3b57: Pull complete [2020-12-14T06:28:15.714Z] 46f8f816bc3b: Pull complete [2020-12-14T06:28:15.714Z] 93b61091891f: Pull complete [2020-12-14T06:28:15.714Z] aa168da1d23b: Verifying Checksum [2020-12-14T06:28:15.714Z] aa168da1d23b: Download complete [2020-12-14T06:28:16.302Z] 93b9cdb0e59b: Pull complete [2020-12-14T06:28:16.302Z] 5e14af77c1be: Pull complete [2020-12-14T06:28:16.302Z] 01666e4c0597: Pull complete [2020-12-14T06:28:21.636Z] aa168da1d23b: Pull complete [2020-12-14T06:28:21.636Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-14T06:28:21.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:28:21.897Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-14T06:28:22.076Z] prd-centos7-docker-4c-2g-15838 does not seem to be running inside a container [2020-12-14T06:28:22.136Z] $ 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-192/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-192 -v /w/workspace/gexfoundry_device-mqtt-go_PR-192:/w/workspace/gexfoundry_device-mqtt-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-192@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:10003/edgex-lftools-log-publisher:alpine cat [2020-12-14T06:28:25.416Z] $ docker top 2bf6dfbad4e0d5f1619b456db3a8bc769016457ab08a01cbed3168716e6e8e02 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:28:25.999Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-14T06:28:26.340Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-14T06:28:26.674Z] + ls /var/log/sa-host [2020-12-14T06:28:26.674Z] + sadf -c /var/log/sa-host/sa14 [2020-12-14T06:28:26.674Z] file_magic: OK [2020-12-14T06:28:26.674Z] HZ: Using current value: 100 [2020-12-14T06:28:26.674Z] file_header: OK [2020-12-14T06:28:26.674Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-14T06:28:26.675Z] Statistics: [2020-12-14T06:28:26.675Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-14T06:28:26.675Z] File successfully converted to sysstat format version 12.2.1 [2020-12-14T06:28:26.675Z] + sadf -c /var/log/sa-host/sa23 [2020-12-14T06:28:26.675Z] file_magic: OK [2020-12-14T06:28:26.675Z] HZ: Using current value: 100 [2020-12-14T06:28:26.675Z] file_header: OK [2020-12-14T06:28:26.675Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-14T06:28:26.675Z] Statistics: [2020-12-14T06:28:26.675Z] Hnuu...uuuununununu... [2020-12-14T06:28:26.675Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T06:28:27.005Z] provisioning config files... [2020-12-14T06:28:27.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-192@tmp/config627578513640996282tmp [Pipeline] { [Pipeline] echo [2020-12-14T06:28:27.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:27.528Z] ---> create-netrc.sh [Pipeline] } [2020-12-14T06:28:27.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-14T06:28:27.762Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:28.098Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-14T06:28:28.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:28.495Z] ---> sudo-logs.sh [2020-12-14T06:28:28.495Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-14T06:28:28.531Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:28.875Z] ---> job-cost.sh [2020-12-14T06:28:28.875Z] lf-activate-venv: SKIPPING [2020-12-14T06:28:28.875Z] INFO: No Stack... [2020-12-14T06:28:30.265Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-14T06:28:30.527Z] INFO: Archiving Costs [Pipeline] echo [2020-12-14T06:28:30.562Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:28:30.914Z] ---> logs-deploy.sh [2020-12-14T06:28:30.915Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-192/1 [2020-12-14T06:28:30.915Z] INFO: archiving workspace using pattern(s): [2020-12-14T06:28:32.835Z] Archives upload complete. [2020-12-14T06:28:32.835Z] INFO: archiving logs to Nexus