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 hahattan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb rather than cd03faebbeafce2d6d322b8d763e24672b1a9a93 Obtained Jenkinsfile from 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb 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-21442 in /w/workspace/dry_go-mod-core-contracts_PR-432 [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-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb into PR head commit cd03faebbeafce2d6d322b8d763e24672b1a9a93 Merge succeeded, producing 3e4f23585365bce2097b3b36f1fc18f6826872b8 Checking out Revision 3e4f23585365bce2097b3b36f1fc18f6826872b8 (PR-432) > git config core.sparsecheckout # timeout=10 > git checkout -f cd03faebbeafce2d6d322b8d763e24672b1a9a93 # 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 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e4f23585365bce2097b3b36f1fc18f6826872b8 # timeout=10 Commit message: "Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD" > git rev-list --no-walk cd03faebbeafce2d6d322b8d763e24672b1a9a93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T00:40:10.786Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T00:40:11.096Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T00:40:11.194Z] ========================================================= [2021-01-20T00:40:11.195Z] EdgeX Global Pipelines Version Info [2021-01-20T00:40:11.195Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:40:12.727Z] ------------------- [2021-01-20T00:40:12.727Z] stable info: [2021-01-20T00:40:12.727Z] ------------------- [2021-01-20T00:40:12.727Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T00:40:12.727Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T00:40:12.727Z] Message: update stable to v1.0.179 [2021-01-20T00:40:13.679Z] ------------------- [2021-01-20T00:40:13.679Z] experimental info: [2021-01-20T00:40:13.679Z] ------------------- [2021-01-20T00:40:13.679Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T00:40:13.679Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T00:40:13.679Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T00:40:13.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-20T00:40:14.075Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-20T00:40:14.161Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T00:40:14.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T00:40:14.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T00:40:14.431Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T00:40:14.548Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T00:40:14.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T00:40:14.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T00:40:14.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T00:40:14.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T00:40:15.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-20T00:40:15.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T00:40:15.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T00:40:15.294Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T00:40:15.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T00:40:15.457Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T00:40:15.577Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T00:40:15.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T00:40:15.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T00:40:15.934Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T00:40:16.031Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T00:40:16.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T00:40:16.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T00:40:16.293Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-20T00:40:16.376Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T00:40:16.467Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T00:40:16.562Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-432 [Pipeline] echo [2021-01-20T00:40:16.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-432 [Pipeline] echo [2021-01-20T00:40:16.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-432 [Pipeline] echo [2021-01-20T00:40:16.840Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e4f23585365bce2097b3b36f1fc18f6826872b8 [Pipeline] echo [2021-01-20T00:40:16.934Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e4f235 [Pipeline] echo [2021-01-20T00:40:17.050Z] [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-20T00:40:17.741Z] + git log --format=format:%s -1 3e4f23585365bce2097b3b36f1fc18f6826872b8 [Pipeline] echo [2021-01-20T00:40:17.813Z] GIT_COMMIT: 3e4f23585365bce2097b3b36f1fc18f6826872b8, Commit Message: Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD [Pipeline] echo [2021-01-20T00:40:17.856Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:40:18.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T00:40:19.011Z] [2021-01-20T00:40:19.012Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:40:19.370Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T00:40:19.370Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T00:40:19.370Z] 31603596830f: Pulling fs layer [2021-01-20T00:40:19.370Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T00:40:19.370Z] 6ca5941a6612: Pulling fs layer [2021-01-20T00:40:19.370Z] ecc8261a40a4: Pulling fs layer [2021-01-20T00:40:19.370Z] ecc8261a40a4: Waiting [2021-01-20T00:40:19.370Z] 2a8b12db71e7: Download complete [2021-01-20T00:40:19.678Z] 31603596830f: Verifying Checksum [2021-01-20T00:40:19.678Z] 31603596830f: Download complete [2021-01-20T00:40:19.678Z] ecc8261a40a4: Verifying Checksum [2021-01-20T00:40:19.678Z] ecc8261a40a4: Download complete [2021-01-20T00:40:19.678Z] 6ca5941a6612: Verifying Checksum [2021-01-20T00:40:19.678Z] 6ca5941a6612: Download complete [2021-01-20T00:40:19.949Z] 31603596830f: Pull complete [2021-01-20T00:40:19.949Z] 2a8b12db71e7: Pull complete [2021-01-20T00:40:20.907Z] 6ca5941a6612: Pull complete [2021-01-20T00:40:21.171Z] ecc8261a40a4: Pull complete [2021-01-20T00:40:21.171Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T00:40:21.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T00:40:21.171Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T00:40:21.287Z] prd-centos7-docker-4c-2g-21442 does not seem to be running inside a container [2021-01-20T00:40:21.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-432 -v /w/workspace/dry_go-mod-core-contracts_PR-432:/w/workspace/dry_go-mod-core-contracts_PR-432:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-432@tmp:/w/workspace/dry_go-mod-core-contracts_PR-432@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-20T00:40:24.014Z] $ docker top 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T00:40:24.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T00:40:24.315Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T00:40:24.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T00:40:24.538Z] $ docker exec 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 ssh-agent [2021-01-20T00:40:24.788Z] SSH_AUTH_SOCK=/tmp/ssh-94zolPOKzNIo/agent.11 [2021-01-20T00:40:24.788Z] SSH_AGENT_PID=17 [2021-01-20T00:40:24.798Z] Running ssh-add (command line suppressed) [2021-01-20T00:40:24.936Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-432@tmp/private_key_4892369138513346517.key (/w/workspace/dry_go-mod-core-contracts_PR-432@tmp/private_key_4892369138513346517.key) [2021-01-20T00:40:24.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T00:40:25.329Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T00:40:25.352Z] $ docker exec --env ******** --env ******** 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 ssh-agent -k [2021-01-20T00:40:25.465Z] unset SSH_AUTH_SOCK; [2021-01-20T00:40:25.466Z] unset SSH_AGENT_PID; [2021-01-20T00:40:25.466Z] echo Agent pid 17 killed; [2021-01-20T00:40:25.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T00:40:25.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T00:40:25.724Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T00:40:25.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T00:40:25.889Z] $ docker exec 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 ssh-agent [2021-01-20T00:40:26.045Z] SSH_AUTH_SOCK=/tmp/ssh-W6MbUSzrzvX8/agent.45 [2021-01-20T00:40:26.045Z] SSH_AGENT_PID=51 [2021-01-20T00:40:26.052Z] Running ssh-add (command line suppressed) [2021-01-20T00:40:26.170Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-432@tmp/private_key_7963962172181413567.key (/w/workspace/dry_go-mod-core-contracts_PR-432@tmp/private_key_7963962172181413567.key) [2021-01-20T00:40:26.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T00:40:26.563Z] + git semver init [2021-01-20T00:40:26.563Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T00:40:26.563Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-432/.git [2021-01-20T00:40:26.563Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-432 [2021-01-20T00:40:26.563Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T00:40:26.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T00:40:26.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T00:40:26.563Z] # $SEMVER_BRANCH = PR-432 [2021-01-20T00:40:26.563Z] # $SEMVER_TEMP = /tmp/semver-220418469 [2021-01-20T00:40:26.563Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-20T00:40:27.136Z] # '/tmp/semver-220418469' -> '/w/workspace/dry_go-mod-core-contracts_PR-432/.semver' [2021-01-20T00:40:27.136Z] # -> Force: false [2021-01-20T00:40:27.136Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-432/.semver [Pipeline] } [2021-01-20T00:40:27.149Z] $ docker exec --env ******** --env ******** 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 ssh-agent -k [2021-01-20T00:40:27.261Z] unset SSH_AUTH_SOCK; [2021-01-20T00:40:27.261Z] unset SSH_AGENT_PID; [2021-01-20T00:40:27.261Z] echo Agent pid 51 killed; [2021-01-20T00:40:27.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T00:40:27.800Z] + git semver [Pipeline] } [2021-01-20T00:40:27.820Z] $ docker stop --time=1 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 [2021-01-20T00:40:29.693Z] $ docker rm -f 1d3420f9dfcc232a2e4fb6bc6e1e83f849b22487881e0f5c1bd740c9c37d5882 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T00:40:30.164Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T00:40:30.695Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T00:40:30.698Z] [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-20T00:40:46.292Z] Still waiting to schedule task [2021-01-20T00:40:46.292Z] ‘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-21416’ is offline; ‘prd-centos7-docker-4c-2g-21419’ is offline; ‘prd-centos7-docker-4c-2g-21422’ is offline; ‘prd-centos7-docker-4c-2g-21428’ is offline; ‘prd-centos7-docker-4c-2g-21437’ is offline; ‘prd-centos7-docker-4c-2g-21438’ is offline; ‘prd-centos7-docker-4c-2g-21443’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-21436’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21411’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21421’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21430’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21434’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-20T00:40:46.296Z] Still waiting to schedule task [2021-01-20T00:40:46.296Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-20T00:42:39.115Z] Running on prd-centos7-docker-4c-2g-21445 in /w/workspace/dry_go-mod-core-contracts_PR-432 [Pipeline] { [Pipeline] ws [2021-01-20T00:42:39.173Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-01-20T00:42:41.483Z] using credential edgex-jenkins-ssh [2021-01-20T00:42:41.561Z] Cloning the remote Git repository [2021-01-20T00:42:41.590Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-20T00:42:41.654Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-01-20T00:42:41.711Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-20T00:42:41.711Z] > git --version # timeout=10 [2021-01-20T00:42:41.718Z] > git --version # 'git version 2.24.3' [2021-01-20T00:42:41.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:42:41.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:42:42.626Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-20T00:42:42.634Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:42:42.647Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-20T00:42:42.660Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-20T00:42:42.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:42:42.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T00:42:43.135Z] Merging remotes/origin/master commit 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb into PR head commit cd03faebbeafce2d6d322b8d763e24672b1a9a93 [2021-01-20T00:42:43.417Z] Merge succeeded, producing 291e0e4d2b4b5581f98794464efb7883290c92ba [2021-01-20T00:42:43.418Z] Checking out Revision 291e0e4d2b4b5581f98794464efb7883290c92ba (PR-432) [2021-01-20T00:42:43.143Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:42:43.155Z] > git checkout -f cd03faebbeafce2d6d322b8d763e24672b1a9a93 # timeout=10 [2021-01-20T00:42:43.243Z] > git remote # timeout=10 [2021-01-20T00:42:43.253Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T00:42:43.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:42:43.274Z] > git merge 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb # timeout=10 [2021-01-20T00:42:43.399Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T00:42:43.421Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:42:43.428Z] > git checkout -f 291e0e4d2b4b5581f98794464efb7883290c92ba # timeout=10 [2021-01-20T00:42:47.176Z] Commit message: "Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD" [2021-01-20T00:42:47.181Z] > git rev-list --no-walk cd03faebbeafce2d6d322b8d763e24672b1a9a93 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T00:42:48.577Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:42:48.926Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:42:49.222Z] + true [2021-01-20T00:42:49.222Z] + sudo service docker restart [2021-01-20T00:42:49.222Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-20T00:42:50.375Z] ========================================================= [2021-01-20T00:42:50.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T00:42:50.375Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:42:50.733Z] + 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-20T00:42:50.997Z] Sending build context to Docker daemon 2.269MB [2021-01-20T00:42:50.997Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-20T00:42:50.997Z] Step 2/7 : FROM ${BASE} [2021-01-20T00:42:51.259Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T00:42:51.260Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T00:42:51.260Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T00:42:51.260Z] de9db76c5a1d: Pulling fs layer [2021-01-20T00:42:51.260Z] bca2f99d35d6: Pulling fs layer [2021-01-20T00:42:51.260Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T00:42:51.260Z] 7c6f9722023f: Pulling fs layer [2021-01-20T00:42:51.260Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T00:42:51.260Z] 93359f2a8cfa: Waiting [2021-01-20T00:42:51.260Z] 7c6f9722023f: Waiting [2021-01-20T00:42:51.260Z] a35cf1a2eb13: Waiting [2021-01-20T00:42:51.260Z] bca2f99d35d6: Waiting [2021-01-20T00:42:51.260Z] de9db76c5a1d: Verifying Checksum [2021-01-20T00:42:51.260Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T00:42:51.260Z] 0ef7d3d256c8: Download complete [2021-01-20T00:42:51.260Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T00:42:51.260Z] 93359f2a8cfa: Download complete [2021-01-20T00:42:51.260Z] 7c6f9722023f: Verifying Checksum [2021-01-20T00:42:51.260Z] 7c6f9722023f: Download complete [2021-01-20T00:42:51.260Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T00:42:51.260Z] 188c0c94c7c5: Download complete [2021-01-20T00:42:51.523Z] 188c0c94c7c5: Pull complete [2021-01-20T00:42:51.785Z] 0ef7d3d256c8: Pull complete [2021-01-20T00:42:52.059Z] de9db76c5a1d: Pull complete [2021-01-20T00:42:53.464Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T00:42:53.726Z] bca2f99d35d6: Verifying Checksum [2021-01-20T00:42:53.726Z] bca2f99d35d6: Download complete [2021-01-20T00:42:59.063Z] bca2f99d35d6: Pull complete [2021-01-20T00:42:59.063Z] 93359f2a8cfa: Pull complete [2021-01-20T00:42:59.063Z] 7c6f9722023f: Pull complete [2021-01-20T00:43:07.262Z] a35cf1a2eb13: Pull complete [2021-01-20T00:43:07.262Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T00:43:07.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T00:43:07.262Z] ---> a62c8e92a672 [2021-01-20T00:43:07.262Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T00:43:07.262Z] ---> Running in 31986928c196 [2021-01-20T00:43:07.262Z] Removing intermediate container 31986928c196 [2021-01-20T00:43:07.262Z] ---> ed0b3a2f2e49 [2021-01-20T00:43:07.262Z] Step 4/7 : RUN apk add bash [2021-01-20T00:43:07.262Z] ---> Running in 91191301915d [2021-01-20T00:43:07.530Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T00:43:08.478Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T00:43:09.876Z] OK: 166 MiB in 39 packages [2021-01-20T00:43:10.136Z] Removing intermediate container 91191301915d [2021-01-20T00:43:10.136Z] ---> ec97ed46a50c [2021-01-20T00:43:10.136Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-20T00:43:10.398Z] ---> Running in 3dcbc2435275 [2021-01-20T00:43:10.398Z] Removing intermediate container 3dcbc2435275 [2021-01-20T00:43:10.398Z] ---> 1370003f1235 [2021-01-20T00:43:10.398Z] Step 6/7 : COPY go.mod . [2021-01-20T00:43:10.663Z] ---> f18dbd034fbc [2021-01-20T00:43:10.663Z] Step 7/7 : RUN go mod download [2021-01-20T00:43:10.663Z] ---> Running in 2f39baf56ea7 [2021-01-20T00:43:22.962Z] Removing intermediate container 2f39baf56ea7 [2021-01-20T00:43:22.963Z] ---> b0c2ab3d1fd9 [2021-01-20T00:43:22.963Z] Successfully built b0c2ab3d1fd9 [2021-01-20T00:43:22.963Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:43:23.275Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T00:43:23.275Z] . [Pipeline] withDockerContainer [2021-01-20T00:43:23.385Z] prd-centos7-docker-4c-2g-21445 does not seem to be running inside a container [2021-01-20T00:43:23.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-20T00:43:24.188Z] $ docker top 0d301fe2fbd60ca86627bd7c7f1d6102e8707b53056551b405b6d1268f5fa8ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:43:24.653Z] + go version [2021-01-20T00:43:24.654Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T00:43:24.668Z] $ docker stop --time=1 0d301fe2fbd60ca86627bd7c7f1d6102e8707b53056551b405b6d1268f5fa8ab [2021-01-20T00:43:26.067Z] $ docker rm -f 0d301fe2fbd60ca86627bd7c7f1d6102e8707b53056551b405b6d1268f5fa8ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:43:26.938Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T00:43:26.938Z] . [Pipeline] withDockerContainer [2021-01-20T00:43:27.049Z] prd-centos7-docker-4c-2g-21445 does not seem to be running inside a container [2021-01-20T00:43:27.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-20T00:43:27.787Z] $ docker top 77276c088e80a4eb0fd86f0f6b98efc6d2beeaf5b3e9da02b500599e14c81af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:43:28.293Z] + make test [2021-01-20T00:43:28.293Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-20T00:43:28.293Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests [2021-01-20T00:43:28.293Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors [2021-01-20T00:43:28.557Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [2021-01-20T00:43:28.557Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [2021-01-20T00:43:28.557Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 [2021-01-20T00:43:28.557Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [2021-01-20T00:43:30.498Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:43:32.428Z] go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:43:32.428Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:43:32.428Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:43:32.428Z] 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-20T00:43:32.428Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:43:32.428Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:43:32.428Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-20T00:43:32.428Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/clients/interfaces) [2021-01-20T00:43:32.428Z] 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-20T00:43:32.428Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-20T00:43:32.428Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/models) [2021-01-20T00:43:32.428Z] 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-20T00:43:32.428Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-20T00:43:32.428Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/clients/interfaces) [2021-01-20T00:43:32.428Z] 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-20T00:43:32.428Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-20T00:43:32.428Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/models) [2021-01-20T00:43:32.428Z] 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-20T00:43:32.428Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-20T00:43:32.450Z] $ docker stop --time=1 77276c088e80a4eb0fd86f0f6b98efc6d2beeaf5b3e9da02b500599e14c81af9 [2021-01-20T00:43:34.311Z] $ docker rm -f 77276c088e80a4eb0fd86f0f6b98efc6d2beeaf5b3e9da02b500599e14c81af9 [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-20T00:43:35.893Z] Failed in branch amd64 [2021-01-20T00:43:52.698Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21446 in /w/workspace/dry_go-mod-core-contracts_PR-432 [Pipeline] { [Pipeline] ws [2021-01-20T00:43:52.760Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-01-20T00:43:59.233Z] using credential edgex-jenkins-ssh [2021-01-20T00:43:59.329Z] Cloning the remote Git repository [2021-01-20T00:43:59.419Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-20T00:43:59.561Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-01-20T00:43:59.685Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-20T00:43:59.686Z] > git --version # timeout=10 [2021-01-20T00:43:59.709Z] > git --version # 'git version 2.17.1' [2021-01-20T00:43:59.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:43:59.798Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:44:01.070Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-20T00:44:01.095Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:44:01.132Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-20T00:44:01.177Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-20T00:44:01.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:44:01.204Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T00:44:02.785Z] Merging remotes/origin/master commit 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb into PR head commit cd03faebbeafce2d6d322b8d763e24672b1a9a93 [2021-01-20T00:44:02.821Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:44:02.848Z] > git checkout -f cd03faebbeafce2d6d322b8d763e24672b1a9a93 # timeout=10 [2021-01-20T00:44:03.002Z] > git remote # timeout=10 [2021-01-20T00:44:03.035Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T00:44:03.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:44:03.117Z] > git merge 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb # timeout=10 [2021-01-20T00:44:03.344Z] Merge succeeded, producing a77f9f851b8c9641581aab41b8d5289472d4c091 [2021-01-20T00:44:03.345Z] Checking out Revision a77f9f851b8c9641581aab41b8d5289472d4c091 (PR-432) [2021-01-20T00:44:03.333Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T00:44:03.364Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:44:03.379Z] > git checkout -f a77f9f851b8c9641581aab41b8d5289472d4c091 # timeout=10 [2021-01-20T00:44:07.855Z] Commit message: "Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD" [2021-01-20T00:44:07.877Z] > git rev-list --no-walk cd03faebbeafce2d6d322b8d763e24672b1a9a93 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T00:44:09.579Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:44:10.061Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:44:10.439Z] + sudo service docker restart [2021-01-20T00:44:10.439Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-20T00:44:12.784Z] ========================================================= [2021-01-20T00:44:12.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T00:44:12.784Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:44:13.184Z] + 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-20T00:44:14.185Z] Sending build context to Docker daemon 2.268MB [2021-01-20T00:44:14.185Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-20T00:44:14.185Z] Step 2/7 : FROM ${BASE} [2021-01-20T00:44:14.792Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T00:44:14.792Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T00:44:14.792Z] a4357932f1b6: Pulling fs layer [2021-01-20T00:44:14.792Z] 18c013af1878: Pulling fs layer [2021-01-20T00:44:14.792Z] 00ac8860ef70: Pulling fs layer [2021-01-20T00:44:14.792Z] 63d7cb157983: Pulling fs layer [2021-01-20T00:44:14.792Z] b116817d02f9: Pulling fs layer [2021-01-20T00:44:14.792Z] 745a02a5169b: Pulling fs layer [2021-01-20T00:44:14.792Z] b116817d02f9: Waiting [2021-01-20T00:44:14.792Z] 745a02a5169b: Waiting [2021-01-20T00:44:14.792Z] 00ac8860ef70: Waiting [2021-01-20T00:44:14.792Z] 63d7cb157983: Waiting [2021-01-20T00:44:14.792Z] 18c013af1878: Verifying Checksum [2021-01-20T00:44:14.792Z] 18c013af1878: Download complete [2021-01-20T00:44:14.792Z] a4357932f1b6: Verifying Checksum [2021-01-20T00:44:14.792Z] a4357932f1b6: Download complete [2021-01-20T00:44:14.792Z] 63d7cb157983: Verifying Checksum [2021-01-20T00:44:14.792Z] 63d7cb157983: Download complete [2021-01-20T00:44:14.792Z] b116817d02f9: Verifying Checksum [2021-01-20T00:44:14.792Z] b116817d02f9: Download complete [2021-01-20T00:44:14.792Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T00:44:14.792Z] 5f621e34cdf4: Download complete [2021-01-20T00:44:15.819Z] 5f621e34cdf4: Pull complete [2021-01-20T00:44:16.426Z] a4357932f1b6: Pull complete [2021-01-20T00:44:16.704Z] 18c013af1878: Pull complete [2021-01-20T00:44:17.307Z] 745a02a5169b: Verifying Checksum [2021-01-20T00:44:17.307Z] 745a02a5169b: Download complete [2021-01-20T00:44:18.305Z] 00ac8860ef70: Verifying Checksum [2021-01-20T00:44:18.305Z] 00ac8860ef70: Download complete [2021-01-20T00:44:28.509Z] 00ac8860ef70: Pull complete [2021-01-20T00:44:28.509Z] 63d7cb157983: Pull complete [2021-01-20T00:44:28.509Z] b116817d02f9: Pull complete [2021-01-20T00:44:31.917Z] 745a02a5169b: Pull complete [2021-01-20T00:44:31.917Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T00:44:31.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T00:44:31.917Z] ---> b7e6874047d6 [2021-01-20T00:44:31.917Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T00:44:35.332Z] ---> Running in 3f2c498681df [2021-01-20T00:44:35.332Z] Removing intermediate container 3f2c498681df [2021-01-20T00:44:35.332Z] ---> 8fea8784c3e7 [2021-01-20T00:44:35.332Z] Step 4/7 : RUN apk add bash [2021-01-20T00:44:35.615Z] ---> Running in ad4f63e28978 [2021-01-20T00:44:37.054Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T00:44:37.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T00:44:38.640Z] OK: 142 MiB in 39 packages [2021-01-20T00:44:40.077Z] Removing intermediate container ad4f63e28978 [2021-01-20T00:44:40.077Z] ---> 653b8b5e3335 [2021-01-20T00:44:40.077Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-20T00:44:40.077Z] ---> Running in 79540b42c866 [2021-01-20T00:44:40.697Z] Removing intermediate container 79540b42c866 [2021-01-20T00:44:40.697Z] ---> 2786a98b48d4 [2021-01-20T00:44:40.697Z] Step 6/7 : COPY go.mod . [2021-01-20T00:44:41.680Z] ---> 320d3feac96a [2021-01-20T00:44:41.680Z] Step 7/7 : RUN go mod download [2021-01-20T00:44:41.680Z] ---> Running in eb6f5f4fa70d [2021-01-20T00:44:56.836Z] Removing intermediate container eb6f5f4fa70d [2021-01-20T00:44:56.836Z] ---> 38eea2a5c4bc [2021-01-20T00:44:56.836Z] Successfully built 38eea2a5c4bc [2021-01-20T00:44:56.836Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:44:57.200Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T00:44:57.200Z] . [Pipeline] withDockerContainer [2021-01-20T00:44:57.504Z] prd-ubuntu18.04-docker-arm64-4c-16g-21446 does not seem to be running inside a container [2021-01-20T00:44:57.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-arm64 cat [2021-01-20T00:44:59.249Z] $ docker top 6d21ac16698813be30ab23d2c01f6830ee404d184f18ab439534d63fca790f20 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:45:00.414Z] + go version [2021-01-20T00:45:00.414Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T00:45:00.455Z] $ docker stop --time=1 6d21ac16698813be30ab23d2c01f6830ee404d184f18ab439534d63fca790f20 [2021-01-20T00:45:02.461Z] $ docker rm -f 6d21ac16698813be30ab23d2c01f6830ee404d184f18ab439534d63fca790f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:45:03.498Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T00:45:03.498Z] . [Pipeline] withDockerContainer [2021-01-20T00:45:03.786Z] prd-ubuntu18.04-docker-arm64-4c-16g-21446 does not seem to be running inside a container [2021-01-20T00:45:03.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-arm64 cat [2021-01-20T00:45:05.511Z] $ docker top 45964865b4d7c81b0f6157ff534ca2591f5ac529e6b1b435ec0eadaf33d98997 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:45:06.571Z] + make test [2021-01-20T00:45:06.571Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-20T00:45:06.852Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors [2021-01-20T00:45:06.852Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [2021-01-20T00:45:06.852Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 [2021-01-20T00:45:06.852Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests [2021-01-20T00:45:06.852Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [2021-01-20T00:45:06.852Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [2021-01-20T00:45:07.130Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:45:07.730Z] go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:45:07.730Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:45:07.730Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:45:07.730Z] 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-20T00:45:07.730Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:45:07.730Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-20T00:45:08.341Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-20T00:45:08.341Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/clients/interfaces) [2021-01-20T00:45:08.341Z] 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-20T00:45:08.341Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-20T00:45:08.341Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/models) [2021-01-20T00:45:08.341Z] 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-20T00:45:08.341Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-20T00:45:08.341Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/clients/interfaces) [2021-01-20T00:45:08.341Z] 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-20T00:45:08.341Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-20T00:45:08.341Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/models) [2021-01-20T00:45:08.341Z] 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-20T00:45:08.341Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-20T00:45:08.391Z] $ docker stop --time=1 45964865b4d7c81b0f6157ff534ca2591f5ac529e6b1b435ec0eadaf33d98997 [2021-01-20T00:45:10.515Z] $ docker rm -f 45964865b4d7c81b0f6157ff534ca2591f5ac529e6b1b435ec0eadaf33d98997 [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-20T00:45:12.160Z] 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-20T00:45:14.928Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:45:15.501Z] ---> package-listing.sh [2021-01-20T00:45:15.501Z] ++ facter osfamily [2021-01-20T00:45:15.501Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T00:45:15.501Z] + OS_FAMILY=redhat [2021-01-20T00:45:15.501Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-432 [2021-01-20T00:45:15.501Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T00:45:15.501Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T00:45:15.501Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T00:45:15.501Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T00:45:15.501Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-432 ']' [2021-01-20T00:45:15.501Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T00:45:15.501Z] + case "${OS_FAMILY}" in [2021-01-20T00:45:15.501Z] + rpm -qa [2021-01-20T00:45:15.501Z] + sort [2021-01-20T00:45:20.823Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T00:45:20.823Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T00:45:20.823Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T00:45:20.823Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-432 ']' [2021-01-20T00:45:20.823Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-432/archives/ [2021-01-20T00:45:20.823Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-432/archives/ [Pipeline] echo [2021-01-20T00:45:20.839Z] 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-432/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T00:45:21.144Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:45:21.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T00:45:21.453Z] [2021-01-20T00:45:21.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:45:21.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T00:45:21.824Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T00:45:21.824Z] df20fa9351a1: Pulling fs layer [2021-01-20T00:45:21.824Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T00:45:21.824Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T00:45:21.824Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T00:45:21.824Z] 93b61091891f: Pulling fs layer [2021-01-20T00:45:21.824Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T00:45:21.824Z] 5e14af77c1be: Pulling fs layer [2021-01-20T00:45:21.824Z] 01666e4c0597: Pulling fs layer [2021-01-20T00:45:21.824Z] aa168da1d23b: Pulling fs layer [2021-01-20T00:45:21.824Z] 93b9cdb0e59b: Waiting [2021-01-20T00:45:21.824Z] 5e14af77c1be: Waiting [2021-01-20T00:45:21.824Z] 01666e4c0597: Waiting [2021-01-20T00:45:21.824Z] 46f8f816bc3b: Waiting [2021-01-20T00:45:21.824Z] 93b61091891f: Waiting [2021-01-20T00:45:21.824Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T00:45:21.824Z] 36b3adc4ff6f: Download complete [2021-01-20T00:45:21.824Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T00:45:21.824Z] 46f8f816bc3b: Download complete [2021-01-20T00:45:21.824Z] df20fa9351a1: Verifying Checksum [2021-01-20T00:45:21.824Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T00:45:21.824Z] 93b9cdb0e59b: Download complete [2021-01-20T00:45:22.089Z] 5e14af77c1be: Verifying Checksum [2021-01-20T00:45:22.089Z] 5e14af77c1be: Download complete [2021-01-20T00:45:22.089Z] 93b61091891f: Download complete [2021-01-20T00:45:22.089Z] 01666e4c0597: Verifying Checksum [2021-01-20T00:45:22.089Z] 01666e4c0597: Download complete [2021-01-20T00:45:22.089Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T00:45:22.089Z] 8ad3a11d3b57: Download complete [2021-01-20T00:45:22.421Z] df20fa9351a1: Pull complete [2021-01-20T00:45:22.691Z] 36b3adc4ff6f: Pull complete [2021-01-20T00:45:23.278Z] 8ad3a11d3b57: Pull complete [2021-01-20T00:45:23.551Z] 46f8f816bc3b: Pull complete [2021-01-20T00:45:24.132Z] aa168da1d23b: Verifying Checksum [2021-01-20T00:45:24.132Z] aa168da1d23b: Download complete [2021-01-20T00:45:24.132Z] 93b61091891f: Pull complete [2021-01-20T00:45:24.395Z] 93b9cdb0e59b: Pull complete [2021-01-20T00:45:24.395Z] 5e14af77c1be: Pull complete [2021-01-20T00:45:24.658Z] 01666e4c0597: Pull complete [2021-01-20T00:45:31.284Z] aa168da1d23b: Pull complete [2021-01-20T00:45:31.548Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T00:45:31.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T00:45:31.548Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T00:45:31.759Z] prd-centos7-docker-4c-2g-21442 does not seem to be running inside a container [2021-01-20T00:45:31.815Z] $ 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-432/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-432 -v /w/workspace/dry_go-mod-core-contracts_PR-432:/w/workspace/dry_go-mod-core-contracts_PR-432:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-432@tmp:/w/workspace/dry_go-mod-core-contracts_PR-432@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-20T00:45:35.314Z] $ docker top 1698f7db762b9939c616fea3cb079ec7a845c442e3bc48924f6027dd24a4ac10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:45:35.832Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T00:45:36.131Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T00:45:36.432Z] + ls /var/log/sa-host [2021-01-20T00:45:36.432Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T00:45:36.432Z] file_magic: OK [2021-01-20T00:45:36.432Z] HZ: Using current value: 100 [2021-01-20T00:45:36.432Z] file_header: OK [2021-01-20T00:45:36.432Z] 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-20T00:45:36.432Z] Statistics: [2021-01-20T00:45:36.432Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T00:45:36.432Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T00:45:36.432Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T00:45:36.432Z] file_magic: OK [2021-01-20T00:45:36.432Z] HZ: Using current value: 100 [2021-01-20T00:45:36.432Z] file_header: OK [2021-01-20T00:45:36.432Z] 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-20T00:45:36.432Z] Statistics: [2021-01-20T00:45:36.432Z] Hnuu...uuuununununu... [2021-01-20T00:45:36.432Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T00:45:36.648Z] provisioning config files... [2021-01-20T00:45:36.667Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-432@tmp/config3375884476603473379tmp [Pipeline] { [Pipeline] echo [2021-01-20T00:45:36.741Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:45:37.039Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T00:45:37.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T00:45:37.142Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:45:37.440Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T00:45:37.451Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:45:37.750Z] ---> sudo-logs.sh [2021-01-20T00:45:37.751Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T00:45:37.762Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:45:38.066Z] ---> job-cost.sh [2021-01-20T00:45:38.066Z] lf-activate-venv: SKIPPING [2021-01-20T00:45:38.066Z] INFO: No Stack... [2021-01-20T00:45:39.013Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T00:45:39.588Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T00:45:39.603Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:45:39.916Z] ---> logs-deploy.sh [2021-01-20T00:45:39.916Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-432/2 [2021-01-20T00:45:39.916Z] INFO: archiving workspace using pattern(s): [2021-01-20T00:45:41.840Z] Archives upload complete. [2021-01-20T00:45:41.840Z] INFO: archiving logs to Nexus