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 6e3708155495bf6850918740b72abad69f53b6c7 rather than 827fd734d16e4a7ea80647e1e224667c70abf8c8 Obtained Jenkinsfile from 6e3708155495bf6850918740b72abad69f53b6c7 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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28618 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 6e3708155495bf6850918740b72abad69f53b6c7 into PR head commit 827fd734d16e4a7ea80647e1e224667c70abf8c8 Merge succeeded, producing dd7e69e324df02bd46f04149b0028ff53ffabe90 Checking out Revision dd7e69e324df02bd46f04149b0028ff53ffabe90 (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 6e3708155495bf6850918740b72abad69f53b6c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd7e69e324df02bd46f04149b0028ff53ffabe90 # timeout=10 Commit message: "Merge commit '6e3708155495bf6850918740b72abad69f53b6c7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-05T00:40:17.586Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-05T00:40:17.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 4c008f3e8c551faef280b6540413d8bc35282402 # timeout=10 [Pipeline] echo [2021-03-05T00:40:17.953Z] ========================================================= [2021-03-05T00:40:17.953Z] EdgeX Global Pipelines Version Info [2021-03-05T00:40:17.953Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:40:19.502Z] ------------------- [2021-03-05T00:40:19.502Z] stable info: [2021-03-05T00:40:19.502Z] ------------------- [2021-03-05T00:40:19.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-05T00:40:19.502Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-05T00:40:19.502Z] Message: update stable to v1.0.184 [2021-03-05T00:40:20.449Z] ------------------- [2021-03-05T00:40:20.449Z] experimental info: [2021-03-05T00:40:20.449Z] ------------------- [2021-03-05T00:40:20.449Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-05T00:40:20.449Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-05T00:40:20.449Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-05T00:40:20.749Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-03-05T00:40:20.907Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-03-05T00:40:21.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-05T00:40:21.133Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-05T00:40:21.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-05T00:40:21.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-05T00:40:21.395Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-05T00:40:21.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-05T00:40:21.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-05T00:40:21.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-05T00:40:21.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-05T00:40:21.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-03-05T00:40:21.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-05T00:40:22.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-05T00:40:22.139Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-05T00:40:22.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-05T00:40:22.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-05T00:40:22.422Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-05T00:40:22.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-05T00:40:22.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-05T00:40:22.722Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-05T00:40:22.865Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-05T00:40:22.959Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-05T00:40:23.052Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-05T00:40:23.150Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-05T00:40:23.262Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-05T00:40:23.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo [2021-03-05T00:40:23.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo [2021-03-05T00:40:23.548Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo [2021-03-05T00:40:23.644Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd7e69e324df02bd46f04149b0028ff53ffabe90 [Pipeline] echo [2021-03-05T00:40:23.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd7e69e [Pipeline] echo [2021-03-05T00:40:23.833Z] [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-05T00:40:24.524Z] + git log --format=format:%s -1 dd7e69e324df02bd46f04149b0028ff53ffabe90 [Pipeline] echo [2021-03-05T00:40:24.590Z] GIT_COMMIT: dd7e69e324df02bd46f04149b0028ff53ffabe90, Commit Message: Merge commit '6e3708155495bf6850918740b72abad69f53b6c7' into HEAD [Pipeline] echo [2021-03-05T00:40:24.634Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:40:25.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-05T00:40:25.518Z] [2021-03-05T00:40:25.518Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:40:25.905Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-05T00:40:25.906Z] latest: Pulling from edgex-devops/git-semver [2021-03-05T00:40:25.906Z] 31603596830f: Pulling fs layer [2021-03-05T00:40:25.906Z] 2a8b12db71e7: Pulling fs layer [2021-03-05T00:40:25.906Z] 6ca5941a6612: Pulling fs layer [2021-03-05T00:40:25.906Z] ecc8261a40a4: Pulling fs layer [2021-03-05T00:40:25.906Z] ecc8261a40a4: Waiting [2021-03-05T00:40:26.173Z] 2a8b12db71e7: Download complete [2021-03-05T00:40:26.173Z] 31603596830f: Verifying Checksum [2021-03-05T00:40:26.173Z] 31603596830f: Download complete [2021-03-05T00:40:26.173Z] 6ca5941a6612: Verifying Checksum [2021-03-05T00:40:26.173Z] 6ca5941a6612: Download complete [2021-03-05T00:40:26.173Z] ecc8261a40a4: Verifying Checksum [2021-03-05T00:40:26.173Z] ecc8261a40a4: Download complete [2021-03-05T00:40:26.436Z] 31603596830f: Pull complete [2021-03-05T00:40:26.699Z] 2a8b12db71e7: Pull complete [2021-03-05T00:40:27.276Z] 6ca5941a6612: Pull complete [2021-03-05T00:40:27.539Z] ecc8261a40a4: Pull complete [2021-03-05T00:40:27.539Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-05T00:40:27.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-05T00:40:27.806Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-05T00:40:27.917Z] prd-centos7-docker-4c-2g-28618 does not seem to be running inside a container [2021-03-05T00:40:27.973Z] $ 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-05T00:40:30.180Z] $ docker top b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-05T00:40:30.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-05T00:40:30.538Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-05T00:40:30.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-05T00:40:30.786Z] $ docker exec b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 ssh-agent [2021-03-05T00:40:30.958Z] SSH_AUTH_SOCK=/tmp/ssh-3CXtoTyB2z7O/agent.12 [2021-03-05T00:40:30.958Z] SSH_AGENT_PID=17 [2021-03-05T00:40:30.972Z] Running ssh-add (command line suppressed) [2021-03-05T00:40:31.092Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_6068566620309407883.key (/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_6068566620309407883.key) [2021-03-05T00:40:31.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-05T00:40:31.477Z] + git tag --points-at HEAD [Pipeline] } [2021-03-05T00:40:31.502Z] $ docker exec --env ******** --env ******** b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 ssh-agent -k [2021-03-05T00:40:31.618Z] unset SSH_AUTH_SOCK; [2021-03-05T00:40:31.618Z] unset SSH_AGENT_PID; [2021-03-05T00:40:31.618Z] echo Agent pid 17 killed; [2021-03-05T00:40:31.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-05T00:40:31.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-05T00:40:31.828Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-05T00:40:31.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-05T00:40:31.998Z] $ docker exec b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 ssh-agent [2021-03-05T00:40:32.168Z] SSH_AUTH_SOCK=/tmp/ssh-vHaV6KJ7s7NF/agent.45 [2021-03-05T00:40:32.168Z] SSH_AGENT_PID=50 [2021-03-05T00:40:32.175Z] Running ssh-add (command line suppressed) [2021-03-05T00:40:32.312Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_3390381092633179549.key (/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/private_key_3390381092633179549.key) [2021-03-05T00:40:32.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-05T00:40:32.708Z] + git semver init [2021-03-05T00:40:32.708Z] # -> Open(): unable to determine branch for HEAD [2021-03-05T00:40:32.708Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-525/.git [2021-03-05T00:40:32.708Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-525 [2021-03-05T00:40:32.708Z] # $SEMVER_REMOTE_NAME = origin [2021-03-05T00:40:32.708Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-05T00:40:32.708Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-05T00:40:32.708Z] # $SEMVER_BRANCH = PR-525 [2021-03-05T00:40:32.971Z] # $SEMVER_TEMP = /tmp/semver-692765546 [2021-03-05T00:40:32.971Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-03-05T00:40:33.546Z] # '/tmp/semver-692765546' -> '/w/workspace/dry_go-mod-core-contracts_PR-525/.semver' [2021-03-05T00:40:33.809Z] # -> Force: false [2021-03-05T00:40:33.809Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-525/.semver [Pipeline] } [2021-03-05T00:40:33.827Z] $ docker exec --env ******** --env ******** b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 ssh-agent -k [2021-03-05T00:40:33.951Z] unset SSH_AUTH_SOCK; [2021-03-05T00:40:33.952Z] unset SSH_AGENT_PID; [2021-03-05T00:40:33.952Z] echo Agent pid 50 killed; [2021-03-05T00:40:33.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-05T00:40:34.499Z] + git semver [Pipeline] } [2021-03-05T00:40:34.519Z] $ docker stop --time=1 b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 [2021-03-05T00:40:36.410Z] $ docker rm -f b3a45f5e796df99bd87ffe4c67886119bebf295ae35da3d0a4c6be8c7f580b26 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-05T00:40:36.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-05T00:40:37.462Z] Stashed 1 file(s) [Pipeline] echo [2021-03-05T00:40:37.465Z] [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-05T00:40:52.961Z] Still waiting to schedule task [2021-03-05T00:40:52.961Z] ‘prd-centos7-docker-4c-2g-28600’ is offline; ‘prd-centos7-docker-4c-2g-28619’ 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-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28601’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-05T00:40:52.964Z] Still waiting to schedule task [2021-03-05T00:40:52.964Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-05T00:42:58.086Z] Running on prd-centos7-docker-4c-2g-28623 in /w/workspace/dry_go-mod-core-contracts_PR-525 [Pipeline] { [Pipeline] ws [2021-03-05T00:42:58.138Z] Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout [2021-03-05T00:43:00.982Z] using credential edgex-jenkins-ssh [2021-03-05T00:43:01.041Z] Cloning the remote Git repository [2021-03-05T00:43:01.029Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-05T00:43:01.118Z] > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 [2021-03-05T00:43:01.193Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-05T00:43:01.193Z] > git --version # timeout=10 [2021-03-05T00:43:01.202Z] > git --version # 'git version 2.24.3' [2021-03-05T00:43:01.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-05T00:43:01.234Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-05T00:43:02.340Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-05T00:43:02.349Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-05T00:43:02.359Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-05T00:43:02.377Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-05T00:43:02.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-05T00:43:02.382Z] > 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-05T00:43:03.311Z] Merging remotes/origin/master commit 6e3708155495bf6850918740b72abad69f53b6c7 into PR head commit 827fd734d16e4a7ea80647e1e224667c70abf8c8 [2021-03-05T00:43:03.483Z] Merge succeeded, producing fe03d1efcbec0363519da02d22b5dc3dc08b4a3f [2021-03-05T00:43:03.484Z] Checking out Revision fe03d1efcbec0363519da02d22b5dc3dc08b4a3f (PR-525) [2021-03-05T00:43:03.320Z] > git config core.sparsecheckout # timeout=10 [2021-03-05T00:43:03.327Z] > git checkout -f 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [2021-03-05T00:43:03.403Z] > git remote # timeout=10 [2021-03-05T00:43:03.413Z] > git config --get remote.origin.url # timeout=10 [2021-03-05T00:43:03.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-05T00:43:03.425Z] > git merge 6e3708155495bf6850918740b72abad69f53b6c7 # timeout=10 [2021-03-05T00:43:03.478Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-05T00:43:03.487Z] > git config core.sparsecheckout # timeout=10 [2021-03-05T00:43:03.494Z] > git checkout -f fe03d1efcbec0363519da02d22b5dc3dc08b4a3f # timeout=10 [2021-03-05T00:43:07.239Z] Commit message: "Merge commit '6e3708155495bf6850918740b72abad69f53b6c7' into HEAD" [2021-03-05T00:43:07.249Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-05T00:43:07.242Z] > git rev-list --no-walk 4c008f3e8c551faef280b6540413d8bc35282402 # timeout=10 [2021-03-05T00:43:08.441Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-05T00:43:08.778Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-05T00:43:09.103Z] + sudo service docker restart [2021-03-05T00:43:09.103Z] + true [2021-03-05T00:43:09.103Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-05T00:43:10.233Z] ========================================================= [2021-03-05T00:43:10.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-05T00:43:10.233Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:43:10.602Z] + 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-05T00:43:11.180Z] Sending build context to Docker daemon 2.798MB [2021-03-05T00:43:11.180Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-03-05T00:43:11.180Z] Step 2/7 : FROM ${BASE} [2021-03-05T00:43:11.180Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-05T00:43:11.180Z] 188c0c94c7c5: Pulling fs layer [2021-03-05T00:43:11.180Z] 0ef7d3d256c8: Pulling fs layer [2021-03-05T00:43:11.180Z] de9db76c5a1d: Pulling fs layer [2021-03-05T00:43:11.180Z] bca2f99d35d6: Pulling fs layer [2021-03-05T00:43:11.180Z] 93359f2a8cfa: Pulling fs layer [2021-03-05T00:43:11.180Z] 7c6f9722023f: Pulling fs layer [2021-03-05T00:43:11.180Z] a35cf1a2eb13: Pulling fs layer [2021-03-05T00:43:11.180Z] 93359f2a8cfa: Waiting [2021-03-05T00:43:11.180Z] 7c6f9722023f: Waiting [2021-03-05T00:43:11.180Z] a35cf1a2eb13: Waiting [2021-03-05T00:43:11.180Z] bca2f99d35d6: Waiting [2021-03-05T00:43:11.180Z] de9db76c5a1d: Verifying Checksum [2021-03-05T00:43:11.180Z] de9db76c5a1d: Download complete [2021-03-05T00:43:11.180Z] 0ef7d3d256c8: Download complete [2021-03-05T00:43:11.180Z] 93359f2a8cfa: Download complete [2021-03-05T00:43:11.180Z] 7c6f9722023f: Verifying Checksum [2021-03-05T00:43:11.180Z] 7c6f9722023f: Download complete [2021-03-05T00:43:11.180Z] 188c0c94c7c5: Verifying Checksum [2021-03-05T00:43:11.180Z] 188c0c94c7c5: Download complete [2021-03-05T00:43:11.441Z] 188c0c94c7c5: Pull complete [2021-03-05T00:43:11.703Z] 0ef7d3d256c8: Pull complete [2021-03-05T00:43:11.966Z] de9db76c5a1d: Pull complete [2021-03-05T00:43:14.515Z] a35cf1a2eb13: Verifying Checksum [2021-03-05T00:43:14.515Z] a35cf1a2eb13: Download complete [2021-03-05T00:43:15.092Z] bca2f99d35d6: Verifying Checksum [2021-03-05T00:43:15.092Z] bca2f99d35d6: Download complete [2021-03-05T00:43:20.462Z] bca2f99d35d6: Pull complete [2021-03-05T00:43:20.462Z] 93359f2a8cfa: Pull complete [2021-03-05T00:43:20.731Z] 7c6f9722023f: Pull complete [2021-03-05T00:43:24.985Z] a35cf1a2eb13: Pull complete [2021-03-05T00:43:24.985Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-05T00:43:24.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-05T00:43:24.985Z] ---> a62c8e92a672 [2021-03-05T00:43:24.985Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-05T00:43:24.985Z] ---> Running in 8b817b3d70dd [2021-03-05T00:43:25.270Z] Removing intermediate container 8b817b3d70dd [2021-03-05T00:43:25.270Z] ---> 76bb01fa6f99 [2021-03-05T00:43:25.270Z] Step 4/7 : RUN apk add bash [2021-03-05T00:43:25.270Z] ---> Running in f8d5b523d37c [2021-03-05T00:43:26.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-05T00:43:26.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-05T00:43:27.400Z] OK: 166 MiB in 39 packages [2021-03-05T00:43:27.987Z] Removing intermediate container f8d5b523d37c [2021-03-05T00:43:27.987Z] ---> 4b86508771be [2021-03-05T00:43:27.987Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-03-05T00:43:28.253Z] ---> Running in b8e98628c8b6 [2021-03-05T00:43:28.253Z] Removing intermediate container b8e98628c8b6 [2021-03-05T00:43:28.253Z] ---> 38575afb4875 [2021-03-05T00:43:28.253Z] Step 6/7 : COPY go.mod . [2021-03-05T00:43:28.523Z] ---> 3c28d77fb15b [2021-03-05T00:43:28.523Z] Step 7/7 : RUN go mod download [2021-03-05T00:43:28.523Z] ---> Running in 37b809a509bc [2021-03-05T00:43:43.514Z] Removing intermediate container 37b809a509bc [2021-03-05T00:43:43.514Z] ---> 9021d13584a1 [2021-03-05T00:43:43.514Z] Successfully built 9021d13584a1 [2021-03-05T00:43:43.514Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:43:43.850Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-05T00:43:43.850Z] . [Pipeline] withDockerContainer [2021-03-05T00:43:43.976Z] prd-centos7-docker-4c-2g-28623 does not seem to be running inside a container [2021-03-05T00:43:44.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@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-05T00:43:44.989Z] $ docker top 888937bc6109f965ff1d679c66dabf745bc353d243fcce0090c47a97c98af422 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-05T00:43:45.726Z] + go version [2021-03-05T00:43:45.726Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-05T00:43:45.743Z] $ docker stop --time=1 888937bc6109f965ff1d679c66dabf745bc353d243fcce0090c47a97c98af422 [2021-03-05T00:43:47.127Z] $ docker rm -f 888937bc6109f965ff1d679c66dabf745bc353d243fcce0090c47a97c98af422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:43:47.925Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-05T00:43:47.925Z] . [Pipeline] withDockerContainer [2021-03-05T00:43:48.028Z] prd-centos7-docker-4c-2g-28623 does not seem to be running inside a container [2021-03-05T00:43:48.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@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-05T00:43:48.698Z] $ docker top e283a26f50c1e2775f64e90d533743ab9468da4aa644af34128746ec09b6f5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-05T00:43:49.257Z] + make test [2021-03-05T00:43:49.257Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-05T00:43:57.526Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-03-05T00:43:57.526Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.023s coverage: 85.7% of statements [2021-03-05T00:43:57.526Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.025s coverage: 100.0% of statements [2021-03-05T00:43:57.526Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.021s coverage: 45.4% of statements [2021-03-05T00:43:57.798Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.008s coverage: 77.8% of statements [2021-03-05T00:43:57.798Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-03-05T00:43:58.407Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.035s coverage: 26.3% of statements [2021-03-05T00:43:59.010Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.045s coverage: 14.7% of statements [2021-03-05T00:43:59.010Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.016s coverage: 100.0% of statements [2021-03-05T00:43:59.010Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.048s coverage: 91.8% of statements [2021-03-05T00:43:59.010Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-03-05T00:43:59.010Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-03-05T00:43:59.010Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.036s coverage: 100.0% of statements [2021-03-05T00:43:59.286Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.007s coverage: 36.7% of statements [2021-03-05T00:44:01.930Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-03-05T00:44:01.930Z] v2/dtos/addressable.go:44:10: ambiguous selector a.Type [2021-03-05T00:44:01.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.028s coverage: 63.0% of statements [2021-03-05T00:44:01.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.026s coverage: 26.3% of statements [2021-03-05T00:44:01.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.024s coverage: 15.4% of statements [2021-03-05T00:44:01.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.010s coverage: 15.4% of statements [2021-03-05T00:44:01.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.037s coverage: 14.3% of statements [2021-03-05T00:44:01.930Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-03-05T00:44:01.930Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [build failed] [2021-03-05T00:44:01.930Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-03-05T00:44:02.193Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos.test] [2021-03-05T00:44:02.193Z] v2/dtos/addressable.go:44: ambiguous selector a.Type [2021-03-05T00:44:02.193Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [build failed] [2021-03-05T00:44:02.455Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.010s coverage: 94.7% of statements [2021-03-05T00:44:02.455Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [build failed] [2021-03-05T00:44:02.455Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [build failed] [2021-03-05T00:44:02.716Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-03-05T00:44:02.740Z] $ docker stop --time=1 e283a26f50c1e2775f64e90d533743ab9468da4aa644af34128746ec09b6f5a8 [2021-03-05T00:44:05.057Z] $ docker rm -f e283a26f50c1e2775f64e90d533743ab9468da4aa644af34128746ec09b6f5a8 [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-05T00:44:06.769Z] ---> job-cost.sh [2021-03-05T00:44:06.769Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Iatc [2021-03-05T00:44:18.343Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28625 in /w/workspace/dry_go-mod-core-contracts_PR-525 [Pipeline] { [Pipeline] ws [2021-03-05T00:44:18.427Z] Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout [2021-03-05T00:44:21.697Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-05T00:44:24.405Z] using credential edgex-jenkins-ssh [2021-03-05T00:44:24.473Z] Cloning the remote Git repository [2021-03-05T00:44:24.552Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-05T00:44:24.690Z] > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 [2021-03-05T00:44:24.777Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-05T00:44:24.778Z] > git --version # timeout=10 [2021-03-05T00:44:24.805Z] > git --version # 'git version 2.17.1' [2021-03-05T00:44:24.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-05T00:44:24.897Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-05T00:44:27.272Z] Merging remotes/origin/master commit 6e3708155495bf6850918740b72abad69f53b6c7 into PR head commit 827fd734d16e4a7ea80647e1e224667c70abf8c8 [2021-03-05T00:44:26.172Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-05T00:44:26.194Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-05T00:44:26.235Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-05T00:44:26.295Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-05T00:44:26.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-05T00:44:26.310Z] > 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-05T00:44:27.298Z] > git config core.sparsecheckout # timeout=10 [2021-03-05T00:44:27.318Z] > git checkout -f 827fd734d16e4a7ea80647e1e224667c70abf8c8 # timeout=10 [2021-03-05T00:44:27.724Z] Merge succeeded, producing 74b4280df435db6736ec49dcccac7f3bd8643827 [2021-03-05T00:44:27.724Z] Checking out Revision 74b4280df435db6736ec49dcccac7f3bd8643827 (PR-525) [2021-03-05T00:44:27.484Z] > git remote # timeout=10 [2021-03-05T00:44:27.505Z] > git config --get remote.origin.url # timeout=10 [2021-03-05T00:44:27.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-05T00:44:27.547Z] > git merge 6e3708155495bf6850918740b72abad69f53b6c7 # timeout=10 [2021-03-05T00:44:27.704Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-05T00:44:27.734Z] > git config core.sparsecheckout # timeout=10 [2021-03-05T00:44:27.756Z] > git checkout -f 74b4280df435db6736ec49dcccac7f3bd8643827 # timeout=10 [2021-03-05T00:44:32.397Z] Commit message: "Merge commit '6e3708155495bf6850918740b72abad69f53b6c7' into HEAD" [2021-03-05T00:44:32.425Z] First time build. Skipping changelog. [2021-03-05T00:44:32.688Z] [2021-03-05T00:44:32.688Z] GitHub has been notified of this commit’s build result [2021-03-05T00:44:32.688Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-05T00:44:32.408Z] > git rev-list --no-walk 4c008f3e8c551faef280b6540413d8bc35282402 # timeout=10 [2021-03-05T00:44:34.035Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-05T00:44:34.464Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-05T00:44:34.814Z] + + truesudo [2021-03-05T00:44:34.814Z] service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-05T00:44:37.873Z] ========================================================= [2021-03-05T00:44:37.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-05T00:44:37.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:44:38.282Z] + 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-05T00:44:39.273Z] Sending build context to Docker daemon 2.797MB [2021-03-05T00:44:39.273Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-03-05T00:44:39.273Z] Step 2/7 : FROM ${BASE} [2021-03-05T00:44:39.889Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-05T00:44:39.889Z] 5f621e34cdf4: Pulling fs layer [2021-03-05T00:44:39.889Z] a4357932f1b6: Pulling fs layer [2021-03-05T00:44:39.889Z] 18c013af1878: Pulling fs layer [2021-03-05T00:44:39.889Z] 00ac8860ef70: Pulling fs layer [2021-03-05T00:44:39.889Z] 63d7cb157983: Pulling fs layer [2021-03-05T00:44:39.889Z] b116817d02f9: Pulling fs layer [2021-03-05T00:44:39.889Z] 745a02a5169b: Pulling fs layer [2021-03-05T00:44:39.889Z] 00ac8860ef70: Waiting [2021-03-05T00:44:39.889Z] 63d7cb157983: Waiting [2021-03-05T00:44:39.889Z] 745a02a5169b: Waiting [2021-03-05T00:44:39.889Z] b116817d02f9: Waiting [2021-03-05T00:44:39.889Z] 18c013af1878: Verifying Checksum [2021-03-05T00:44:39.889Z] 18c013af1878: Download complete [2021-03-05T00:44:39.889Z] a4357932f1b6: Verifying Checksum [2021-03-05T00:44:39.889Z] a4357932f1b6: Download complete [2021-03-05T00:44:39.889Z] 63d7cb157983: Download complete [2021-03-05T00:44:39.889Z] b116817d02f9: Verifying Checksum [2021-03-05T00:44:39.889Z] b116817d02f9: Download complete [2021-03-05T00:44:39.889Z] 5f621e34cdf4: Verifying Checksum [2021-03-05T00:44:39.889Z] 5f621e34cdf4: Download complete [2021-03-05T00:44:40.878Z] 5f621e34cdf4: Pull complete [2021-03-05T00:44:41.154Z] a4357932f1b6: Pull complete [2021-03-05T00:44:41.756Z] 18c013af1878: Pull complete [2021-03-05T00:44:42.737Z] 745a02a5169b: Verifying Checksum [2021-03-05T00:44:42.737Z] 745a02a5169b: Download complete [2021-03-05T00:44:43.723Z] 00ac8860ef70: Verifying Checksum [2021-03-05T00:44:43.723Z] 00ac8860ef70: Download complete [2021-03-05T00:44:53.881Z] 00ac8860ef70: Pull complete [2021-03-05T00:44:53.881Z] 63d7cb157983: Pull complete [2021-03-05T00:44:53.881Z] b116817d02f9: Pull complete [2021-03-05T00:44:53.884Z] lf-activate-venv(): INFO: Adding /tmp/venv-Iatc/bin to PATH [2021-03-05T00:44:53.884Z] INFO: No Stack... [2021-03-05T00:44:53.884Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-05T00:44:53.884Z] INFO: Archiving Costs [Pipeline] sh [2021-03-05T00:44:54.196Z] + cat /w/workspace/go-mod-core-contracts/6/archives/cost.csv [2021-03-05T00:44:54.196Z] + cut -d, -f6 [Pipeline] lock [2021-03-05T00:44:54.268Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] [2021-03-05T00:44:54.285Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] did not exist. Created. [2021-03-05T00:44:54.285Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-05T00:44:54.679Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-05T00:44:55.050Z] Stashed 1 file(s) [Pipeline] } [2021-03-05T00:44:55.073Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-05T00:44:56.852Z] Failed in branch amd64 [2021-03-05T00:44:57.416Z] 745a02a5169b: Pull complete [2021-03-05T00:44:57.416Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-05T00:44:57.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-05T00:44:57.416Z] ---> b7e6874047d6 [2021-03-05T00:44:57.416Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-05T00:45:00.820Z] ---> Running in d5f5bdad4bfe [2021-03-05T00:45:00.820Z] Removing intermediate container d5f5bdad4bfe [2021-03-05T00:45:00.820Z] ---> 8a989aa2182a [2021-03-05T00:45:00.820Z] Step 4/7 : RUN apk add bash [2021-03-05T00:45:00.820Z] ---> Running in 69264d60ad04 [2021-03-05T00:45:02.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-05T00:45:03.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-05T00:45:04.233Z] OK: 142 MiB in 39 packages [2021-03-05T00:45:05.734Z] Removing intermediate container 69264d60ad04 [2021-03-05T00:45:05.734Z] ---> 1ca78ea3b049 [2021-03-05T00:45:05.734Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-03-05T00:45:05.734Z] ---> Running in 7441b0dccdd3 [2021-03-05T00:45:06.008Z] Removing intermediate container 7441b0dccdd3 [2021-03-05T00:45:06.008Z] ---> 9d85c1c5073e [2021-03-05T00:45:06.008Z] Step 6/7 : COPY go.mod . [2021-03-05T00:45:06.991Z] ---> 63bbed4cde3f [2021-03-05T00:45:06.991Z] Step 7/7 : RUN go mod download [2021-03-05T00:45:06.991Z] ---> Running in 27b858a5bd3a [2021-03-05T00:45:22.108Z] Removing intermediate container 27b858a5bd3a [2021-03-05T00:45:22.108Z] ---> 760073222f3b [2021-03-05T00:45:22.108Z] Successfully built 760073222f3b [2021-03-05T00:45:22.108Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:45:22.465Z] + docker inspect -f . ci-base-image-arm64 [2021-03-05T00:45:22.465Z] . [Pipeline] withDockerContainer [2021-03-05T00:45:22.743Z] prd-ubuntu18.04-docker-arm64-4c-16g-28625 does not seem to be running inside a container [2021-03-05T00:45:22.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-05T00:45:24.283Z] $ docker top c6c4cbbd456960ef6d51d8d155ccb962904df6b29c2043685ca583d35a7f0779 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-05T00:45:25.276Z] + go version [2021-03-05T00:45:25.276Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-05T00:45:25.305Z] $ docker stop --time=1 c6c4cbbd456960ef6d51d8d155ccb962904df6b29c2043685ca583d35a7f0779 [2021-03-05T00:45:27.163Z] $ docker rm -f c6c4cbbd456960ef6d51d8d155ccb962904df6b29c2043685ca583d35a7f0779 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:45:28.217Z] + docker inspect -f . ci-base-image-arm64 [2021-03-05T00:45:28.217Z] . [Pipeline] withDockerContainer [2021-03-05T00:45:28.484Z] prd-ubuntu18.04-docker-arm64-4c-16g-28625 does not seem to be running inside a container [2021-03-05T00:45:28.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-05T00:45:30.090Z] $ docker top 48f9839cda33124a4f92f51b4e74d1ca648034d491acd44f3f36e8cdd2ad7868 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-05T00:45:31.097Z] + make test [2021-03-05T00:45:31.097Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-05T00:45:57.943Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-03-05T00:45:57.943Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.055s coverage: 85.7% of statements [2021-03-05T00:45:57.943Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.048s coverage: 100.0% of statements [2021-03-05T00:45:59.938Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.042s coverage: 45.4% of statements [2021-03-05T00:45:59.938Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.026s coverage: 77.8% of statements [2021-03-05T00:45:59.938Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-03-05T00:46:00.931Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.035s coverage: 26.3% of statements [2021-03-05T00:46:01.539Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.058s coverage: 14.7% of statements [2021-03-05T00:46:02.151Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.047s coverage: 100.0% of statements [2021-03-05T00:46:03.598Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.093s coverage: 91.8% of statements [2021-03-05T00:46:03.598Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-03-05T00:46:03.598Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-03-05T00:46:03.598Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.056s coverage: 100.0% of statements [2021-03-05T00:46:03.598Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.017s coverage: 36.7% of statements [2021-03-05T00:46:07.017Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-03-05T00:46:07.017Z] v2/dtos/addressable.go:44:10: ambiguous selector a.Type [2021-03-05T00:46:09.647Z] # github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos.test] [2021-03-05T00:46:09.647Z] v2/dtos/addressable.go:44: ambiguous selector a.Type [2021-03-05T00:46:09.647Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.106s coverage: 63.0% of statements [2021-03-05T00:46:09.647Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.046s coverage: 26.3% of statements [2021-03-05T00:46:09.647Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.023s coverage: 15.4% of statements [2021-03-05T00:46:09.647Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.079s coverage: 15.4% of statements [2021-03-05T00:46:09.647Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.021s coverage: 14.3% of statements [2021-03-05T00:46:09.647Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-03-05T00:46:09.647Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [build failed] [2021-03-05T00:46:09.647Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-03-05T00:46:09.647Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [build failed] [2021-03-05T00:46:10.637Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.028s coverage: 94.7% of statements [2021-03-05T00:46:10.637Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [build failed] [2021-03-05T00:46:10.637Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [build failed] [2021-03-05T00:46:10.908Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2021-03-05T00:46:10.941Z] $ docker stop --time=1 48f9839cda33124a4f92f51b4e74d1ca648034d491acd44f3f36e8cdd2ad7868 [2021-03-05T00:46:13.254Z] $ docker rm -f 48f9839cda33124a4f92f51b4e74d1ca648034d491acd44f3f36e8cdd2ad7868 [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-05T00:46:14.887Z] ---> job-cost.sh [2021-03-05T00:46:14.887Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rlP4 [2021-03-05T00:47:01.858Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-05T00:49:53.853Z] lf-activate-venv(): INFO: Adding /tmp/venv-rlP4/bin to PATH [2021-03-05T00:49:53.853Z] INFO: No Stack... [2021-03-05T00:49:53.853Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-05T00:49:53.853Z] INFO: Archiving Costs [Pipeline] sh [2021-03-05T00:49:54.196Z] + cat /w/workspace/go-mod-core-contracts/6/archives/cost.csv [2021-03-05T00:49:54.196Z] + cut -d, -f6 [Pipeline] lock [2021-03-05T00:49:54.316Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] [2021-03-05T00:49:54.326Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] did not exist. Created. [2021-03-05T00:49:54.326Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-05T00:49:54.769Z] /w/workspace/go-mod-core-contracts/6@tmp/durable-6666c55f/script.sh: 1: /w/workspace/go-mod-core-contracts/6@tmp/durable-6666c55f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-05T00:49:55.118Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-05T00:49:55.183Z] Warning: overwriting stash ‘stack-cost’ [2021-03-05T00:49:56.064Z] Stashed 1 file(s) [Pipeline] } [2021-03-05T00:49:56.077Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-525-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-05T00:49:56.712Z] 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-03-05T00:49:59.238Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:49:59.815Z] ---> package-listing.sh [2021-03-05T00:49:59.815Z] ++ facter osfamily [2021-03-05T00:49:59.815Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-05T00:49:59.815Z] + OS_FAMILY=redhat [2021-03-05T00:49:59.815Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-525 [2021-03-05T00:49:59.815Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-05T00:49:59.815Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-05T00:49:59.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-05T00:49:59.815Z] + PACKAGES=/tmp/packages_start.txt [2021-03-05T00:49:59.815Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-525 ']' [2021-03-05T00:49:59.815Z] + PACKAGES=/tmp/packages_end.txt [2021-03-05T00:49:59.815Z] + case "${OS_FAMILY}" in [2021-03-05T00:49:59.815Z] + rpm -qa [2021-03-05T00:49:59.815Z] + sort [2021-03-05T00:50:05.129Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-05T00:50:05.129Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-05T00:50:05.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-05T00:50:05.129Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-525 ']' [2021-03-05T00:50:05.129Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-525/archives/ [2021-03-05T00:50:05.129Z] + 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-05T00:50:05.143Z] 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-05T00:50:05.434Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:50:05.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-05T00:50:06.011Z] [2021-03-05T00:50:06.011Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-05T00:50:06.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-05T00:50:06.378Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-05T00:50:06.378Z] df20fa9351a1: Pulling fs layer [2021-03-05T00:50:06.378Z] 36b3adc4ff6f: Pulling fs layer [2021-03-05T00:50:06.378Z] 8ad3a11d3b57: Pulling fs layer [2021-03-05T00:50:06.378Z] 46f8f816bc3b: Pulling fs layer [2021-03-05T00:50:06.378Z] 93b61091891f: Pulling fs layer [2021-03-05T00:50:06.378Z] 93b9cdb0e59b: Pulling fs layer [2021-03-05T00:50:06.378Z] 5e14af77c1be: Pulling fs layer [2021-03-05T00:50:06.378Z] 01666e4c0597: Pulling fs layer [2021-03-05T00:50:06.378Z] aa168da1d23b: Pulling fs layer [2021-03-05T00:50:06.378Z] 46f8f816bc3b: Waiting [2021-03-05T00:50:06.378Z] 93b61091891f: Waiting [2021-03-05T00:50:06.378Z] 93b9cdb0e59b: Waiting [2021-03-05T00:50:06.378Z] 5e14af77c1be: Waiting [2021-03-05T00:50:06.378Z] 01666e4c0597: Waiting [2021-03-05T00:50:06.378Z] aa168da1d23b: Waiting [2021-03-05T00:50:06.378Z] 36b3adc4ff6f: Verifying Checksum [2021-03-05T00:50:06.378Z] 36b3adc4ff6f: Download complete [2021-03-05T00:50:06.378Z] 46f8f816bc3b: Download complete [2021-03-05T00:50:06.378Z] df20fa9351a1: Verifying Checksum [2021-03-05T00:50:06.378Z] df20fa9351a1: Download complete [2021-03-05T00:50:06.643Z] 93b9cdb0e59b: Verifying Checksum [2021-03-05T00:50:06.643Z] 93b9cdb0e59b: Download complete [2021-03-05T00:50:06.643Z] 93b61091891f: Verifying Checksum [2021-03-05T00:50:06.643Z] 93b61091891f: Download complete [2021-03-05T00:50:06.643Z] 01666e4c0597: Verifying Checksum [2021-03-05T00:50:06.643Z] 01666e4c0597: Download complete [2021-03-05T00:50:06.643Z] 5e14af77c1be: Verifying Checksum [2021-03-05T00:50:06.643Z] 5e14af77c1be: Download complete [2021-03-05T00:50:06.911Z] df20fa9351a1: Pull complete [2021-03-05T00:50:07.176Z] 36b3adc4ff6f: Pull complete [2021-03-05T00:50:07.444Z] 8ad3a11d3b57: Verifying Checksum [2021-03-05T00:50:07.444Z] 8ad3a11d3b57: Download complete [2021-03-05T00:50:08.403Z] 8ad3a11d3b57: Pull complete [2021-03-05T00:50:08.403Z] 46f8f816bc3b: Pull complete [2021-03-05T00:50:08.986Z] 93b61091891f: Pull complete [2021-03-05T00:50:08.986Z] aa168da1d23b: Verifying Checksum [2021-03-05T00:50:08.986Z] aa168da1d23b: Download complete [2021-03-05T00:50:09.249Z] 93b9cdb0e59b: Pull complete [2021-03-05T00:50:09.249Z] 5e14af77c1be: Pull complete [2021-03-05T00:50:09.522Z] 01666e4c0597: Pull complete [2021-03-05T00:50:16.170Z] aa168da1d23b: Pull complete [2021-03-05T00:50:16.170Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-05T00:50:16.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-05T00:50:16.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-05T00:50:16.367Z] prd-centos7-docker-4c-2g-28618 does not seem to be running inside a container [2021-03-05T00:50:16.420Z] $ 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-05T00:50:20.963Z] $ docker top 0d83942e8539df541fd4fcf2e820f034b583da2c1ca80da498b70dbbe3539666 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-05T00:50:21.550Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-05T00:50:21.858Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-05T00:50:22.162Z] + ls /var/log/sa-host [2021-03-05T00:50:22.162Z] + sadf -c /var/log/sa-host/sa05 [2021-03-05T00:50:22.162Z] file_magic: OK [2021-03-05T00:50:22.162Z] HZ: Using current value: 100 [2021-03-05T00:50:22.162Z] file_header: OK [2021-03-05T00:50:22.162Z] 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-05T00:50:22.162Z] Statistics: [2021-03-05T00:50:22.162Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-05T00:50:22.162Z] File successfully converted to sysstat format version 12.2.1 [2021-03-05T00:50:22.162Z] + sadf -c /var/log/sa-host/sa23 [2021-03-05T00:50:22.162Z] file_magic: OK [2021-03-05T00:50:22.162Z] HZ: Using current value: 100 [2021-03-05T00:50:22.162Z] file_header: OK [2021-03-05T00:50:22.162Z] 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-05T00:50:22.162Z] Statistics: [2021-03-05T00:50:22.162Z] Hnuu...uuuununununu... [2021-03-05T00:50:22.162Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-05T00:50:22.850Z] provisioning config files... [2021-03-05T00:50:22.876Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-525@tmp/config753736913021169216tmp [Pipeline] { [Pipeline] echo [2021-03-05T00:50:22.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:50:23.252Z] ---> create-netrc.sh [Pipeline] } [2021-03-05T00:50:23.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-05T00:50:23.389Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:50:23.691Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-05T00:50:23.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:50:24.002Z] ---> sudo-logs.sh [2021-03-05T00:50:24.002Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-05T00:50:24.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:50:24.419Z] ---> job-cost.sh [2021-03-05T00:50:24.419Z] lf-activate-venv: SKIPPING [2021-03-05T00:50:24.419Z] DEBUG: total: 0.20999999344348907 [2021-03-05T00:50:24.419Z] INFO: Retrieving Stack Cost... [2021-03-05T00:50:25.370Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-05T00:50:25.943Z] INFO: Archiving Costs [Pipeline] echo [2021-03-05T00:50:25.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-05T00:50:26.257Z] ---> logs-deploy.sh [2021-03-05T00:50:26.257Z] lf-activate-venv: SKIPPING [2021-03-05T00:50:26.257Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-525/6 [2021-03-05T00:50:26.257Z] INFO: archiving workspace using pattern(s): [2021-03-05T00:50:28.173Z] Archives upload complete. [2021-03-05T00:50:28.173Z] INFO: archiving logs to Nexus