Pull request #201 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea+7a1b18f551239dfc150e88617034cadc3790dddc (8cc75cd7f6186e253ff72b421570015df6abb30a) 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 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 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-201/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 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 > 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-201/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-19364 in /w/workspace/gexfoundry_device-mqtt-go_PR-201 [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-201 # 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/201/head:refs/remotes/origin/PR-201 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea Merge succeeded, producing ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea Checking out Revision ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea (PR-201) > git config core.sparsecheckout # timeout=10 > git checkout -f ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea # 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 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T06:03:21.885Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T06:03:22.207Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T06:03:22.434Z] ========================================================= [2021-01-11T06:03:22.434Z] EdgeX Global Pipelines Version Info [2021-01-11T06:03:22.434Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:03:25.130Z] ------------------- [2021-01-11T06:03:25.130Z] stable info: [2021-01-11T06:03:25.130Z] ------------------- [2021-01-11T06:03:25.130Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T06:03:25.130Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:03:25.130Z] Message: update stable to v1.0.173 [2021-01-11T06:03:26.135Z] ------------------- [2021-01-11T06:03:26.135Z] experimental info: [2021-01-11T06:03:26.135Z] ------------------- [2021-01-11T06:03:26.135Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T06:03:26.135Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:03:26.135Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T06:03:26.627Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-11T06:03:26.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-11T06:03:26.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T06:03:27.030Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T06:03:27.162Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T06:03:27.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T06:03:27.430Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T06:03:27.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T06:03:27.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T06:03:27.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T06:03:27.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T06:03:28.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-11T06:03:28.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T06:03:28.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T06:03:28.500Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:03:28.616Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:03:28.735Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:03:28.883Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:03:29.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T06:03:29.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-11T06:03:29.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T06:03:29.469Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T06:03:29.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T06:03:29.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T06:03:29.877Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T06:03:29.999Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T06:03:30.140Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T06:03:30.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-201 [Pipeline] echo [2021-01-11T06:03:30.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-201 [Pipeline] echo [2021-01-11T06:03:30.667Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-201 [Pipeline] echo [2021-01-11T06:03:30.786Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea [Pipeline] echo [2021-01-11T06:03:30.906Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee9a9b5 [Pipeline] echo [2021-01-11T06:03:31.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:03:31.291Z] provisioning config files... [2021-01-11T06:03:31.334Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp/config2865378703286161324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:03:31.783Z] ---> docker-login.sh [2021-01-11T06:03:31.783Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:03:32.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:03:32.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:03:32.649Z] Configure a credential helper to remove this warning. See [2021-01-11T06:03:32.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:03:32.649Z] [2021-01-11T06:03:32.649Z] Login Succeeded [2021-01-11T06:03:32.649Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:03:32.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:03:32.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:03:32.920Z] Configure a credential helper to remove this warning. See [2021-01-11T06:03:32.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:03:32.920Z] [2021-01-11T06:03:32.920Z] Login Succeeded [2021-01-11T06:03:32.920Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:03:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:03:33.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:03:33.190Z] Configure a credential helper to remove this warning. See [2021-01-11T06:03:33.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:03:33.190Z] [2021-01-11T06:03:33.190Z] Login Succeeded [2021-01-11T06:03:33.190Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:03:33.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:03:33.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:03:33.458Z] Configure a credential helper to remove this warning. See [2021-01-11T06:03:33.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:03:33.458Z] [2021-01-11T06:03:33.458Z] Login Succeeded [2021-01-11T06:03:33.458Z] docker.io [2021-01-11T06:03:33.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:03:34.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:03:34.005Z] Configure a credential helper to remove this warning. See [2021-01-11T06:03:34.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:03:34.005Z] [2021-01-11T06:03:34.005Z] Login Succeeded [2021-01-11T06:03:34.005Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:03:34.052Z] 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-11T06:03:35.113Z] + git log --format=format:%s -1 ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea [Pipeline] echo [2021-01-11T06:03:35.215Z] GIT_COMMIT: ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-11T06:03:35.285Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:03:35.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:03:35.914Z] [2021-01-11T06:03:35.914Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:03:36.321Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:03:36.321Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T06:03:36.321Z] 31603596830f: Pulling fs layer [2021-01-11T06:03:36.321Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T06:03:36.321Z] 6ca5941a6612: Pulling fs layer [2021-01-11T06:03:36.321Z] ecc8261a40a4: Pulling fs layer [2021-01-11T06:03:36.321Z] ecc8261a40a4: Waiting [2021-01-11T06:03:36.321Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T06:03:36.321Z] 2a8b12db71e7: Download complete [2021-01-11T06:03:36.622Z] 31603596830f: Verifying Checksum [2021-01-11T06:03:36.622Z] 31603596830f: Download complete [2021-01-11T06:03:36.931Z] ecc8261a40a4: Verifying Checksum [2021-01-11T06:03:36.931Z] ecc8261a40a4: Download complete [2021-01-11T06:03:36.931Z] 6ca5941a6612: Verifying Checksum [2021-01-11T06:03:36.931Z] 6ca5941a6612: Download complete [2021-01-11T06:03:37.197Z] 31603596830f: Pull complete [2021-01-11T06:03:37.197Z] 2a8b12db71e7: Pull complete [2021-01-11T06:03:38.611Z] 6ca5941a6612: Pull complete [2021-01-11T06:03:38.882Z] ecc8261a40a4: Pull complete [2021-01-11T06:03:39.148Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T06:03:39.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:03:39.148Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T06:03:39.365Z] prd-centos7-docker-4c-2g-19364 does not seem to be running inside a container [2021-01-11T06:03:39.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-201 -v /w/workspace/gexfoundry_device-mqtt-go_PR-201:/w/workspace/gexfoundry_device-mqtt-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-201@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-11T06:03:41.868Z] $ docker top 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:03:42.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:03:42.369Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:03:42.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:03:42.708Z] $ docker exec 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 ssh-agent [2021-01-11T06:03:43.040Z] SSH_AUTH_SOCK=/tmp/ssh-FDi5wEPqWgkI/agent.11 [2021-01-11T06:03:43.040Z] SSH_AGENT_PID=17 [2021-01-11T06:03:43.054Z] Running ssh-add (command line suppressed) [2021-01-11T06:03:43.451Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp/private_key_7776958977449761196.key (/w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp/private_key_7776958977449761196.key) [2021-01-11T06:03:43.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:03:43.970Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T06:03:44.281Z] $ docker exec --env ******** --env ******** 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 ssh-agent -k [2021-01-11T06:03:44.559Z] unset SSH_AUTH_SOCK; [2021-01-11T06:03:44.560Z] unset SSH_AGENT_PID; [2021-01-11T06:03:44.560Z] echo Agent pid 17 killed; [2021-01-11T06:03:44.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T06:03:44.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:03:44.842Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:03:45.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:03:45.211Z] $ docker exec 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 ssh-agent [2021-01-11T06:03:45.503Z] SSH_AUTH_SOCK=/tmp/ssh-L2rt0jvGXugf/agent.45 [2021-01-11T06:03:45.503Z] SSH_AGENT_PID=50 [2021-01-11T06:03:45.516Z] Running ssh-add (command line suppressed) [2021-01-11T06:03:45.697Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp/private_key_1792409819887843125.key (/w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp/private_key_1792409819887843125.key) [2021-01-11T06:03:45.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:03:46.201Z] + git semver init [2021-01-11T06:03:46.201Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:03:46.201Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-201/.git [2021-01-11T06:03:46.201Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-201 [2021-01-11T06:03:46.201Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:03:46.201Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:03:46.201Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:03:46.201Z] # $SEMVER_BRANCH = PR-201 [2021-01-11T06:03:46.201Z] # $SEMVER_TEMP = /tmp/semver-799417831 [2021-01-11T06:03:46.201Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-11T06:03:46.792Z] # '/tmp/semver-799417831' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-201/.semver' [2021-01-11T06:03:46.792Z] # -> Force: false [2021-01-11T06:03:46.792Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-201/.semver [Pipeline] } [2021-01-11T06:03:46.818Z] $ docker exec --env ******** --env ******** 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 ssh-agent -k [2021-01-11T06:03:46.981Z] unset SSH_AUTH_SOCK; [2021-01-11T06:03:46.981Z] unset SSH_AGENT_PID; [2021-01-11T06:03:46.981Z] echo Agent pid 50 killed; [2021-01-11T06:03:47.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:03:47.707Z] + git semver [Pipeline] } [2021-01-11T06:03:47.763Z] $ docker stop --time=1 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 [2021-01-11T06:03:49.360Z] $ docker rm -f 65750fd576439fd6a7f368da64b64374214360f199ec18a58bbb70260b66f4e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:03:50.213Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T06:03:51.127Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T06:03:51.150Z] [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-11T06:04:06.962Z] Still waiting to schedule task [2021-01-11T06:04:06.962Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-11T06:04:06.986Z] Still waiting to schedule task [2021-01-11T06:04:06.986Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-11T06:05:26.791Z] Running on prd-centos7-docker-4c-2g-19368 in /w/workspace/gexfoundry_device-mqtt-go_PR-201 [Pipeline] { [Pipeline] ws [2021-01-11T06:05:26.902Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T06:05:29.809Z] using credential edgex-jenkins-ssh [2021-01-11T06:05:29.858Z] Cloning the remote Git repository [2021-01-11T06:05:29.739Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T06:05:29.816Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-11T06:05:29.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T06:05:29.888Z] > git --version # timeout=10 [2021-01-11T06:05:29.894Z] > git --version # 'git version 2.24.3' [2021-01-11T06:05:29.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:05:29.927Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:05:31.025Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea [2021-01-11T06:05:31.112Z] Merge succeeded, producing ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea [2021-01-11T06:05:31.113Z] Checking out Revision ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea (PR-201) [2021-01-11T06:05:30.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T06:05:30.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:05:30.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T06:05:30.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T06:05:30.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:05:30.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:05:30.984Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:05:30.991Z] > git checkout -f ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea # timeout=10 [2021-01-11T06:05:31.030Z] > git remote # timeout=10 [2021-01-11T06:05:31.037Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T06:05:31.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:05:31.048Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-11T06:05:31.061Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T06:05:31.074Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:05:31.080Z] > git checkout -f ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea # timeout=10 [2021-01-11T06:05:34.749Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T06:05:34.775Z] > git --version # timeout=10 [2021-01-11T06:05:34.781Z] > git --version # 'git version 2.24.3' [2021-01-11T06:05:34.788Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:05:36.203Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:05:36.557Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:05:36.899Z] + sudo service docker restart [2021-01-11T06:05:36.899Z] + true [2021-01-11T06:05:36.899Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:05:38.002Z] provisioning config files... [2021-01-11T06:05:38.030Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2498159971651150077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:05:38.496Z] ---> docker-login.sh [2021-01-11T06:05:38.496Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:05:38.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:05:39.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:05:39.022Z] Configure a credential helper to remove this warning. See [2021-01-11T06:05:39.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:05:39.022Z] [2021-01-11T06:05:39.022Z] Login Succeeded [2021-01-11T06:05:39.022Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:05:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:05:39.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:05:39.023Z] Configure a credential helper to remove this warning. See [2021-01-11T06:05:39.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:05:39.023Z] [2021-01-11T06:05:39.023Z] Login Succeeded [2021-01-11T06:05:39.023Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:05:39.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:05:39.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:05:39.285Z] Configure a credential helper to remove this warning. See [2021-01-11T06:05:39.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:05:39.285Z] [2021-01-11T06:05:39.285Z] Login Succeeded [2021-01-11T06:05:39.285Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:05:39.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:05:39.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:05:39.549Z] Configure a credential helper to remove this warning. See [2021-01-11T06:05:39.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:05:39.549Z] [2021-01-11T06:05:39.549Z] Login Succeeded [2021-01-11T06:05:39.549Z] docker.io [2021-01-11T06:05:39.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:05:39.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:05:39.813Z] Configure a credential helper to remove this warning. See [2021-01-11T06:05:39.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:05:39.813Z] [2021-01-11T06:05:39.813Z] Login Succeeded [2021-01-11T06:05:39.813Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:05:39.840Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:05:40.479Z] ========================================================= [2021-01-11T06:05:40.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T06:05:40.479Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:05:40.885Z] + 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-11T06:05:40.885Z] Sending build context to Docker daemon 493.6kB [2021-01-11T06:05:40.885Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:05:40.885Z] Step 2/8 : FROM ${BASE} [2021-01-11T06:05:41.848Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T06:05:41.848Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T06:05:41.848Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T06:05:41.848Z] de9db76c5a1d: Pulling fs layer [2021-01-11T06:05:41.848Z] bca2f99d35d6: Pulling fs layer [2021-01-11T06:05:41.848Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T06:05:41.848Z] 7c6f9722023f: Pulling fs layer [2021-01-11T06:05:41.848Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T06:05:41.848Z] 93359f2a8cfa: Waiting [2021-01-11T06:05:41.848Z] 7c6f9722023f: Waiting [2021-01-11T06:05:41.848Z] bca2f99d35d6: Waiting [2021-01-11T06:05:41.848Z] a35cf1a2eb13: Waiting [2021-01-11T06:05:41.848Z] de9db76c5a1d: Verifying Checksum [2021-01-11T06:05:41.848Z] de9db76c5a1d: Download complete [2021-01-11T06:05:41.848Z] 0ef7d3d256c8: Download complete [2021-01-11T06:05:41.848Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T06:05:41.848Z] 93359f2a8cfa: Download complete [2021-01-11T06:05:41.848Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T06:05:41.848Z] 188c0c94c7c5: Download complete [2021-01-11T06:05:41.848Z] 7c6f9722023f: Verifying Checksum [2021-01-11T06:05:41.848Z] 7c6f9722023f: Download complete [2021-01-11T06:05:42.135Z] 188c0c94c7c5: Pull complete [2021-01-11T06:05:42.403Z] 0ef7d3d256c8: Pull complete [2021-01-11T06:05:42.403Z] de9db76c5a1d: Pull complete [2021-01-11T06:05:45.002Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T06:05:45.002Z] a35cf1a2eb13: Download complete [2021-01-11T06:05:45.955Z] bca2f99d35d6: Verifying Checksum [2021-01-11T06:05:45.955Z] bca2f99d35d6: Download complete [2021-01-11T06:05:51.326Z] bca2f99d35d6: Pull complete [2021-01-11T06:05:51.326Z] 93359f2a8cfa: Pull complete [2021-01-11T06:05:51.326Z] 7c6f9722023f: Pull complete [2021-01-11T06:05:56.651Z] a35cf1a2eb13: Pull complete [2021-01-11T06:05:56.651Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T06:05:56.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T06:05:56.651Z] ---> a62c8e92a672 [2021-01-11T06:05:56.651Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T06:05:56.915Z] ---> Running in 360724e6c1ba [2021-01-11T06:05:57.188Z] Removing intermediate container 360724e6c1ba [2021-01-11T06:05:57.188Z] ---> 21b4d4ebce09 [2021-01-11T06:05:57.188Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:05:57.188Z] ---> Running in 930f0c36e16a [2021-01-11T06:05:57.741Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19367 in /w/workspace/gexfoundry_device-mqtt-go_PR-201 [Pipeline] { [Pipeline] ws [2021-01-11T06:05:57.833Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T06:05:58.594Z] Removing intermediate container 930f0c36e16a [2021-01-11T06:05:58.594Z] ---> e84aa2ecd036 [2021-01-11T06:05:58.594Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T06:05:58.595Z] ---> Running in fab3a0ab5d93 [2021-01-11T06:05:59.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T06:06:01.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T06:06:03.363Z] using credential edgex-jenkins-ssh [2021-01-11T06:06:03.393Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T06:06:03.440Z] Cloning the remote Git repository [2021-01-11T06:06:03.975Z] (2/14) Installing file (5.38-r0) [2021-01-11T06:06:03.975Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T06:06:03.501Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T06:06:03.607Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-11T06:06:03.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T06:06:03.677Z] > git --version # timeout=10 [2021-01-11T06:06:03.696Z] > git --version # 'git version 2.17.1' [2021-01-11T06:06:03.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:06:03.778Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:06:04.239Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T06:06:05.088Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea [2021-01-11T06:06:05.308Z] Merge succeeded, producing ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea [2021-01-11T06:06:05.308Z] Checking out Revision ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea (PR-201) [2021-01-11T06:06:04.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T06:06:04.533Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:06:04.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T06:06:04.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T06:06:04.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:06:04.620Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:06:05.107Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:06:05.133Z] > git checkout -f ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea # timeout=10 [2021-01-11T06:06:05.213Z] > git remote # timeout=10 [2021-01-11T06:06:05.239Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T06:06:05.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:06:05.270Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-11T06:06:05.295Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T06:06:05.314Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:06:05.325Z] > git checkout -f ee9a9b5b9917bce995be2e2fb31b505fd2ad22ea # timeout=10 [2021-01-11T06:06:09.631Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T06:06:09.690Z] > git --version # timeout=10 [2021-01-11T06:06:09.705Z] > git --version # 'git version 2.17.1' [2021-01-11T06:06:09.719Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:06:11.670Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:06:12.216Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:06:12.598Z] + sudo service docker restart [2021-01-11T06:06:12.598Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:06:15.468Z] provisioning config files... [2021-01-11T06:06:15.514Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config9175943552251203279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:06:15.993Z] ---> docker-login.sh [2021-01-11T06:06:15.993Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:06:16.577Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T06:06:16.577Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T06:06:16.577Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T06:06:16.577Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T06:06:16.577Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T06:06:16.577Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T06:06:16.577Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T06:06:16.577Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T06:06:16.841Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T06:06:16.841Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T06:06:16.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:06:17.105Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T06:06:17.105Z] OK: 237 MiB in 53 packages [2021-01-11T06:06:17.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:06:17.255Z] Configure a credential helper to remove this warning. See [2021-01-11T06:06:17.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:06:17.255Z] [2021-01-11T06:06:17.255Z] Login Succeeded [2021-01-11T06:06:17.255Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:06:17.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:06:17.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:06:17.854Z] Configure a credential helper to remove this warning. See [2021-01-11T06:06:17.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:06:17.854Z] [2021-01-11T06:06:17.854Z] Login Succeeded [2021-01-11T06:06:17.854Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:06:18.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:06:18.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:06:18.405Z] Configure a credential helper to remove this warning. See [2021-01-11T06:06:18.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:06:18.405Z] [2021-01-11T06:06:18.405Z] Login Succeeded [2021-01-11T06:06:18.405Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:06:18.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:06:18.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:06:18.971Z] Configure a credential helper to remove this warning. See [2021-01-11T06:06:18.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:06:18.971Z] [2021-01-11T06:06:18.971Z] Login Succeeded [2021-01-11T06:06:18.971Z] docker.io [2021-01-11T06:06:19.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:06:19.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:06:19.839Z] Configure a credential helper to remove this warning. See [2021-01-11T06:06:19.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:06:19.839Z] [2021-01-11T06:06:19.839Z] Login Succeeded [2021-01-11T06:06:19.839Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:06:19.887Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:06:20.448Z] ========================================================= [2021-01-11T06:06:20.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T06:06:20.448Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:06:20.876Z] + 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-11T06:06:21.150Z] Sending build context to Docker daemon 492.5kB [2021-01-11T06:06:21.150Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:06:21.150Z] Step 2/8 : FROM ${BASE} [2021-01-11T06:06:21.353Z] Removing intermediate container fab3a0ab5d93 [2021-01-11T06:06:21.353Z] ---> 83c102c8974b [2021-01-11T06:06:21.353Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T06:06:21.353Z] ---> Running in 89fef46050af [2021-01-11T06:06:21.353Z] Removing intermediate container 89fef46050af [2021-01-11T06:06:21.353Z] ---> 8c14abcd675e [2021-01-11T06:06:21.353Z] Step 7/8 : COPY . . [2021-01-11T06:06:21.427Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T06:06:21.427Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T06:06:21.427Z] a4357932f1b6: Pulling fs layer [2021-01-11T06:06:21.427Z] 18c013af1878: Pulling fs layer [2021-01-11T06:06:21.427Z] 00ac8860ef70: Pulling fs layer [2021-01-11T06:06:21.427Z] 63d7cb157983: Pulling fs layer [2021-01-11T06:06:21.427Z] b116817d02f9: Pulling fs layer [2021-01-11T06:06:21.427Z] 745a02a5169b: Pulling fs layer [2021-01-11T06:06:21.427Z] 63d7cb157983: Waiting [2021-01-11T06:06:21.427Z] b116817d02f9: Waiting [2021-01-11T06:06:21.427Z] 745a02a5169b: Waiting [2021-01-11T06:06:21.427Z] 00ac8860ef70: Waiting [2021-01-11T06:06:21.427Z] 18c013af1878: Verifying Checksum [2021-01-11T06:06:21.427Z] 18c013af1878: Download complete [2021-01-11T06:06:21.427Z] a4357932f1b6: Download complete [2021-01-11T06:06:21.427Z] 63d7cb157983: Verifying Checksum [2021-01-11T06:06:21.427Z] 63d7cb157983: Download complete [2021-01-11T06:06:21.427Z] b116817d02f9: Verifying Checksum [2021-01-11T06:06:21.427Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T06:06:21.427Z] 5f621e34cdf4: Download complete [2021-01-11T06:06:21.427Z] b116817d02f9: Download complete [2021-01-11T06:06:21.932Z] ---> 0cbf798ad4dc [2021-01-11T06:06:21.932Z] Step 8/8 : RUN go mod download [2021-01-11T06:06:21.932Z] ---> Running in 4858547e13f5 [2021-01-11T06:06:22.042Z] 5f621e34cdf4: Pull complete [2021-01-11T06:06:22.647Z] a4357932f1b6: Pull complete [2021-01-11T06:06:23.249Z] 18c013af1878: Pull complete [2021-01-11T06:06:24.248Z] 745a02a5169b: Verifying Checksum [2021-01-11T06:06:24.248Z] 745a02a5169b: Download complete [2021-01-11T06:06:25.731Z] 00ac8860ef70: Verifying Checksum [2021-01-11T06:06:25.731Z] 00ac8860ef70: Download complete [2021-01-11T06:06:35.935Z] 00ac8860ef70: Pull complete [2021-01-11T06:06:35.935Z] 63d7cb157983: Pull complete [2021-01-11T06:06:35.935Z] b116817d02f9: Pull complete [2021-01-11T06:06:40.270Z] 745a02a5169b: Pull complete [2021-01-11T06:06:40.270Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T06:06:40.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T06:06:40.270Z] ---> b7e6874047d6 [2021-01-11T06:06:40.270Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T06:06:42.929Z] ---> Running in 300bc4a88987 [2021-01-11T06:06:43.202Z] Removing intermediate container 300bc4a88987 [2021-01-11T06:06:43.202Z] ---> d7787963d64f [2021-01-11T06:06:43.202Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:06:43.476Z] ---> Running in 071533944a1c [2021-01-11T06:06:44.013Z] Removing intermediate container 4858547e13f5 [2021-01-11T06:06:44.013Z] ---> 252bdaa862ef [2021-01-11T06:06:44.013Z] Successfully built 252bdaa862ef [2021-01-11T06:06:44.013Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:06:44.366Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:06:44.366Z] . [Pipeline] withDockerContainer [2021-01-11T06:06:44.503Z] prd-centos7-docker-4c-2g-19368 does not seem to be running inside a container [2021-01-11T06:06:44.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T06:06:45.329Z] $ docker top 934a5530243a824d887f58608dd273aca9a8c7fd2489c3acda259a2103bc3b66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:06:45.862Z] + go version [2021-01-11T06:06:45.862Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T06:06:45.894Z] $ docker stop --time=1 934a5530243a824d887f58608dd273aca9a8c7fd2489c3acda259a2103bc3b66 [2021-01-11T06:06:46.111Z] Removing intermediate container 071533944a1c [2021-01-11T06:06:46.111Z] ---> dc7090e942d0 [2021-01-11T06:06:46.111Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T06:06:46.111Z] ---> Running in 34478c1e262d [2021-01-11T06:06:47.093Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T06:06:47.240Z] $ docker rm -f 934a5530243a824d887f58608dd273aca9a8c7fd2489c3acda259a2103bc3b66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-11T06:06:47.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:06:48.289Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:06:48.289Z] . [Pipeline] withDockerContainer [2021-01-11T06:06:48.415Z] prd-centos7-docker-4c-2g-19368 does not seem to be running inside a container [2021-01-11T06:06:48.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T06:06:48.659Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T06:06:48.659Z] (2/14) Installing file (5.38-r0) [2021-01-11T06:06:48.930Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T06:06:48.930Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T06:06:49.521Z] $ docker top e2cfb01b75b74afc804ee6d55c9bf55dc24adf53551b46e77dc60b7a5fd2e1a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:06:50.140Z] + make test [2021-01-11T06:06:50.140Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T06:06:51.565Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T06:06:55.620Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T06:06:55.891Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T06:06:55.891Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T06:06:55.891Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T06:06:56.161Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T06:06:56.161Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T06:06:56.753Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T06:06:56.753Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T06:06:56.753Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T06:06:57.028Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T06:06:57.389Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T06:06:57.389Z] OK: 221 MiB in 53 packages [2021-01-11T06:06:58.322Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T06:06:58.322Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T06:06:58.322Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T06:06:58.322Z] have (string, bool, string, string) [2021-01-11T06:06:58.322Z] want (string, string) [2021-01-11T06:07:01.768Z] Removing intermediate container 34478c1e262d [2021-01-11T06:07:01.768Z] ---> f5281af2216c [2021-01-11T06:07:01.768Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T06:07:01.768Z] ---> Running in 63e017c3e80b [2021-01-11T06:07:02.374Z] Removing intermediate container 63e017c3e80b [2021-01-11T06:07:02.374Z] ---> 3880f6bd3963 [2021-01-11T06:07:02.374Z] Step 7/8 : COPY . . [2021-01-11T06:07:02.609Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-11T06:07:02.609Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-11T06:07:02.659Z] $ docker stop --time=1 e2cfb01b75b74afc804ee6d55c9bf55dc24adf53551b46e77dc60b7a5fd2e1a0 [2021-01-11T06:07:03.365Z] ---> 0cf2e8def3b5 [2021-01-11T06:07:03.365Z] Step 8/8 : RUN go mod download [2021-01-11T06:07:03.365Z] ---> Running in f60d5aa27c03 [2021-01-11T06:07:04.809Z] $ docker rm -f e2cfb01b75b74afc804ee6d55c9bf55dc24adf53551b46e77dc60b7a5fd2e1a0 [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-11T06:07:07.474Z] Failed in branch amd64 [2021-01-11T06:07:25.604Z] Removing intermediate container f60d5aa27c03 [2021-01-11T06:07:25.604Z] ---> 628f147ff491 [2021-01-11T06:07:25.604Z] Successfully built 628f147ff491 [2021-01-11T06:07:25.879Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:07:26.487Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:07:26.487Z] . [Pipeline] withDockerContainer [2021-01-11T06:07:26.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-19367 does not seem to be running inside a container [2021-01-11T06:07:26.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T06:07:28.474Z] $ docker top 7bdb89097086444a21ae76d23b4dceacf101db02d25dc0ba20a58e19e74096d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:07:29.592Z] + go version [2021-01-11T06:07:29.592Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T06:07:29.630Z] $ docker stop --time=1 7bdb89097086444a21ae76d23b4dceacf101db02d25dc0ba20a58e19e74096d3 [2021-01-11T06:07:31.612Z] $ docker rm -f 7bdb89097086444a21ae76d23b4dceacf101db02d25dc0ba20a58e19e74096d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:07:33.379Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:07:33.379Z] . [Pipeline] withDockerContainer [2021-01-11T06:07:33.661Z] prd-ubuntu18.04-docker-arm64-4c-16g-19367 does not seem to be running inside a container [2021-01-11T06:07:33.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T06:07:35.411Z] $ docker top d284142597426d6b2be36c9cf59159764cc268a21a6aaf01ab4223cd2681b9c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:07:36.465Z] + make test [2021-01-11T06:07:36.465Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T06:07:37.453Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T06:07:59.698Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T06:07:59.698Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T06:07:59.698Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T06:07:59.698Z] have (string, bool, string, string) [2021-01-11T06:07:59.698Z] want (string, string) [2021-01-11T06:08:09.878Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-11T06:08:09.878Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-11T06:08:10.213Z] $ docker stop --time=1 d284142597426d6b2be36c9cf59159764cc268a21a6aaf01ab4223cd2681b9c1 [2021-01-11T06:08:12.519Z] $ docker rm -f d284142597426d6b2be36c9cf59159764cc268a21a6aaf01ab4223cd2681b9c1 [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-11T06:08:14.861Z] 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-11T06:08:18.747Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:08:19.440Z] ---> package-listing.sh [2021-01-11T06:08:19.440Z] ++ facter osfamily [2021-01-11T06:08:19.440Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T06:08:19.717Z] + OS_FAMILY=redhat [2021-01-11T06:08:19.717Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-201 [2021-01-11T06:08:19.717Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T06:08:19.717Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T06:08:19.717Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T06:08:19.717Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T06:08:19.717Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-201 ']' [2021-01-11T06:08:19.717Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T06:08:19.717Z] + case "${OS_FAMILY}" in [2021-01-11T06:08:19.717Z] + rpm -qa [2021-01-11T06:08:19.717Z] + sort [2021-01-11T06:08:27.230Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T06:08:27.230Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T06:08:27.230Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T06:08:27.230Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-201 ']' [2021-01-11T06:08:27.230Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-201/archives/ [2021-01-11T06:08:27.230Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-201/archives/ [Pipeline] echo [2021-01-11T06:08:27.283Z] 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-201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T06:08:27.656Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:08:28.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:08:28.578Z] [2021-01-11T06:08:28.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:08:29.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:08:29.009Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T06:08:29.009Z] df20fa9351a1: Pulling fs layer [2021-01-11T06:08:29.009Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T06:08:29.009Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T06:08:29.009Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T06:08:29.009Z] 93b61091891f: Pulling fs layer [2021-01-11T06:08:29.009Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T06:08:29.009Z] 5e14af77c1be: Pulling fs layer [2021-01-11T06:08:29.009Z] 01666e4c0597: Pulling fs layer [2021-01-11T06:08:29.009Z] aa168da1d23b: Pulling fs layer [2021-01-11T06:08:29.009Z] 93b61091891f: Waiting [2021-01-11T06:08:29.009Z] 93b9cdb0e59b: Waiting [2021-01-11T06:08:29.009Z] 5e14af77c1be: Waiting [2021-01-11T06:08:29.009Z] 01666e4c0597: Waiting [2021-01-11T06:08:29.009Z] aa168da1d23b: Waiting [2021-01-11T06:08:29.009Z] 46f8f816bc3b: Waiting [2021-01-11T06:08:29.009Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T06:08:29.009Z] 36b3adc4ff6f: Download complete [2021-01-11T06:08:29.009Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T06:08:29.009Z] 46f8f816bc3b: Download complete [2021-01-11T06:08:29.280Z] df20fa9351a1: Download complete [2021-01-11T06:08:29.280Z] 93b61091891f: Verifying Checksum [2021-01-11T06:08:29.280Z] 93b61091891f: Download complete [2021-01-11T06:08:29.280Z] 93b9cdb0e59b: Download complete [2021-01-11T06:08:29.280Z] 01666e4c0597: Verifying Checksum [2021-01-11T06:08:29.280Z] 01666e4c0597: Download complete [2021-01-11T06:08:29.280Z] 5e14af77c1be: Verifying Checksum [2021-01-11T06:08:29.280Z] 5e14af77c1be: Download complete [2021-01-11T06:08:29.907Z] df20fa9351a1: Pull complete [2021-01-11T06:08:30.182Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T06:08:30.182Z] 8ad3a11d3b57: Download complete [2021-01-11T06:08:30.182Z] 36b3adc4ff6f: Pull complete [2021-01-11T06:08:32.267Z] 8ad3a11d3b57: Pull complete [2021-01-11T06:08:32.267Z] 46f8f816bc3b: Pull complete [2021-01-11T06:08:33.272Z] 93b61091891f: Pull complete [2021-01-11T06:08:33.545Z] 93b9cdb0e59b: Pull complete [2021-01-11T06:08:33.851Z] 5e14af77c1be: Pull complete [2021-01-11T06:08:34.484Z] aa168da1d23b: Verifying Checksum [2021-01-11T06:08:34.484Z] aa168da1d23b: Download complete [2021-01-11T06:08:34.484Z] 01666e4c0597: Pull complete [2021-01-11T06:08:47.063Z] aa168da1d23b: Pull complete [2021-01-11T06:08:47.063Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T06:08:47.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:08:47.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T06:08:47.507Z] prd-centos7-docker-4c-2g-19364 does not seem to be running inside a container [2021-01-11T06:08:47.680Z] $ 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-201/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-201 -v /w/workspace/gexfoundry_device-mqtt-go_PR-201:/w/workspace/gexfoundry_device-mqtt-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-201@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-11T06:08:51.422Z] $ docker top 53091ca30c0c4f2ff3e7126ba08128c13a17db19083d9fc7034bf4098b23e3c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:08:52.044Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T06:08:52.382Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T06:08:52.726Z] + ls /var/log/sa-host [2021-01-11T06:08:52.726Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T06:08:52.726Z] file_magic: OK [2021-01-11T06:08:52.726Z] HZ: Using current value: 100 [2021-01-11T06:08:52.726Z] file_header: OK [2021-01-11T06:08:52.726Z] 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-11T06:08:52.726Z] Statistics: [2021-01-11T06:08:52.726Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T06:08:52.726Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T06:08:52.726Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T06:08:52.726Z] file_magic: OK [2021-01-11T06:08:52.726Z] HZ: Using current value: 100 [2021-01-11T06:08:52.726Z] file_header: OK [2021-01-11T06:08:52.727Z] 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-11T06:08:52.727Z] Statistics: [2021-01-11T06:08:52.727Z] Hnuu...uuuununununu... [2021-01-11T06:08:52.727Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T06:08:52.990Z] provisioning config files... [2021-01-11T06:08:53.009Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-201@tmp/config97657909351474056tmp [Pipeline] { [Pipeline] echo [2021-01-11T06:08:53.118Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:08:53.495Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T06:08:53.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T06:08:53.954Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:08:54.310Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T06:08:54.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:08:54.704Z] ---> sudo-logs.sh [2021-01-11T06:08:54.704Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T06:08:54.741Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:08:55.107Z] ---> job-cost.sh [2021-01-11T06:08:55.107Z] lf-activate-venv: SKIPPING [2021-01-11T06:08:55.107Z] INFO: No Stack... [2021-01-11T06:08:56.068Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T06:08:56.652Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T06:08:56.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:08:57.079Z] ---> logs-deploy.sh [2021-01-11T06:08:57.079Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-201/1 [2021-01-11T06:08:57.079Z] INFO: archiving workspace using pattern(s): [2021-01-11T06:08:59.703Z] Archives upload complete. [2021-01-11T06:08:59.976Z] INFO: archiving logs to Nexus