Pull request #525 updated 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 f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d rather than dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 Obtained Jenkinsfile from f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 # timeout=10 Commit message: "Merge pull request #316 from ernestojeda/email-notifications" > 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 Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27838’ Running on prd-centos7-docker-4c-2g-27844 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 f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d into PR head commit dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 Merge succeeded, producing 881a0bbd0e21472938e8257c6e99479ee7670feb Checking out Revision 881a0bbd0e21472938e8257c6e99479ee7670feb (PR-525) > git config core.sparsecheckout # timeout=10 > git checkout -f dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 # 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 f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 881a0bbd0e21472938e8257c6e99479ee7670feb # timeout=10 Commit message: "Merge commit 'f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-26T09:45:02.775Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk dda10723219429c01a2388297e866315fade2917 # timeout=10 [2021-02-26T09:45:03.074Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-26T09:45:03.176Z] ========================================================= [2021-02-26T09:45:03.176Z] EdgeX Global Pipelines Version Info [2021-02-26T09:45:03.176Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:45:04.669Z] ------------------- [2021-02-26T09:45:04.669Z] stable info: [2021-02-26T09:45:04.669Z] ------------------- [2021-02-26T09:45:04.669Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-26T09:45:04.669Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-26T09:45:04.669Z] Message: update stable to v1.0.182 [2021-02-26T09:45:05.614Z] ------------------- [2021-02-26T09:45:05.614Z] experimental info: [2021-02-26T09:45:05.614Z] ------------------- [2021-02-26T09:45:05.614Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-26T09:45:05.614Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-26T09:45:05.614Z] Message: update experimental to v1.0.182 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-26T09:45:05.900Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-02-26T09:45:05.988Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-02-26T09:45:06.147Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-26T09:45:06.259Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-26T09:45:06.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-26T09:45:06.438Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-26T09:45:06.521Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-26T09:45:06.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-26T09:45:06.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-26T09:45:06.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-26T09:45:06.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-26T09:45:06.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-02-26T09:45:07.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-26T09:45:07.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-26T09:45:07.219Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T09:45:07.303Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T09:45:07.410Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T09:45:07.498Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T09:45:07.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-26T09:45:07.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-26T09:45:07.764Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-26T09:45:07.849Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-26T09:45:07.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-26T09:45:08.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-26T09:45:08.117Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-26T09:45:08.199Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-02-26T09:45:08.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo [2021-02-26T09:45:08.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo [2021-02-26T09:45:08.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo [2021-02-26T09:45:08.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 881a0bbd0e21472938e8257c6e99479ee7670feb [Pipeline] echo [2021-02-26T09:45:08.621Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 881a0bb [Pipeline] echo [2021-02-26T09:45:08.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T09:45:09.366Z] + git log --format=format:%s -1 881a0bbd0e21472938e8257c6e99479ee7670feb [Pipeline] echo [2021-02-26T09:45:09.434Z] GIT_COMMIT: 881a0bbd0e21472938e8257c6e99479ee7670feb, Commit Message: Merge commit 'f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d' into HEAD [Pipeline] echo [2021-02-26T09:45:09.479Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:45:10.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T09:45:10.768Z] [2021-02-26T09:45:10.768Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:45:11.125Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T09:45:11.125Z] latest: Pulling from edgex-devops/git-semver [2021-02-26T09:45:11.125Z] 31603596830f: Pulling fs layer [2021-02-26T09:45:11.125Z] 2a8b12db71e7: Pulling fs layer [2021-02-26T09:45:11.125Z] 6ca5941a6612: Pulling fs layer [2021-02-26T09:45:11.125Z] ecc8261a40a4: Pulling fs layer [2021-02-26T09:45:11.125Z] ecc8261a40a4: Waiting [2021-02-26T09:45:11.125Z] 2a8b12db71e7: Download complete [2021-02-26T09:45:11.390Z] 31603596830f: Download complete [2021-02-26T09:45:11.390Z] 6ca5941a6612: Verifying Checksum [2021-02-26T09:45:11.390Z] 6ca5941a6612: Download complete [2021-02-26T09:45:11.390Z] ecc8261a40a4: Verifying Checksum [2021-02-26T09:45:11.390Z] ecc8261a40a4: Download complete [2021-02-26T09:45:11.654Z] 31603596830f: Pull complete [2021-02-26T09:45:11.654Z] 2a8b12db71e7: Pull complete [2021-02-26T09:45:12.607Z] 6ca5941a6612: Pull complete [2021-02-26T09:45:12.870Z] ecc8261a40a4: Pull complete [2021-02-26T09:45:12.870Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-26T09:45:12.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T09:45:12.870Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-26T09:45:12.970Z] prd-centos7-docker-4c-2g-27844 does not seem to be running inside a container [2021-02-26T09:45:13.015Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-26T09:45:15.003Z] $ docker top 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-26T09:45:15.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T09:45:15.304Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T09:45:15.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T09:45:15.519Z] $ docker exec 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd ssh-agent [2021-02-26T09:45:15.690Z] SSH_AUTH_SOCK=/tmp/ssh-SzhjRZk59C19/agent.12 [2021-02-26T09:45:15.690Z] SSH_AGENT_PID=17 [2021-02-26T09:45:15.699Z] Running ssh-add (command line suppressed) [2021-02-26T09:45:15.814Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_7338425723954509882.key (/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_7338425723954509882.key) [2021-02-26T09:45:15.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T09:45:16.195Z] + git tag --points-at HEAD [Pipeline] } [2021-02-26T09:45:16.215Z] $ docker exec --env ******** --env ******** 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd ssh-agent -k [2021-02-26T09:45:16.327Z] unset SSH_AUTH_SOCK; [2021-02-26T09:45:16.328Z] unset SSH_AGENT_PID; [2021-02-26T09:45:16.328Z] echo Agent pid 17 killed; [2021-02-26T09:45:16.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-26T09:45:16.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T09:45:16.518Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T09:45:16.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T09:45:16.686Z] $ docker exec 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd ssh-agent [2021-02-26T09:45:16.844Z] SSH_AUTH_SOCK=/tmp/ssh-WvMeSmHP4mX7/agent.46 [2021-02-26T09:45:16.844Z] SSH_AGENT_PID=51 [2021-02-26T09:45:16.850Z] Running ssh-add (command line suppressed) [2021-02-26T09:45:16.962Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_4541544677956437728.key (/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_4541544677956437728.key) [2021-02-26T09:45:17.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T09:45:17.353Z] + git semver init [2021-02-26T09:45:17.353Z] # -> Open(): unable to determine branch for HEAD [2021-02-26T09:45:17.353Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-525/.git [2021-02-26T09:45:17.353Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-525 [2021-02-26T09:45:17.353Z] # $SEMVER_REMOTE_NAME = origin [2021-02-26T09:45:17.353Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-26T09:45:17.353Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-26T09:45:17.353Z] # $SEMVER_BRANCH = PR-525 [2021-02-26T09:45:17.353Z] # $SEMVER_TEMP = /tmp/semver-645318795 [2021-02-26T09:45:17.353Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-02-26T09:45:18.301Z] # '/tmp/semver-645318795' -> '/w/workspace/dry_go-mod-core-contracts_PR-525/.semver' [2021-02-26T09:45:18.301Z] # -> Force: false [2021-02-26T09:45:18.301Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-525/.semver [Pipeline] } [2021-02-26T09:45:18.311Z] $ docker exec --env ******** --env ******** 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd ssh-agent -k [2021-02-26T09:45:18.417Z] unset SSH_AUTH_SOCK; [2021-02-26T09:45:18.417Z] unset SSH_AGENT_PID; [2021-02-26T09:45:18.417Z] echo Agent pid 51 killed; [2021-02-26T09:45:18.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-26T09:45:18.961Z] + git semver [Pipeline] } [2021-02-26T09:45:18.975Z] $ docker stop --time=1 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd [2021-02-26T09:45:20.866Z] $ docker rm -f 2c074e29ab716af08fce14e782bab83e64a7cfb7c58391c08fbc5bf1481419dd [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-26T09:45:21.483Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-26T09:45:22.021Z] Stashed 1 file(s) [Pipeline] echo [2021-02-26T09:45:22.024Z] [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-02-26T09:45:37.547Z] Still waiting to schedule task [2021-02-26T09:45:37.547Z] ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27838’ is offline; ‘prd-centos7-docker-4c-2g-27845’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27841’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-26T09:45:37.550Z] Still waiting to schedule task [2021-02-26T09:45:37.550Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-26T09:45:49.118Z] Running on prd-centos7-docker-4c-2g-27845 in /w/workspace/dry_go-mod-core-contracts_PR-525 [Pipeline] { [Pipeline] ws [2021-02-26T09:45:49.200Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2021-02-26T09:45:51.552Z] using credential edgex-jenkins-ssh [2021-02-26T09:45:51.606Z] Cloning the remote Git repository [2021-02-26T09:45:51.632Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-26T09:45:51.701Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2021-02-26T09:45:51.764Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-26T09:45:51.765Z] > git --version # timeout=10 [2021-02-26T09:45:51.773Z] > git --version # 'git version 2.24.3' [2021-02-26T09:45:51.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T09:45:51.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T09:45:52.461Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-26T09:45:52.466Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T09:45:52.480Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-26T09:45:52.499Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-26T09:45:52.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T09:45:52.504Z] > 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-02-26T09:45:53.000Z] Merging remotes/origin/master commit f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d into PR head commit dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 [2021-02-26T09:45:53.143Z] Merge succeeded, producing 1e9ab5ca8301b595c69cb6e0cdc072e6ff984773 [2021-02-26T09:45:53.144Z] Checking out Revision 1e9ab5ca8301b595c69cb6e0cdc072e6ff984773 (PR-525) [2021-02-26T09:45:53.007Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T09:45:53.014Z] > git checkout -f dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 # timeout=10 [2021-02-26T09:45:53.080Z] > git remote # timeout=10 [2021-02-26T09:45:53.087Z] > git config --get remote.origin.url # timeout=10 [2021-02-26T09:45:53.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T09:45:53.096Z] > git merge f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d # timeout=10 [2021-02-26T09:45:53.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-26T09:45:53.145Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T09:45:53.166Z] > git checkout -f 1e9ab5ca8301b595c69cb6e0cdc072e6ff984773 # timeout=10 [2021-02-26T09:45:56.799Z] Commit message: "Merge commit 'f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d' into HEAD" [2021-02-26T09:45:56.809Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T09:45:56.800Z] > git rev-list --no-walk dda10723219429c01a2388297e866315fade2917 # timeout=10 [2021-02-26T09:45:57.904Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-26T09:45:58.230Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-26T09:45:58.529Z] + sudo service docker restart [2021-02-26T09:45:58.529Z] + true [2021-02-26T09:45:58.529Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-26T09:46:00.134Z] ========================================================= [2021-02-26T09:46:00.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-26T09:46:00.134Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:46:00.487Z] + 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-02-26T09:46:01.062Z] Sending build context to Docker daemon 2.753MB [2021-02-26T09:46:01.062Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-26T09:46:01.062Z] Step 2/7 : FROM ${BASE} [2021-02-26T09:46:01.062Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-26T09:46:01.062Z] 188c0c94c7c5: Pulling fs layer [2021-02-26T09:46:01.063Z] 0ef7d3d256c8: Pulling fs layer [2021-02-26T09:46:01.063Z] de9db76c5a1d: Pulling fs layer [2021-02-26T09:46:01.063Z] bca2f99d35d6: Pulling fs layer [2021-02-26T09:46:01.063Z] 93359f2a8cfa: Pulling fs layer [2021-02-26T09:46:01.063Z] 7c6f9722023f: Pulling fs layer [2021-02-26T09:46:01.063Z] a35cf1a2eb13: Pulling fs layer [2021-02-26T09:46:01.063Z] bca2f99d35d6: Waiting [2021-02-26T09:46:01.063Z] 93359f2a8cfa: Waiting [2021-02-26T09:46:01.063Z] 7c6f9722023f: Waiting [2021-02-26T09:46:01.063Z] a35cf1a2eb13: Waiting [2021-02-26T09:46:01.063Z] de9db76c5a1d: Verifying Checksum [2021-02-26T09:46:01.063Z] de9db76c5a1d: Download complete [2021-02-26T09:46:01.063Z] 0ef7d3d256c8: Verifying Checksum [2021-02-26T09:46:01.063Z] 0ef7d3d256c8: Download complete [2021-02-26T09:46:01.328Z] 93359f2a8cfa: Download complete [2021-02-26T09:46:01.328Z] 7c6f9722023f: Verifying Checksum [2021-02-26T09:46:01.328Z] 7c6f9722023f: Download complete [2021-02-26T09:46:01.328Z] 188c0c94c7c5: Verifying Checksum [2021-02-26T09:46:01.328Z] 188c0c94c7c5: Download complete [2021-02-26T09:46:01.604Z] 188c0c94c7c5: Pull complete [2021-02-26T09:46:01.871Z] 0ef7d3d256c8: Pull complete [2021-02-26T09:46:01.871Z] de9db76c5a1d: Pull complete [2021-02-26T09:46:03.268Z] a35cf1a2eb13: Download complete [2021-02-26T09:46:03.845Z] bca2f99d35d6: Verifying Checksum [2021-02-26T09:46:03.845Z] bca2f99d35d6: Download complete [2021-02-26T09:46:09.189Z] bca2f99d35d6: Pull complete [2021-02-26T09:46:09.189Z] 93359f2a8cfa: Pull complete [2021-02-26T09:46:09.189Z] 7c6f9722023f: Pull complete [2021-02-26T09:46:13.479Z] a35cf1a2eb13: Pull complete [2021-02-26T09:46:13.479Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-26T09:46:13.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-26T09:46:13.479Z] ---> a62c8e92a672 [2021-02-26T09:46:13.479Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-26T09:46:13.744Z] ---> Running in 9b6c374a62e9 [2021-02-26T09:46:14.007Z] Removing intermediate container 9b6c374a62e9 [2021-02-26T09:46:14.007Z] ---> bf4670cbd323 [2021-02-26T09:46:14.007Z] Step 4/7 : RUN apk add bash [2021-02-26T09:46:14.276Z] ---> Running in 99e27ff7292d [2021-02-26T09:46:14.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-26T09:46:15.801Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-26T09:46:16.384Z] OK: 166 MiB in 39 packages [2021-02-26T09:46:16.646Z] Removing intermediate container 99e27ff7292d [2021-02-26T09:46:16.646Z] ---> bd0b724a449c [2021-02-26T09:46:16.646Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-26T09:46:16.908Z] ---> Running in def54b75856b [2021-02-26T09:46:16.908Z] Removing intermediate container def54b75856b [2021-02-26T09:46:16.908Z] ---> 79f31fd1d085 [2021-02-26T09:46:16.908Z] Step 6/7 : COPY go.mod . [2021-02-26T09:46:17.183Z] ---> dd9ef80cfd67 [2021-02-26T09:46:17.183Z] Step 7/7 : RUN go mod download [2021-02-26T09:46:17.183Z] ---> Running in 6cafcad2a032 [2021-02-26T09:46:29.460Z] Removing intermediate container 6cafcad2a032 [2021-02-26T09:46:29.460Z] ---> 80ceab03c2c3 [2021-02-26T09:46:29.460Z] Successfully built 80ceab03c2c3 [2021-02-26T09:46:29.460Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:46:29.775Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-26T09:46:29.775Z] . [Pipeline] withDockerContainer [2021-02-26T09:46:29.881Z] prd-centos7-docker-4c-2g-27845 does not seem to be running inside a container [2021-02-26T09:46:29.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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-02-26T09:46:30.624Z] $ docker top fde63176dfb641dcfd3b0738ae9eb0a7b56791d3cfe9bb23c5a11e38d9337e02 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T09:46:31.155Z] + go version [2021-02-26T09:46:31.155Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-26T09:46:31.167Z] $ docker stop --time=1 fde63176dfb641dcfd3b0738ae9eb0a7b56791d3cfe9bb23c5a11e38d9337e02 [2021-02-26T09:46:32.512Z] $ docker rm -f fde63176dfb641dcfd3b0738ae9eb0a7b56791d3cfe9bb23c5a11e38d9337e02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:46:33.500Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-26T09:46:33.500Z] . [Pipeline] withDockerContainer [2021-02-26T09:46:33.600Z] prd-centos7-docker-4c-2g-27845 does not seem to be running inside a container [2021-02-26T09:46:33.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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-02-26T09:46:34.300Z] $ docker top 66b3d034531bd2ba37178e869d2f954cd08dac7625d75345517e42510a98ca61 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T09:46:34.860Z] + make test [2021-02-26T09:46:34.860Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-26T09:46:41.532Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-26T09:46:41.532Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.012s coverage: 85.7% of statements [2021-02-26T09:46:41.532Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.008s coverage: 100.0% of statements [2021-02-26T09:46:41.532Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.031s coverage: 45.4% of statements [2021-02-26T09:46:41.532Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.012s coverage: 77.8% of statements [2021-02-26T09:46:41.532Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-26T09:46:43.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.005s coverage: 26.3% of statements [2021-02-26T09:46:43.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.012s coverage: 14.7% of statements [2021-02-26T09:46:43.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.052s coverage: 100.0% of statements [2021-02-26T09:46:43.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.036s coverage: 91.8% of statements [2021-02-26T09:46:43.497Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-26T09:46:43.497Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-26T09:46:43.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.004s coverage: 100.0% of statements [2021-02-26T09:46:43.767Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.010s coverage: 36.7% of statements [2021-02-26T09:46:45.200Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-02-26T09:46:45.200Z] v2/dtos/addressable.go:40:10: ambiguous selector a.Type [2021-02-26T09:46:45.463Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.020s coverage: 63.0% of statements [2021-02-26T09:46:45.463Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.008s coverage: 26.3% of statements [2021-02-26T09:46:45.463Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.009s coverage: 15.4% of statements [2021-02-26T09:46:45.463Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.025s coverage: 15.4% of statements [2021-02-26T09:46:45.463Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.015s coverage: 14.3% of statements [2021-02-26T09:46:45.463Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-26T09:46:45.463Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [build failed] [2021-02-26T09:46:45.463Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-26T09:46:46.428Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos.test] [2021-02-26T09:46:46.428Z] v2/dtos/addressable.go:40: ambiguous selector a.Type [2021-02-26T09:46:46.428Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [build failed] [2021-02-26T09:46:46.428Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.010s coverage: 94.7% of statements [2021-02-26T09:46:46.428Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [build failed] [2021-02-26T09:46:46.428Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [build failed] [2021-02-26T09:46:46.428Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-02-26T09:46:46.445Z] $ docker stop --time=1 66b3d034531bd2ba37178e869d2f954cd08dac7625d75345517e42510a98ca61 [2021-02-26T09:46:48.688Z] $ docker rm -f 66b3d034531bd2ba37178e869d2f954cd08dac7625d75345517e42510a98ca61 [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-02-26T09:46:50.250Z] ---> job-cost.sh [2021-02-26T09:46:50.250Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IzNk [2021-02-26T09:47:05.198Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-26T09:47:31.823Z] lf-activate-venv(): INFO: Adding /tmp/venv-IzNk/bin to PATH [2021-02-26T09:47:31.823Z] INFO: No Stack... [2021-02-26T09:47:32.769Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-26T09:47:33.344Z] INFO: Archiving Costs [Pipeline] sh [2021-02-26T09:47:33.653Z] + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv [2021-02-26T09:47:33.653Z] + cut -d, -f6 [Pipeline] lock [2021-02-26T09:47:33.725Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] [2021-02-26T09:47:33.734Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] did not exist. Created. [2021-02-26T09:47:33.734Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-26T09:47:34.145Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-26T09:47:34.269Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27846 in /w/workspace/dry_go-mod-core-contracts_PR-525 [Pipeline] { [Pipeline] ws [2021-02-26T09:47:34.323Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2021-02-26T09:47:34.575Z] Stashed 1 file(s) [Pipeline] } [2021-02-26T09:47:34.589Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-26T09:47:35.309Z] Failed in branch amd64 [2021-02-26T09:47:39.352Z] using credential edgex-jenkins-ssh [2021-02-26T09:47:39.440Z] Cloning the remote Git repository [2021-02-26T09:47:39.502Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-26T09:47:39.614Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2021-02-26T09:47:39.713Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-26T09:47:39.714Z] > git --version # timeout=10 [2021-02-26T09:47:39.739Z] > git --version # 'git version 2.17.1' [2021-02-26T09:47:39.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T09:47:39.800Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T09:47:41.669Z] Merging remotes/origin/master commit f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d into PR head commit dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 [2021-02-26T09:47:40.788Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-26T09:47:40.810Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T09:47:40.896Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-26T09:47:40.956Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-26T09:47:40.957Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T09:47:40.974Z] > 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-02-26T09:47:41.691Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T09:47:41.721Z] > git checkout -f dce0f45a4edd2383f318c49fa8f2b8aaf23f0523 # timeout=10 [2021-02-26T09:47:41.870Z] > git remote # timeout=10 [2021-02-26T09:47:41.892Z] > git config --get remote.origin.url # timeout=10 [2021-02-26T09:47:41.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T09:47:41.935Z] > git merge f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d # timeout=10 [2021-02-26T09:47:42.067Z] Merge succeeded, producing b959825e5be23f5413a3e58b4d809f6e994011f8 [2021-02-26T09:47:42.067Z] Checking out Revision b959825e5be23f5413a3e58b4d809f6e994011f8 (PR-525) [2021-02-26T09:47:42.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-26T09:47:42.077Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T09:47:42.089Z] > git checkout -f b959825e5be23f5413a3e58b4d809f6e994011f8 # timeout=10 [2021-02-26T09:47:46.293Z] Commit message: "Merge commit 'f4a998d22cd4b2c4eabc8d631ab7b0233d5b1f7d' into HEAD" [2021-02-26T09:47:46.315Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T09:47:46.303Z] > git rev-list --no-walk dda10723219429c01a2388297e866315fade2917 # timeout=10 [2021-02-26T09:47:47.804Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-26T09:47:48.212Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-26T09:47:48.552Z] + true+ [2021-02-26T09:47:48.552Z] sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-02-26T09:47:50.787Z] ========================================================= [2021-02-26T09:47:50.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-26T09:47:50.788Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:47:51.170Z] + 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-02-26T09:47:52.171Z] Sending build context to Docker daemon 2.751MB [2021-02-26T09:47:52.171Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-26T09:47:52.171Z] Step 2/7 : FROM ${BASE} [2021-02-26T09:47:52.448Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-26T09:47:52.448Z] 5f621e34cdf4: Pulling fs layer [2021-02-26T09:47:52.448Z] a4357932f1b6: Pulling fs layer [2021-02-26T09:47:52.448Z] 18c013af1878: Pulling fs layer [2021-02-26T09:47:52.448Z] 00ac8860ef70: Pulling fs layer [2021-02-26T09:47:52.448Z] 63d7cb157983: Pulling fs layer [2021-02-26T09:47:52.448Z] b116817d02f9: Pulling fs layer [2021-02-26T09:47:52.448Z] 745a02a5169b: Pulling fs layer [2021-02-26T09:47:52.448Z] 00ac8860ef70: Waiting [2021-02-26T09:47:52.448Z] 63d7cb157983: Waiting [2021-02-26T09:47:52.448Z] b116817d02f9: Waiting [2021-02-26T09:47:52.448Z] 745a02a5169b: Waiting [2021-02-26T09:47:52.724Z] 18c013af1878: Download complete [2021-02-26T09:47:52.724Z] a4357932f1b6: Verifying Checksum [2021-02-26T09:47:52.724Z] a4357932f1b6: Download complete [2021-02-26T09:47:52.724Z] 63d7cb157983: Verifying Checksum [2021-02-26T09:47:52.724Z] 63d7cb157983: Download complete [2021-02-26T09:47:53.322Z] b116817d02f9: Download complete [2021-02-26T09:47:53.322Z] 5f621e34cdf4: Download complete [2021-02-26T09:47:54.310Z] 5f621e34cdf4: Pull complete [2021-02-26T09:47:54.585Z] a4357932f1b6: Pull complete [2021-02-26T09:47:55.195Z] 18c013af1878: Pull complete [2021-02-26T09:47:55.471Z] 745a02a5169b: Verifying Checksum [2021-02-26T09:47:55.471Z] 745a02a5169b: Download complete [2021-02-26T09:47:56.908Z] 00ac8860ef70: Verifying Checksum [2021-02-26T09:47:56.908Z] 00ac8860ef70: Download complete [2021-02-26T09:48:07.075Z] 00ac8860ef70: Pull complete [2021-02-26T09:48:07.075Z] 63d7cb157983: Pull complete [2021-02-26T09:48:07.670Z] b116817d02f9: Pull complete [2021-02-26T09:48:11.072Z] 745a02a5169b: Pull complete [2021-02-26T09:48:11.072Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-26T09:48:11.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-26T09:48:11.072Z] ---> b7e6874047d6 [2021-02-26T09:48:11.072Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-26T09:48:14.461Z] ---> Running in 92a7b4a497be [2021-02-26T09:48:14.737Z] Removing intermediate container 92a7b4a497be [2021-02-26T09:48:14.737Z] ---> 6ad9f87e7e73 [2021-02-26T09:48:14.737Z] Step 4/7 : RUN apk add bash [2021-02-26T09:48:15.011Z] ---> Running in ba16b9b1d9c2 [2021-02-26T09:48:16.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-26T09:48:17.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-26T09:48:18.025Z] OK: 142 MiB in 39 packages [2021-02-26T09:48:19.463Z] Removing intermediate container ba16b9b1d9c2 [2021-02-26T09:48:19.463Z] ---> fd4630c25c95 [2021-02-26T09:48:19.463Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-26T09:48:19.463Z] ---> Running in 68bc6e817b5e [2021-02-26T09:48:20.063Z] Removing intermediate container 68bc6e817b5e [2021-02-26T09:48:20.063Z] ---> acfd4bae6e83 [2021-02-26T09:48:20.063Z] Step 6/7 : COPY go.mod . [2021-02-26T09:48:20.659Z] ---> 5ee18ac00ed2 [2021-02-26T09:48:20.659Z] Step 7/7 : RUN go mod download [2021-02-26T09:48:20.932Z] ---> Running in b039d6eab9e9 [2021-02-26T09:48:36.017Z] Removing intermediate container b039d6eab9e9 [2021-02-26T09:48:36.017Z] ---> 441b1452ea26 [2021-02-26T09:48:36.017Z] Successfully built 441b1452ea26 [2021-02-26T09:48:36.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:48:36.362Z] + docker inspect -f . ci-base-image-arm64 [2021-02-26T09:48:36.363Z] . [Pipeline] withDockerContainer [2021-02-26T09:48:36.632Z] prd-ubuntu18.04-docker-arm64-4c-16g-27846 does not seem to be running inside a container [2021-02-26T09:48:36.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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-02-26T09:48:38.390Z] $ docker top ab282a0ec1b20b06a7628efb63b4be5aad7d950c8556d75def1568eaac8d9ea4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T09:48:39.450Z] + go version [2021-02-26T09:48:39.450Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-26T09:48:39.475Z] $ docker stop --time=1 ab282a0ec1b20b06a7628efb63b4be5aad7d950c8556d75def1568eaac8d9ea4 [2021-02-26T09:48:41.559Z] $ docker rm -f ab282a0ec1b20b06a7628efb63b4be5aad7d950c8556d75def1568eaac8d9ea4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:48:42.599Z] + docker inspect -f . ci-base-image-arm64 [2021-02-26T09:48:42.599Z] . [Pipeline] withDockerContainer [2021-02-26T09:48:42.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-27846 does not seem to be running inside a container [2021-02-26T09:48:42.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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-02-26T09:48:44.502Z] $ docker top b3964060c2ab449e31acaf805e582a3711a4f9c2d2d66a199a7041d69c5ffed9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T09:48:45.545Z] + make test [2021-02-26T09:48:45.546Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-26T09:49:07.735Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-26T09:49:08.723Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.026s coverage: 85.7% of statements [2021-02-26T09:49:08.723Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.026s coverage: 100.0% of statements [2021-02-26T09:49:10.723Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.054s coverage: 45.4% of statements [2021-02-26T09:49:11.004Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.031s coverage: 77.8% of statements [2021-02-26T09:49:11.004Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-26T09:49:12.984Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.050s coverage: 26.3% of statements [2021-02-26T09:49:14.437Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.051s coverage: 14.7% of statements [2021-02-26T09:49:14.437Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.021s coverage: 100.0% of statements [2021-02-26T09:49:15.422Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.072s coverage: 91.8% of statements [2021-02-26T09:49:15.422Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-26T09:49:15.422Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-26T09:49:15.422Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.022s coverage: 100.0% of statements [2021-02-26T09:49:15.422Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.025s coverage: 36.7% of statements [2021-02-26T09:49:18.826Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-02-26T09:49:18.826Z] v2/dtos/addressable.go:40:10: ambiguous selector a.Type [2021-02-26T09:49:20.815Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.100s coverage: 63.0% of statements [2021-02-26T09:49:20.815Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.011s coverage: 26.3% of statements [2021-02-26T09:49:20.816Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.046s coverage: 15.4% of statements [2021-02-26T09:49:20.816Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.026s coverage: 15.4% of statements [2021-02-26T09:49:20.816Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.020s coverage: 14.3% of statements [2021-02-26T09:49:20.816Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-26T09:49:20.816Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [build failed] [2021-02-26T09:49:20.816Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-26T09:49:20.816Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos.test] [2021-02-26T09:49:20.816Z] v2/dtos/addressable.go:40: ambiguous selector a.Type [2021-02-26T09:49:20.816Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [build failed] [2021-02-26T09:49:22.246Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.027s coverage: 94.7% of statements [2021-02-26T09:49:22.246Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [build failed] [2021-02-26T09:49:22.247Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [build failed] [2021-02-26T09:49:22.247Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-02-26T09:49:22.274Z] $ docker stop --time=1 b3964060c2ab449e31acaf805e582a3711a4f9c2d2d66a199a7041d69c5ffed9 [2021-02-26T09:49:24.650Z] $ docker rm -f b3964060c2ab449e31acaf805e582a3711a4f9c2d2d66a199a7041d69c5ffed9 [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-02-26T09:49:26.125Z] ---> job-cost.sh [2021-02-26T09:49:26.125Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JXAy [2021-02-26T09:50:05.242Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-26T09:52:12.077Z] lf-activate-venv(): INFO: Adding /tmp/venv-JXAy/bin to PATH [2021-02-26T09:52:12.077Z] INFO: No Stack... [2021-02-26T09:52:12.077Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-26T09:52:12.077Z] INFO: Archiving Costs [Pipeline] sh [2021-02-26T09:52:12.427Z] + cut -d, -f6 [2021-02-26T09:52:12.427Z] + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv [Pipeline] lock [2021-02-26T09:52:12.542Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] [2021-02-26T09:52:12.552Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] did not exist. Created. [2021-02-26T09:52:12.552Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-26T09:52:13.024Z] /w/workspace/go-mod-core-contracts/3@tmp/durable-7d9b103d/script.sh: 1: /w/workspace/go-mod-core-contracts/3@tmp/durable-7d9b103d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-26T09:52:13.371Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-26T09:52:13.447Z] Warning: overwriting stash ‘stack-cost’ [2021-02-26T09:52:14.411Z] Stashed 1 file(s) [Pipeline] } [2021-02-26T09:52:14.421Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-26T09:52:15.142Z] 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] { (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-02-26T09:52:17.990Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:52:18.295Z] ---> package-listing.sh [2021-02-26T09:52:18.296Z] ++ facter osfamily [2021-02-26T09:52:18.296Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-26T09:52:18.296Z] + OS_FAMILY=redhat [2021-02-26T09:52:18.296Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-525 [2021-02-26T09:52:18.296Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-26T09:52:18.296Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-26T09:52:18.296Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-26T09:52:18.296Z] + PACKAGES=/tmp/packages_start.txt [2021-02-26T09:52:18.296Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-525 ']' [2021-02-26T09:52:18.296Z] + PACKAGES=/tmp/packages_end.txt [2021-02-26T09:52:18.296Z] + case "${OS_FAMILY}" in [2021-02-26T09:52:18.296Z] + rpm -qa [2021-02-26T09:52:18.296Z] + sort [2021-02-26T09:52:23.629Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-26T09:52:23.629Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-26T09:52:23.629Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-26T09:52:23.629Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-525 ']' [2021-02-26T09:52:23.629Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-525/archives/ [2021-02-26T09:52:23.629Z] + 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-02-26T09:52:23.644Z] 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-02-26T09:52:23.940Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:52:24.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T09:52:24.261Z] [2021-02-26T09:52:24.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-26T09:52:24.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T09:52:24.614Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-26T09:52:24.614Z] df20fa9351a1: Pulling fs layer [2021-02-26T09:52:24.614Z] 36b3adc4ff6f: Pulling fs layer [2021-02-26T09:52:24.614Z] 8ad3a11d3b57: Pulling fs layer [2021-02-26T09:52:24.614Z] 46f8f816bc3b: Pulling fs layer [2021-02-26T09:52:24.614Z] 93b61091891f: Pulling fs layer [2021-02-26T09:52:24.614Z] 93b9cdb0e59b: Pulling fs layer [2021-02-26T09:52:24.614Z] 5e14af77c1be: Pulling fs layer [2021-02-26T09:52:24.614Z] 01666e4c0597: Pulling fs layer [2021-02-26T09:52:24.614Z] aa168da1d23b: Pulling fs layer [2021-02-26T09:52:24.614Z] 93b9cdb0e59b: Waiting [2021-02-26T09:52:24.614Z] 5e14af77c1be: Waiting [2021-02-26T09:52:24.614Z] 46f8f816bc3b: Waiting [2021-02-26T09:52:24.614Z] 01666e4c0597: Waiting [2021-02-26T09:52:24.614Z] 93b61091891f: Waiting [2021-02-26T09:52:24.614Z] aa168da1d23b: Waiting [2021-02-26T09:52:24.614Z] 36b3adc4ff6f: Verifying Checksum [2021-02-26T09:52:24.614Z] 36b3adc4ff6f: Download complete [2021-02-26T09:52:24.876Z] df20fa9351a1: Verifying Checksum [2021-02-26T09:52:24.876Z] df20fa9351a1: Download complete [2021-02-26T09:52:24.876Z] 93b9cdb0e59b: Download complete [2021-02-26T09:52:24.876Z] 5e14af77c1be: Download complete [2021-02-26T09:52:24.876Z] 01666e4c0597: Verifying Checksum [2021-02-26T09:52:24.876Z] 01666e4c0597: Download complete [2021-02-26T09:52:24.876Z] 93b61091891f: Verifying Checksum [2021-02-26T09:52:24.876Z] 93b61091891f: Download complete [2021-02-26T09:52:24.876Z] 8ad3a11d3b57: Verifying Checksum [2021-02-26T09:52:24.876Z] 8ad3a11d3b57: Download complete [2021-02-26T09:52:25.142Z] df20fa9351a1: Pull complete [2021-02-26T09:52:25.410Z] 36b3adc4ff6f: Pull complete [2021-02-26T09:52:25.989Z] 8ad3a11d3b57: Pull complete [2021-02-26T09:52:26.268Z] 46f8f816bc3b: Pull complete [2021-02-26T09:52:26.856Z] 93b61091891f: Pull complete [2021-02-26T09:52:27.120Z] 93b9cdb0e59b: Pull complete [2021-02-26T09:52:27.120Z] 5e14af77c1be: Pull complete [2021-02-26T09:52:27.120Z] aa168da1d23b: Verifying Checksum [2021-02-26T09:52:27.120Z] aa168da1d23b: Download complete [2021-02-26T09:52:27.390Z] 01666e4c0597: Pull complete [2021-02-26T09:52:34.020Z] aa168da1d23b: Pull complete [2021-02-26T09:52:34.020Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-26T09:52:34.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T09:52:34.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-26T09:52:34.243Z] prd-centos7-docker-4c-2g-27844 does not seem to be running inside a container [2021-02-26T09:52:34.297Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-26T09:52:38.401Z] $ docker top 23637a125148fc932cdb5f5c95529a7682e3109c981865577951c6ef2b77e97d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T09:52:38.898Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-26T09:52:39.200Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-26T09:52:39.498Z] + ls /var/log/sa-host [2021-02-26T09:52:39.498Z] + sadf -c /var/log/sa-host/sa23 [2021-02-26T09:52:39.498Z] file_magic: OK [2021-02-26T09:52:39.498Z] HZ: Using current value: 100 [2021-02-26T09:52:39.498Z] file_header: OK [2021-02-26T09:52:39.498Z] 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-02-26T09:52:39.498Z] Statistics: [2021-02-26T09:52:39.498Z] Hnuu...uuuununununu... [2021-02-26T09:52:39.498Z] File successfully converted to sysstat format version 12.2.1 [2021-02-26T09:52:39.498Z] + sadf -c /var/log/sa-host/sa26 [2021-02-26T09:52:39.498Z] file_magic: OK [2021-02-26T09:52:39.498Z] HZ: Using current value: 100 [2021-02-26T09:52:39.498Z] file_header: OK [2021-02-26T09:52:39.498Z] 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-02-26T09:52:39.498Z] Statistics: [2021-02-26T09:52:39.498Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-26T09:52:39.498Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-26T09:52:40.175Z] provisioning config files... [2021-02-26T09:52:40.196Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/config8370758095151143184tmp [Pipeline] { [Pipeline] echo [2021-02-26T09:52:40.336Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:52:40.634Z] ---> create-netrc.sh [Pipeline] } [2021-02-26T09:52:40.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-26T09:52:40.772Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:52:41.070Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-26T09:52:41.081Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:52:41.377Z] ---> sudo-logs.sh [2021-02-26T09:52:41.377Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-26T09:52:41.492Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:52:41.796Z] ---> job-cost.sh [2021-02-26T09:52:41.796Z] lf-activate-venv: SKIPPING [2021-02-26T09:52:41.796Z] DEBUG: total: 0.20999999344348907 [2021-02-26T09:52:41.796Z] INFO: Retrieving Stack Cost... [2021-02-26T09:52:43.187Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-26T09:52:43.450Z] INFO: Archiving Costs [Pipeline] echo [2021-02-26T09:52:43.465Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T09:52:43.762Z] ---> logs-deploy.sh [2021-02-26T09:52:43.762Z] lf-activate-venv: SKIPPING [2021-02-26T09:52:43.762Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-525/3 [2021-02-26T09:52:43.762Z] INFO: archiving workspace using pattern(s): [2021-02-26T09:52:45.687Z] Archives upload complete. [2021-02-26T09:52:45.687Z] INFO: archiving logs to Nexus