Pull request #210 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4027767cfd337ba45b5ab11780246e69d784b384+b247510d13ba8e9fad57040faa04d23d7bfdafc2 (046d1880b6cc092775d711d6df8989c96b7990ec) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-210/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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-210/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 69a7e166112f335804d9fea76440e5140e47f034 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22551 in /w/workspace/gexfoundry_device-mqtt-go_PR-210 [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-210 # 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/210/head:refs/remotes/origin/PR-210 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 4027767cfd337ba45b5ab11780246e69d784b384 Merge succeeded, producing 4027767cfd337ba45b5ab11780246e69d784b384 Checking out Revision 4027767cfd337ba45b5ab11780246e69d784b384 (PR-210) > git config core.sparsecheckout # timeout=10 > git checkout -f 4027767cfd337ba45b5ab11780246e69d784b384 # 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 b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4027767cfd337ba45b5ab11780246e69d784b384 # 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 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-25T06:01:03.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-25T06:01:04.441Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-25T06:01:04.698Z] ========================================================= [2021-01-25T06:01:04.698Z] EdgeX Global Pipelines Version Info [2021-01-25T06:01:04.698Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:01:06.709Z] ------------------- [2021-01-25T06:01:06.709Z] stable info: [2021-01-25T06:01:06.709Z] ------------------- [2021-01-25T06:01:06.709Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-25T06:01:06.709Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T06:01:06.709Z] Message: update stable to v1.0.179 [2021-01-25T06:01:07.285Z] ------------------- [2021-01-25T06:01:07.285Z] experimental info: [2021-01-25T06:01:07.285Z] ------------------- [2021-01-25T06:01:07.285Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-25T06:01:07.285Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T06:01:07.285Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-25T06:01:07.690Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-25T06:01:07.920Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-25T06:01:08.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-25T06:01:08.212Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-25T06:01:08.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-25T06:01:08.477Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-25T06:01:08.609Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-25T06:01:08.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-25T06:01:08.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-25T06:01:09.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-25T06:01:09.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-25T06:01:09.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-25T06:01:09.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-25T06:01:09.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-25T06:01:09.767Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-25T06:01:09.936Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-25T06:01:10.080Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T06:01:10.231Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T06:01:10.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-25T06:01:10.574Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-25T06:01:10.731Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-25T06:01:10.874Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-25T06:01:11.010Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-25T06:01:11.166Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-25T06:01:11.294Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-25T06:01:11.423Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-25T06:01:11.549Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-25T06:01:11.696Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo [2021-01-25T06:01:11.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo [2021-01-25T06:01:12.057Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo [2021-01-25T06:01:12.189Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4027767cfd337ba45b5ab11780246e69d784b384 [Pipeline] echo [2021-01-25T06:01:12.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4027767 [Pipeline] echo [2021-01-25T06:01:12.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-25T06:01:12.740Z] provisioning config files... [2021-01-25T06:01:12.785Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp/config9116884176285547119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:01:13.211Z] ---> docker-login.sh [2021-01-25T06:01:13.211Z] nexus3.edgexfoundry.org:10001 [2021-01-25T06:01:13.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:01:13.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:01:13.739Z] Configure a credential helper to remove this warning. See [2021-01-25T06:01:13.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:01:13.739Z] [2021-01-25T06:01:13.739Z] Login Succeeded [2021-01-25T06:01:13.739Z] nexus3.edgexfoundry.org:10002 [2021-01-25T06:01:13.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:01:14.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:01:14.005Z] Configure a credential helper to remove this warning. See [2021-01-25T06:01:14.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:01:14.005Z] [2021-01-25T06:01:14.005Z] Login Succeeded [2021-01-25T06:01:14.005Z] nexus3.edgexfoundry.org:10003 [2021-01-25T06:01:14.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:01:14.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:01:14.005Z] Configure a credential helper to remove this warning. See [2021-01-25T06:01:14.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:01:14.005Z] [2021-01-25T06:01:14.005Z] Login Succeeded [2021-01-25T06:01:14.005Z] nexus3.edgexfoundry.org:10004 [2021-01-25T06:01:14.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:01:14.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:01:14.270Z] Configure a credential helper to remove this warning. See [2021-01-25T06:01:14.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:01:14.270Z] [2021-01-25T06:01:14.270Z] Login Succeeded [2021-01-25T06:01:14.270Z] docker.io [2021-01-25T06:01:14.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:01:14.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:01:14.534Z] Configure a credential helper to remove this warning. See [2021-01-25T06:01:14.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:01:14.534Z] [2021-01-25T06:01:14.534Z] Login Succeeded [2021-01-25T06:01:14.534Z] ---> docker-login.sh ends [Pipeline] } [2021-01-25T06:01:14.560Z] 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-25T06:01:15.781Z] + git log --format=format:%s -1 4027767cfd337ba45b5ab11780246e69d784b384 [Pipeline] echo [2021-01-25T06:01:15.892Z] GIT_COMMIT: 4027767cfd337ba45b5ab11780246e69d784b384, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-25T06:01:15.997Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:01:17.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T06:01:17.147Z] [2021-01-25T06:01:17.147Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:01:17.600Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T06:01:17.600Z] latest: Pulling from edgex-devops/git-semver [2021-01-25T06:01:17.600Z] 31603596830f: Pulling fs layer [2021-01-25T06:01:17.600Z] 2a8b12db71e7: Pulling fs layer [2021-01-25T06:01:17.600Z] 6ca5941a6612: Pulling fs layer [2021-01-25T06:01:17.600Z] ecc8261a40a4: Pulling fs layer [2021-01-25T06:01:17.600Z] ecc8261a40a4: Waiting [2021-01-25T06:01:17.600Z] 2a8b12db71e7: Verifying Checksum [2021-01-25T06:01:17.600Z] 2a8b12db71e7: Download complete [2021-01-25T06:01:17.863Z] 31603596830f: Verifying Checksum [2021-01-25T06:01:17.863Z] 31603596830f: Download complete [2021-01-25T06:01:17.863Z] 6ca5941a6612: Verifying Checksum [2021-01-25T06:01:17.863Z] 6ca5941a6612: Download complete [2021-01-25T06:01:17.863Z] ecc8261a40a4: Verifying Checksum [2021-01-25T06:01:17.863Z] ecc8261a40a4: Download complete [2021-01-25T06:01:18.127Z] 31603596830f: Pull complete [2021-01-25T06:01:18.127Z] 2a8b12db71e7: Pull complete [2021-01-25T06:01:19.078Z] 6ca5941a6612: Pull complete [2021-01-25T06:01:19.343Z] ecc8261a40a4: Pull complete [2021-01-25T06:01:19.343Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-25T06:01:19.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T06:01:19.343Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-25T06:01:19.482Z] prd-centos7-docker-4c-2g-22551 does not seem to be running inside a container [2021-01-25T06:01:19.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-210 -v /w/workspace/gexfoundry_device-mqtt-go_PR-210:/w/workspace/gexfoundry_device-mqtt-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-25T06:01:21.602Z] $ docker top 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-25T06:01:22.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T06:01:22.081Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T06:01:22.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T06:01:22.316Z] $ docker exec 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 ssh-agent [2021-01-25T06:01:22.479Z] SSH_AUTH_SOCK=/tmp/ssh-51TRktve6kNr/agent.12 [2021-01-25T06:01:22.479Z] SSH_AGENT_PID=18 [2021-01-25T06:01:22.494Z] Running ssh-add (command line suppressed) [2021-01-25T06:01:22.618Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp/private_key_6768447814913299465.key (/w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp/private_key_6768447814913299465.key) [2021-01-25T06:01:23.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T06:01:23.397Z] + git tag --points-at HEAD [Pipeline] } [2021-01-25T06:01:23.433Z] $ docker exec --env ******** --env ******** 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 ssh-agent -k [2021-01-25T06:01:23.548Z] unset SSH_AUTH_SOCK; [2021-01-25T06:01:23.548Z] unset SSH_AGENT_PID; [2021-01-25T06:01:23.548Z] echo Agent pid 18 killed; [2021-01-25T06:01:23.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-25T06:01:23.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T06:01:23.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T06:01:23.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T06:01:23.946Z] $ docker exec 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 ssh-agent [2021-01-25T06:01:24.101Z] SSH_AUTH_SOCK=/tmp/ssh-3Ne3u0VcXpGH/agent.47 [2021-01-25T06:01:24.101Z] SSH_AGENT_PID=52 [2021-01-25T06:01:24.109Z] Running ssh-add (command line suppressed) [2021-01-25T06:01:24.231Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp/private_key_8536633982230143074.key (/w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp/private_key_8536633982230143074.key) [2021-01-25T06:01:24.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T06:01:24.663Z] + git semver init [2021-01-25T06:01:24.663Z] # -> Open(): unable to determine branch for HEAD [2021-01-25T06:01:24.663Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-210/.git [2021-01-25T06:01:24.663Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-210 [2021-01-25T06:01:24.663Z] # $SEMVER_REMOTE_NAME = origin [2021-01-25T06:01:24.663Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-25T06:01:24.663Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-25T06:01:24.663Z] # $SEMVER_BRANCH = PR-210 [2021-01-25T06:01:24.663Z] # $SEMVER_TEMP = /tmp/semver-660791754 [2021-01-25T06:01:24.663Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-25T06:01:25.240Z] # '/tmp/semver-660791754' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-210/.semver' [2021-01-25T06:01:25.240Z] # -> Force: false [2021-01-25T06:01:25.240Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-210/.semver [Pipeline] } [2021-01-25T06:01:25.263Z] $ docker exec --env ******** --env ******** 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 ssh-agent -k [2021-01-25T06:01:25.377Z] unset SSH_AUTH_SOCK; [2021-01-25T06:01:25.378Z] unset SSH_AGENT_PID; [2021-01-25T06:01:25.378Z] echo Agent pid 52 killed; [2021-01-25T06:01:25.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-25T06:01:26.057Z] + git semver [Pipeline] } [2021-01-25T06:01:26.093Z] $ docker stop --time=1 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 [2021-01-25T06:01:27.471Z] $ docker rm -f 5fa28e0cbb5356c5fd149525442434090ecfe4233423f9eba495b2447055df03 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-25T06:01:28.004Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-25T06:01:28.474Z] Stashed 1 file(s) [Pipeline] echo [2021-01-25T06:01:28.499Z] [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-25T06:01:44.386Z] Still waiting to schedule task [2021-01-25T06:01:44.386Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22552’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-25T06:01:44.416Z] Still waiting to schedule task [2021-01-25T06:01:44.417Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-25T06:03:29.261Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22554 in /w/workspace/gexfoundry_device-mqtt-go_PR-210 [Pipeline] { [Pipeline] ws [2021-01-25T06:03:29.353Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-25T06:03:34.188Z] using credential edgex-jenkins-ssh [2021-01-25T06:03:34.241Z] Cloning the remote Git repository [2021-01-25T06:03:34.324Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-25T06:03:34.453Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-25T06:03:34.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-25T06:03:34.526Z] > git --version # timeout=10 [2021-01-25T06:03:34.543Z] > git --version # 'git version 2.17.1' [2021-01-25T06:03:34.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T06:03:34.612Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T06:03:35.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-25T06:03:35.328Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T06:03:35.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-25T06:03:35.391Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-25T06:03:35.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T06:03:35.403Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-25T06:03:35.887Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 4027767cfd337ba45b5ab11780246e69d784b384 [2021-01-25T06:03:36.063Z] Merge succeeded, producing 4027767cfd337ba45b5ab11780246e69d784b384 [2021-01-25T06:03:36.064Z] Checking out Revision 4027767cfd337ba45b5ab11780246e69d784b384 (PR-210) [2021-01-25T06:03:35.908Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T06:03:35.920Z] > git checkout -f 4027767cfd337ba45b5ab11780246e69d784b384 # timeout=10 [2021-01-25T06:03:35.991Z] > git remote # timeout=10 [2021-01-25T06:03:36.009Z] > git config --get remote.origin.url # timeout=10 [2021-01-25T06:03:36.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T06:03:36.032Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-25T06:03:36.055Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-25T06:03:36.073Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T06:03:36.083Z] > git checkout -f 4027767cfd337ba45b5ab11780246e69d784b384 # timeout=10 [2021-01-25T06:03:40.265Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-25T06:03:40.327Z] > git --version # timeout=10 [2021-01-25T06:03:40.336Z] > git --version # 'git version 2.17.1' [2021-01-25T06:03:40.350Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-25T06:03:42.126Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-25T06:03:42.573Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-25T06:03:42.937Z] + + sudo service docker restarttrue [2021-01-25T06:03:42.937Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-25T06:03:45.768Z] provisioning config files... [2021-01-25T06:03:45.809Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8888043105048089303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:03:46.280Z] ---> docker-login.sh [2021-01-25T06:03:46.280Z] nexus3.edgexfoundry.org:10001 [2021-01-25T06:03:47.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:03:47.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:03:47.544Z] Configure a credential helper to remove this warning. See [2021-01-25T06:03:47.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:03:47.544Z] [2021-01-25T06:03:47.544Z] Login Succeeded [2021-01-25T06:03:47.544Z] nexus3.edgexfoundry.org:10002 [2021-01-25T06:03:47.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:03:48.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:03:48.094Z] Configure a credential helper to remove this warning. See [2021-01-25T06:03:48.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:03:48.094Z] [2021-01-25T06:03:48.094Z] Login Succeeded [2021-01-25T06:03:48.094Z] nexus3.edgexfoundry.org:10003 [2021-01-25T06:03:48.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:03:48.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:03:48.641Z] Configure a credential helper to remove this warning. See [2021-01-25T06:03:48.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:03:48.641Z] [2021-01-25T06:03:48.641Z] Login Succeeded [2021-01-25T06:03:48.641Z] nexus3.edgexfoundry.org:10004 [2021-01-25T06:03:48.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:03:49.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:03:49.188Z] Configure a credential helper to remove this warning. See [2021-01-25T06:03:49.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:03:49.188Z] [2021-01-25T06:03:49.188Z] Login Succeeded [2021-01-25T06:03:49.188Z] docker.io [2021-01-25T06:03:49.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:03:49.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:03:49.735Z] Configure a credential helper to remove this warning. See [2021-01-25T06:03:49.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:03:49.735Z] [2021-01-25T06:03:49.735Z] Login Succeeded [2021-01-25T06:03:49.735Z] ---> docker-login.sh ends [Pipeline] } [2021-01-25T06:03:49.785Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-25T06:03:50.353Z] ========================================================= [2021-01-25T06:03:50.353Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-25T06:03:50.353Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:03:50.771Z] + 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-25T06:03:51.047Z] Sending build context to Docker daemon 483.8kB [2021-01-25T06:03:51.047Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T06:03:51.047Z] Step 2/8 : FROM ${BASE} [2021-01-25T06:03:51.047Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-25T06:03:51.323Z] 5f621e34cdf4: Pulling fs layer [2021-01-25T06:03:51.323Z] a4357932f1b6: Pulling fs layer [2021-01-25T06:03:51.323Z] 18c013af1878: Pulling fs layer [2021-01-25T06:03:51.323Z] 00ac8860ef70: Pulling fs layer [2021-01-25T06:03:51.323Z] 63d7cb157983: Pulling fs layer [2021-01-25T06:03:51.323Z] b116817d02f9: Pulling fs layer [2021-01-25T06:03:51.323Z] 745a02a5169b: Pulling fs layer [2021-01-25T06:03:51.323Z] 00ac8860ef70: Waiting [2021-01-25T06:03:51.323Z] 63d7cb157983: Waiting [2021-01-25T06:03:51.323Z] b116817d02f9: Waiting [2021-01-25T06:03:51.323Z] 18c013af1878: Verifying Checksum [2021-01-25T06:03:51.323Z] 18c013af1878: Download complete [2021-01-25T06:03:51.323Z] a4357932f1b6: Verifying Checksum [2021-01-25T06:03:51.323Z] a4357932f1b6: Download complete [2021-01-25T06:03:51.323Z] 63d7cb157983: Verifying Checksum [2021-01-25T06:03:51.323Z] 63d7cb157983: Download complete [2021-01-25T06:03:51.595Z] b116817d02f9: Verifying Checksum [2021-01-25T06:03:51.595Z] b116817d02f9: Download complete [2021-01-25T06:03:51.869Z] 5f621e34cdf4: Verifying Checksum [2021-01-25T06:03:51.869Z] 5f621e34cdf4: Download complete [2021-01-25T06:03:51.958Z] Running on prd-centos7-docker-4c-2g-22555 in /w/workspace/gexfoundry_device-mqtt-go_PR-210 [Pipeline] { [Pipeline] ws [2021-01-25T06:03:52.082Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-25T06:03:52.472Z] 5f621e34cdf4: Pull complete [2021-01-25T06:03:53.073Z] a4357932f1b6: Pull complete [2021-01-25T06:03:53.346Z] 18c013af1878: Pull complete [2021-01-25T06:03:53.941Z] 745a02a5169b: Verifying Checksum [2021-01-25T06:03:53.941Z] 745a02a5169b: Download complete [2021-01-25T06:03:54.933Z] 00ac8860ef70: Verifying Checksum [2021-01-25T06:03:54.933Z] 00ac8860ef70: Download complete [2021-01-25T06:03:59.994Z] using credential edgex-jenkins-ssh [2021-01-25T06:04:00.074Z] Cloning the remote Git repository [2021-01-25T06:04:00.165Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-25T06:04:00.271Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-25T06:04:00.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-25T06:04:00.474Z] > git --version # timeout=10 [2021-01-25T06:04:00.510Z] > git --version # 'git version 2.24.3' [2021-01-25T06:04:00.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T06:04:00.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T06:04:01.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-25T06:04:01.399Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T06:04:01.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-25T06:04:01.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-25T06:04:01.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T06:04:01.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-25T06:04:03.188Z] Merging remotes/origin/master commit b247510d13ba8e9fad57040faa04d23d7bfdafc2 into PR head commit 4027767cfd337ba45b5ab11780246e69d784b384 [2021-01-25T06:04:03.218Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T06:04:03.298Z] > git checkout -f 4027767cfd337ba45b5ab11780246e69d784b384 # timeout=10 [2021-01-25T06:04:03.474Z] > git remote # timeout=10 [2021-01-25T06:04:03.557Z] > git config --get remote.origin.url # timeout=10 [2021-01-25T06:04:03.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T06:04:03.619Z] > git merge b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [2021-01-25T06:04:03.685Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-25T06:04:03.733Z] Merge succeeded, producing 4027767cfd337ba45b5ab11780246e69d784b384 [2021-01-25T06:04:03.734Z] Checking out Revision 4027767cfd337ba45b5ab11780246e69d784b384 (PR-210) [2021-01-25T06:04:05.108Z] 00ac8860ef70: Pull complete [2021-01-25T06:04:05.108Z] 63d7cb157983: Pull complete [2021-01-25T06:04:03.740Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T06:04:03.770Z] > git checkout -f 4027767cfd337ba45b5ab11780246e69d784b384 # timeout=10 [2021-01-25T06:04:05.379Z] b116817d02f9: Pull complete [2021-01-25T06:04:08.131Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-25T06:04:08.195Z] > git --version # timeout=10 [2021-01-25T06:04:08.262Z] > git --version # 'git version 2.24.3' [2021-01-25T06:04:08.304Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T06:04:08.796Z] 745a02a5169b: Pull complete [2021-01-25T06:04:08.796Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-25T06:04:08.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-25T06:04:08.796Z] ---> b7e6874047d6 [2021-01-25T06:04:08.796Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-25T06:04:11.182Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-25T06:04:11.465Z] ---> Running in 764727ef9770 [2021-01-25T06:04:11.776Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-25T06:04:12.097Z] Removing intermediate container 764727ef9770 [2021-01-25T06:04:12.097Z] ---> 99b7bd51831e [2021-01-25T06:04:12.097Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-25T06:04:12.097Z] ---> Running in 5c0e9c443adb [2021-01-25T06:04:12.196Z] + sudo service docker restart [2021-01-25T06:04:12.196Z] + true [2021-01-25T06:04:12.196Z] Redirecting to /bin/systemctl restart docker.service [2021-01-25T06:04:14.198Z] Removing intermediate container 5c0e9c443adb [2021-01-25T06:04:14.198Z] ---> 8e0d69a8233c [2021-01-25T06:04:14.198Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [Pipeline] withEnv [Pipeline] { [2021-01-25T06:04:14.497Z] ---> Running in 78d3faa76cea [Pipeline] wrap [2021-01-25T06:04:14.604Z] provisioning config files... [2021-01-25T06:04:14.646Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7645463421512495851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:04:15.191Z] ---> docker-login.sh [2021-01-25T06:04:15.191Z] nexus3.edgexfoundry.org:10001 [2021-01-25T06:04:15.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-25T06:04:16.066Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-25T06:04:16.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:04:16.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:04:16.559Z] Configure a credential helper to remove this warning. See [2021-01-25T06:04:16.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:04:16.559Z] [2021-01-25T06:04:16.559Z] Login Succeeded [2021-01-25T06:04:16.559Z] nexus3.edgexfoundry.org:10002 [2021-01-25T06:04:17.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:04:17.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:04:17.306Z] Configure a credential helper to remove this warning. See [2021-01-25T06:04:17.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:04:17.306Z] [2021-01-25T06:04:17.306Z] Login Succeeded [2021-01-25T06:04:17.306Z] nexus3.edgexfoundry.org:10003 [2021-01-25T06:04:17.492Z] (1/14) Installing libmagic (5.38-r0) [2021-01-25T06:04:17.493Z] (2/14) Installing file (5.38-r0) [2021-01-25T06:04:17.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:04:17.768Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-25T06:04:17.768Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-25T06:04:17.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:04:17.895Z] Configure a credential helper to remove this warning. See [2021-01-25T06:04:17.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:04:17.895Z] [2021-01-25T06:04:17.895Z] Login Succeeded [2021-01-25T06:04:17.895Z] nexus3.edgexfoundry.org:10004 [2021-01-25T06:04:18.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:04:18.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:04:18.545Z] Configure a credential helper to remove this warning. See [2021-01-25T06:04:18.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:04:18.545Z] [2021-01-25T06:04:18.545Z] Login Succeeded [2021-01-25T06:04:18.545Z] docker.io [2021-01-25T06:04:19.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-25T06:04:19.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-25T06:04:19.486Z] Configure a credential helper to remove this warning. See [2021-01-25T06:04:19.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-25T06:04:19.486Z] [2021-01-25T06:04:19.486Z] Login Succeeded [2021-01-25T06:04:19.486Z] ---> docker-login.sh ends [Pipeline] } [2021-01-25T06:04:19.554Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-25T06:04:20.919Z] ========================================================= [2021-01-25T06:04:20.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-25T06:04:20.919Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:04:21.448Z] + 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-25T06:04:21.729Z] Sending build context to Docker daemon 484.9kB [2021-01-25T06:04:21.729Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T06:04:21.729Z] Step 2/8 : FROM ${BASE} [2021-01-25T06:04:21.729Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-25T06:04:21.729Z] 188c0c94c7c5: Pulling fs layer [2021-01-25T06:04:21.729Z] 0ef7d3d256c8: Pulling fs layer [2021-01-25T06:04:21.729Z] de9db76c5a1d: Pulling fs layer [2021-01-25T06:04:21.729Z] bca2f99d35d6: Pulling fs layer [2021-01-25T06:04:21.729Z] 93359f2a8cfa: Pulling fs layer [2021-01-25T06:04:21.729Z] 7c6f9722023f: Pulling fs layer [2021-01-25T06:04:21.729Z] a35cf1a2eb13: Pulling fs layer [2021-01-25T06:04:21.729Z] 93359f2a8cfa: Waiting [2021-01-25T06:04:21.729Z] 7c6f9722023f: Waiting [2021-01-25T06:04:21.729Z] a35cf1a2eb13: Waiting [2021-01-25T06:04:21.729Z] bca2f99d35d6: Waiting [2021-01-25T06:04:21.729Z] de9db76c5a1d: Verifying Checksum [2021-01-25T06:04:21.729Z] de9db76c5a1d: Download complete [2021-01-25T06:04:21.729Z] 0ef7d3d256c8: Verifying Checksum [2021-01-25T06:04:21.729Z] 0ef7d3d256c8: Download complete [2021-01-25T06:04:22.006Z] 93359f2a8cfa: Verifying Checksum [2021-01-25T06:04:22.006Z] 93359f2a8cfa: Download complete [2021-01-25T06:04:22.052Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-25T06:04:22.053Z] (6/14) Installing patch (2.7.6-r6) [2021-01-25T06:04:22.053Z] (7/14) Installing build-base (0.5-r2) [2021-01-25T06:04:22.053Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-25T06:04:22.053Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-25T06:04:22.276Z] 7c6f9722023f: Verifying Checksum [2021-01-25T06:04:22.276Z] 7c6f9722023f: Download complete [2021-01-25T06:04:22.322Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-25T06:04:22.592Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-25T06:04:22.592Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-25T06:04:22.618Z] 188c0c94c7c5: Download complete [2021-01-25T06:04:22.865Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-25T06:04:23.135Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-25T06:04:23.406Z] Executing busybox-1.31.1-r19.trigger [2021-01-25T06:04:23.406Z] OK: 221 MiB in 53 packages [2021-01-25T06:04:23.704Z] 188c0c94c7c5: Pull complete [2021-01-25T06:04:23.993Z] 0ef7d3d256c8: Pull complete [2021-01-25T06:04:24.273Z] de9db76c5a1d: Pull complete [2021-01-25T06:04:27.718Z] Removing intermediate container 78d3faa76cea [2021-01-25T06:04:27.718Z] ---> b1b6eb0509b2 [2021-01-25T06:04:27.718Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-25T06:04:27.718Z] ---> Running in 22a0cefbb983 [2021-01-25T06:04:27.971Z] a35cf1a2eb13: Verifying Checksum [2021-01-25T06:04:27.971Z] a35cf1a2eb13: Download complete [2021-01-25T06:04:27.992Z] Removing intermediate container 22a0cefbb983 [2021-01-25T06:04:27.992Z] ---> b9be029ddb12 [2021-01-25T06:04:27.992Z] Step 7/8 : COPY . . [2021-01-25T06:04:28.970Z] ---> 271265467d64 [2021-01-25T06:04:28.970Z] Step 8/8 : RUN go mod download [2021-01-25T06:04:28.970Z] ---> Running in ff94a652ce6a [2021-01-25T06:04:32.230Z] bca2f99d35d6: Verifying Checksum [2021-01-25T06:04:32.230Z] bca2f99d35d6: Download complete [2021-01-25T06:04:48.193Z] bca2f99d35d6: Pull complete [2021-01-25T06:04:48.193Z] 93359f2a8cfa: Pull complete [2021-01-25T06:04:48.193Z] 7c6f9722023f: Pull complete [2021-01-25T06:04:53.685Z] a35cf1a2eb13: Pull complete [2021-01-25T06:04:53.685Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-25T06:04:53.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-25T06:04:53.685Z] ---> a62c8e92a672 [2021-01-25T06:04:53.685Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-25T06:04:53.685Z] ---> Running in 5b80e59f8396 [2021-01-25T06:04:53.685Z] Removing intermediate container 5b80e59f8396 [2021-01-25T06:04:53.685Z] ---> 7d1caac80847 [2021-01-25T06:04:53.685Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-25T06:04:53.988Z] ---> Running in e23f38e815e1 [2021-01-25T06:04:55.783Z] Removing intermediate container ff94a652ce6a [2021-01-25T06:04:55.783Z] ---> d12c026f487b [2021-01-25T06:04:55.783Z] Successfully built d12c026f487b [2021-01-25T06:04:55.783Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:04:56.008Z] Removing intermediate container e23f38e815e1 [2021-01-25T06:04:56.008Z] ---> 869d000759c6 [2021-01-25T06:04:56.008Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-25T06:04:56.157Z] + docker inspect -f . ci-base-image-arm64 [2021-01-25T06:04:56.158Z] . [Pipeline] withDockerContainer [2021-01-25T06:04:56.293Z] ---> Running in 1175c7b6361b [2021-01-25T06:04:56.447Z] prd-ubuntu18.04-docker-arm64-4c-16g-22554 does not seem to be running inside a container [2021-01-25T06:04:56.540Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-01-25T06:04:57.421Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-25T06:04:58.004Z] $ docker top 9cb503e0cd1dd8c7e87a2225df580aff23e2e47066661ff855c49d5408df5d17 -eo pid,comm [2021-01-25T06:04:58.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2021-01-25T06:04:58.687Z] (1/14) Installing libmagic (5.38-r0) [2021-01-25T06:04:58.972Z] (2/14) Installing file (5.38-r0) [2021-01-25T06:04:58.972Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-25T06:04:59.082Z] + go version [2021-01-25T06:04:59.082Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-25T06:04:59.122Z] $ docker stop --time=1 9cb503e0cd1dd8c7e87a2225df580aff23e2e47066661ff855c49d5408df5d17 [2021-01-25T06:04:59.277Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-25T06:05:01.107Z] $ docker rm -f 9cb503e0cd1dd8c7e87a2225df580aff23e2e47066661ff855c49d5408df5d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:05:02.438Z] + docker inspect -f . ci-base-image-arm64 [2021-01-25T06:05:02.438Z] . [Pipeline] withDockerContainer [2021-01-25T06:05:02.725Z] prd-ubuntu18.04-docker-arm64-4c-16g-22554 does not seem to be running inside a container [2021-01-25T06:05:02.809Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-01-25T06:05:04.418Z] $ docker top 3bc1bb69fa15f2c11c844b76b4d8337a96cb0f36292fd3f6d2a65990c7189f45 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T06:05:05.494Z] + make test [2021-01-25T06:05:05.494Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-25T06:05:06.951Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-25T06:05:09.927Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-25T06:05:09.928Z] (6/14) Installing patch (2.7.6-r6) [2021-01-25T06:05:09.928Z] (7/14) Installing build-base (0.5-r2) [2021-01-25T06:05:09.928Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-25T06:05:09.928Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-25T06:05:09.928Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-25T06:05:10.606Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-25T06:05:10.606Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-25T06:05:10.891Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-25T06:05:11.183Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-25T06:05:11.652Z] Executing busybox-1.31.1-r19.trigger [2021-01-25T06:05:11.652Z] OK: 237 MiB in 53 packages [2021-01-25T06:05:17.453Z] Removing intermediate container 1175c7b6361b [2021-01-25T06:05:17.453Z] ---> 2373c5db68bc [2021-01-25T06:05:17.453Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-25T06:05:17.453Z] ---> Running in 5ac35b5cd641 [2021-01-25T06:05:17.453Z] Removing intermediate container 5ac35b5cd641 [2021-01-25T06:05:17.453Z] ---> e91a22bd461f [2021-01-25T06:05:17.453Z] Step 7/8 : COPY . . [2021-01-25T06:05:19.372Z] ---> a65e40046ea6 [2021-01-25T06:05:19.372Z] Step 8/8 : RUN go mod download [2021-01-25T06:05:19.372Z] ---> Running in 5f24d33b5929 [2021-01-25T06:05:29.156Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-25T06:05:29.156Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-25T06:05:29.156Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-25T06:05:29.156Z] have (string, bool, string, string) [2021-01-25T06:05:29.156Z] want (string, string) [2021-01-25T06:05:39.350Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-25T06:05:39.350Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-25T06:05:39.430Z] $ docker stop --time=1 3bc1bb69fa15f2c11c844b76b4d8337a96cb0f36292fd3f6d2a65990c7189f45 [2021-01-25T06:05:41.752Z] $ docker rm -f 3bc1bb69fa15f2c11c844b76b4d8337a96cb0f36292fd3f6d2a65990c7189f45 [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-25T06:05:44.507Z] Failed in branch arm64 [2021-01-25T06:05:58.962Z] Removing intermediate container 5f24d33b5929 [2021-01-25T06:05:58.962Z] ---> ec73d0e51b47 [2021-01-25T06:05:58.962Z] Successfully built ec73d0e51b47 [2021-01-25T06:05:58.962Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:05:59.479Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-25T06:05:59.779Z] . [Pipeline] withDockerContainer [2021-01-25T06:06:00.449Z] prd-centos7-docker-4c-2g-22555 does not seem to be running inside a container [2021-01-25T06:06:01.217Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-25T06:06:02.937Z] $ docker top 68c5bf887975e41db8a415b862437d347c976e8c3d99785eb93c01b40e2998f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T06:06:04.114Z] + go version [2021-01-25T06:06:04.418Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-25T06:06:04.466Z] $ docker stop --time=1 68c5bf887975e41db8a415b862437d347c976e8c3d99785eb93c01b40e2998f5 [2021-01-25T06:06:06.158Z] $ docker rm -f 68c5bf887975e41db8a415b862437d347c976e8c3d99785eb93c01b40e2998f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:06:07.434Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-25T06:06:07.434Z] . [Pipeline] withDockerContainer [2021-01-25T06:06:07.909Z] prd-centos7-docker-4c-2g-22555 does not seem to be running inside a container [2021-01-25T06:06:08.305Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-25T06:06:09.731Z] $ docker top 5c0680325569c3160b552f42ae13b468220d469dc4d3fe95f2be30f3d8873cbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T06:06:10.973Z] + make test [2021-01-25T06:06:10.974Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-25T06:06:14.502Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-25T06:06:33.695Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-25T06:06:33.695Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-25T06:06:33.695Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-25T06:06:33.695Z] have (string, bool, string, string) [2021-01-25T06:06:33.695Z] want (string, string) [2021-01-25T06:06:44.225Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-25T06:06:44.225Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-25T06:06:44.276Z] $ docker stop --time=1 5c0680325569c3160b552f42ae13b468220d469dc4d3fe95f2be30f3d8873cbd [2021-01-25T06:06:47.576Z] $ docker rm -f 5c0680325569c3160b552f42ae13b468220d469dc4d3fe95f2be30f3d8873cbd [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-25T06:06:50.471Z] Failed in branch amd64 [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-25T06:06:54.806Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:06:55.423Z] ---> package-listing.sh [2021-01-25T06:06:55.423Z] ++ facter osfamily [2021-01-25T06:06:55.423Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-25T06:06:55.423Z] + OS_FAMILY=redhat [2021-01-25T06:06:55.423Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-210 [2021-01-25T06:06:55.423Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-25T06:06:55.423Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-25T06:06:55.423Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-25T06:06:55.423Z] + PACKAGES=/tmp/packages_start.txt [2021-01-25T06:06:55.423Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-210 ']' [2021-01-25T06:06:55.423Z] + PACKAGES=/tmp/packages_end.txt [2021-01-25T06:06:55.423Z] + case "${OS_FAMILY}" in [2021-01-25T06:06:55.423Z] + rpm -qa [2021-01-25T06:06:55.423Z] + sort [2021-01-25T06:07:00.732Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-25T06:07:00.732Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-25T06:07:00.732Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-25T06:07:00.732Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-210 ']' [2021-01-25T06:07:00.732Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-210/archives/ [2021-01-25T06:07:00.732Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-210/archives/ [Pipeline] echo [2021-01-25T06:07:00.767Z] 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-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-25T06:07:01.081Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:07:01.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T06:07:01.423Z] [2021-01-25T06:07:01.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-25T06:07:01.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T06:07:01.826Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-25T06:07:01.826Z] df20fa9351a1: Pulling fs layer [2021-01-25T06:07:01.826Z] 36b3adc4ff6f: Pulling fs layer [2021-01-25T06:07:01.826Z] 8ad3a11d3b57: Pulling fs layer [2021-01-25T06:07:01.826Z] 46f8f816bc3b: Pulling fs layer [2021-01-25T06:07:01.826Z] 93b61091891f: Pulling fs layer [2021-01-25T06:07:01.826Z] 93b9cdb0e59b: Pulling fs layer [2021-01-25T06:07:01.826Z] 5e14af77c1be: Pulling fs layer [2021-01-25T06:07:01.826Z] 01666e4c0597: Pulling fs layer [2021-01-25T06:07:01.826Z] aa168da1d23b: Pulling fs layer [2021-01-25T06:07:01.826Z] 46f8f816bc3b: Waiting [2021-01-25T06:07:01.826Z] 5e14af77c1be: Waiting [2021-01-25T06:07:01.826Z] 01666e4c0597: Waiting [2021-01-25T06:07:01.826Z] 93b61091891f: Waiting [2021-01-25T06:07:01.826Z] 93b9cdb0e59b: Waiting [2021-01-25T06:07:01.826Z] aa168da1d23b: Waiting [2021-01-25T06:07:01.826Z] 36b3adc4ff6f: Download complete [2021-01-25T06:07:01.826Z] 46f8f816bc3b: Download complete [2021-01-25T06:07:01.826Z] df20fa9351a1: Verifying Checksum [2021-01-25T06:07:01.826Z] df20fa9351a1: Download complete [2021-01-25T06:07:02.097Z] 93b9cdb0e59b: Verifying Checksum [2021-01-25T06:07:02.097Z] 93b9cdb0e59b: Download complete [2021-01-25T06:07:02.097Z] 93b61091891f: Download complete [2021-01-25T06:07:02.097Z] 5e14af77c1be: Verifying Checksum [2021-01-25T06:07:02.097Z] 5e14af77c1be: Download complete [2021-01-25T06:07:02.097Z] 01666e4c0597: Verifying Checksum [2021-01-25T06:07:02.097Z] 01666e4c0597: Download complete [2021-01-25T06:07:02.097Z] 8ad3a11d3b57: Verifying Checksum [2021-01-25T06:07:02.097Z] 8ad3a11d3b57: Download complete [2021-01-25T06:07:02.363Z] df20fa9351a1: Pull complete [2021-01-25T06:07:02.626Z] 36b3adc4ff6f: Pull complete [2021-01-25T06:07:03.207Z] 8ad3a11d3b57: Pull complete [2021-01-25T06:07:03.470Z] 46f8f816bc3b: Pull complete [2021-01-25T06:07:04.425Z] aa168da1d23b: Verifying Checksum [2021-01-25T06:07:04.425Z] aa168da1d23b: Download complete [2021-01-25T06:07:04.688Z] 93b61091891f: Pull complete [2021-01-25T06:07:04.688Z] 93b9cdb0e59b: Pull complete [2021-01-25T06:07:04.953Z] 5e14af77c1be: Pull complete [2021-01-25T06:07:04.953Z] 01666e4c0597: Pull complete [2021-01-25T06:07:13.151Z] aa168da1d23b: Pull complete [2021-01-25T06:07:13.152Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-25T06:07:13.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T06:07:13.152Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-25T06:07:13.375Z] prd-centos7-docker-4c-2g-22551 does not seem to be running inside a container [2021-01-25T06:07:13.427Z] $ 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-210/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-210 -v /w/workspace/gexfoundry_device-mqtt-go_PR-210:/w/workspace/gexfoundry_device-mqtt-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-25T06:07:16.565Z] $ docker top a72259dba611ebd5e53b02c162bc0e0aa2f78cc6e7808f32f8578f0c7ba6d453 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T06:07:17.130Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-25T06:07:17.485Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-25T06:07:17.808Z] + ls /var/log/sa-host [2021-01-25T06:07:17.808Z] + sadf -c /var/log/sa-host/sa23 [2021-01-25T06:07:17.808Z] file_magic: OK [2021-01-25T06:07:17.808Z] HZ: Using current value: 100 [2021-01-25T06:07:17.808Z] file_header: OK [2021-01-25T06:07:17.808Z] 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-25T06:07:17.808Z] Statistics: [2021-01-25T06:07:17.808Z] Hnuu...uuuununununu... [2021-01-25T06:07:17.808Z] File successfully converted to sysstat format version 12.2.1 [2021-01-25T06:07:17.808Z] + sadf -c /var/log/sa-host/sa25 [2021-01-25T06:07:17.808Z] file_magic: OK [2021-01-25T06:07:17.808Z] HZ: Using current value: 100 [2021-01-25T06:07:17.808Z] file_header: OK [2021-01-25T06:07:17.808Z] 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-25T06:07:17.808Z] Statistics: [2021-01-25T06:07:17.808Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-25T06:07:17.808Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-25T06:07:18.463Z] provisioning config files... [2021-01-25T06:07:18.483Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-210@tmp/config6165964234265398380tmp [Pipeline] { [Pipeline] echo [2021-01-25T06:07:18.607Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:07:18.946Z] ---> create-netrc.sh [Pipeline] } [2021-01-25T06:07:18.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-25T06:07:19.119Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:07:19.456Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-25T06:07:19.489Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:07:19.826Z] ---> sudo-logs.sh [2021-01-25T06:07:19.826Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-25T06:07:19.859Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:07:21.311Z] ---> job-cost.sh [2021-01-25T06:07:21.311Z] lf-activate-venv: SKIPPING [2021-01-25T06:07:21.311Z] INFO: No Stack... [2021-01-25T06:07:23.232Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-25T06:07:23.808Z] INFO: Archiving Costs [Pipeline] echo [2021-01-25T06:07:23.846Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T06:07:24.272Z] ---> logs-deploy.sh [2021-01-25T06:07:24.272Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-210/1 [2021-01-25T06:07:24.272Z] INFO: archiving workspace using pattern(s): [2021-01-25T06:07:26.196Z] Archives upload complete. [2021-01-25T06:07:26.196Z] INFO: archiving logs to Nexus