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 weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 860d36c2443f02c26a212025b04a55afad978312 rather than 827fd734d16e4a7ea80647e1e224667c70abf8c8 Obtained Jenkinsfile from 860d36c2443f02c26a212025b04a55afad978312 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-28304 in /w/workspace/dry_go-mod-core-contracts_PR-525 [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-525 # 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/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 860d36c2443f02c26a212025b04a55afad978312 into PR head commit 827fd734d16e4a7ea80647e1e224667c70abf8c8 Merge succeeded, producing 4c008f3e8c551faef280b6540413d8bc35282402 Checking out Revision 4c008f3e8c551faef280b6540413d8bc35282402 (PR-525) > git config core.sparsecheckout # timeout=10 > git checkout -f 827fd734d16e4a7ea80647e1e224667c70abf8c8 # 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 860d36c2443f02c26a212025b04a55afad978312 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c008f3e8c551faef280b6540413d8bc35282402 # timeout=10 Commit message: "Merge commit '860d36c2443f02c26a212025b04a55afad978312' into HEAD" > git rev-list --no-walk 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-03T00:38:21.250Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-03T00:38:21.579Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-03T00:38:21.685Z] ========================================================= [2021-03-03T00:38:21.685Z] EdgeX Global Pipelines Version Info [2021-03-03T00:38:21.685Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:38:23.170Z] ------------------- [2021-03-03T00:38:23.170Z] stable info: [2021-03-03T00:38:23.170Z] ------------------- [2021-03-03T00:38:23.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-03T00:38:23.170Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T00:38:23.170Z] Message: update stable to v1.0.184 [2021-03-03T00:38:24.116Z] ------------------- [2021-03-03T00:38:24.116Z] experimental info: [2021-03-03T00:38:24.116Z] ------------------- [2021-03-03T00:38:24.116Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-03T00:38:24.116Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T00:38:24.116Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-03T00:38:24.371Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-03-03T00:38:24.458Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-03-03T00:38:24.544Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-03T00:38:24.632Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-03T00:38:24.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-03T00:38:24.801Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-03T00:38:24.883Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-03T00:38:24.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-03T00:38:25.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-03T00:38:25.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-03T00:38:25.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-03T00:38:25.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-03-03T00:38:25.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-03T00:38:25.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-03T00:38:25.616Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T00:38:25.703Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T00:38:25.791Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T00:38:25.890Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T00:38:25.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-03T00:38:26.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-03T00:38:26.153Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-03T00:38:26.268Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-03T00:38:26.351Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-03T00:38:26.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-03T00:38:26.529Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-03T00:38:26.634Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-03T00:38:26.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo [2021-03-03T00:38:26.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo [2021-03-03T00:38:26.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo [2021-03-03T00:38:27.056Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c008f3e8c551faef280b6540413d8bc35282402 [Pipeline] echo [2021-03-03T00:38:27.141Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c008f3 [Pipeline] echo [2021-03-03T00:38:27.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T00:38:27.900Z] + git log --format=format:%s -1 4c008f3e8c551faef280b6540413d8bc35282402 [Pipeline] echo [2021-03-03T00:38:27.970Z] GIT_COMMIT: 4c008f3e8c551faef280b6540413d8bc35282402, Commit Message: Merge commit '860d36c2443f02c26a212025b04a55afad978312' into HEAD [Pipeline] echo [2021-03-03T00:38:28.014Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:38:28.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T00:38:28.895Z] [2021-03-03T00:38:28.895Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:38:29.263Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T00:38:29.263Z] latest: Pulling from edgex-devops/git-semver [2021-03-03T00:38:29.263Z] 31603596830f: Pulling fs layer [2021-03-03T00:38:29.263Z] 2a8b12db71e7: Pulling fs layer [2021-03-03T00:38:29.263Z] 6ca5941a6612: Pulling fs layer [2021-03-03T00:38:29.263Z] ecc8261a40a4: Pulling fs layer [2021-03-03T00:38:29.263Z] ecc8261a40a4: Waiting [2021-03-03T00:38:29.263Z] 2a8b12db71e7: Verifying Checksum [2021-03-03T00:38:29.263Z] 2a8b12db71e7: Download complete [2021-03-03T00:38:29.526Z] 31603596830f: Verifying Checksum [2021-03-03T00:38:29.526Z] 31603596830f: Download complete [2021-03-03T00:38:29.526Z] ecc8261a40a4: Verifying Checksum [2021-03-03T00:38:29.526Z] ecc8261a40a4: Download complete [2021-03-03T00:38:29.526Z] 6ca5941a6612: Verifying Checksum [2021-03-03T00:38:29.526Z] 6ca5941a6612: Download complete [2021-03-03T00:38:29.796Z] 31603596830f: Pull complete [2021-03-03T00:38:30.063Z] 2a8b12db71e7: Pull complete [2021-03-03T00:38:31.023Z] 6ca5941a6612: Pull complete [2021-03-03T00:38:31.023Z] ecc8261a40a4: Pull complete [2021-03-03T00:38:31.023Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-03T00:38:31.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T00:38:31.284Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-03T00:38:31.404Z] prd-centos7-docker-4c-2g-28304 does not seem to be running inside a container [2021-03-03T00:38:31.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-525 -v /w/workspace/dry_go-mod-core-contracts_PR-525:/w/workspace/dry_go-mod-core-contracts_PR-525:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-525@tmp:/w/workspace/dry_go-mod-core-contracts_PR-525@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-03T00:38:34.378Z] $ docker top 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-03T00:38:34.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T00:38:34.765Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T00:38:35.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T00:38:35.057Z] $ docker exec 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e ssh-agent [2021-03-03T00:38:35.303Z] SSH_AUTH_SOCK=/tmp/ssh-KyZyZaJiZV07/agent.11 [2021-03-03T00:38:35.303Z] SSH_AGENT_PID=16 [2021-03-03T00:38:35.328Z] Running ssh-add (command line suppressed) [2021-03-03T00:38:35.528Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_5484233198439369035.key (/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_5484233198439369035.key) [2021-03-03T00:38:35.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T00:38:35.972Z] + git tag --points-at HEAD [Pipeline] } [2021-03-03T00:38:35.998Z] $ docker exec --env ******** --env ******** 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e ssh-agent -k [2021-03-03T00:38:36.138Z] unset SSH_AUTH_SOCK; [2021-03-03T00:38:36.139Z] unset SSH_AGENT_PID; [2021-03-03T00:38:36.139Z] echo Agent pid 16 killed; [2021-03-03T00:38:36.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-03T00:38:36.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T00:38:36.334Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T00:38:36.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T00:38:36.540Z] $ docker exec 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e ssh-agent [2021-03-03T00:38:36.742Z] SSH_AUTH_SOCK=/tmp/ssh-8lxR62Xvaytn/agent.45 [2021-03-03T00:38:36.742Z] SSH_AGENT_PID=50 [2021-03-03T00:38:36.751Z] Running ssh-add (command line suppressed) [2021-03-03T00:38:36.898Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_8037450202186843561.key (/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_8037450202186843561.key) [2021-03-03T00:38:36.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T00:38:37.300Z] + git semver init [2021-03-03T00:38:37.300Z] # -> Open(): unable to determine branch for HEAD [2021-03-03T00:38:37.300Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-525/.git [2021-03-03T00:38:37.300Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-525 [2021-03-03T00:38:37.300Z] # $SEMVER_REMOTE_NAME = origin [2021-03-03T00:38:37.300Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-03T00:38:37.300Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-03T00:38:37.300Z] # $SEMVER_BRANCH = PR-525 [2021-03-03T00:38:37.300Z] # $SEMVER_TEMP = /tmp/semver-002991758 [2021-03-03T00:38:37.300Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-03-03T00:38:38.250Z] # '/tmp/semver-002991758' -> '/w/workspace/dry_go-mod-core-contracts_PR-525/.semver' [2021-03-03T00:38:38.250Z] # -> Force: false [2021-03-03T00:38:38.250Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-525/.semver [Pipeline] } [2021-03-03T00:38:38.268Z] $ docker exec --env ******** --env ******** 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e ssh-agent -k [2021-03-03T00:38:38.393Z] unset SSH_AUTH_SOCK; [2021-03-03T00:38:38.394Z] unset SSH_AGENT_PID; [2021-03-03T00:38:38.394Z] echo Agent pid 50 killed; [2021-03-03T00:38:38.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-03T00:38:38.913Z] + git semver [Pipeline] } [2021-03-03T00:38:38.932Z] $ docker stop --time=1 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e [2021-03-03T00:38:40.807Z] $ docker rm -f 5f45c39b34d4785db7b661a968b73724a168ebceaa9033a9f2803cbdb20bb85e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T00:38:41.321Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-03T00:38:41.777Z] Stashed 1 file(s) [Pipeline] echo [2021-03-03T00:38:41.780Z] [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-03-03T00:38:42.596Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28311 in /w/workspace/dry_go-mod-core-contracts_PR-525 [Pipeline] { [Pipeline] ws [2021-03-03T00:38:42.649Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2021-03-03T00:38:48.776Z] using credential edgex-jenkins-ssh [2021-03-03T00:38:48.897Z] Cloning the remote Git repository [2021-03-03T00:38:48.971Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-03T00:38:49.104Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2021-03-03T00:38:49.197Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-03T00:38:49.198Z] > git --version # timeout=10 [2021-03-03T00:38:49.227Z] > git --version # 'git version 2.17.1' [2021-03-03T00:38:49.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:38:49.306Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T00:38:51.330Z] Merging remotes/origin/master commit 860d36c2443f02c26a212025b04a55afad978312 into PR head commit 827fd734d16e4a7ea80647e1e224667c70abf8c8 [2021-03-03T00:38:50.475Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-03T00:38:50.509Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T00:38:50.552Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-03T00:38:50.604Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-03T00:38:50.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:38:50.624Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T00:38:51.353Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T00:38:51.385Z] > git checkout -f 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [2021-03-03T00:38:51.549Z] > git remote # timeout=10 [2021-03-03T00:38:51.577Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T00:38:51.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:38:51.616Z] > git merge 860d36c2443f02c26a212025b04a55afad978312 # timeout=10 [2021-03-03T00:38:51.802Z] Merge succeeded, producing ad4cf0c9fb9ecc0392fa4abc83b05b3d34e90201 [2021-03-03T00:38:51.803Z] Checking out Revision ad4cf0c9fb9ecc0392fa4abc83b05b3d34e90201 (PR-525) [2021-03-03T00:38:51.783Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T00:38:51.812Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T00:38:51.833Z] > git checkout -f ad4cf0c9fb9ecc0392fa4abc83b05b3d34e90201 # timeout=10 [2021-03-03T00:38:56.442Z] Commit message: "Merge commit '860d36c2443f02c26a212025b04a55afad978312' into HEAD" [2021-03-03T00:38:56.454Z] > git rev-list --no-walk 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T00:38:57.375Z] Still waiting to schedule task [2021-03-03T00:38:57.375Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-03T00:38:57.974Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:38:58.429Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:38:58.789Z] + sudo service docker restart [2021-03-03T00:38:58.790Z] + true [Pipeline] unstash [Pipeline] echo [2021-03-03T00:39:01.168Z] ========================================================= [2021-03-03T00:39:01.168Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-03T00:39:01.168Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:39:01.573Z] + 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-03-03T00:39:02.564Z] Sending build context to Docker daemon 2.786MB [2021-03-03T00:39:02.850Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-03-03T00:39:02.850Z] Step 2/7 : FROM ${BASE} [2021-03-03T00:39:03.126Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-03T00:39:03.126Z] 5f621e34cdf4: Pulling fs layer [2021-03-03T00:39:03.126Z] a4357932f1b6: Pulling fs layer [2021-03-03T00:39:03.126Z] 18c013af1878: Pulling fs layer [2021-03-03T00:39:03.126Z] 00ac8860ef70: Pulling fs layer [2021-03-03T00:39:03.126Z] 63d7cb157983: Pulling fs layer [2021-03-03T00:39:03.126Z] b116817d02f9: Pulling fs layer [2021-03-03T00:39:03.126Z] 745a02a5169b: Pulling fs layer [2021-03-03T00:39:03.126Z] 00ac8860ef70: Waiting [2021-03-03T00:39:03.126Z] 63d7cb157983: Waiting [2021-03-03T00:39:03.126Z] b116817d02f9: Waiting [2021-03-03T00:39:03.126Z] 745a02a5169b: Waiting [2021-03-03T00:39:03.126Z] 18c013af1878: Verifying Checksum [2021-03-03T00:39:03.126Z] 18c013af1878: Download complete [2021-03-03T00:39:03.126Z] a4357932f1b6: Verifying Checksum [2021-03-03T00:39:03.126Z] a4357932f1b6: Download complete [2021-03-03T00:39:03.126Z] 63d7cb157983: Download complete [2021-03-03T00:39:03.404Z] b116817d02f9: Verifying Checksum [2021-03-03T00:39:03.404Z] b116817d02f9: Download complete [2021-03-03T00:39:03.404Z] 5f621e34cdf4: Verifying Checksum [2021-03-03T00:39:03.404Z] 5f621e34cdf4: Download complete [2021-03-03T00:39:04.399Z] 5f621e34cdf4: Pull complete [2021-03-03T00:39:05.002Z] a4357932f1b6: Pull complete [2021-03-03T00:39:05.293Z] 18c013af1878: Pull complete [2021-03-03T00:39:06.740Z] 745a02a5169b: Verifying Checksum [2021-03-03T00:39:06.740Z] 745a02a5169b: Download complete [2021-03-03T00:39:07.724Z] 00ac8860ef70: Verifying Checksum [2021-03-03T00:39:07.724Z] 00ac8860ef70: Download complete [2021-03-03T00:39:17.902Z] 00ac8860ef70: Pull complete [2021-03-03T00:39:17.902Z] 63d7cb157983: Pull complete [2021-03-03T00:39:17.902Z] b116817d02f9: Pull complete [2021-03-03T00:39:21.326Z] 745a02a5169b: Pull complete [2021-03-03T00:39:21.326Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-03T00:39:21.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-03T00:39:21.327Z] ---> b7e6874047d6 [2021-03-03T00:39:21.327Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-03T00:39:24.740Z] ---> Running in 5b1c14656142 [2021-03-03T00:39:24.740Z] Removing intermediate container 5b1c14656142 [2021-03-03T00:39:24.740Z] ---> 7e045217fe76 [2021-03-03T00:39:24.740Z] Step 4/7 : RUN apk add bash [2021-03-03T00:39:24.740Z] ---> Running in e3a5cf1afe22 [2021-03-03T00:39:26.202Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T00:39:27.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-03T00:39:28.153Z] OK: 142 MiB in 39 packages [2021-03-03T00:39:29.586Z] Removing intermediate container e3a5cf1afe22 [2021-03-03T00:39:29.586Z] ---> 756690045dcd [2021-03-03T00:39:29.586Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-03-03T00:39:29.586Z] ---> Running in 4570658bab9d [2021-03-03T00:39:30.183Z] Removing intermediate container 4570658bab9d [2021-03-03T00:39:30.183Z] ---> d25f6389629c [2021-03-03T00:39:30.183Z] Step 6/7 : COPY go.mod . [2021-03-03T00:39:31.165Z] ---> 97444eecca04 [2021-03-03T00:39:31.165Z] Step 7/7 : RUN go mod download [2021-03-03T00:39:31.165Z] ---> Running in 4816a3c138c8 [2021-03-03T00:39:46.276Z] Removing intermediate container 4816a3c138c8 [2021-03-03T00:39:46.276Z] ---> 1fae6b75f02f [2021-03-03T00:39:46.276Z] Successfully built 1fae6b75f02f [2021-03-03T00:39:46.276Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:39:46.625Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T00:39:46.625Z] . [Pipeline] withDockerContainer [2021-03-03T00:39:46.994Z] prd-ubuntu18.04-docker-arm64-4c-16g-28311 does not seem to be running inside a container [2021-03-03T00:39:47.241Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-03T00:39:48.915Z] $ docker top a2522f636a0dbfe926898c966348195b6a644547327ca05ec8b78ddff883ad68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:39:50.031Z] + go version [2021-03-03T00:39:50.031Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-03T00:39:50.055Z] $ docker stop --time=1 a2522f636a0dbfe926898c966348195b6a644547327ca05ec8b78ddff883ad68 [2021-03-03T00:39:52.106Z] $ docker rm -f a2522f636a0dbfe926898c966348195b6a644547327ca05ec8b78ddff883ad68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:39:53.157Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T00:39:53.157Z] . [Pipeline] withDockerContainer [2021-03-03T00:39:53.437Z] prd-ubuntu18.04-docker-arm64-4c-16g-28311 does not seem to be running inside a container [2021-03-03T00:39:53.526Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-03T00:39:55.197Z] $ docker top 60d58c48c55ea12f40fae52c2d41cabe83534ee13a09a75d40cb9e5c39c86d36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:39:56.257Z] + make test [2021-03-03T00:39:56.257Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-03T00:40:23.099Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-03-03T00:40:23.099Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.048s coverage: 85.7% of statements [2021-03-03T00:40:23.099Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.032s coverage: 100.0% of statements [2021-03-03T00:40:23.099Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.079s coverage: 45.4% of statements [2021-03-03T00:40:23.099Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.073s coverage: 77.8% of statements [2021-03-03T00:40:23.099Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-03-03T00:40:25.749Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.013s coverage: 26.3% of statements [2021-03-03T00:40:25.749Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.042s coverage: 14.7% of statements [2021-03-03T00:40:25.749Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.017s coverage: 100.0% of statements [2021-03-03T00:40:27.202Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.091s coverage: 91.8% of statements [2021-03-03T00:40:27.202Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-03-03T00:40:27.202Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-03-03T00:40:27.202Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.046s coverage: 100.0% of statements [2021-03-03T00:40:27.487Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.022s coverage: 36.7% of statements [2021-03-03T00:40:30.902Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-03-03T00:40:30.902Z] v2/dtos/addressable.go:44:10: ambiguous selector a.Type [2021-03-03T00:40:32.350Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos.test] [2021-03-03T00:40:32.350Z] v2/dtos/addressable.go:44: ambiguous selector a.Type [2021-03-03T00:40:32.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.074s coverage: 63.0% of statements [2021-03-03T00:40:32.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.048s coverage: 26.3% of statements [2021-03-03T00:40:32.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.051s coverage: 15.4% of statements [2021-03-03T00:40:32.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.036s coverage: 15.4% of statements [2021-03-03T00:40:32.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.020s coverage: 14.3% of statements [2021-03-03T00:40:32.350Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-03-03T00:40:32.350Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [build failed] [2021-03-03T00:40:32.350Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-03-03T00:40:32.350Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [build failed] [2021-03-03T00:40:34.319Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.026s coverage: 94.7% of statements [2021-03-03T00:40:34.319Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [build failed] [2021-03-03T00:40:34.319Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [build failed] [2021-03-03T00:40:34.319Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-03-03T00:40:34.346Z] $ docker stop --time=1 60d58c48c55ea12f40fae52c2d41cabe83534ee13a09a75d40cb9e5c39c86d36 [2021-03-03T00:40:36.664Z] $ docker rm -f 60d58c48c55ea12f40fae52c2d41cabe83534ee13a09a75d40cb9e5c39c86d36 [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:40:38.188Z] ---> job-cost.sh [2021-03-03T00:40:38.188Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XtJR [2021-03-03T00:41:25.143Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T00:44:02.012Z] lf-activate-venv(): INFO: Adding /tmp/venv-XtJR/bin to PATH [2021-03-03T00:44:02.012Z] INFO: No Stack... [2021-03-03T00:44:02.012Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-03T00:44:02.012Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T00:44:02.363Z] + cut -d, -f6 [2021-03-03T00:44:02.363Z] + cat /w/workspace/go-mod-core-contracts/5/archives/cost.csv [Pipeline] lock [2021-03-03T00:44:02.472Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] [2021-03-03T00:44:02.481Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] did not exist. Created. [2021-03-03T00:44:02.481Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T00:44:02.919Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-03T00:44:03.923Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T00:44:03.931Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T00:44:04.582Z] Failed in branch arm64 [2021-03-03T00:45:28.100Z] Running on prd-centos7-docker-4c-2g-28316 in /w/workspace/dry_go-mod-core-contracts_PR-525 [Pipeline] { [Pipeline] ws [2021-03-03T00:45:28.162Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2021-03-03T00:45:36.132Z] using credential edgex-jenkins-ssh [2021-03-03T00:45:36.210Z] Cloning the remote Git repository [2021-03-03T00:45:36.743Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-03T00:45:36.910Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2021-03-03T00:45:37.439Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-03T00:45:37.440Z] > git --version # timeout=10 [2021-03-03T00:45:37.448Z] > git --version # 'git version 2.24.3' [2021-03-03T00:45:37.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:45:37.499Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T00:45:38.231Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-03T00:45:38.282Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T00:45:38.336Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-03T00:45:38.380Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-03T00:45:38.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:45:38.387Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T00:45:38.962Z] Merging remotes/origin/master commit 860d36c2443f02c26a212025b04a55afad978312 into PR head commit 827fd734d16e4a7ea80647e1e224667c70abf8c8 [2021-03-03T00:45:39.300Z] Merge succeeded, producing 7d126dcdc6796900e4829dccb40cb0c931bbbafc [2021-03-03T00:45:39.301Z] Checking out Revision 7d126dcdc6796900e4829dccb40cb0c931bbbafc (PR-525) [2021-03-03T00:45:38.975Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T00:45:38.997Z] > git checkout -f 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [2021-03-03T00:45:39.139Z] > git remote # timeout=10 [2021-03-03T00:45:39.160Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T00:45:39.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T00:45:39.192Z] > git merge 860d36c2443f02c26a212025b04a55afad978312 # timeout=10 [2021-03-03T00:45:39.273Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T00:45:39.306Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T00:45:39.329Z] > git checkout -f 7d126dcdc6796900e4829dccb40cb0c931bbbafc # timeout=10 [2021-03-03T00:45:43.777Z] Commit message: "Merge commit '860d36c2443f02c26a212025b04a55afad978312' into HEAD" [2021-03-03T00:45:43.862Z] > git rev-list --no-walk 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T00:45:46.198Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:45:47.276Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T00:45:47.625Z] + true [2021-03-03T00:45:47.625Z] + sudo service docker restart [2021-03-03T00:45:47.625Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-03T00:45:51.430Z] ========================================================= [2021-03-03T00:45:51.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-03T00:45:51.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:45:51.824Z] + 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-03-03T00:45:56.509Z] Sending build context to Docker daemon 2.787MB [2021-03-03T00:45:56.509Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-03-03T00:45:56.509Z] Step 2/7 : FROM ${BASE} [2021-03-03T00:45:56.509Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-03T00:45:56.509Z] 188c0c94c7c5: Pulling fs layer [2021-03-03T00:45:56.509Z] 0ef7d3d256c8: Pulling fs layer [2021-03-03T00:45:56.509Z] de9db76c5a1d: Pulling fs layer [2021-03-03T00:45:56.509Z] bca2f99d35d6: Pulling fs layer [2021-03-03T00:45:56.509Z] 93359f2a8cfa: Pulling fs layer [2021-03-03T00:45:56.509Z] 7c6f9722023f: Pulling fs layer [2021-03-03T00:45:56.509Z] a35cf1a2eb13: Pulling fs layer [2021-03-03T00:45:56.509Z] bca2f99d35d6: Waiting [2021-03-03T00:45:56.509Z] 93359f2a8cfa: Waiting [2021-03-03T00:45:56.509Z] 7c6f9722023f: Waiting [2021-03-03T00:45:56.509Z] a35cf1a2eb13: Waiting [2021-03-03T00:45:56.509Z] de9db76c5a1d: Verifying Checksum [2021-03-03T00:45:56.509Z] de9db76c5a1d: Download complete [2021-03-03T00:45:56.509Z] 0ef7d3d256c8: Verifying Checksum [2021-03-03T00:45:56.509Z] 0ef7d3d256c8: Download complete [2021-03-03T00:45:56.509Z] 93359f2a8cfa: Verifying Checksum [2021-03-03T00:45:56.509Z] 93359f2a8cfa: Download complete [2021-03-03T00:45:56.509Z] 7c6f9722023f: Verifying Checksum [2021-03-03T00:45:56.509Z] 7c6f9722023f: Download complete [2021-03-03T00:45:56.783Z] 188c0c94c7c5: Verifying Checksum [2021-03-03T00:45:56.783Z] 188c0c94c7c5: Download complete [2021-03-03T00:45:57.076Z] 188c0c94c7c5: Pull complete [2021-03-03T00:45:58.247Z] 0ef7d3d256c8: Pull complete [2021-03-03T00:45:59.941Z] de9db76c5a1d: Pull complete [2021-03-03T00:46:06.113Z] a35cf1a2eb13: Verifying Checksum [2021-03-03T00:46:06.113Z] a35cf1a2eb13: Download complete [2021-03-03T00:46:08.256Z] bca2f99d35d6: Verifying Checksum [2021-03-03T00:46:08.256Z] bca2f99d35d6: Download complete [2021-03-03T00:46:31.108Z] bca2f99d35d6: Pull complete [2021-03-03T00:46:31.108Z] 93359f2a8cfa: Pull complete [2021-03-03T00:46:31.108Z] 7c6f9722023f: Pull complete [2021-03-03T00:46:43.964Z] a35cf1a2eb13: Pull complete [2021-03-03T00:46:43.964Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-03T00:46:43.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-03T00:46:43.964Z] ---> a62c8e92a672 [2021-03-03T00:46:43.964Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-03T00:46:43.964Z] ---> Running in b4ed71c18cba [2021-03-03T00:46:44.235Z] Removing intermediate container b4ed71c18cba [2021-03-03T00:46:44.235Z] ---> 8b951de114f1 [2021-03-03T00:46:44.235Z] Step 4/7 : RUN apk add bash [2021-03-03T00:46:44.517Z] ---> Running in 5b5f7c630c9b [2021-03-03T00:46:46.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T00:46:47.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T00:46:49.001Z] OK: 166 MiB in 39 packages [2021-03-03T00:46:51.614Z] Removing intermediate container 5b5f7c630c9b [2021-03-03T00:46:51.614Z] ---> f4927b716461 [2021-03-03T00:46:51.614Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-03-03T00:46:51.614Z] ---> Running in d6a4be537f14 [2021-03-03T00:46:52.322Z] Removing intermediate container d6a4be537f14 [2021-03-03T00:46:52.322Z] ---> f8927bfb08a1 [2021-03-03T00:46:52.322Z] Step 6/7 : COPY go.mod . [2021-03-03T00:46:52.948Z] ---> 5a8fd4b8eed0 [2021-03-03T00:46:52.948Z] Step 7/7 : RUN go mod download [2021-03-03T00:46:52.948Z] ---> Running in b0ccd0ef3ec8 [2021-03-03T00:47:25.773Z] Removing intermediate container b0ccd0ef3ec8 [2021-03-03T00:47:25.774Z] ---> 8b0469ba4e0d [2021-03-03T00:47:25.774Z] Successfully built 8b0469ba4e0d [2021-03-03T00:47:25.774Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:47:26.203Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T00:47:26.514Z] . [Pipeline] withDockerContainer [2021-03-03T00:47:27.275Z] prd-centos7-docker-4c-2g-28316 does not seem to be running inside a container [2021-03-03T00:47:27.407Z] $ 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-03-03T00:47:30.222Z] $ docker top bd85dbe1dc34fefc0d0f168bf1fddcedbdc43a0c6ad68a53cfe176bc51ee691c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:47:32.180Z] + go version [2021-03-03T00:47:32.180Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-03T00:47:32.242Z] $ docker stop --time=1 bd85dbe1dc34fefc0d0f168bf1fddcedbdc43a0c6ad68a53cfe176bc51ee691c [2021-03-03T00:47:34.405Z] $ docker rm -f bd85dbe1dc34fefc0d0f168bf1fddcedbdc43a0c6ad68a53cfe176bc51ee691c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:47:35.856Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T00:47:35.856Z] . [Pipeline] withDockerContainer [2021-03-03T00:47:36.264Z] prd-centos7-docker-4c-2g-28316 does not seem to be running inside a container [2021-03-03T00:47:36.688Z] $ 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-03-03T00:47:38.961Z] $ docker top 7818f3ab192acd70d0083af4daa6319a09c5daa7f5a070ee0adf506a09a90b7d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:47:40.028Z] + make test [2021-03-03T00:47:40.028Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-03T00:47:59.240Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-03-03T00:47:59.240Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.038s coverage: 85.7% of statements [2021-03-03T00:47:59.240Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.100s coverage: 100.0% of statements [2021-03-03T00:47:59.779Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.214s coverage: 45.4% of statements [2021-03-03T00:48:02.960Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.054s coverage: 77.8% of statements [2021-03-03T00:48:02.960Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-03-03T00:48:05.147Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.126s coverage: 26.3% of statements [2021-03-03T00:48:07.111Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.024s coverage: 14.7% of statements [2021-03-03T00:48:07.111Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.089s coverage: 100.0% of statements [2021-03-03T00:48:07.111Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.062s coverage: 91.8% of statements [2021-03-03T00:48:07.111Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-03-03T00:48:07.111Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-03-03T00:48:07.406Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.036s coverage: 100.0% of statements [2021-03-03T00:48:07.747Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.030s coverage: 36.7% of statements [2021-03-03T00:48:11.365Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-03-03T00:48:11.365Z] v2/dtos/addressable.go:44:10: ambiguous selector a.Type [2021-03-03T00:48:12.005Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.035s coverage: 63.0% of statements [2021-03-03T00:48:12.005Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.027s coverage: 26.3% of statements [2021-03-03T00:48:12.005Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.008s coverage: 15.4% of statements [2021-03-03T00:48:12.006Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.039s coverage: 15.4% of statements [2021-03-03T00:48:12.006Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.010s coverage: 14.3% of statements [2021-03-03T00:48:12.006Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-03-03T00:48:12.006Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [build failed] [2021-03-03T00:48:12.006Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-03-03T00:48:12.600Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos.test] [2021-03-03T00:48:12.600Z] v2/dtos/addressable.go:44: ambiguous selector a.Type [2021-03-03T00:48:12.600Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [build failed] [2021-03-03T00:48:12.888Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.020s coverage: 94.7% of statements [2021-03-03T00:48:12.888Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [build failed] [2021-03-03T00:48:12.888Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [build failed] [2021-03-03T00:48:12.888Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-03-03T00:48:12.918Z] $ docker stop --time=1 7818f3ab192acd70d0083af4daa6319a09c5daa7f5a070ee0adf506a09a90b7d [2021-03-03T00:48:15.643Z] $ docker rm -f 7818f3ab192acd70d0083af4daa6319a09c5daa7f5a070ee0adf506a09a90b7d [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:48:17.088Z] ---> job-cost.sh [2021-03-03T00:48:17.088Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Rb7Z [2021-03-03T00:48:44.362Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T00:49:41.551Z] lf-activate-venv(): INFO: Adding /tmp/venv-Rb7Z/bin to PATH [2021-03-03T00:49:41.551Z] INFO: No Stack... [2021-03-03T00:49:41.551Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T00:49:41.551Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T00:49:41.876Z] + cat /w/workspace/go-mod-core-contracts/5/archives/cost.csv [2021-03-03T00:49:41.876Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T00:49:41.995Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] [2021-03-03T00:49:42.004Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] did not exist. Created. [2021-03-03T00:49:42.004Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T00:49:42.429Z] /w/workspace/go-mod-core-contracts/5@tmp/durable-4c07c141/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-03T00:49:42.767Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-03T00:49:42.844Z] Warning: overwriting stash ‘stack-cost’ [2021-03-03T00:49:44.137Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T00:49:44.146Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T00:49:44.759Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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-03-03T00:49:47.245Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:49:47.833Z] ---> package-listing.sh [2021-03-03T00:49:47.833Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-03T00:49:47.833Z] ++ facter osfamily [2021-03-03T00:49:47.833Z] + OS_FAMILY=redhat [2021-03-03T00:49:47.833Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-525 [2021-03-03T00:49:47.833Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-03T00:49:47.833Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-03T00:49:47.833Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-03T00:49:47.833Z] + PACKAGES=/tmp/packages_start.txt [2021-03-03T00:49:47.833Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-525 ']' [2021-03-03T00:49:47.833Z] + PACKAGES=/tmp/packages_end.txt [2021-03-03T00:49:47.833Z] + case "${OS_FAMILY}" in [2021-03-03T00:49:47.833Z] + rpm -qa [2021-03-03T00:49:47.833Z] + sort [2021-03-03T00:49:53.143Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-03T00:49:53.143Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-03T00:49:53.143Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-03T00:49:53.143Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-525 ']' [2021-03-03T00:49:53.143Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-525/archives/ [2021-03-03T00:49:53.143Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-525/archives/ [Pipeline] echo [2021-03-03T00:49:53.158Z] 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-525/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-03T00:49:53.454Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:49:53.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T00:49:53.765Z] [2021-03-03T00:49:53.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-03T00:49:54.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T00:49:54.128Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-03T00:49:54.128Z] df20fa9351a1: Pulling fs layer [2021-03-03T00:49:54.128Z] 36b3adc4ff6f: Pulling fs layer [2021-03-03T00:49:54.128Z] 8ad3a11d3b57: Pulling fs layer [2021-03-03T00:49:54.128Z] 46f8f816bc3b: Pulling fs layer [2021-03-03T00:49:54.128Z] 93b61091891f: Pulling fs layer [2021-03-03T00:49:54.128Z] 93b9cdb0e59b: Pulling fs layer [2021-03-03T00:49:54.128Z] 5e14af77c1be: Pulling fs layer [2021-03-03T00:49:54.128Z] 01666e4c0597: Pulling fs layer [2021-03-03T00:49:54.128Z] aa168da1d23b: Pulling fs layer [2021-03-03T00:49:54.128Z] 46f8f816bc3b: Waiting [2021-03-03T00:49:54.128Z] 93b61091891f: Waiting [2021-03-03T00:49:54.128Z] 93b9cdb0e59b: Waiting [2021-03-03T00:49:54.128Z] 5e14af77c1be: Waiting [2021-03-03T00:49:54.128Z] aa168da1d23b: Waiting [2021-03-03T00:49:54.128Z] 01666e4c0597: Waiting [2021-03-03T00:49:54.128Z] 36b3adc4ff6f: Verifying Checksum [2021-03-03T00:49:54.128Z] 36b3adc4ff6f: Download complete [2021-03-03T00:49:54.128Z] 46f8f816bc3b: Verifying Checksum [2021-03-03T00:49:54.128Z] 46f8f816bc3b: Download complete [2021-03-03T00:49:54.128Z] df20fa9351a1: Download complete [2021-03-03T00:49:54.128Z] 93b9cdb0e59b: Verifying Checksum [2021-03-03T00:49:54.128Z] 93b9cdb0e59b: Download complete [2021-03-03T00:49:54.407Z] 5e14af77c1be: Verifying Checksum [2021-03-03T00:49:54.407Z] 5e14af77c1be: Download complete [2021-03-03T00:49:54.407Z] 93b61091891f: Download complete [2021-03-03T00:49:54.407Z] 01666e4c0597: Verifying Checksum [2021-03-03T00:49:54.407Z] 01666e4c0597: Download complete [2021-03-03T00:49:54.407Z] 8ad3a11d3b57: Verifying Checksum [2021-03-03T00:49:54.407Z] 8ad3a11d3b57: Download complete [2021-03-03T00:49:54.672Z] df20fa9351a1: Pull complete [2021-03-03T00:49:54.936Z] 36b3adc4ff6f: Pull complete [2021-03-03T00:49:55.516Z] 8ad3a11d3b57: Pull complete [2021-03-03T00:49:56.916Z] aa168da1d23b: Verifying Checksum [2021-03-03T00:49:56.916Z] aa168da1d23b: Download complete [2021-03-03T00:49:57.181Z] 46f8f816bc3b: Pull complete [2021-03-03T00:49:57.759Z] 93b61091891f: Pull complete [2021-03-03T00:49:57.759Z] 93b9cdb0e59b: Pull complete [2021-03-03T00:49:58.023Z] 5e14af77c1be: Pull complete [2021-03-03T00:49:58.023Z] 01666e4c0597: Pull complete [2021-03-03T00:50:06.221Z] aa168da1d23b: Pull complete [2021-03-03T00:50:06.221Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-03T00:50:06.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T00:50:06.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-03T00:50:06.431Z] prd-centos7-docker-4c-2g-28304 does not seem to be running inside a container [2021-03-03T00:50:06.483Z] $ 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-525/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-525 -v /w/workspace/dry_go-mod-core-contracts_PR-525:/w/workspace/dry_go-mod-core-contracts_PR-525:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-525@tmp:/w/workspace/dry_go-mod-core-contracts_PR-525@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-03T00:50:08.872Z] $ docker top aca723412077a37f1b9a19c1ec0706a697a8a8ada79514150e3f853d1eb4a90e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T00:50:09.417Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-03T00:50:09.719Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-03T00:50:10.022Z] + ls /var/log/sa-host [2021-03-03T00:50:10.022Z] + sadf -c /var/log/sa-host/sa03 [2021-03-03T00:50:10.022Z] file_magic: OK [2021-03-03T00:50:10.022Z] HZ: Using current value: 100 [2021-03-03T00:50:10.022Z] file_header: OK [2021-03-03T00:50:10.022Z] 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-03-03T00:50:10.022Z] Statistics: [2021-03-03T00:50:10.022Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-03T00:50:10.022Z] File successfully converted to sysstat format version 12.2.1 [2021-03-03T00:50:10.022Z] + sadf -c /var/log/sa-host/sa23 [2021-03-03T00:50:10.022Z] file_magic: OK [2021-03-03T00:50:10.022Z] HZ: Using current value: 100 [2021-03-03T00:50:10.022Z] file_header: OK [2021-03-03T00:50:10.022Z] 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-03-03T00:50:10.022Z] Statistics: [2021-03-03T00:50:10.022Z] Hnuu...uuuununununu... [2021-03-03T00:50:10.022Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-03T00:50:10.328Z] provisioning config files... [2021-03-03T00:50:10.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/config2366862243189079353tmp [Pipeline] { [Pipeline] echo [2021-03-03T00:50:10.436Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:50:10.737Z] ---> create-netrc.sh [Pipeline] } [2021-03-03T00:50:10.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-03T00:50:10.856Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:50:11.153Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-03T00:50:11.164Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:50:11.467Z] ---> sudo-logs.sh [2021-03-03T00:50:11.467Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-03T00:50:11.535Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:50:11.839Z] ---> job-cost.sh [2021-03-03T00:50:11.839Z] lf-activate-venv: SKIPPING [2021-03-03T00:50:11.839Z] DEBUG: total: 0.029999999329447746 [2021-03-03T00:50:11.839Z] INFO: Retrieving Stack Cost... [2021-03-03T00:50:12.792Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T00:50:13.368Z] INFO: Archiving Costs [Pipeline] echo [2021-03-03T00:50:13.383Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T00:50:13.681Z] ---> logs-deploy.sh [2021-03-03T00:50:13.681Z] lf-activate-venv: SKIPPING [2021-03-03T00:50:13.681Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-525/5 [2021-03-03T00:50:13.681Z] INFO: archiving workspace using pattern(s): [2021-03-03T00:50:15.603Z] Archives upload complete. [2021-03-03T00:50:15.603Z] INFO: archiving logs to Nexus