Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at e35ca5e202a3b4aeda829793b42f699c895703f6 rather than 7c782f36c5867f8658ac833bc6fb906e247c8941 Obtained Jenkinsfile from e35ca5e202a3b4aeda829793b42f699c895703f6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts 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-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false 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-22744 in /w/workspace/dry_go-mod-core-contracts_PR-439 [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/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e35ca5e202a3b4aeda829793b42f699c895703f6 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 Merge succeeded, producing 6095dacf2b962ac75a7425c389430e6e31a4716a Checking out Revision 6095dacf2b962ac75a7425c389430e6e31a4716a (PR-439) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # 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 e35ca5e202a3b4aeda829793b42f699c895703f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6095dacf2b962ac75a7425c389430e6e31a4716a # timeout=10 Commit message: "Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-26T00:43:01.652Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 77f4bb821743ba7970b274fed25bb648e3f9a9e1 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T00:43:01.928Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T00:43:02.032Z] ========================================================= [2021-01-26T00:43:02.032Z] EdgeX Global Pipelines Version Info [2021-01-26T00:43:02.032Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:43:03.559Z] ------------------- [2021-01-26T00:43:03.559Z] stable info: [2021-01-26T00:43:03.559Z] ------------------- [2021-01-26T00:43:03.559Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T00:43:03.559Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T00:43:03.559Z] Message: update stable to v1.0.179 [2021-01-26T00:43:04.506Z] ------------------- [2021-01-26T00:43:04.506Z] experimental info: [2021-01-26T00:43:04.506Z] ------------------- [2021-01-26T00:43:04.506Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T00:43:04.506Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T00:43:04.506Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T00:43:04.773Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-26T00:43:04.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-26T00:43:04.988Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T00:43:05.103Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T00:43:05.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T00:43:05.336Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T00:43:05.449Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T00:43:05.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T00:43:05.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-26T00:43:05.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T00:43:05.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T00:43:05.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-26T00:43:06.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T00:43:06.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T00:43:06.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T00:43:06.274Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T00:43:06.355Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T00:43:06.453Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T00:43:06.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T00:43:06.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-26T00:43:06.837Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-26T00:43:06.923Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-26T00:43:07.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T00:43:07.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T00:43:07.176Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-26T00:43:07.261Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T00:43:07.350Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T00:43:07.443Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2021-01-26T00:43:07.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2021-01-26T00:43:07.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2021-01-26T00:43:07.715Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6095dacf2b962ac75a7425c389430e6e31a4716a [Pipeline] echo [2021-01-26T00:43:07.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6095dac [Pipeline] echo [2021-01-26T00:43:07.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T00:43:08.628Z] + git log --format=format:%s -1 6095dacf2b962ac75a7425c389430e6e31a4716a [Pipeline] echo [2021-01-26T00:43:08.703Z] GIT_COMMIT: 6095dacf2b962ac75a7425c389430e6e31a4716a, Commit Message: Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD [Pipeline] echo [2021-01-26T00:43:08.772Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:43:09.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T00:43:09.743Z] [2021-01-26T00:43:09.743Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:43:10.109Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T00:43:10.109Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T00:43:10.109Z] 31603596830f: Pulling fs layer [2021-01-26T00:43:10.109Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T00:43:10.109Z] 6ca5941a6612: Pulling fs layer [2021-01-26T00:43:10.109Z] ecc8261a40a4: Pulling fs layer [2021-01-26T00:43:10.109Z] ecc8261a40a4: Waiting [2021-01-26T00:43:10.377Z] 2a8b12db71e7: Verifying Checksum [2021-01-26T00:43:10.377Z] 2a8b12db71e7: Download complete [2021-01-26T00:43:10.377Z] 31603596830f: Verifying Checksum [2021-01-26T00:43:10.377Z] 31603596830f: Download complete [2021-01-26T00:43:10.643Z] ecc8261a40a4: Verifying Checksum [2021-01-26T00:43:10.643Z] ecc8261a40a4: Download complete [2021-01-26T00:43:10.908Z] 31603596830f: Pull complete [2021-01-26T00:43:10.908Z] 2a8b12db71e7: Pull complete [2021-01-26T00:43:10.908Z] 6ca5941a6612: Verifying Checksum [2021-01-26T00:43:10.908Z] 6ca5941a6612: Download complete [2021-01-26T00:43:11.871Z] 6ca5941a6612: Pull complete [2021-01-26T00:43:12.134Z] ecc8261a40a4: Pull complete [2021-01-26T00:43:12.134Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T00:43:12.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T00:43:12.134Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T00:43:12.256Z] prd-centos7-docker-4c-2g-22744 does not seem to be running inside a container [2021-01-26T00:43:12.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T00:43:14.763Z] $ docker top 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T00:43:15.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T00:43:15.109Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T00:43:15.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T00:43:15.337Z] $ docker exec 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent [2021-01-26T00:43:15.507Z] SSH_AUTH_SOCK=/tmp/ssh-ug9b4dFkvrUz/agent.12 [2021-01-26T00:43:15.507Z] SSH_AGENT_PID=17 [2021-01-26T00:43:15.519Z] Running ssh-add (command line suppressed) [2021-01-26T00:43:15.642Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_6727969009293964113.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_6727969009293964113.key) [2021-01-26T00:43:15.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T00:43:16.040Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T00:43:16.062Z] $ docker exec --env ******** --env ******** 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent -k [2021-01-26T00:43:16.177Z] unset SSH_AUTH_SOCK; [2021-01-26T00:43:16.177Z] unset SSH_AGENT_PID; [2021-01-26T00:43:16.177Z] echo Agent pid 17 killed; [2021-01-26T00:43:16.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T00:43:16.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T00:43:16.361Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T00:43:16.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T00:43:16.548Z] $ docker exec 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent [2021-01-26T00:43:16.717Z] SSH_AUTH_SOCK=/tmp/ssh-Bbjj0i2hIVpf/agent.47 [2021-01-26T00:43:16.717Z] SSH_AGENT_PID=52 [2021-01-26T00:43:16.724Z] Running ssh-add (command line suppressed) [2021-01-26T00:43:16.851Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_8300758111164439598.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_8300758111164439598.key) [2021-01-26T00:43:16.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T00:43:17.259Z] + git semver init [2021-01-26T00:43:17.259Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T00:43:17.259Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git [2021-01-26T00:43:17.259Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-26T00:43:17.259Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T00:43:17.259Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T00:43:17.259Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T00:43:17.259Z] # $SEMVER_BRANCH = PR-439 [2021-01-26T00:43:17.259Z] # $SEMVER_TEMP = /tmp/semver-498215987 [2021-01-26T00:43:17.259Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-26T00:43:17.836Z] # '/tmp/semver-498215987' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' [2021-01-26T00:43:17.836Z] # -> Force: false [2021-01-26T00:43:17.836Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } [2021-01-26T00:43:17.851Z] $ docker exec --env ******** --env ******** 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent -k [2021-01-26T00:43:17.971Z] unset SSH_AUTH_SOCK; [2021-01-26T00:43:17.972Z] unset SSH_AGENT_PID; [2021-01-26T00:43:17.972Z] echo Agent pid 52 killed; [2021-01-26T00:43:18.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T00:43:18.478Z] + git semver [Pipeline] } [2021-01-26T00:43:18.494Z] $ docker stop --time=1 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca [2021-01-26T00:43:20.329Z] $ docker rm -f 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T00:43:20.821Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T00:43:21.455Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T00:43:21.457Z] [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-26T00:43:37.000Z] Still waiting to schedule task [2021-01-26T00:43:37.000Z] ‘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-22746’ is offline; ‘prd-centos7-docker-4c-2g-22747’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-26T00:43:37.002Z] Still waiting to schedule task [2021-01-26T00:43:37.002Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-26T00:43:49.084Z] Running on prd-centos7-docker-4c-2g-22747 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-26T00:43:49.176Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2021-01-26T00:43:51.746Z] using credential edgex-jenkins-ssh [2021-01-26T00:43:51.805Z] Cloning the remote Git repository [2021-01-26T00:43:51.714Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-26T00:43:51.791Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2021-01-26T00:43:51.861Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-26T00:43:51.861Z] > git --version # timeout=10 [2021-01-26T00:43:51.875Z] > git --version # 'git version 2.24.3' [2021-01-26T00:43:51.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T00:43:51.909Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T00:43:53.217Z] Merging remotes/origin/master commit e35ca5e202a3b4aeda829793b42f699c895703f6 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 [2021-01-26T00:43:53.392Z] Merge succeeded, producing 33f9063a403ea6941b132918abcb78816d5e3ef4 [2021-01-26T00:43:53.392Z] Checking out Revision 33f9063a403ea6941b132918abcb78816d5e3ef4 (PR-439) [2021-01-26T00:43:52.628Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-26T00:43:52.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T00:43:52.649Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-26T00:43:52.663Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-26T00:43:52.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T00:43:52.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T00:43:53.218Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T00:43:53.225Z] > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 [2021-01-26T00:43:53.295Z] > git remote # timeout=10 [2021-01-26T00:43:53.303Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T00:43:53.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T00:43:53.315Z] > git merge e35ca5e202a3b4aeda829793b42f699c895703f6 # timeout=10 [2021-01-26T00:43:53.386Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T00:43:53.396Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T00:43:53.401Z] > git checkout -f 33f9063a403ea6941b132918abcb78816d5e3ef4 # timeout=10 [2021-01-26T00:43:57.131Z] Commit message: "Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD" [2021-01-26T00:43:57.151Z] First time build. Skipping changelog. [2021-01-26T00:43:57.135Z] > git rev-list --no-walk 77f4bb821743ba7970b274fed25bb648e3f9a9e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T00:43:58.393Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T00:43:58.727Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T00:43:59.023Z] + sudo service docker restart [2021-01-26T00:43:59.023Z] + true [2021-01-26T00:43:59.023Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-26T00:44:00.559Z] ========================================================= [2021-01-26T00:44:00.559Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T00:44:00.559Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:44:00.910Z] + 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-26T00:44:01.488Z] Sending build context to Docker daemon 2.427MB [2021-01-26T00:44:01.488Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-26T00:44:01.488Z] Step 2/7 : FROM ${BASE} [2021-01-26T00:44:01.488Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T00:44:01.488Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T00:44:01.488Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T00:44:01.488Z] de9db76c5a1d: Pulling fs layer [2021-01-26T00:44:01.488Z] bca2f99d35d6: Pulling fs layer [2021-01-26T00:44:01.488Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T00:44:01.488Z] 7c6f9722023f: Pulling fs layer [2021-01-26T00:44:01.488Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T00:44:01.488Z] 93359f2a8cfa: Waiting [2021-01-26T00:44:01.488Z] 7c6f9722023f: Waiting [2021-01-26T00:44:01.488Z] a35cf1a2eb13: Waiting [2021-01-26T00:44:01.488Z] bca2f99d35d6: Waiting [2021-01-26T00:44:01.488Z] de9db76c5a1d: Verifying Checksum [2021-01-26T00:44:01.488Z] de9db76c5a1d: Download complete [2021-01-26T00:44:01.753Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T00:44:01.753Z] 0ef7d3d256c8: Download complete [2021-01-26T00:44:01.753Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T00:44:01.753Z] 93359f2a8cfa: Download complete [2021-01-26T00:44:01.753Z] 7c6f9722023f: Verifying Checksum [2021-01-26T00:44:01.753Z] 7c6f9722023f: Download complete [2021-01-26T00:44:01.753Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T00:44:01.753Z] 188c0c94c7c5: Download complete [2021-01-26T00:44:02.026Z] 188c0c94c7c5: Pull complete [2021-01-26T00:44:02.291Z] 0ef7d3d256c8: Pull complete [2021-01-26T00:44:02.559Z] de9db76c5a1d: Pull complete [2021-01-26T00:44:04.489Z] a35cf1a2eb13: Verifying Checksum [2021-01-26T00:44:04.489Z] a35cf1a2eb13: Download complete [2021-01-26T00:44:05.438Z] bca2f99d35d6: Verifying Checksum [2021-01-26T00:44:05.438Z] bca2f99d35d6: Download complete [2021-01-26T00:44:10.762Z] bca2f99d35d6: Pull complete [2021-01-26T00:44:10.762Z] 93359f2a8cfa: Pull complete [2021-01-26T00:44:10.762Z] 7c6f9722023f: Pull complete [2021-01-26T00:44:17.391Z] a35cf1a2eb13: Pull complete [2021-01-26T00:44:17.391Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T00:44:17.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T00:44:17.658Z] ---> a62c8e92a672 [2021-01-26T00:44:17.658Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T00:44:17.922Z] ---> Running in ba6aa3271031 [2021-01-26T00:44:18.184Z] Removing intermediate container ba6aa3271031 [2021-01-26T00:44:18.184Z] ---> 53aebf585084 [2021-01-26T00:44:18.184Z] Step 4/7 : RUN apk add bash [2021-01-26T00:44:18.184Z] ---> Running in 460c551a66e6 [2021-01-26T00:44:18.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T00:44:22.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T00:44:26.307Z] OK: 166 MiB in 39 packages [2021-01-26T00:44:26.570Z] Removing intermediate container 460c551a66e6 [2021-01-26T00:44:26.570Z] ---> 5f103dad0ba4 [2021-01-26T00:44:26.570Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-26T00:44:26.570Z] ---> Running in 77bec769c229 [2021-01-26T00:44:26.832Z] Removing intermediate container 77bec769c229 [2021-01-26T00:44:26.832Z] ---> 42b46015c50f [2021-01-26T00:44:26.832Z] Step 6/7 : COPY go.mod . [2021-01-26T00:44:27.096Z] ---> 929265f5c3f5 [2021-01-26T00:44:27.096Z] Step 7/7 : RUN go mod download [2021-01-26T00:44:27.096Z] ---> Running in acde2b873384 [2021-01-26T00:44:39.378Z] Removing intermediate container acde2b873384 [2021-01-26T00:44:39.378Z] ---> 3be83e67af1b [2021-01-26T00:44:39.378Z] Successfully built 3be83e67af1b [2021-01-26T00:44:39.378Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:44:39.693Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T00:44:39.693Z] . [Pipeline] withDockerContainer [2021-01-26T00:44:39.903Z] prd-centos7-docker-4c-2g-22747 does not seem to be running inside a container [2021-01-26T00:44:40.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T00:44:40.816Z] $ docker top 406ebea7fd99e79c3a5cce4db31133f081451e6f7f6b174749b750c438a908c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T00:44:41.426Z] + go version [2021-01-26T00:44:41.426Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T00:44:41.442Z] $ docker stop --time=1 406ebea7fd99e79c3a5cce4db31133f081451e6f7f6b174749b750c438a908c7 [2021-01-26T00:44:42.799Z] $ docker rm -f 406ebea7fd99e79c3a5cce4db31133f081451e6f7f6b174749b750c438a908c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:44:43.638Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T00:44:43.638Z] . [Pipeline] withDockerContainer [2021-01-26T00:44:43.745Z] prd-centos7-docker-4c-2g-22747 does not seem to be running inside a container [2021-01-26T00:44:43.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T00:44:44.537Z] $ docker top 28e3bcf423911e72ee9be8a0027c16abd08de5d8b303a975c1a3002fefba59c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T00:44:45.154Z] + make test [2021-01-26T00:44:45.154Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-26T00:44:45.154Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors [2021-01-26T00:44:45.154Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos [2021-01-26T00:44:45.432Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 [2021-01-26T00:44:45.432Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [2021-01-26T00:44:47.372Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:44:49.301Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:44:49.301Z] go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:44:49.301Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:44:49.301Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:44:49.568Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-26T00:44:49.568Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-26T00:44:49.568Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-26T00:44:49.568Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) [2021-01-26T00:44:49.568Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-26T00:44:49.568Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-26T00:44:49.588Z] $ docker stop --time=1 28e3bcf423911e72ee9be8a0027c16abd08de5d8b303a975c1a3002fefba59c4 [2021-01-26T00:44:51.459Z] $ docker rm -f 28e3bcf423911e72ee9be8a0027c16abd08de5d8b303a975c1a3002fefba59c4 [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-26T00:44:52.793Z] Failed in branch amd64 [2021-01-26T00:46:06.077Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22750 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-26T00:46:06.135Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2021-01-26T00:46:11.604Z] using credential edgex-jenkins-ssh [2021-01-26T00:46:11.668Z] Cloning the remote Git repository [2021-01-26T00:46:11.735Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-26T00:46:11.855Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2021-01-26T00:46:11.929Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-26T00:46:11.930Z] > git --version # timeout=10 [2021-01-26T00:46:11.948Z] > git --version # 'git version 2.17.1' [2021-01-26T00:46:11.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T00:46:12.059Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T00:46:13.998Z] Merging remotes/origin/master commit e35ca5e202a3b4aeda829793b42f699c895703f6 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 [2021-01-26T00:46:13.197Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-26T00:46:13.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T00:46:13.255Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-26T00:46:13.294Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-26T00:46:13.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T00:46:13.309Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T00:46:14.029Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T00:46:14.046Z] > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 [2021-01-26T00:46:14.198Z] > git remote # timeout=10 [2021-01-26T00:46:14.219Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T00:46:14.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T00:46:14.246Z] > git merge e35ca5e202a3b4aeda829793b42f699c895703f6 # timeout=10 [2021-01-26T00:46:14.444Z] Merge succeeded, producing d47adf4c9d145a56a249487827292b32a3aeee82 [2021-01-26T00:46:14.445Z] Checking out Revision d47adf4c9d145a56a249487827292b32a3aeee82 (PR-439) [2021-01-26T00:46:14.435Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T00:46:14.461Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T00:46:14.520Z] > git checkout -f d47adf4c9d145a56a249487827292b32a3aeee82 # timeout=10 [2021-01-26T00:46:19.112Z] Commit message: "Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD" [2021-01-26T00:46:19.145Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T00:46:19.133Z] > git rev-list --no-walk 77f4bb821743ba7970b274fed25bb648e3f9a9e1 # timeout=10 [2021-01-26T00:46:20.749Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T00:46:21.157Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T00:46:21.494Z] + sudo service docker restart [2021-01-26T00:46:21.494Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-26T00:46:24.484Z] ========================================================= [2021-01-26T00:46:24.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T00:46:24.484Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:46:24.886Z] + 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-26T00:46:25.876Z] Sending build context to Docker daemon 2.426MB [2021-01-26T00:46:25.876Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-26T00:46:25.876Z] Step 2/7 : FROM ${BASE} [2021-01-26T00:46:26.483Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T00:46:26.483Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T00:46:26.483Z] a4357932f1b6: Pulling fs layer [2021-01-26T00:46:26.483Z] 18c013af1878: Pulling fs layer [2021-01-26T00:46:26.483Z] 00ac8860ef70: Pulling fs layer [2021-01-26T00:46:26.483Z] 63d7cb157983: Pulling fs layer [2021-01-26T00:46:26.483Z] b116817d02f9: Pulling fs layer [2021-01-26T00:46:26.483Z] 745a02a5169b: Pulling fs layer [2021-01-26T00:46:26.483Z] b116817d02f9: Waiting [2021-01-26T00:46:26.483Z] 00ac8860ef70: Waiting [2021-01-26T00:46:26.483Z] 63d7cb157983: Waiting [2021-01-26T00:46:26.483Z] 18c013af1878: Download complete [2021-01-26T00:46:26.483Z] a4357932f1b6: Verifying Checksum [2021-01-26T00:46:26.483Z] a4357932f1b6: Download complete [2021-01-26T00:46:26.483Z] 63d7cb157983: Verifying Checksum [2021-01-26T00:46:26.483Z] 63d7cb157983: Download complete [2021-01-26T00:46:26.483Z] b116817d02f9: Verifying Checksum [2021-01-26T00:46:26.483Z] b116817d02f9: Download complete [2021-01-26T00:46:26.483Z] 5f621e34cdf4: Verifying Checksum [2021-01-26T00:46:26.483Z] 5f621e34cdf4: Download complete [2021-01-26T00:46:27.093Z] 5f621e34cdf4: Pull complete [2021-01-26T00:46:27.698Z] a4357932f1b6: Pull complete [2021-01-26T00:46:28.299Z] 18c013af1878: Pull complete [2021-01-26T00:46:29.289Z] 745a02a5169b: Verifying Checksum [2021-01-26T00:46:29.289Z] 745a02a5169b: Download complete [2021-01-26T00:46:31.268Z] 00ac8860ef70: Verifying Checksum [2021-01-26T00:46:31.268Z] 00ac8860ef70: Download complete [2021-01-26T00:46:41.451Z] 00ac8860ef70: Pull complete [2021-01-26T00:46:41.451Z] 63d7cb157983: Pull complete [2021-01-26T00:46:41.451Z] b116817d02f9: Pull complete [2021-01-26T00:46:44.887Z] 745a02a5169b: Pull complete [2021-01-26T00:46:44.887Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T00:46:44.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T00:46:44.887Z] ---> b7e6874047d6 [2021-01-26T00:46:44.887Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T00:46:47.524Z] ---> Running in 4a44bd38b869 [2021-01-26T00:46:47.799Z] Removing intermediate container 4a44bd38b869 [2021-01-26T00:46:47.799Z] ---> 8da9b819f785 [2021-01-26T00:46:47.799Z] Step 4/7 : RUN apk add bash [2021-01-26T00:46:48.086Z] ---> Running in 013f3f62c68c [2021-01-26T00:46:49.532Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T00:46:50.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T00:46:51.495Z] OK: 142 MiB in 39 packages [2021-01-26T00:46:52.938Z] Removing intermediate container 013f3f62c68c [2021-01-26T00:46:52.938Z] ---> f175bae90b47 [2021-01-26T00:46:52.938Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-26T00:46:52.938Z] ---> Running in 85b64d8e6e68 [2021-01-26T00:46:53.536Z] Removing intermediate container 85b64d8e6e68 [2021-01-26T00:46:53.536Z] ---> 2757deb1ff94 [2021-01-26T00:46:53.536Z] Step 6/7 : COPY go.mod . [2021-01-26T00:46:54.132Z] ---> 9fb0c2b40a70 [2021-01-26T00:46:54.132Z] Step 7/7 : RUN go mod download [2021-01-26T00:46:54.408Z] ---> Running in 32914a873f20 [2021-01-26T00:47:09.543Z] Removing intermediate container 32914a873f20 [2021-01-26T00:47:09.543Z] ---> deb0c503b792 [2021-01-26T00:47:09.543Z] Successfully built deb0c503b792 [2021-01-26T00:47:09.543Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:47:09.913Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T00:47:09.913Z] . [Pipeline] withDockerContainer [2021-01-26T00:47:10.166Z] prd-ubuntu18.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container [2021-01-26T00:47:10.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-26T00:47:11.712Z] $ docker top e650a11f11ca12382875c975ffe6e5bc8299ce82e3fb7ed54c89c4d70bcedf25 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T00:47:12.664Z] + go version [2021-01-26T00:47:12.664Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-26T00:47:12.706Z] $ docker stop --time=1 e650a11f11ca12382875c975ffe6e5bc8299ce82e3fb7ed54c89c4d70bcedf25 [2021-01-26T00:47:14.603Z] $ docker rm -f e650a11f11ca12382875c975ffe6e5bc8299ce82e3fb7ed54c89c4d70bcedf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:47:15.532Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T00:47:15.532Z] . [Pipeline] withDockerContainer [2021-01-26T00:47:15.760Z] prd-ubuntu18.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container [2021-01-26T00:47:15.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-26T00:47:17.339Z] $ docker top 26395b0afb89ace743a5b749817eb0e59544d18b989d5ceff4f7be206def92db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T00:47:18.374Z] + make test [2021-01-26T00:47:18.375Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-26T00:47:18.650Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos [2021-01-26T00:47:18.650Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [2021-01-26T00:47:18.650Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 [2021-01-26T00:47:18.650Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors [2021-01-26T00:47:19.249Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:47:19.524Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:47:19.524Z] go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:47:19.524Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:47:19.524Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-26T00:47:20.124Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-26T00:47:20.124Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-26T00:47:20.124Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-26T00:47:20.124Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) [2021-01-26T00:47:20.124Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-26T00:47:20.124Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-26T00:47:20.169Z] $ docker stop --time=1 26395b0afb89ace743a5b749817eb0e59544d18b989d5ceff4f7be206def92db [2021-01-26T00:47:22.248Z] $ docker rm -f 26395b0afb89ace743a5b749817eb0e59544d18b989d5ceff4f7be206def92db [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-26T00:47:24.117Z] 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-26T00:47:26.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:47:27.183Z] ---> package-listing.sh [2021-01-26T00:47:27.183Z] ++ facter osfamily [2021-01-26T00:47:27.183Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T00:47:27.183Z] + OS_FAMILY=redhat [2021-01-26T00:47:27.183Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-26T00:47:27.183Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T00:47:27.183Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T00:47:27.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T00:47:27.183Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T00:47:27.183Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-26T00:47:27.183Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T00:47:27.183Z] + case "${OS_FAMILY}" in [2021-01-26T00:47:27.183Z] + rpm -qa [2021-01-26T00:47:27.183Z] + sort [2021-01-26T00:47:32.510Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T00:47:32.510Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T00:47:32.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T00:47:32.510Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-26T00:47:32.510Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [2021-01-26T00:47:32.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [Pipeline] echo [2021-01-26T00:47:32.534Z] 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/dry_go-mod-core-contracts_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-26T00:47:32.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:47:33.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T00:47:33.132Z] [2021-01-26T00:47:33.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T00:47:33.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T00:47:33.502Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T00:47:33.502Z] df20fa9351a1: Pulling fs layer [2021-01-26T00:47:33.502Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T00:47:33.502Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T00:47:33.502Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T00:47:33.502Z] 93b61091891f: Pulling fs layer [2021-01-26T00:47:33.502Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T00:47:33.502Z] 5e14af77c1be: Pulling fs layer [2021-01-26T00:47:33.502Z] 01666e4c0597: Pulling fs layer [2021-01-26T00:47:33.502Z] aa168da1d23b: Pulling fs layer [2021-01-26T00:47:33.502Z] 93b9cdb0e59b: Waiting [2021-01-26T00:47:33.502Z] 5e14af77c1be: Waiting [2021-01-26T00:47:33.502Z] 01666e4c0597: Waiting [2021-01-26T00:47:33.502Z] aa168da1d23b: Waiting [2021-01-26T00:47:33.502Z] 46f8f816bc3b: Waiting [2021-01-26T00:47:33.502Z] 93b61091891f: Waiting [2021-01-26T00:47:33.502Z] 36b3adc4ff6f: Download complete [2021-01-26T00:47:33.502Z] 46f8f816bc3b: Verifying Checksum [2021-01-26T00:47:33.502Z] 46f8f816bc3b: Download complete [2021-01-26T00:47:34.077Z] 93b61091891f: Verifying Checksum [2021-01-26T00:47:34.077Z] 93b61091891f: Download complete [2021-01-26T00:47:34.077Z] 93b9cdb0e59b: Download complete [2021-01-26T00:47:34.077Z] 5e14af77c1be: Download complete [2021-01-26T00:47:34.077Z] 01666e4c0597: Verifying Checksum [2021-01-26T00:47:34.077Z] 01666e4c0597: Download complete [2021-01-26T00:47:34.653Z] df20fa9351a1: Download complete [2021-01-26T00:47:34.653Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T00:47:34.653Z] 8ad3a11d3b57: Download complete [2021-01-26T00:47:35.232Z] df20fa9351a1: Pull complete [2021-01-26T00:47:35.233Z] 36b3adc4ff6f: Pull complete [2021-01-26T00:47:36.200Z] 8ad3a11d3b57: Pull complete [2021-01-26T00:47:36.465Z] aa168da1d23b: Download complete [2021-01-26T00:47:36.465Z] 46f8f816bc3b: Pull complete [2021-01-26T00:47:37.048Z] 93b61091891f: Pull complete [2021-01-26T00:47:37.048Z] 93b9cdb0e59b: Pull complete [2021-01-26T00:47:37.319Z] 5e14af77c1be: Pull complete [2021-01-26T00:47:37.319Z] 01666e4c0597: Pull complete [2021-01-26T00:47:45.511Z] aa168da1d23b: Pull complete [2021-01-26T00:47:45.511Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T00:47:45.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T00:47:45.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T00:47:45.721Z] prd-centos7-docker-4c-2g-22744 does not seem to be running inside a container [2021-01-26T00:47:45.772Z] $ 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/dry_go-mod-core-contracts_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-26T00:47:49.199Z] $ docker top 0b2abe4ebdecdb189d1b93457cfa260860f9783f4bd99ed14bd1cca7ed1ceff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T00:47:49.704Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T00:47:50.005Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T00:47:50.303Z] + ls /var/log/sa-host [2021-01-26T00:47:50.304Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T00:47:50.304Z] file_magic: OK [2021-01-26T00:47:50.304Z] HZ: Using current value: 100 [2021-01-26T00:47:50.304Z] file_header: OK [2021-01-26T00:47:50.304Z] 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-26T00:47:50.304Z] Statistics: [2021-01-26T00:47:50.304Z] Hnuu...uuuununununu... [2021-01-26T00:47:50.304Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T00:47:50.304Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T00:47:50.304Z] file_magic: OK [2021-01-26T00:47:50.304Z] HZ: Using current value: 100 [2021-01-26T00:47:50.304Z] file_header: OK [2021-01-26T00:47:50.304Z] 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-26T00:47:50.304Z] Statistics: [2021-01-26T00:47:50.304Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T00:47:50.304Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T00:47:50.587Z] provisioning config files... [2021-01-26T00:47:50.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config5531945302546521789tmp [Pipeline] { [Pipeline] echo [2021-01-26T00:47:50.675Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:47:50.975Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T00:47:50.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T00:47:51.145Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:47:51.444Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T00:47:51.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:47:51.752Z] ---> sudo-logs.sh [2021-01-26T00:47:51.752Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T00:47:51.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:47:52.062Z] ---> job-cost.sh [2021-01-26T00:47:52.062Z] lf-activate-venv: SKIPPING [2021-01-26T00:47:52.062Z] INFO: No Stack... [2021-01-26T00:47:53.011Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T00:47:53.277Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T00:47:53.294Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T00:47:53.618Z] ---> logs-deploy.sh [2021-01-26T00:47:53.618Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/5 [2021-01-26T00:47:53.618Z] INFO: archiving workspace using pattern(s): [2021-01-26T00:47:55.542Z] Archives upload complete. [2021-01-26T00:47:55.542Z] INFO: archiving logs to Nexus