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 1c5af3e112fbbff99310b3d6c91347419198b66a rather than 819edd9f9a7b8618d2805a039e1af1d2c535e25c Obtained Jenkinsfile from 1c5af3e112fbbff99310b3d6c91347419198b66a 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump: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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@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-15691 in /w/workspace/dry_go-mod-core-contracts_PR-394 [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-394 # 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/394/head:refs/remotes/origin/PR-394 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c5af3e112fbbff99310b3d6c91347419198b66a into PR head commit 819edd9f9a7b8618d2805a039e1af1d2c535e25c Merge succeeded, producing 5c591059e0dc084e1e7d7586065491333d88fa0e Checking out Revision 5c591059e0dc084e1e7d7586065491333d88fa0e (PR-394) > git config core.sparsecheckout # timeout=10 > git checkout -f 819edd9f9a7b8618d2805a039e1af1d2c535e25c # 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 1c5af3e112fbbff99310b3d6c91347419198b66a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c591059e0dc084e1e7d7586065491333d88fa0e # timeout=10 Commit message: "Merge commit '1c5af3e112fbbff99310b3d6c91347419198b66a' into HEAD" > git rev-list --no-walk 819edd9f9a7b8618d2805a039e1af1d2c535e25c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-12T00:42:55.072Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-12T00:42:55.334Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-12T00:42:55.441Z] ========================================================= [2020-12-12T00:42:55.441Z] EdgeX Global Pipelines Version Info [2020-12-12T00:42:55.441Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:42:56.875Z] ------------------- [2020-12-12T00:42:56.875Z] stable info: [2020-12-12T00:42:56.875Z] ------------------- [2020-12-12T00:42:56.875Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-12T00:42:56.875Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-12T00:42:56.875Z] Message: update stable to v1.0.172 [2020-12-12T00:42:57.822Z] ------------------- [2020-12-12T00:42:57.822Z] experimental info: [2020-12-12T00:42:57.822Z] ------------------- [2020-12-12T00:42:57.822Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-12T00:42:57.822Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-12T00:42:57.822Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-12T00:42:58.115Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-12T00:42:58.209Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-12T00:42:58.323Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-12T00:42:58.431Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-12T00:42:58.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-12T00:42:58.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-12T00:42:58.742Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-12T00:42:58.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-12T00:42:58.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-12T00:42:59.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-12T00:42:59.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-12T00:42:59.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-12T00:42:59.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-12T00:42:59.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-12T00:42:59.633Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T00:42:59.728Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T00:42:59.817Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T00:42:59.908Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T00:43:00.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-12T00:43:00.230Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-12T00:43:00.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-12T00:43:00.543Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-12T00:43:00.700Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-12T00:43:00.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-12T00:43:00.952Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-12T00:43:01.083Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-12T00:43:01.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-394 [Pipeline] echo [2020-12-12T00:43:01.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-394 [Pipeline] echo [2020-12-12T00:43:01.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-394 [Pipeline] echo [2020-12-12T00:43:01.562Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c591059e0dc084e1e7d7586065491333d88fa0e [Pipeline] echo [2020-12-12T00:43:01.722Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c59105 [Pipeline] echo [2020-12-12T00:43:01.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-12T00:43:02.597Z] + git log --format=format:%s -1 5c591059e0dc084e1e7d7586065491333d88fa0e [Pipeline] echo [2020-12-12T00:43:02.658Z] GIT_COMMIT: 5c591059e0dc084e1e7d7586065491333d88fa0e, Commit Message: Merge commit '1c5af3e112fbbff99310b3d6c91347419198b66a' into HEAD [Pipeline] echo [2020-12-12T00:43:02.706Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:43:03.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-12T00:43:03.977Z] [2020-12-12T00:43:03.977Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:43:04.332Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-12T00:43:04.332Z] latest: Pulling from edgex-devops/git-semver [2020-12-12T00:43:04.332Z] 31603596830f: Pulling fs layer [2020-12-12T00:43:04.332Z] 2a8b12db71e7: Pulling fs layer [2020-12-12T00:43:04.332Z] 6ca5941a6612: Pulling fs layer [2020-12-12T00:43:04.332Z] ecc8261a40a4: Pulling fs layer [2020-12-12T00:43:04.332Z] ecc8261a40a4: Waiting [2020-12-12T00:43:04.332Z] 2a8b12db71e7: Verifying Checksum [2020-12-12T00:43:04.332Z] 2a8b12db71e7: Download complete [2020-12-12T00:43:04.597Z] 31603596830f: Verifying Checksum [2020-12-12T00:43:04.597Z] 31603596830f: Download complete [2020-12-12T00:43:04.861Z] ecc8261a40a4: Verifying Checksum [2020-12-12T00:43:04.861Z] ecc8261a40a4: Download complete [2020-12-12T00:43:04.861Z] 6ca5941a6612: Verifying Checksum [2020-12-12T00:43:04.861Z] 6ca5941a6612: Download complete [2020-12-12T00:43:04.861Z] 31603596830f: Pull complete [2020-12-12T00:43:05.127Z] 2a8b12db71e7: Pull complete [2020-12-12T00:43:05.702Z] 6ca5941a6612: Pull complete [2020-12-12T00:43:05.964Z] ecc8261a40a4: Pull complete [2020-12-12T00:43:06.227Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-12T00:43:06.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-12T00:43:06.227Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-12T00:43:06.327Z] prd-centos7-docker-4c-2g-15691 does not seem to be running inside a container [2020-12-12T00:43:06.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-394 -v /w/workspace/dry_go-mod-core-contracts_PR-394:/w/workspace/dry_go-mod-core-contracts_PR-394:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-394@tmp:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-12T00:43:08.786Z] $ docker top f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-12T00:43:09.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-12T00:43:09.139Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-12T00:43:09.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-12T00:43:09.356Z] $ docker exec f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 ssh-agent [2020-12-12T00:43:09.526Z] SSH_AUTH_SOCK=/tmp/ssh-3GaErROMOecT/agent.11 [2020-12-12T00:43:09.526Z] SSH_AGENT_PID=16 [2020-12-12T00:43:09.536Z] Running ssh-add (command line suppressed) [2020-12-12T00:43:09.659Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_6723012999389533299.key (/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_6723012999389533299.key) [2020-12-12T00:43:09.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-12T00:43:10.075Z] + git tag --points-at HEAD [Pipeline] } [2020-12-12T00:43:10.098Z] $ docker exec --env ******** --env ******** f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 ssh-agent -k [2020-12-12T00:43:10.210Z] unset SSH_AUTH_SOCK; [2020-12-12T00:43:10.210Z] unset SSH_AGENT_PID; [2020-12-12T00:43:10.210Z] echo Agent pid 16 killed; [2020-12-12T00:43:10.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-12T00:43:10.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-12T00:43:10.445Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-12T00:43:10.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-12T00:43:10.618Z] $ docker exec f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 ssh-agent [2020-12-12T00:43:10.773Z] SSH_AUTH_SOCK=/tmp/ssh-Y8zfGBAJ8ggX/agent.46 [2020-12-12T00:43:10.773Z] SSH_AGENT_PID=51 [2020-12-12T00:43:10.779Z] Running ssh-add (command line suppressed) [2020-12-12T00:43:10.893Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_8621162221219855486.key (/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_8621162221219855486.key) [2020-12-12T00:43:10.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-12T00:43:11.281Z] + git semver init [2020-12-12T00:43:11.281Z] # -> Open(): unable to determine branch for HEAD [2020-12-12T00:43:11.281Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-394/.git [2020-12-12T00:43:11.281Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-394 [2020-12-12T00:43:11.281Z] # $SEMVER_REMOTE_NAME = origin [2020-12-12T00:43:11.281Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-12T00:43:11.281Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-12T00:43:11.281Z] # $SEMVER_BRANCH = PR-394 [2020-12-12T00:43:11.281Z] # $SEMVER_TEMP = /tmp/semver-387880473 [2020-12-12T00:43:11.281Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-12T00:43:11.856Z] # '/tmp/semver-387880473' -> '/w/workspace/dry_go-mod-core-contracts_PR-394/.semver' [2020-12-12T00:43:11.856Z] # -> Force: false [2020-12-12T00:43:11.856Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-394/.semver [Pipeline] } [2020-12-12T00:43:11.871Z] $ docker exec --env ******** --env ******** f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 ssh-agent -k [2020-12-12T00:43:11.979Z] unset SSH_AUTH_SOCK; [2020-12-12T00:43:11.979Z] unset SSH_AGENT_PID; [2020-12-12T00:43:11.979Z] echo Agent pid 51 killed; [2020-12-12T00:43:12.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-12T00:43:12.523Z] + git semver [Pipeline] } [2020-12-12T00:43:12.542Z] $ docker stop --time=1 f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 [2020-12-12T00:43:14.356Z] $ docker rm -f f5ee344c5d889bc7ae241d78a29efa2118f8b3c71b2d1110d32d201d44d375b5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-12T00:43:14.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-12T00:43:15.197Z] Stashed 1 file(s) [Pipeline] echo [2020-12-12T00:43:15.200Z] [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 [2020-12-12T00:43:30.736Z] Still waiting to schedule task [2020-12-12T00:43:30.736Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-12T00:43:30.739Z] Still waiting to schedule task [2020-12-12T00:43:30.739Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-12T00:46:36.413Z] Running on prd-centos7-docker-4c-2g-15693 in /w/workspace/dry_go-mod-core-contracts_PR-394 [Pipeline] { [Pipeline] ws [2020-12-12T00:46:36.474Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-12-12T00:46:40.310Z] using credential edgex-jenkins-ssh [2020-12-12T00:46:40.372Z] Cloning the remote Git repository [2020-12-12T00:46:40.400Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T00:46:40.549Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-12-12T00:46:40.611Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T00:46:40.611Z] > git --version # timeout=10 [2020-12-12T00:46:40.624Z] > git --version # 'git version 2.24.3' [2020-12-12T00:46:40.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T00:46:40.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T00:46:41.776Z] Merging remotes/origin/master commit 1c5af3e112fbbff99310b3d6c91347419198b66a into PR head commit 819edd9f9a7b8618d2805a039e1af1d2c535e25c [2020-12-12T00:46:41.915Z] Merge succeeded, producing dc48c01752c07dcacb3963a934113790d226c27a [2020-12-12T00:46:41.916Z] Checking out Revision dc48c01752c07dcacb3963a934113790d226c27a (PR-394) [2020-12-12T00:46:41.284Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T00:46:41.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T00:46:41.303Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T00:46:41.317Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T00:46:41.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T00:46:41.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-12T00:46:41.787Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T00:46:41.794Z] > git checkout -f 819edd9f9a7b8618d2805a039e1af1d2c535e25c # timeout=10 [2020-12-12T00:46:41.861Z] > git remote # timeout=10 [2020-12-12T00:46:41.868Z] > git config --get remote.origin.url # timeout=10 [2020-12-12T00:46:41.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T00:46:41.877Z] > git merge 1c5af3e112fbbff99310b3d6c91347419198b66a # timeout=10 [2020-12-12T00:46:41.909Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-12T00:46:41.920Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T00:46:41.925Z] > git checkout -f dc48c01752c07dcacb3963a934113790d226c27a # timeout=10 [2020-12-12T00:46:45.562Z] Commit message: "Merge commit '1c5af3e112fbbff99310b3d6c91347419198b66a' into HEAD" [2020-12-12T00:46:45.568Z] > git rev-list --no-walk 819edd9f9a7b8618d2805a039e1af1d2c535e25c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-12T00:46:47.002Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-12T00:46:47.328Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-12T00:46:47.624Z] + sudo service docker restart [2020-12-12T00:46:47.624Z] + true [2020-12-12T00:46:47.624Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-12T00:46:49.296Z] ========================================================= [2020-12-12T00:46:49.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-12T00:46:49.296Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:46:49.647Z] + 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 . [2020-12-12T00:46:50.229Z] Sending build context to Docker daemon 1.947MB [2020-12-12T00:46:50.229Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-12T00:46:50.229Z] Step 2/7 : FROM ${BASE} [2020-12-12T00:46:50.229Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-12T00:46:50.229Z] 188c0c94c7c5: Pulling fs layer [2020-12-12T00:46:50.229Z] 0ef7d3d256c8: Pulling fs layer [2020-12-12T00:46:50.229Z] de9db76c5a1d: Pulling fs layer [2020-12-12T00:46:50.229Z] bca2f99d35d6: Pulling fs layer [2020-12-12T00:46:50.229Z] 93359f2a8cfa: Pulling fs layer [2020-12-12T00:46:50.229Z] 7c6f9722023f: Pulling fs layer [2020-12-12T00:46:50.229Z] a35cf1a2eb13: Pulling fs layer [2020-12-12T00:46:50.229Z] 93359f2a8cfa: Waiting [2020-12-12T00:46:50.229Z] 7c6f9722023f: Waiting [2020-12-12T00:46:50.229Z] a35cf1a2eb13: Waiting [2020-12-12T00:46:50.229Z] bca2f99d35d6: Waiting [2020-12-12T00:46:50.229Z] de9db76c5a1d: Verifying Checksum [2020-12-12T00:46:50.229Z] de9db76c5a1d: Download complete [2020-12-12T00:46:50.229Z] 0ef7d3d256c8: Verifying Checksum [2020-12-12T00:46:50.229Z] 0ef7d3d256c8: Download complete [2020-12-12T00:46:50.229Z] 93359f2a8cfa: Verifying Checksum [2020-12-12T00:46:50.229Z] 7c6f9722023f: Verifying Checksum [2020-12-12T00:46:50.229Z] 7c6f9722023f: Download complete [2020-12-12T00:46:50.808Z] 188c0c94c7c5: Download complete [2020-12-12T00:46:51.075Z] 188c0c94c7c5: Pull complete [2020-12-12T00:46:51.345Z] 0ef7d3d256c8: Pull complete [2020-12-12T00:46:51.345Z] de9db76c5a1d: Pull complete [2020-12-12T00:46:53.287Z] a35cf1a2eb13: Verifying Checksum [2020-12-12T00:46:53.287Z] a35cf1a2eb13: Download complete [2020-12-12T00:46:54.246Z] bca2f99d35d6: Verifying Checksum [2020-12-12T00:46:54.246Z] bca2f99d35d6: Download complete [2020-12-12T00:46:59.585Z] bca2f99d35d6: Pull complete [2020-12-12T00:46:59.585Z] 93359f2a8cfa: Pull complete [2020-12-12T00:46:59.854Z] 7c6f9722023f: Pull complete [2020-12-12T00:47:04.115Z] a35cf1a2eb13: Pull complete [2020-12-12T00:47:04.115Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-12T00:47:04.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-12T00:47:04.115Z] ---> a62c8e92a672 [2020-12-12T00:47:04.115Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-12T00:47:04.115Z] ---> Running in c242bd4f2124 [2020-12-12T00:47:04.381Z] Removing intermediate container c242bd4f2124 [2020-12-12T00:47:04.381Z] ---> 854c914fb8a8 [2020-12-12T00:47:04.381Z] Step 4/7 : RUN apk add bash [2020-12-12T00:47:04.381Z] ---> Running in de3e0060ef0d [2020-12-12T00:47:04.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-12T00:47:05.909Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-12T00:47:06.485Z] OK: 166 MiB in 39 packages [2020-12-12T00:47:06.749Z] Removing intermediate container de3e0060ef0d [2020-12-12T00:47:06.749Z] ---> 2bf0b304060b [2020-12-12T00:47:06.749Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-12T00:47:07.014Z] ---> Running in a304a9d171e8 [2020-12-12T00:47:07.014Z] Removing intermediate container a304a9d171e8 [2020-12-12T00:47:07.014Z] ---> 458151c6ce99 [2020-12-12T00:47:07.014Z] Step 6/7 : COPY go.mod . [2020-12-12T00:47:07.293Z] ---> 888f2a023bf9 [2020-12-12T00:47:07.294Z] Step 7/7 : RUN go mod download [2020-12-12T00:47:07.294Z] ---> Running in 1d5c7390d38b [2020-12-12T00:47:19.572Z] Removing intermediate container 1d5c7390d38b [2020-12-12T00:47:19.572Z] ---> 94bb9f0298fc [2020-12-12T00:47:19.572Z] Successfully built 94bb9f0298fc [2020-12-12T00:47:19.572Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:47:19.895Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-12T00:47:19.895Z] . [Pipeline] withDockerContainer [2020-12-12T00:47:20.030Z] prd-centos7-docker-4c-2g-15693 does not seem to be running inside a container [2020-12-12T00:47:20.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-12T00:47:20.793Z] $ docker top 4e3bae2047580b3aef1f0aec74bffe947ab43bdf827058096031cece4da37a16 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T00:47:21.303Z] + go version [2020-12-12T00:47:21.303Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-12T00:47:21.321Z] $ docker stop --time=1 4e3bae2047580b3aef1f0aec74bffe947ab43bdf827058096031cece4da37a16 [2020-12-12T00:47:22.687Z] $ docker rm -f 4e3bae2047580b3aef1f0aec74bffe947ab43bdf827058096031cece4da37a16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:47:23.625Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-12T00:47:23.625Z] . [Pipeline] withDockerContainer [2020-12-12T00:47:23.726Z] prd-centos7-docker-4c-2g-15693 does not seem to be running inside a container [2020-12-12T00:47:23.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-12T00:47:24.415Z] $ docker top 937aeed0884ae033c016da92e77a36c28ceb851e3dbdb04440db4bcb3cc1e530 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T00:47:24.914Z] + make test [2020-12-12T00:47:24.914Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-12T00:47:31.613Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-12T00:47:31.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.019s coverage: 85.7% of statements [2020-12-12T00:47:31.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.015s coverage: 100.0% of statements [2020-12-12T00:47:31.880Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.028s coverage: 45.4% of statements [2020-12-12T00:47:31.880Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.019s coverage: 77.8% of statements [2020-12-12T00:47:31.880Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-12T00:47:33.305Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.015s coverage: 18.6% of statements [2020-12-12T00:47:33.305Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.023s coverage: 14.7% of statements [2020-12-12T00:47:33.305Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.024s coverage: 100.0% of statements [2020-12-12T00:47:33.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.026s coverage: 91.8% of statements [2020-12-12T00:47:33.575Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-12T00:47:33.575Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-12T00:47:33.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.008s coverage: 100.0% of statements [2020-12-12T00:47:33.840Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.007s coverage: 47.8% of statements [2020-12-12T00:47:35.811Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.047s coverage: 63.0% of statements [2020-12-12T00:47:35.811Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.005s coverage: 26.3% of statements [2020-12-12T00:47:35.811Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.007s coverage: 15.4% of statements [2020-12-12T00:47:35.811Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.026s coverage: 15.4% of statements [2020-12-12T00:47:35.811Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.029s coverage: 14.3% of statements [2020-12-12T00:47:35.811Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-12T00:47:36.781Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.029s coverage: 85.4% of statements [2020-12-12T00:47:36.781Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-12T00:47:36.781Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-12T00:47:36.781Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.015s coverage: 29.9% of statements [2020-12-12T00:47:36.781Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.013s coverage: 100.0% of statements [2020-12-12T00:47:36.781Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.020s coverage: 94.4% of statements [2020-12-12T00:47:37.047Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-12-12T00:47:37.047Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-12T00:47:37.047Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-12T00:47:39.013Z] gofmt -l . [2020-12-12T00:47:39.013Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-12T00:47:39.031Z] $ docker stop --time=1 937aeed0884ae033c016da92e77a36c28ceb851e3dbdb04440db4bcb3cc1e530 [2020-12-12T00:47:41.241Z] $ docker rm -f 937aeed0884ae033c016da92e77a36c28ceb851e3dbdb04440db4bcb3cc1e530 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-12T00:47:41.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-12T00:47:42.304Z] Stashed 1 file(s) [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] } [2020-12-12T00:47:52.974Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15694 in /w/workspace/dry_go-mod-core-contracts_PR-394 [Pipeline] { [Pipeline] ws [2020-12-12T00:47:53.165Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-12-12T00:47:58.552Z] using credential edgex-jenkins-ssh [2020-12-12T00:47:58.607Z] Cloning the remote Git repository [2020-12-12T00:47:58.663Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T00:47:58.789Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-12-12T00:47:58.898Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T00:47:58.898Z] > git --version # timeout=10 [2020-12-12T00:47:58.915Z] > git --version # 'git version 2.17.1' [2020-12-12T00:47:58.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T00:47:59.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T00:48:00.702Z] Merging remotes/origin/master commit 1c5af3e112fbbff99310b3d6c91347419198b66a into PR head commit 819edd9f9a7b8618d2805a039e1af1d2c535e25c [2020-12-12T00:48:01.018Z] Merge succeeded, producing 01a09cbbafc8ad2026fbb3ccdb621071090064d7 [2020-12-12T00:48:01.019Z] Checking out Revision 01a09cbbafc8ad2026fbb3ccdb621071090064d7 (PR-394) [2020-12-12T00:47:59.965Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T00:47:59.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T00:48:00.005Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T00:48:00.045Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T00:48:00.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T00:48:00.056Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-12T00:48:00.720Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T00:48:00.734Z] > git checkout -f 819edd9f9a7b8618d2805a039e1af1d2c535e25c # timeout=10 [2020-12-12T00:48:00.862Z] > git remote # timeout=10 [2020-12-12T00:48:00.876Z] > git config --get remote.origin.url # timeout=10 [2020-12-12T00:48:00.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T00:48:00.903Z] > git merge 1c5af3e112fbbff99310b3d6c91347419198b66a # timeout=10 [2020-12-12T00:48:01.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-12T00:48:01.024Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T00:48:01.042Z] > git checkout -f 01a09cbbafc8ad2026fbb3ccdb621071090064d7 # timeout=10 [2020-12-12T00:48:05.307Z] Commit message: "Merge commit '1c5af3e112fbbff99310b3d6c91347419198b66a' into HEAD" [2020-12-12T00:48:05.315Z] > git rev-list --no-walk 819edd9f9a7b8618d2805a039e1af1d2c535e25c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-12T00:48:06.970Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-12T00:48:07.388Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-12T00:48:07.733Z] + + truesudo [2020-12-12T00:48:07.733Z] service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-12T00:48:10.779Z] ========================================================= [2020-12-12T00:48:10.779Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-12T00:48:10.779Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:48:11.198Z] + 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 . [2020-12-12T00:48:12.182Z] Sending build context to Docker daemon 1.946MB [2020-12-12T00:48:12.182Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-12T00:48:12.182Z] Step 2/7 : FROM ${BASE} [2020-12-12T00:48:12.778Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-12T00:48:12.778Z] 5f621e34cdf4: Pulling fs layer [2020-12-12T00:48:12.778Z] a4357932f1b6: Pulling fs layer [2020-12-12T00:48:12.778Z] 18c013af1878: Pulling fs layer [2020-12-12T00:48:12.778Z] 00ac8860ef70: Pulling fs layer [2020-12-12T00:48:12.778Z] 63d7cb157983: Pulling fs layer [2020-12-12T00:48:12.778Z] b116817d02f9: Pulling fs layer [2020-12-12T00:48:12.778Z] 745a02a5169b: Pulling fs layer [2020-12-12T00:48:12.778Z] 00ac8860ef70: Waiting [2020-12-12T00:48:12.778Z] 63d7cb157983: Waiting [2020-12-12T00:48:12.778Z] b116817d02f9: Waiting [2020-12-12T00:48:12.778Z] 745a02a5169b: Waiting [2020-12-12T00:48:12.778Z] 18c013af1878: Download complete [2020-12-12T00:48:12.778Z] a4357932f1b6: Download complete [2020-12-12T00:48:12.778Z] 63d7cb157983: Download complete [2020-12-12T00:48:12.778Z] b116817d02f9: Verifying Checksum [2020-12-12T00:48:12.778Z] b116817d02f9: Download complete [2020-12-12T00:48:13.052Z] 5f621e34cdf4: Verifying Checksum [2020-12-12T00:48:13.052Z] 5f621e34cdf4: Download complete [2020-12-12T00:48:14.034Z] 5f621e34cdf4: Pull complete [2020-12-12T00:48:14.311Z] a4357932f1b6: Pull complete [2020-12-12T00:48:14.914Z] 18c013af1878: Pull complete [2020-12-12T00:48:15.187Z] 745a02a5169b: Verifying Checksum [2020-12-12T00:48:15.187Z] 745a02a5169b: Download complete [2020-12-12T00:48:16.187Z] 00ac8860ef70: Verifying Checksum [2020-12-12T00:48:16.187Z] 00ac8860ef70: Download complete [2020-12-12T00:48:26.334Z] 00ac8860ef70: Pull complete [2020-12-12T00:48:26.334Z] 63d7cb157983: Pull complete [2020-12-12T00:48:26.334Z] b116817d02f9: Pull complete [2020-12-12T00:48:29.711Z] 745a02a5169b: Pull complete [2020-12-12T00:48:29.711Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-12T00:48:29.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-12T00:48:29.711Z] ---> b7e6874047d6 [2020-12-12T00:48:29.711Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-12T00:48:33.111Z] ---> Running in f375fb9f58eb [2020-12-12T00:48:33.111Z] Removing intermediate container f375fb9f58eb [2020-12-12T00:48:33.111Z] ---> 26244938fb35 [2020-12-12T00:48:33.111Z] Step 4/7 : RUN apk add bash [2020-12-12T00:48:33.111Z] ---> Running in 7dfb34cb7a33 [2020-12-12T00:48:34.551Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-12T00:48:35.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-12T00:48:36.127Z] OK: 142 MiB in 39 packages [2020-12-12T00:48:37.112Z] Removing intermediate container 7dfb34cb7a33 [2020-12-12T00:48:37.112Z] ---> a55a71941a34 [2020-12-12T00:48:37.112Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-12T00:48:37.387Z] ---> Running in 15a6e45b496f [2020-12-12T00:48:37.987Z] Removing intermediate container 15a6e45b496f [2020-12-12T00:48:37.987Z] ---> 9b2bfc174762 [2020-12-12T00:48:37.987Z] Step 6/7 : COPY go.mod . [2020-12-12T00:48:38.590Z] ---> 80a6ea3e9496 [2020-12-12T00:48:38.590Z] Step 7/7 : RUN go mod download [2020-12-12T00:48:38.590Z] ---> Running in 35d4209140e8 [2020-12-12T00:48:53.708Z] Removing intermediate container 35d4209140e8 [2020-12-12T00:48:53.708Z] ---> 72dfe56456f9 [2020-12-12T00:48:53.708Z] Successfully built 72dfe56456f9 [2020-12-12T00:48:53.708Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:48:54.074Z] + docker inspect -f . ci-base-image-arm64 [2020-12-12T00:48:54.075Z] . [Pipeline] withDockerContainer [2020-12-12T00:48:54.319Z] prd-ubuntu18.04-docker-arm64-4c-16g-15694 does not seem to be running inside a container [2020-12-12T00:48:54.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-12T00:48:55.834Z] $ docker top 39de5d43fe9579070d0d1bd615ebb2e1a303e9f931143c33db3e97530f13e0f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T00:48:56.842Z] + go version [2020-12-12T00:48:56.842Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-12T00:48:56.863Z] $ docker stop --time=1 39de5d43fe9579070d0d1bd615ebb2e1a303e9f931143c33db3e97530f13e0f6 [2020-12-12T00:48:58.863Z] $ docker rm -f 39de5d43fe9579070d0d1bd615ebb2e1a303e9f931143c33db3e97530f13e0f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:48:59.866Z] + docker inspect -f . ci-base-image-arm64 [2020-12-12T00:48:59.867Z] . [Pipeline] withDockerContainer [2020-12-12T00:49:00.130Z] prd-ubuntu18.04-docker-arm64-4c-16g-15694 does not seem to be running inside a container [2020-12-12T00:49:00.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-12T00:49:01.672Z] $ docker top a6cf5aef1a7b34de50ab2eb49f745e45cf5e6aed0c699d673f527cb4eb050d77 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T00:49:02.741Z] + make test [2020-12-12T00:49:02.742Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-12T00:49:24.950Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-12T00:49:24.950Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.034s coverage: 85.7% of statements [2020-12-12T00:49:24.950Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.033s coverage: 100.0% of statements [2020-12-12T00:49:26.952Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.041s coverage: 45.4% of statements [2020-12-12T00:49:26.952Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.038s coverage: 77.8% of statements [2020-12-12T00:49:26.952Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-12T00:49:28.952Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.036s coverage: 18.6% of statements [2020-12-12T00:49:30.955Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.062s coverage: 14.7% of statements [2020-12-12T00:49:30.955Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.046s coverage: 100.0% of statements [2020-12-12T00:49:30.955Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.085s coverage: 91.8% of statements [2020-12-12T00:49:30.955Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-12T00:49:30.955Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-12T00:49:30.955Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.028s coverage: 100.0% of statements [2020-12-12T00:49:31.232Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.015s coverage: 47.8% of statements [2020-12-12T00:49:36.651Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.089s coverage: 63.0% of statements [2020-12-12T00:49:36.651Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.038s coverage: 26.3% of statements [2020-12-12T00:49:36.651Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.034s coverage: 15.4% of statements [2020-12-12T00:49:36.651Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.046s coverage: 15.4% of statements [2020-12-12T00:49:36.652Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.019s coverage: 14.3% of statements [2020-12-12T00:49:36.652Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-12T00:49:38.642Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.059s coverage: 85.4% of statements [2020-12-12T00:49:38.642Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-12T00:49:38.642Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-12T00:49:38.642Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.045s coverage: 29.9% of statements [2020-12-12T00:49:38.916Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.036s coverage: 100.0% of statements [2020-12-12T00:49:39.896Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.074s coverage: 94.4% of statements [2020-12-12T00:49:40.169Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.024s coverage: 100.0% of statements [2020-12-12T00:49:40.169Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-12T00:49:40.443Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-12T00:49:45.862Z] gofmt -l . [2020-12-12T00:49:46.134Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-12T00:49:46.752Z] $ docker stop --time=1 a6cf5aef1a7b34de50ab2eb49f745e45cf5e6aed0c699d673f527cb4eb050d77 [2020-12-12T00:49:48.896Z] $ docker rm -f a6cf5aef1a7b34de50ab2eb49f745e45cf5e6aed0c699d673f527cb4eb050d77 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-12T00:49:49.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-12T00:49:49.884Z] Warning: overwriting stash ‘coverage-report’ [2020-12-12T00:49:50.790Z] Stashed 1 file(s) [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] } [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 [2020-12-12T00:49:52.934Z] provisioning config files... [2020-12-12T00:49:52.949Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/config1690772989824958130tmp [Pipeline] { [Pipeline] sh [2020-12-12T00:49:53.356Z] + set +x [2020-12-12T00:49:53.356Z] + curl -s https://codecov.io/bash [2020-12-12T00:49:53.356Z] + bash -s -- [2020-12-12T00:49:53.619Z] [2020-12-12T00:49:53.619Z] _____ _ [2020-12-12T00:49:53.619Z] / ____| | | [2020-12-12T00:49:53.619Z] | | ___ __| | ___ ___ _____ __ [2020-12-12T00:49:53.619Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-12T00:49:53.619Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-12T00:49:53.619Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-12T00:49:53.619Z] Bash-20201130-cc6d3fe [2020-12-12T00:49:53.619Z] [2020-12-12T00:49:53.619Z] [2020-12-12T00:49:53.619Z] ==> Jenkins CI detected. [2020-12-12T00:49:53.619Z] project root: . [2020-12-12T00:49:53.619Z] --> token set from env [2020-12-12T00:49:53.619Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-12T00:49:53.619Z] ==> Running gcov in . (disable via -X gcov) [2020-12-12T00:49:53.619Z] ==> Python coveragepy not found [2020-12-12T00:49:53.619Z] ==> Searching for coverage reports in: [2020-12-12T00:49:53.619Z] + . [2020-12-12T00:49:53.619Z] -> Found 1 reports [2020-12-12T00:49:53.619Z] ==> Detecting git/mercurial file structure [2020-12-12T00:49:53.619Z] ==> Reading reports [2020-12-12T00:49:53.619Z] + ./coverage.out bytes=108788 [2020-12-12T00:49:53.619Z] ==> Appending adjustments [2020-12-12T00:49:53.619Z] https://docs.codecov.io/docs/fixing-reports [2020-12-12T00:49:54.569Z] + Found adjustments [2020-12-12T00:49:54.569Z] ==> Gzipping contents [2020-12-12T00:49:54.569Z] 20K /tmp/codecov.RCjsMF.gz [2020-12-12T00:49:54.569Z] ==> Uploading reports [2020-12-12T00:49:54.569Z] url: https://codecov.io [2020-12-12T00:49:54.569Z] query: branch=PR-394&commit=5c591059e0dc084e1e7d7586065491333d88fa0e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-394%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=394&job=&cmd_args= [2020-12-12T00:49:54.569Z] -> Pinging Codecov [2020-12-12T00:49:54.569Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-394&commit=5c591059e0dc084e1e7d7586065491333d88fa0e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-394%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=394&job=&cmd_args= [2020-12-12T00:49:54.831Z] -> Uploading to [2020-12-12T00:49:54.831Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-12/71470A77251A30514AAF9C0BB2E5B6CE/5c591059e0dc084e1e7d7586065491333d88fa0e/813ea899-66a1-49d8-93b8-73ef8b921bf4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201212%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201212T004954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55d8f75e25da14a28de3e6c77568e90df659e5386c3a8ab0a8fe99edbe378379 [2020-12-12T00:49:54.831Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-12T00:49:54.831Z] Dload Upload Total Spent Left Speed [2020-12-12T00:49:55.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17625 0 0 100 17625 0 31404 --:--:-- --:--:-- --:--:-- 31361 [2020-12-12T00:49:55.359Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/5c591059e0dc084e1e7d7586065491333d88fa0e [Pipeline] } [2020-12-12T00:49:55.370Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 [2020-12-12T00:49:58.377Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:49:58.688Z] ---> package-listing.sh [2020-12-12T00:49:58.688Z] ++ facter osfamily [2020-12-12T00:49:58.688Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-12T00:49:58.688Z] + OS_FAMILY=redhat [2020-12-12T00:49:58.688Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-394 [2020-12-12T00:49:58.688Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-12T00:49:58.688Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-12T00:49:58.688Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-12T00:49:58.688Z] + PACKAGES=/tmp/packages_start.txt [2020-12-12T00:49:58.688Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-394 ']' [2020-12-12T00:49:58.688Z] + PACKAGES=/tmp/packages_end.txt [2020-12-12T00:49:58.688Z] + case "${OS_FAMILY}" in [2020-12-12T00:49:58.688Z] + rpm -qa [2020-12-12T00:49:58.688Z] + sort [2020-12-12T00:50:03.998Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-12T00:50:03.998Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-12T00:50:03.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-12T00:50:03.998Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-394 ']' [2020-12-12T00:50:03.998Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-394/archives/ [2020-12-12T00:50:03.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-394/archives/ [Pipeline] echo [2020-12-12T00:50:04.018Z] 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-394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-12T00:50:04.320Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:50:04.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-12T00:50:04.625Z] [2020-12-12T00:50:04.625Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-12T00:50:04.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-12T00:50:04.979Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-12T00:50:04.979Z] df20fa9351a1: Pulling fs layer [2020-12-12T00:50:04.979Z] 36b3adc4ff6f: Pulling fs layer [2020-12-12T00:50:04.979Z] 8ad3a11d3b57: Pulling fs layer [2020-12-12T00:50:04.979Z] 46f8f816bc3b: Pulling fs layer [2020-12-12T00:50:04.979Z] 93b61091891f: Pulling fs layer [2020-12-12T00:50:04.979Z] 93b9cdb0e59b: Pulling fs layer [2020-12-12T00:50:04.979Z] 5e14af77c1be: Pulling fs layer [2020-12-12T00:50:04.980Z] 01666e4c0597: Pulling fs layer [2020-12-12T00:50:04.980Z] aa168da1d23b: Pulling fs layer [2020-12-12T00:50:04.980Z] 93b9cdb0e59b: Waiting [2020-12-12T00:50:04.980Z] 5e14af77c1be: Waiting [2020-12-12T00:50:04.980Z] 01666e4c0597: Waiting [2020-12-12T00:50:04.980Z] aa168da1d23b: Waiting [2020-12-12T00:50:04.980Z] 93b61091891f: Waiting [2020-12-12T00:50:04.980Z] 46f8f816bc3b: Waiting [2020-12-12T00:50:04.980Z] 36b3adc4ff6f: Verifying Checksum [2020-12-12T00:50:04.980Z] 36b3adc4ff6f: Download complete [2020-12-12T00:50:04.980Z] 46f8f816bc3b: Verifying Checksum [2020-12-12T00:50:04.980Z] 46f8f816bc3b: Download complete [2020-12-12T00:50:05.250Z] df20fa9351a1: Verifying Checksum [2020-12-12T00:50:05.250Z] df20fa9351a1: Download complete [2020-12-12T00:50:05.250Z] 93b9cdb0e59b: Verifying Checksum [2020-12-12T00:50:05.250Z] 93b9cdb0e59b: Download complete [2020-12-12T00:50:05.250Z] 93b61091891f: Verifying Checksum [2020-12-12T00:50:05.250Z] 93b61091891f: Download complete [2020-12-12T00:50:05.250Z] 5e14af77c1be: Verifying Checksum [2020-12-12T00:50:05.250Z] 5e14af77c1be: Download complete [2020-12-12T00:50:05.250Z] 01666e4c0597: Verifying Checksum [2020-12-12T00:50:05.250Z] 01666e4c0597: Download complete [2020-12-12T00:50:05.250Z] 8ad3a11d3b57: Verifying Checksum [2020-12-12T00:50:05.250Z] 8ad3a11d3b57: Download complete [2020-12-12T00:50:05.514Z] df20fa9351a1: Pull complete [2020-12-12T00:50:05.777Z] 36b3adc4ff6f: Pull complete [2020-12-12T00:50:06.355Z] 8ad3a11d3b57: Pull complete [2020-12-12T00:50:06.622Z] 46f8f816bc3b: Pull complete [2020-12-12T00:50:07.574Z] aa168da1d23b: Verifying Checksum [2020-12-12T00:50:07.574Z] aa168da1d23b: Download complete [2020-12-12T00:50:07.837Z] 93b61091891f: Pull complete [2020-12-12T00:50:08.411Z] 93b9cdb0e59b: Pull complete [2020-12-12T00:50:08.411Z] 5e14af77c1be: Pull complete [2020-12-12T00:50:08.673Z] 01666e4c0597: Pull complete [2020-12-12T00:50:16.883Z] aa168da1d23b: Pull complete [2020-12-12T00:50:16.883Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-12T00:50:16.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-12T00:50:16.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-12T00:50:17.097Z] prd-centos7-docker-4c-2g-15691 does not seem to be running inside a container [2020-12-12T00:50:17.142Z] $ 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-394/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-394 -v /w/workspace/dry_go-mod-core-contracts_PR-394:/w/workspace/dry_go-mod-core-contracts_PR-394:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-394@tmp:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-12T00:50:20.849Z] $ docker top cac2cace71d090d351987f065c906b62571633cbdb822b1df71760f890319d3f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T00:50:21.469Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-12T00:50:21.772Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-12T00:50:22.071Z] + ls /var/log/sa-host [2020-12-12T00:50:22.071Z] + sadf -c /var/log/sa-host/sa12 [2020-12-12T00:50:22.071Z] file_magic: OK [2020-12-12T00:50:22.071Z] HZ: Using current value: 100 [2020-12-12T00:50:22.071Z] file_header: OK [2020-12-12T00:50:22.071Z] 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 [2020-12-12T00:50:22.071Z] Statistics: [2020-12-12T00:50:22.071Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-12T00:50:22.071Z] File successfully converted to sysstat format version 12.2.1 [2020-12-12T00:50:22.071Z] + sadf -c /var/log/sa-host/sa23 [2020-12-12T00:50:22.071Z] file_magic: OK [2020-12-12T00:50:22.071Z] HZ: Using current value: 100 [2020-12-12T00:50:22.071Z] file_header: OK [2020-12-12T00:50:22.071Z] 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 [2020-12-12T00:50:22.071Z] Statistics: [2020-12-12T00:50:22.071Z] Hnuu...uuuununununu... [2020-12-12T00:50:22.071Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-12T00:50:22.720Z] provisioning config files... [2020-12-12T00:50:22.740Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/config5055131019899534264tmp [Pipeline] { [Pipeline] echo [2020-12-12T00:50:22.827Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:50:23.124Z] ---> create-netrc.sh [Pipeline] } [2020-12-12T00:50:23.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-12T00:50:23.242Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:50:23.540Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-12T00:50:23.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:50:23.850Z] ---> sudo-logs.sh [2020-12-12T00:50:23.850Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-12T00:50:23.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:50:24.159Z] ---> job-cost.sh [2020-12-12T00:50:24.159Z] lf-activate-venv: SKIPPING [2020-12-12T00:50:24.159Z] INFO: No Stack... [2020-12-12T00:50:25.104Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-12T00:50:25.677Z] INFO: Archiving Costs [Pipeline] echo [2020-12-12T00:50:25.692Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T00:50:25.988Z] ---> logs-deploy.sh [2020-12-12T00:50:25.988Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-394/2 [2020-12-12T00:50:25.988Z] INFO: archiving workspace using pattern(s): [2020-12-12T00:50:27.374Z] Archives upload complete. [2020-12-12T00:50:27.644Z] INFO: archiving logs to Nexus [2020-12-12T00:50:28.592Z] ---> uname -a: [2020-12-12T00:50:28.592Z] Linux prd-centos7-docker-4c-2g-15691.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2020-12-12T00:50:28.592Z] [2020-12-12T00:50:28.592Z]