Pull request #293 opened 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 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 rather than cbead72e9781d06be1405dd456b1af764cd6939a Obtained Jenkinsfile from 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 Running in Durability level: MAX_SURVIVABILITY 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-293/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [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: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Running on prd-centos7-docker-4c-2g-825 in /w/workspace/dry_go-mod-core-contracts_PR-293 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-293 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/master:refs/remotes/origin/master # 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/pull/293/head:refs/remotes/origin/PR-293 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 into PR head commit cbead72e9781d06be1405dd456b1af764cd6939a Merge succeeded, producing cbead72e9781d06be1405dd456b1af764cd6939a Checking out Revision cbead72e9781d06be1405dd456b1af764cd6939a (PR-293) > git config core.sparsecheckout # timeout=10 > git checkout -f cbead72e9781d06be1405dd456b1af764cd6939a # 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 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbead72e9781d06be1405dd456b1af764cd6939a # timeout=10 Commit message: "feat(metadata): Add API route path for metadata V2 API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:57:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:57:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:57:22 ========================================================= 12:57:22 EdgeX Global Pipelines Version Info 12:57:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:57:24 ------------------- 12:57:24 stable info: 12:57:24 ------------------- 12:57:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:57:24 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 12:57:24 Message: update stable to v1.0.122 12:57:24 ------------------- 12:57:24 experimental info: 12:57:24 ------------------- 12:57:24 Commited By: **** collab-it+edgex@linuxfoundation.org 12:57:24 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 12:57:24 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:57:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-293 [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-293 [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-293 [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbead72e9781d06be1405dd456b1af764cd6939a [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbead72 [Pipeline] echo 12:57:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:29 + git log --format=format:%s -1 cbead72e9781d06be1405dd456b1af764cd6939a [Pipeline] echo 12:57:29 GIT_COMMIT: cbead72e9781d06be1405dd456b1af764cd6939a, Commit Message: feat(metadata): Add API route path for metadata V2 API [Pipeline] echo 12:57:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:57:31 12:57:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:57:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:57:31 latest: Pulling from edgex-devops/git-semver 12:57:31 31603596830f: Pulling fs layer 12:57:31 2a8b12db71e7: Pulling fs layer 12:57:31 6ca5941a6612: Pulling fs layer 12:57:31 ecc8261a40a4: Pulling fs layer 12:57:31 2a8b12db71e7: Verifying Checksum 12:57:31 2a8b12db71e7: Download complete 12:57:31 31603596830f: Verifying Checksum 12:57:31 31603596830f: Download complete 12:57:31 ecc8261a40a4: Verifying Checksum 12:57:31 ecc8261a40a4: Download complete 12:57:31 6ca5941a6612: Verifying Checksum 12:57:31 6ca5941a6612: Download complete 12:57:32 31603596830f: Pull complete 12:57:32 2a8b12db71e7: Pull complete 12:57:32 6ca5941a6612: Pull complete 12:57:33 ecc8261a40a4: Pull complete 12:57:33 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:57:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:57:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:57:33 prd-centos7-docker-4c-2g-825 does not seem to be running inside a container 12:57:33 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-293 -v /w/workspace/dry_go-mod-core-contracts_PR-293:/w/workspace/dry_go-mod-core-contracts_PR-293:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-293@tmp:/w/workspace/dry_go-mod-core-contracts_PR-293@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:57:35 $ docker top 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:57:36 [ssh-agent] Looking for ssh-agent implementation... 12:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:57:36 $ docker exec 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 ssh-agent 12:57:36 SSH_AUTH_SOCK=/tmp/ssh-nVS9p00X5DuM/agent.11 12:57:36 SSH_AGENT_PID=17 12:57:36 Running ssh-add (command line suppressed) 12:57:36 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-293@tmp/private_key_8160584539327257676.key (/w/workspace/dry_go-mod-core-contracts_PR-293@tmp/private_key_8160584539327257676.key) 12:57:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:57:37 + git describe --exact-match --tags HEAD 12:57:37 fatal: No names found, cannot describe anything. [Pipeline] } 12:57:37 $ docker exec --env ******** --env ******** 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 ssh-agent -k 12:57:37 unset SSH_AUTH_SOCK; 12:57:37 unset SSH_AGENT_PID; 12:57:37 echo Agent pid 17 killed; 12:57:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 12:57:37 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 12:57:37 This usually means this commit has not been tagged. [Pipeline] sshagent 12:57:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:57:37 [ssh-agent] Looking for ssh-agent implementation... 12:57:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:57:37 $ docker exec 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 ssh-agent 12:57:37 SSH_AUTH_SOCK=/tmp/ssh-l4kfPBbNwLSL/agent.46 12:57:37 SSH_AGENT_PID=51 12:57:37 Running ssh-add (command line suppressed) 12:57:38 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-293@tmp/private_key_7332813255499554646.key (/w/workspace/dry_go-mod-core-contracts_PR-293@tmp/private_key_7332813255499554646.key) 12:57:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:57:38 + git semver init 12:57:38 # -> Open(): unable to determine branch for HEAD 12:57:38 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-293/.git 12:57:38 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-293 12:57:38 # $SEMVER_REMOTE_NAME = origin 12:57:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:57:38 # $SEMVER_USER_NAME = edgex-jenkins 12:57:38 # $SEMVER_BRANCH = PR-293 12:57:38 # $SEMVER_TEMP = /tmp/semver-525418808 12:57:38 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 12:57:39 # '/tmp/semver-525418808' -> '/w/workspace/dry_go-mod-core-contracts_PR-293/.semver' 12:57:39 # -> Force: false 12:57:39 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-293/.semver [Pipeline] } 12:57:39 $ docker exec --env ******** --env ******** 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 ssh-agent -k 12:57:39 unset SSH_AUTH_SOCK; 12:57:39 unset SSH_AGENT_PID; 12:57:39 echo Agent pid 51 killed; 12:57:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:57:40 + git semver [Pipeline] } 12:57:40 $ docker stop --time=1 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 12:57:42 $ docker rm -f 2f4f6eb26088cc919a275b4800478fb787e6d8e1c5838232b4375d7b319b12c7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 12:57:43 Stashed 96 file(s) [Pipeline] echo 12:57:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 12:57:43 Archived original 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 12:57:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-831 in /w/workspace/dry_go-mod-core-contracts_PR-293 [Pipeline] { [Pipeline] ws 12:57:44 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 12:57:49 using credential edgex-jenkins-ssh 12:57:49 Cloning the remote Git repository 12:57:49 Cloning with configured refspecs honoured and without tags 12:57:49 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 12:57:49 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 12:57:49 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 12:57:49 > git --version # timeout=10 12:57:49 > git --version # 'git version 2.17.1' 12:57:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:57:50 Fetching without tags 12:57:50 Merging remotes/origin/master commit 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 into PR head commit cbead72e9781d06be1405dd456b1af764cd6939a 12:57:50 Merge succeeded, producing cbead72e9781d06be1405dd456b1af764cd6939a 12:57:50 Checking out Revision cbead72e9781d06be1405dd456b1af764cd6939a (PR-293) 12:57:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 12:57:50 > git config --add remote.origin.fetch +refs/pull/293/head:refs/remotes/origin/PR-293 # timeout=10 12:57:50 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 12:57:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 12:57:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 12:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:57:50 > git config core.sparsecheckout # timeout=10 12:57:50 > git checkout -f cbead72e9781d06be1405dd456b1af764cd6939a # timeout=10 12:57:50 > git remote # timeout=10 12:57:50 > git config --get remote.origin.url # timeout=10 12:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:50 > git merge 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 # timeout=10 12:57:50 > git rev-parse HEAD^{commit} # timeout=10 12:57:50 > git config core.sparsecheckout # timeout=10 12:57:50 > git checkout -f cbead72e9781d06be1405dd456b1af764cd6939a # timeout=10 12:57:55 Commit message: "feat(metadata): Add API route path for metadata V2 API" 12:57:55 > git --version # timeout=10 12:57:55 > git --version # 'git version 2.17.1' 12:57:55 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:57:56 ========================================================= 12:57:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:57:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:57:57 + 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 . 12:57:58 Sending build context to Docker daemon 2.262MB 12:57:58 Step 1/7 : ARG BASE=golang:1.15-alpine 12:57:58 Step 2/7 : FROM ${BASE} 12:57:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:57:58 b538f80385f9: Pulling fs layer 12:57:58 74f711af9a0d: Pulling fs layer 12:57:58 99f96fe45779: Pulling fs layer 12:57:58 8529a6b9a6be: Pulling fs layer 12:57:58 45590311c82a: Pulling fs layer 12:57:58 69ca0ff8b7b3: Pulling fs layer 12:57:58 209524e5b208: Pulling fs layer 12:57:58 8529a6b9a6be: Waiting 12:57:58 45590311c82a: Waiting 12:57:58 69ca0ff8b7b3: Waiting 12:57:58 209524e5b208: Waiting 12:57:58 99f96fe45779: Download complete 12:57:58 74f711af9a0d: Verifying Checksum 12:57:58 74f711af9a0d: Download complete 12:57:58 45590311c82a: Download complete 12:57:58 69ca0ff8b7b3: Verifying Checksum 12:57:58 69ca0ff8b7b3: Download complete 12:57:59 b538f80385f9: Verifying Checksum 12:57:59 b538f80385f9: Download complete 12:57:59 Still waiting to schedule task 12:57:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:57:59 b538f80385f9: Pull complete 12:58:00 74f711af9a0d: Pull complete 12:58:00 99f96fe45779: Pull complete 12:58:02 209524e5b208: Verifying Checksum 12:58:02 209524e5b208: Download complete 12:58:03 8529a6b9a6be: Verifying Checksum 12:58:03 8529a6b9a6be: Download complete 12:58:13 8529a6b9a6be: Pull complete 12:58:13 45590311c82a: Pull complete 12:58:13 69ca0ff8b7b3: Pull complete 12:58:17 209524e5b208: Pull complete 12:58:17 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 12:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:58:17 ---> 5bddaf1c2fca 12:58:17 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:58:20 ---> Running in d1c158753f05 12:58:20 Removing intermediate container d1c158753f05 12:58:20 ---> edf7435de8af 12:58:20 Step 4/7 : RUN apk add bash 12:58:20 ---> Running in 0326a6487933 12:58:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:58:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:58:24 OK: 142 MiB in 39 packages 12:58:25 Removing intermediate container 0326a6487933 12:58:25 ---> 69a7a2bb8cc5 12:58:25 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 12:58:25 ---> Running in 80b0c92ab232 12:58:26 Removing intermediate container 80b0c92ab232 12:58:26 ---> d2cbf4fad099 12:58:26 Step 6/7 : COPY go.mod . 12:58:27 ---> 6ca3cc67322b 12:58:27 Step 7/7 : RUN go mod download 12:58:27 ---> Running in e9272b622c3d 12:58:42 Removing intermediate container e9272b622c3d 12:58:42 ---> 36225f6f68db 12:58:42 Successfully built 36225f6f68db 12:58:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:58:42 + docker inspect -f . ci-base-image-arm64 12:58:42 . [Pipeline] withDockerContainer 12:58:43 prd-ubuntu18.04-docker-arm64-4c-16g-831 does not seem to be running inside a container 12:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat 12:58:45 $ docker top 8ca819d7145257cee2efdc3bd10415a99de9782bcd82c8b786e44769b163fb5f -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:46 + go version 12:58:46 go version go1.15.2 linux/arm64 [Pipeline] } 12:58:46 $ docker stop --time=1 8ca819d7145257cee2efdc3bd10415a99de9782bcd82c8b786e44769b163fb5f 12:58:48 $ docker rm -f 8ca819d7145257cee2efdc3bd10415a99de9782bcd82c8b786e44769b163fb5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:58:49 + docker inspect -f . ci-base-image-arm64 12:58:49 . [Pipeline] withDockerContainer 12:58:50 prd-ubuntu18.04-docker-arm64-4c-16g-831 does not seem to be running inside a container 12:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat 12:58:52 $ docker top 1fcee3452af9a61636f93a272c6473c37c2a8d5b774b18f1af1ed0e3c599ffb0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:53 + make test 12:58:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:59:15 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 12:59:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.058s coverage: 85.7% of statements 12:59:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.034s coverage: 100.0% of statements 12:59:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.050s coverage: 45.4% of statements 12:59:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.045s coverage: 77.8% of statements 12:59:18 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 12:59:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.014s coverage: 6.4% of statements 12:59:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.068s coverage: 14.7% of statements 12:59:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.061s coverage: 100.0% of statements 12:59:21 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.076s coverage: 91.8% of statements 12:59:21 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 12:59:21 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 12:59:21 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.014s coverage: 100.0% of statements 12:59:21 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.027s coverage: 45.9% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.092s coverage: 63.0% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.022s coverage: 26.3% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.023s coverage: 15.4% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.031s coverage: 15.4% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.013s coverage: 14.3% of statements 12:59:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.044s coverage: 31.3% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.026s coverage: 100.0% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.062s coverage: 95.0% of statements 12:59:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.023s coverage: 100.0% of statements 12:59:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 12:59:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 12:59:34 gofmt -l . 12:59:34 [ "`gofmt -l .`" = "" ] [Pipeline] stash 12:59:35 Stashed 1 file(s) [Pipeline] } 12:59:35 $ docker stop --time=1 1fcee3452af9a61636f93a272c6473c37c2a8d5b774b18f1af1ed0e3c599ffb0 12:59:37 $ docker rm -f 1fcee3452af9a61636f93a272c6473c37c2a8d5b774b18f1af1ed0e3c599ffb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:02:30 Running on prd-centos7-docker-4c-2g-836 in /w/workspace/dry_go-mod-core-contracts_PR-293 [Pipeline] { [Pipeline] ws 13:02:31 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 13:02:36 using credential edgex-jenkins-ssh 13:02:36 Cloning the remote Git repository 13:02:36 Cloning with configured refspecs honoured and without tags 13:02:35 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 13:02:35 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 13:02:37 Fetching without tags 13:02:35 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 13:02:35 > git --version # timeout=10 13:02:35 > git --version # 'git version 2.16.5' 13:02:35 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:02:35 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 13:02:35 > git config --add remote.origin.fetch +refs/pull/293/head:refs/remotes/origin/PR-293 # timeout=10 13:02:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:02:35 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 13:02:35 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 13:02:35 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:02:37 Merging remotes/origin/master commit 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 into PR head commit cbead72e9781d06be1405dd456b1af764cd6939a 13:02:37 Merge succeeded, producing cbead72e9781d06be1405dd456b1af764cd6939a 13:02:37 Checking out Revision cbead72e9781d06be1405dd456b1af764cd6939a (PR-293) 13:02:36 > git config core.sparsecheckout # timeout=10 13:02:36 > git checkout -f cbead72e9781d06be1405dd456b1af764cd6939a # timeout=10 13:02:36 > git remote # timeout=10 13:02:36 > git config --get remote.origin.url # timeout=10 13:02:36 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:36 > git merge 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 # timeout=10 13:02:36 > git rev-parse HEAD^{commit} # timeout=10 13:02:36 > git config core.sparsecheckout # timeout=10 13:02:36 > git checkout -f cbead72e9781d06be1405dd456b1af764cd6939a # timeout=10 13:02:41 Commit message: "feat(metadata): Add API route path for metadata V2 API" 13:02:40 > git --version # timeout=10 13:02:40 > git --version # 'git version 2.16.5' 13:02:40 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:02:43 ========================================================= 13:02:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:02:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:02:44 + 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 . 13:02:44 Sending build context to Docker daemon 2.262MB 13:02:44 Step 1/7 : ARG BASE=golang:1.15-alpine 13:02:44 Step 2/7 : FROM ${BASE} 13:02:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:02:44 df20fa9351a1: Pulling fs layer 13:02:44 ed8968b2872e: Pulling fs layer 13:02:44 a92cc7c5fd73: Pulling fs layer 13:02:44 e871e8e8d7a9: Pulling fs layer 13:02:44 e73272ec9a57: Pulling fs layer 13:02:44 1e910a182e73: Pulling fs layer 13:02:44 4e634b169226: Pulling fs layer 13:02:44 1e910a182e73: Waiting 13:02:44 4e634b169226: Waiting 13:02:44 e73272ec9a57: Waiting 13:02:44 e871e8e8d7a9: Waiting 13:02:44 a92cc7c5fd73: Verifying Checksum 13:02:44 a92cc7c5fd73: Download complete 13:02:44 ed8968b2872e: Verifying Checksum 13:02:44 ed8968b2872e: Download complete 13:02:44 e73272ec9a57: Verifying Checksum 13:02:44 e73272ec9a57: Download complete 13:02:44 1e910a182e73: Verifying Checksum 13:02:44 1e910a182e73: Download complete 13:02:45 df20fa9351a1: Verifying Checksum 13:02:45 df20fa9351a1: Download complete 13:02:45 df20fa9351a1: Pull complete 13:02:46 ed8968b2872e: Pull complete 13:02:46 a92cc7c5fd73: Pull complete 13:02:49 4e634b169226: Verifying Checksum 13:02:49 4e634b169226: Download complete 13:02:50 e871e8e8d7a9: Verifying Checksum 13:02:50 e871e8e8d7a9: Download complete 13:02:57 e871e8e8d7a9: Pull complete 13:02:57 e73272ec9a57: Pull complete 13:02:57 1e910a182e73: Pull complete 13:03:05 4e634b169226: Pull complete 13:03:05 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 13:03:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:03:05 ---> f7629b54cfaa 13:03:05 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:03:05 ---> Running in 65fee43f3b10 13:03:05 Removing intermediate container 65fee43f3b10 13:03:05 ---> adfcc027bcf9 13:03:05 Step 4/7 : RUN apk add bash 13:03:05 ---> Running in d9ec1085796b 13:03:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:03:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:03:08 OK: 166 MiB in 39 packages 13:03:09 Removing intermediate container d9ec1085796b 13:03:09 ---> 746b29363d94 13:03:09 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 13:03:09 ---> Running in 29ee8c5acd26 13:03:09 Removing intermediate container 29ee8c5acd26 13:03:09 ---> 3b51f43212b2 13:03:09 Step 6/7 : COPY go.mod . 13:03:09 ---> 751c3710b596 13:03:09 Step 7/7 : RUN go mod download 13:03:10 ---> Running in ef6762ce2e84 13:03:22 Removing intermediate container ef6762ce2e84 13:03:22 ---> 9cc0b47cd1c4 13:03:22 Successfully built 9cc0b47cd1c4 13:03:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:03:22 + docker inspect -f . ci-base-image-x86_64 13:03:22 . [Pipeline] withDockerContainer 13:03:23 prd-centos7-docker-4c-2g-836 does not seem to be running inside a container 13:03:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-x86_64 cat 13:03:24 $ docker top 8541916a0b3fe88c38eae3a3dbc66f9ba2d95e48dda51826c537cdc9c596017b -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:24 + go version 13:03:24 go version go1.15.2 linux/amd64 [Pipeline] } 13:03:25 $ docker stop --time=1 8541916a0b3fe88c38eae3a3dbc66f9ba2d95e48dda51826c537cdc9c596017b 13:03:26 $ docker rm -f 8541916a0b3fe88c38eae3a3dbc66f9ba2d95e48dda51826c537cdc9c596017b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:03:27 + docker inspect -f . ci-base-image-x86_64 13:03:27 . [Pipeline] withDockerContainer 13:03:27 prd-centos7-docker-4c-2g-836 does not seem to be running inside a container 13:03:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-x86_64 cat 13:03:28 $ docker top f4427fb4b595981ba10244436693b36fd3f704a2ee714883eea961236570114b -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:29 + make test 13:03:29 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:03:41 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 13:03:41 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.033s coverage: 85.7% of statements 13:03:41 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.022s coverage: 100.0% of statements 13:03:41 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.019s coverage: 45.4% of statements 13:03:41 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.010s coverage: 77.8% of statements 13:03:41 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 13:03:42 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.024s coverage: 6.4% of statements 13:03:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.027s coverage: 14.7% of statements 13:03:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.050s coverage: 100.0% of statements 13:03:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.033s coverage: 91.8% of statements 13:03:43 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 13:03:43 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 13:03:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.024s coverage: 100.0% of statements 13:03:44 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.026s coverage: 45.9% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.033s coverage: 63.0% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.016s coverage: 26.3% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.005s coverage: 15.4% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.028s coverage: 15.4% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.020s coverage: 14.3% of statements 13:03:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.028s coverage: 31.3% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.034s coverage: 100.0% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.030s coverage: 95.0% of statements 13:03:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.015s coverage: 100.0% of statements 13:03:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 13:03:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:03:51 gofmt -l . 13:03:51 [ "`gofmt -l .`" = "" ] [Pipeline] stash 13:03:51 Warning: overwriting stash ‘coverage-report’ 13:03:52 Stashed 1 file(s) [Pipeline] } 13:03:52 $ docker stop --time=1 f4427fb4b595981ba10244436693b36fd3f704a2ee714883eea961236570114b 13:03:54 $ docker rm -f f4427fb4b595981ba10244436693b36fd3f704a2ee714883eea961236570114b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 13:03:58 provisioning config files... 13:03:58 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-293@tmp/config6268641562901184887tmp [Pipeline] { [Pipeline] sh 13:03:58 + curl -s https://codecov.io/bash 13:03:58 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-293@tmp/config6268641562901184887tmp [Pipeline] } 13:03:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:04:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:04:03 ---> package-listing.sh 13:04:03 ++ facter osfamily 13:04:03 ++ tr '[:upper:]' '[:lower:]' 13:04:03 + OS_FAMILY=redhat 13:04:03 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-293 13:04:03 + START_PACKAGES=/tmp/packages_start.txt 13:04:03 + END_PACKAGES=/tmp/packages_end.txt 13:04:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:04:03 + PACKAGES=/tmp/packages_start.txt 13:04:03 + '[' /w/workspace/dry_go-mod-core-contracts_PR-293 ']' 13:04:03 + PACKAGES=/tmp/packages_end.txt 13:04:03 + case "${OS_FAMILY}" in 13:04:03 + rpm -qa 13:04:03 + sort 13:04:07 + '[' -f /tmp/packages_start.txt ']' 13:04:07 + '[' -f /tmp/packages_end.txt ']' 13:04:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:04:07 + '[' /w/workspace/dry_go-mod-core-contracts_PR-293 ']' 13:04:07 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-293/archives/ 13:04:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-293/archives/ [Pipeline] isUnix [Pipeline] sh 13:04:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:04:07 13:04:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:04:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:04:08 alpine: Pulling from edgex-lftools-log-publisher 13:04:08 df20fa9351a1: Pulling fs layer 13:04:08 36b3adc4ff6f: Pulling fs layer 13:04:08 8ad3a11d3b57: Pulling fs layer 13:04:08 46f8f816bc3b: Pulling fs layer 13:04:08 0dadc02b9964: Pulling fs layer 13:04:08 ce6a7cf60c04: Pulling fs layer 13:04:08 7a184a31f384: Pulling fs layer 13:04:08 0879bd2ef858: Pulling fs layer 13:04:08 0dadc02b9964: Waiting 13:04:08 ce6a7cf60c04: Waiting 13:04:08 7a184a31f384: Waiting 13:04:08 0879bd2ef858: Waiting 13:04:08 46f8f816bc3b: Waiting 13:04:08 36b3adc4ff6f: Download complete 13:04:08 46f8f816bc3b: Verifying Checksum 13:04:08 46f8f816bc3b: Download complete 13:04:08 df20fa9351a1: Download complete 13:04:08 ce6a7cf60c04: Verifying Checksum 13:04:08 ce6a7cf60c04: Download complete 13:04:08 7a184a31f384: Download complete 13:04:08 0dadc02b9964: Verifying Checksum 13:04:08 0dadc02b9964: Download complete 13:04:08 8ad3a11d3b57: Verifying Checksum 13:04:08 8ad3a11d3b57: Download complete 13:04:08 df20fa9351a1: Pull complete 13:04:09 36b3adc4ff6f: Pull complete 13:04:09 0879bd2ef858: Verifying Checksum 13:04:09 0879bd2ef858: Download complete 13:04:09 8ad3a11d3b57: Pull complete 13:04:09 46f8f816bc3b: Pull complete 13:04:09 0dadc02b9964: Pull complete 13:04:10 ce6a7cf60c04: Pull complete 13:04:10 7a184a31f384: Pull complete 13:04:12 0879bd2ef858: Pull complete 13:04:12 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 13:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:04:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:04:12 prd-centos7-docker-4c-2g-825 does not seem to be running inside a container 13:04:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dry_go-mod-core-contracts_PR-293 -v /w/workspace/dry_go-mod-core-contracts_PR-293:/w/workspace/dry_go-mod-core-contracts_PR-293:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-293@tmp:/w/workspace/dry_go-mod-core-contracts_PR-293@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:04:18 $ docker top 9b9850d221bf2e370fcd544736b6b15a081a5c751c27a103ce7d427c4cdac747 -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:19 + mkdir -p /var/log/sa [Pipeline] sh 13:04:19 + ls /var/log/sa-host 13:04:19 + sadf -c /var/log/sa-host/sa05 13:04:19 file_magic: OK 13:04:19 HZ: Using current value: 100 13:04:19 file_header: OK 13:04:19 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 13:04:19 Statistics: 13:04:19 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:04:19 File successfully converted to sysstat format version 12.2.1 13:04:19 + sadf -c /var/log/sa-host/sa22 13:04:19 file_magic: OK 13:04:19 HZ: Using current value: 100 13:04:19 file_header: OK 13:04:19 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 13:04:19 Statistics: 13:04:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:04:19 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:19 provisioning config files... 13:04:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-293@tmp/config5226821390035711651tmp [Pipeline] { [Pipeline] echo 13:04:20 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:04:20 ---> create-netrc.sh [Pipeline] echo 13:04:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:04:20 ---> logs-deploy.sh 13:04:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-293/1 13:04:20 INFO: archiving workspace using pattern(s): 13:04:22 Archives upload complete. 13:04:22 INFO: archiving logs to Nexus