Pull request #401 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 17bd62774d2a16c58141e8949cc3c0752ba8a77c rather than ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c Obtained Jenkinsfile from 17bd62774d2a16c58141e8949cc3c0752ba8a77c 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-16317 in /w/workspace/dry_go-mod-core-contracts_PR-401 [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-401 # 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 Merging remotes/origin/master commit 17bd62774d2a16c58141e8949cc3c0752ba8a77c into PR head commit ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c Merge succeeded, producing ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c Checking out Revision ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c (PR-401) > 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/401/head:refs/remotes/origin/PR-401 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c # 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 17bd62774d2a16c58141e8949cc3c0752ba8a77c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c # timeout=10 Commit message: "refactor: Extract the valueType checking func as validation Tag" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 82a2310ec686e2280fe4ea9cae2095ebd29d19c0 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-16T09:44:33.394Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-16T09:44:33.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-16T09:44:33.776Z] ========================================================= [2020-12-16T09:44:33.777Z] EdgeX Global Pipelines Version Info [2020-12-16T09:44:33.777Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:44:36.279Z] ------------------- [2020-12-16T09:44:36.279Z] stable info: [2020-12-16T09:44:36.279Z] ------------------- [2020-12-16T09:44:36.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-16T09:44:36.279Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-16T09:44:36.279Z] Message: update stable to v1.0.172 [2020-12-16T09:44:37.268Z] ------------------- [2020-12-16T09:44:37.268Z] experimental info: [2020-12-16T09:44:37.268Z] ------------------- [2020-12-16T09:44:37.268Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-16T09:44:37.268Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-16T09:44:37.268Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-16T09:44:37.594Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-16T09:44:37.684Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-16T09:44:37.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-16T09:44:37.858Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-16T09:44:37.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-16T09:44:38.047Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-16T09:44:38.140Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-16T09:44:38.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-16T09:44:38.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-16T09:44:38.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-16T09:44:38.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-16T09:44:38.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-16T09:44:38.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-16T09:44:38.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-16T09:44:38.913Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T09:44:39.002Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T09:44:39.090Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T09:44:39.179Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-16T09:44:39.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-16T09:44:39.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-16T09:44:39.436Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-16T09:44:39.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-16T09:44:39.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-16T09:44:39.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-16T09:44:39.775Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-16T09:44:39.863Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-16T09:44:39.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo [2020-12-16T09:44:40.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo [2020-12-16T09:44:40.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo [2020-12-16T09:44:40.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [Pipeline] echo [2020-12-16T09:44:40.461Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae38b67 [Pipeline] echo [2020-12-16T09:44:40.550Z] [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-16T09:44:41.436Z] + git log --format=format:%s -1 ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [Pipeline] echo [2020-12-16T09:44:41.722Z] GIT_COMMIT: ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c, Commit Message: refactor: Extract the valueType checking func as validation Tag [Pipeline] echo [2020-12-16T09:44:41.774Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:44:43.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T09:44:44.003Z] [2020-12-16T09:44:44.003Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:44:44.686Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T09:44:44.967Z] latest: Pulling from edgex-devops/git-semver [2020-12-16T09:44:44.967Z] 31603596830f: Pulling fs layer [2020-12-16T09:44:44.967Z] 2a8b12db71e7: Pulling fs layer [2020-12-16T09:44:44.967Z] 6ca5941a6612: Pulling fs layer [2020-12-16T09:44:44.967Z] ecc8261a40a4: Pulling fs layer [2020-12-16T09:44:44.967Z] ecc8261a40a4: Waiting [2020-12-16T09:44:44.967Z] 2a8b12db71e7: Verifying Checksum [2020-12-16T09:44:44.967Z] 2a8b12db71e7: Download complete [2020-12-16T09:44:45.263Z] 31603596830f: Verifying Checksum [2020-12-16T09:44:45.263Z] 31603596830f: Download complete [2020-12-16T09:44:46.010Z] ecc8261a40a4: Verifying Checksum [2020-12-16T09:44:46.010Z] ecc8261a40a4: Download complete [2020-12-16T09:44:46.010Z] 6ca5941a6612: Verifying Checksum [2020-12-16T09:44:46.010Z] 6ca5941a6612: Download complete [2020-12-16T09:44:46.297Z] 31603596830f: Pull complete [2020-12-16T09:44:46.631Z] 2a8b12db71e7: Pull complete [2020-12-16T09:44:48.744Z] 6ca5941a6612: Pull complete [2020-12-16T09:44:48.744Z] ecc8261a40a4: Pull complete [2020-12-16T09:44:48.744Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-16T09:44:48.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-16T09:44:48.797Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-16T09:44:49.008Z] prd-centos7-docker-4c-2g-16317 does not seem to be running inside a container [2020-12-16T09:44:49.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-401 -v /w/workspace/dry_go-mod-core-contracts_PR-401:/w/workspace/dry_go-mod-core-contracts_PR-401:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-401@tmp:/w/workspace/dry_go-mod-core-contracts_PR-401@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-16T09:44:51.817Z] $ docker top f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-16T09:44:52.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-16T09:44:52.241Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-16T09:44:52.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-16T09:44:52.649Z] $ docker exec f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 ssh-agent [2020-12-16T09:44:52.965Z] SSH_AUTH_SOCK=/tmp/ssh-OmQENB9jLcqo/agent.11 [2020-12-16T09:44:52.965Z] SSH_AGENT_PID=16 [2020-12-16T09:44:52.979Z] Running ssh-add (command line suppressed) [2020-12-16T09:44:53.205Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-401@tmp/private_key_1871972650119007403.key (/w/workspace/dry_go-mod-core-contracts_PR-401@tmp/private_key_1871972650119007403.key) [2020-12-16T09:44:53.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-16T09:44:53.746Z] + git tag --points-at HEAD [Pipeline] } [2020-12-16T09:44:53.778Z] $ docker exec --env ******** --env ******** f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 ssh-agent -k [2020-12-16T09:44:54.055Z] unset SSH_AUTH_SOCK; [2020-12-16T09:44:54.065Z] unset SSH_AGENT_PID; [2020-12-16T09:44:54.065Z] echo Agent pid 16 killed; [2020-12-16T09:44:54.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-16T09:44:54.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-16T09:44:54.303Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-16T09:44:54.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-16T09:44:54.544Z] $ docker exec f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 ssh-agent [2020-12-16T09:44:54.928Z] SSH_AUTH_SOCK=/tmp/ssh-0UadDfxjWjqR/agent.45 [2020-12-16T09:44:54.928Z] SSH_AGENT_PID=51 [2020-12-16T09:44:54.943Z] Running ssh-add (command line suppressed) [2020-12-16T09:44:55.135Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-401@tmp/private_key_7617650262459343813.key (/w/workspace/dry_go-mod-core-contracts_PR-401@tmp/private_key_7617650262459343813.key) [2020-12-16T09:44:55.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-16T09:44:55.582Z] + git semver init [2020-12-16T09:44:55.582Z] # -> Open(): unable to determine branch for HEAD [2020-12-16T09:44:55.582Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-401/.git [2020-12-16T09:44:55.582Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-401 [2020-12-16T09:44:55.583Z] # $SEMVER_REMOTE_NAME = origin [2020-12-16T09:44:55.583Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-16T09:44:55.583Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-16T09:44:55.583Z] # $SEMVER_BRANCH = PR-401 [2020-12-16T09:44:55.583Z] # $SEMVER_TEMP = /tmp/semver-975038981 [2020-12-16T09:44:55.583Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-16T09:44:56.542Z] # '/tmp/semver-975038981' -> '/w/workspace/dry_go-mod-core-contracts_PR-401/.semver' [2020-12-16T09:44:56.543Z] # -> Force: false [2020-12-16T09:44:56.543Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-401/.semver [Pipeline] } [2020-12-16T09:44:56.558Z] $ docker exec --env ******** --env ******** f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 ssh-agent -k [2020-12-16T09:44:56.760Z] unset SSH_AUTH_SOCK; [2020-12-16T09:44:56.761Z] unset SSH_AGENT_PID; [2020-12-16T09:44:56.761Z] echo Agent pid 51 killed; [2020-12-16T09:44:56.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-16T09:44:57.424Z] + git semver [Pipeline] } [2020-12-16T09:44:57.483Z] $ docker stop --time=1 f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 [2020-12-16T09:44:59.355Z] $ docker rm -f f35532bbb907f15c8718d7dd73182849561765fa531aacb4f6dc6986c1ec3925 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-16T09:45:00.167Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-16T09:45:02.538Z] Stashed 1 file(s) [Pipeline] echo [2020-12-16T09:45:02.541Z] [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-16T09:45:18.088Z] Still waiting to schedule task [2020-12-16T09:45:18.088Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-16T09:45:18.090Z] Still waiting to schedule task [2020-12-16T09:45:18.090Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-16T09:47:12.129Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16319 in /w/workspace/dry_go-mod-core-contracts_PR-401 [Pipeline] { [Pipeline] ws [2020-12-16T09:47:12.215Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-12-16T09:47:17.340Z] Running on prd-centos7-docker-4c-2g-16320 in /w/workspace/dry_go-mod-core-contracts_PR-401 [Pipeline] { [Pipeline] ws [2020-12-16T09:47:17.400Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-12-16T09:47:17.549Z] using credential edgex-jenkins-ssh [2020-12-16T09:47:17.617Z] Cloning the remote Git repository [2020-12-16T09:47:17.684Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T09:47:17.808Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-12-16T09:47:17.891Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T09:47:17.892Z] > git --version # timeout=10 [2020-12-16T09:47:17.914Z] > git --version # 'git version 2.17.1' [2020-12-16T09:47:17.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T09:47:17.984Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T09:47:19.712Z] using credential edgex-jenkins-ssh [2020-12-16T09:47:19.766Z] Merging remotes/origin/master commit 17bd62774d2a16c58141e8949cc3c0752ba8a77c into PR head commit ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [2020-12-16T09:47:18.991Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T09:47:19.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T09:47:19.043Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T09:47:19.076Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T09:47:19.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T09:47:19.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-16T09:47:19.768Z] Cloning the remote Git repository [2020-12-16T09:47:20.151Z] Merge succeeded, producing ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [2020-12-16T09:47:20.152Z] Checking out Revision ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c (PR-401) [2020-12-16T09:47:19.785Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T09:47:19.854Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-12-16T09:47:19.914Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T09:47:19.914Z] > git --version # timeout=10 [2020-12-16T09:47:19.920Z] > git --version # 'git version 2.24.3' [2020-12-16T09:47:19.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T09:47:19.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T09:47:20.562Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T09:47:20.571Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-16T09:47:20.587Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-16T09:47:20.600Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-16T09:47:20.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T09:47:20.605Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-16T09:47:19.800Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T09:47:19.841Z] > git checkout -f ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c # timeout=10 [2020-12-16T09:47:20.051Z] > git remote # timeout=10 [2020-12-16T09:47:20.077Z] > git config --get remote.origin.url # timeout=10 [2020-12-16T09:47:20.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T09:47:20.110Z] > git merge 17bd62774d2a16c58141e8949cc3c0752ba8a77c # timeout=10 [2020-12-16T09:47:20.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-16T09:47:20.163Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T09:47:20.175Z] > git checkout -f ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c # timeout=10 [2020-12-16T09:47:21.119Z] Merging remotes/origin/master commit 17bd62774d2a16c58141e8949cc3c0752ba8a77c into PR head commit ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [2020-12-16T09:47:21.240Z] Merge succeeded, producing ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [2020-12-16T09:47:21.240Z] Checking out Revision ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c (PR-401) [2020-12-16T09:47:21.130Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T09:47:21.136Z] > git checkout -f ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c # timeout=10 [2020-12-16T09:47:21.206Z] > git remote # timeout=10 [2020-12-16T09:47:21.213Z] > git config --get remote.origin.url # timeout=10 [2020-12-16T09:47:21.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-16T09:47:21.225Z] > git merge 17bd62774d2a16c58141e8949cc3c0752ba8a77c # timeout=10 [2020-12-16T09:47:21.234Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-16T09:47:21.250Z] > git config core.sparsecheckout # timeout=10 [2020-12-16T09:47:21.257Z] > git checkout -f ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c # timeout=10 [2020-12-16T09:47:24.479Z] Commit message: "refactor: Extract the valueType checking func as validation Tag" [Pipeline] withEnv [Pipeline] { [2020-12-16T09:47:24.991Z] Commit message: "refactor: Extract the valueType checking func as validation Tag" [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-16T09:47:25.987Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-16T09:47:26.749Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-16T09:47:26.877Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-16T09:47:27.082Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-16T09:47:27.218Z] + true [2020-12-16T09:47:27.219Z] + sudo service docker restart [2020-12-16T09:47:27.378Z] + sudo service docker restart [2020-12-16T09:47:27.378Z] + true [2020-12-16T09:47:27.378Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-16T09:47:28.897Z] ========================================================= [2020-12-16T09:47:28.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-16T09:47:28.897Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:47:29.252Z] + 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-16T09:47:29.828Z] Sending build context to Docker daemon 2.022MB [2020-12-16T09:47:29.828Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-16T09:47:29.828Z] Step 2/7 : FROM ${BASE} [2020-12-16T09:47:29.828Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-16T09:47:29.828Z] 188c0c94c7c5: Pulling fs layer [2020-12-16T09:47:29.828Z] 0ef7d3d256c8: Pulling fs layer [2020-12-16T09:47:29.828Z] de9db76c5a1d: Pulling fs layer [2020-12-16T09:47:29.828Z] bca2f99d35d6: Pulling fs layer [2020-12-16T09:47:29.828Z] 93359f2a8cfa: Pulling fs layer [2020-12-16T09:47:29.828Z] 7c6f9722023f: Pulling fs layer [2020-12-16T09:47:29.828Z] a35cf1a2eb13: Pulling fs layer [2020-12-16T09:47:29.828Z] bca2f99d35d6: Waiting [2020-12-16T09:47:29.828Z] 93359f2a8cfa: Waiting [2020-12-16T09:47:29.828Z] 7c6f9722023f: Waiting [2020-12-16T09:47:29.828Z] a35cf1a2eb13: Waiting [2020-12-16T09:47:29.828Z] de9db76c5a1d: Download complete [2020-12-16T09:47:29.828Z] 93359f2a8cfa: Verifying Checksum [2020-12-16T09:47:29.828Z] 93359f2a8cfa: Download complete [2020-12-16T09:47:29.828Z] 7c6f9722023f: Verifying Checksum [2020-12-16T09:47:29.828Z] 7c6f9722023f: Download complete [2020-12-16T09:47:29.828Z] 188c0c94c7c5: Verifying Checksum [2020-12-16T09:47:29.828Z] 188c0c94c7c5: Download complete [Pipeline] unstash [2020-12-16T09:47:30.092Z] 188c0c94c7c5: Pull complete [Pipeline] echo [2020-12-16T09:47:30.120Z] ========================================================= [2020-12-16T09:47:30.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-16T09:47:30.120Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:47:30.359Z] 0ef7d3d256c8: Pull complete [2020-12-16T09:47:30.359Z] de9db76c5a1d: Pull complete [2020-12-16T09:47:30.586Z] + 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-16T09:47:31.580Z] Sending build context to Docker daemon 2.021MB [2020-12-16T09:47:31.580Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-16T09:47:31.580Z] Step 2/7 : FROM ${BASE} [2020-12-16T09:47:31.856Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-16T09:47:31.856Z] 5f621e34cdf4: Pulling fs layer [2020-12-16T09:47:31.856Z] a4357932f1b6: Pulling fs layer [2020-12-16T09:47:31.856Z] 18c013af1878: Pulling fs layer [2020-12-16T09:47:31.856Z] 00ac8860ef70: Pulling fs layer [2020-12-16T09:47:31.856Z] 63d7cb157983: Pulling fs layer [2020-12-16T09:47:31.856Z] b116817d02f9: Pulling fs layer [2020-12-16T09:47:31.856Z] 745a02a5169b: Pulling fs layer [2020-12-16T09:47:31.856Z] 00ac8860ef70: Waiting [2020-12-16T09:47:31.856Z] b116817d02f9: Waiting [2020-12-16T09:47:31.856Z] 63d7cb157983: Waiting [2020-12-16T09:47:31.856Z] 18c013af1878: Verifying Checksum [2020-12-16T09:47:31.856Z] 18c013af1878: Download complete [2020-12-16T09:47:32.130Z] a4357932f1b6: Verifying Checksum [2020-12-16T09:47:32.130Z] a4357932f1b6: Download complete [2020-12-16T09:47:32.130Z] 63d7cb157983: Download complete [2020-12-16T09:47:32.412Z] b116817d02f9: Download complete [2020-12-16T09:47:32.684Z] 5f621e34cdf4: Verifying Checksum [2020-12-16T09:47:32.684Z] 5f621e34cdf4: Download complete [2020-12-16T09:47:33.284Z] 5f621e34cdf4: Pull complete [2020-12-16T09:47:33.684Z] a35cf1a2eb13: Verifying Checksum [2020-12-16T09:47:33.684Z] a35cf1a2eb13: Download complete [2020-12-16T09:47:33.883Z] a4357932f1b6: Pull complete [2020-12-16T09:47:34.156Z] 18c013af1878: Pull complete [2020-12-16T09:47:35.078Z] bca2f99d35d6: Verifying Checksum [2020-12-16T09:47:35.078Z] bca2f99d35d6: Download complete [2020-12-16T09:47:36.131Z] 745a02a5169b: Verifying Checksum [2020-12-16T09:47:36.131Z] 745a02a5169b: Download complete [2020-12-16T09:47:37.108Z] 00ac8860ef70: Download complete [2020-12-16T09:47:40.427Z] bca2f99d35d6: Pull complete [2020-12-16T09:47:40.427Z] 93359f2a8cfa: Pull complete [2020-12-16T09:47:40.427Z] 7c6f9722023f: Pull complete [2020-12-16T09:47:47.068Z] a35cf1a2eb13: Pull complete [2020-12-16T09:47:47.068Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-16T09:47:47.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-16T09:47:47.068Z] ---> a62c8e92a672 [2020-12-16T09:47:47.068Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-16T09:47:47.068Z] ---> Running in 8189b03c41bf [2020-12-16T09:47:47.068Z] Removing intermediate container 8189b03c41bf [2020-12-16T09:47:47.068Z] ---> 5faadae239f0 [2020-12-16T09:47:47.068Z] Step 4/7 : RUN apk add bash [2020-12-16T09:47:47.068Z] ---> Running in bb5f7063cb2e [2020-12-16T09:47:47.342Z] 00ac8860ef70: Pull complete [2020-12-16T09:47:47.342Z] 63d7cb157983: Pull complete [2020-12-16T09:47:47.616Z] b116817d02f9: Pull complete [2020-12-16T09:47:48.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-16T09:47:48.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-16T09:47:49.553Z] OK: 166 MiB in 39 packages [2020-12-16T09:47:50.130Z] Removing intermediate container bb5f7063cb2e [2020-12-16T09:47:50.130Z] ---> 014d18e80414 [2020-12-16T09:47:50.130Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-16T09:47:50.130Z] ---> Running in 8d5f43c9c5ae [2020-12-16T09:47:50.394Z] Removing intermediate container 8d5f43c9c5ae [2020-12-16T09:47:50.394Z] ---> 24ec72cdc303 [2020-12-16T09:47:50.394Z] Step 6/7 : COPY go.mod . [2020-12-16T09:47:50.394Z] ---> 6138d7673d06 [2020-12-16T09:47:50.394Z] Step 7/7 : RUN go mod download [2020-12-16T09:47:50.658Z] ---> Running in 6849cb79536f [2020-12-16T09:47:51.942Z] 745a02a5169b: Pull complete [2020-12-16T09:47:51.942Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-16T09:47:51.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-16T09:47:51.942Z] ---> b7e6874047d6 [2020-12-16T09:47:51.942Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-16T09:47:53.910Z] ---> Running in 0ce4ec9d826c [2020-12-16T09:47:54.505Z] Removing intermediate container 0ce4ec9d826c [2020-12-16T09:47:54.505Z] ---> 2e2a6c28787e [2020-12-16T09:47:54.505Z] Step 4/7 : RUN apk add bash [2020-12-16T09:47:54.505Z] ---> Running in cc44a4f0ca9b [2020-12-16T09:47:55.481Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-16T09:47:56.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-16T09:47:57.422Z] OK: 142 MiB in 39 packages [2020-12-16T09:47:58.856Z] Removing intermediate container cc44a4f0ca9b [2020-12-16T09:47:58.856Z] ---> a75e8a24c4c5 [2020-12-16T09:47:58.856Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-16T09:47:58.856Z] ---> Running in 4db4ff1db0fa [2020-12-16T09:47:59.456Z] Removing intermediate container 4db4ff1db0fa [2020-12-16T09:47:59.456Z] ---> e9b92547ddbc [2020-12-16T09:47:59.456Z] Step 6/7 : COPY go.mod . [2020-12-16T09:48:00.059Z] ---> 4f93577c6c3f [2020-12-16T09:48:00.059Z] Step 7/7 : RUN go mod download [2020-12-16T09:48:00.059Z] ---> Running in a6550234c6dc [2020-12-16T09:48:02.935Z] Removing intermediate container 6849cb79536f [2020-12-16T09:48:02.935Z] ---> ae7996f04084 [2020-12-16T09:48:02.935Z] Successfully built ae7996f04084 [2020-12-16T09:48:02.935Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:48:03.250Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-16T09:48:03.250Z] . [Pipeline] withDockerContainer [2020-12-16T09:48:03.371Z] prd-centos7-docker-4c-2g-16320 does not seem to be running inside a container [2020-12-16T09:48:03.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-16T09:48:04.204Z] $ docker top aa0206e8f1d9d6d8c578da3b7062f6dbdb7c86b8433fc6191b334c536dd8e6fe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T09:48:04.786Z] + go version [2020-12-16T09:48:04.786Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-16T09:48:04.803Z] $ docker stop --time=1 aa0206e8f1d9d6d8c578da3b7062f6dbdb7c86b8433fc6191b334c536dd8e6fe [2020-12-16T09:48:06.145Z] $ docker rm -f aa0206e8f1d9d6d8c578da3b7062f6dbdb7c86b8433fc6191b334c536dd8e6fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:48:07.085Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-16T09:48:07.085Z] . [Pipeline] withDockerContainer [2020-12-16T09:48:07.194Z] prd-centos7-docker-4c-2g-16320 does not seem to be running inside a container [2020-12-16T09:48:07.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-16T09:48:07.955Z] $ docker top 854580f3678299f6fdcf001c614a7f04a4e9005d40ffab780d364b4b41ca9487 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T09:48:08.439Z] + make test [2020-12-16T09:48:08.439Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-16T09:48:15.100Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-16T09:48:15.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.021s coverage: 85.7% of statements [2020-12-16T09:48:15.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.020s coverage: 100.0% of statements [2020-12-16T09:48:15.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.028s coverage: 45.4% of statements [2020-12-16T09:48:15.185Z] Removing intermediate container a6550234c6dc [2020-12-16T09:48:15.185Z] ---> 6700166b95b8 [2020-12-16T09:48:15.185Z] Successfully built 6700166b95b8 [2020-12-16T09:48:15.185Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:48:15.387Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.038s coverage: 77.8% of statements [2020-12-16T09:48:15.387Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-16T09:48:15.547Z] + docker inspect -f . ci-base-image-arm64 [2020-12-16T09:48:15.547Z] . [Pipeline] withDockerContainer [2020-12-16T09:48:15.850Z] prd-ubuntu18.04-docker-arm64-4c-16g-16319 does not seem to be running inside a container [2020-12-16T09:48:15.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-16T09:48:16.794Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.007s coverage: 18.6% of statements [2020-12-16T09:48:16.794Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.023s coverage: 14.7% of statements [2020-12-16T09:48:16.794Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.026s coverage: 100.0% of statements [2020-12-16T09:48:16.794Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.034s coverage: 91.8% of statements [2020-12-16T09:48:16.794Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-16T09:48:16.794Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-16T09:48:16.794Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.019s coverage: 100.0% of statements [2020-12-16T09:48:17.069Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 47.8% of statements [2020-12-16T09:48:17.414Z] $ docker top 2265c0af294d586af548057a3f5ea3a5fafb0b0b577e9cf4c5fbac8f65622d3e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T09:48:18.440Z] + go version [2020-12-16T09:48:18.440Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-16T09:48:18.468Z] $ docker stop --time=1 2265c0af294d586af548057a3f5ea3a5fafb0b0b577e9cf4c5fbac8f65622d3e [2020-12-16T09:48:19.029Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.029s coverage: 63.0% of statements [2020-12-16T09:48:19.029Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.004s coverage: 26.3% of statements [2020-12-16T09:48:19.029Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.012s coverage: 15.4% of statements [2020-12-16T09:48:19.030Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.008s coverage: 15.4% of statements [2020-12-16T09:48:19.030Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.015s coverage: 14.3% of statements [2020-12-16T09:48:19.030Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-16T09:48:19.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.025s coverage: 85.3% of statements [2020-12-16T09:48:19.620Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-16T09:48:19.620Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-16T09:48:19.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.014s coverage: 44.6% of statements [2020-12-16T09:48:19.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.018s coverage: 100.0% of statements [2020-12-16T09:48:19.889Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.016s coverage: 92.9% of statements [2020-12-16T09:48:19.889Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-12-16T09:48:19.889Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-16T09:48:20.157Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-16T09:48:20.415Z] $ docker rm -f 2265c0af294d586af548057a3f5ea3a5fafb0b0b577e9cf4c5fbac8f65622d3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:48:21.552Z] + docker inspect -f . ci-base-image-arm64 [2020-12-16T09:48:21.552Z] . [Pipeline] withDockerContainer [2020-12-16T09:48:21.578Z] gofmt -l . [2020-12-16T09:48:21.578Z] [ "`gofmt -l .`" = "" ] [2020-12-16T09:48:21.769Z] prd-ubuntu18.04-docker-arm64-4c-16g-16319 does not seem to be running inside a container [2020-12-16T09:48:21.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-16T09:48:23.349Z] $ docker top 91eac83a95ee164d0f4b9d3afe4647c0d2440ac9d7bcc3f547bc9d03e65a14f6 -eo pid,comm [Pipeline] { [Pipeline] } [2020-12-16T09:48:23.688Z] $ docker stop --time=1 854580f3678299f6fdcf001c614a7f04a4e9005d40ffab780d364b4b41ca9487 [2020-12-16T09:48:25.991Z] $ docker rm -f 854580f3678299f6fdcf001c614a7f04a4e9005d40ffab780d364b4b41ca9487 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2020-12-16T09:48:26.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-16T09:48:26.870Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2020-12-16T09:48:26.935Z] + make test [2020-12-16T09:48:26.935Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [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-16T09:48:49.147Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-16T09:48:50.133Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.033s coverage: 85.7% of statements [2020-12-16T09:48:50.133Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.025s coverage: 100.0% of statements [2020-12-16T09:48:51.584Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.056s coverage: 45.4% of statements [2020-12-16T09:48:51.584Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.033s coverage: 77.8% of statements [2020-12-16T09:48:51.584Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-16T09:48:52.188Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 18.6% of statements [2020-12-16T09:48:53.642Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.046s coverage: 14.7% of statements [2020-12-16T09:48:53.642Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.027s coverage: 100.0% of statements [2020-12-16T09:48:54.252Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.065s coverage: 91.8% of statements [2020-12-16T09:48:54.252Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-16T09:48:54.252Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-16T09:48:54.252Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.037s coverage: 100.0% of statements [2020-12-16T09:48:54.528Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.029s coverage: 47.8% of statements [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.124s coverage: 63.0% of statements [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.014s coverage: 26.3% of statements [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.018s coverage: 15.4% of statements [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.011s coverage: 15.4% of statements [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.026s coverage: 14.3% of statements [2020-12-16T09:49:01.312Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.157s coverage: 85.3% of statements [2020-12-16T09:49:01.312Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-16T09:49:01.312Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-16T09:49:01.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.030s coverage: 44.6% of statements [2020-12-16T09:49:01.916Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.028s coverage: 100.0% of statements [2020-12-16T09:49:02.892Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.063s coverage: 92.9% of statements [2020-12-16T09:49:02.892Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.023s coverage: 100.0% of statements [2020-12-16T09:49:02.892Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-16T09:49:03.171Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-16T09:49:08.578Z] gofmt -l . [2020-12-16T09:49:08.578Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-16T09:49:08.605Z] $ docker stop --time=1 91eac83a95ee164d0f4b9d3afe4647c0d2440ac9d7bcc3f547bc9d03e65a14f6 [2020-12-16T09:49:10.862Z] $ docker rm -f 91eac83a95ee164d0f4b9d3afe4647c0d2440ac9d7bcc3f547bc9d03e65a14f6 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-16T09:49:11.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-16T09:49:11.846Z] Warning: overwriting stash ‘coverage-report’ [2020-12-16T09:49:12.898Z] 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-16T09:49:15.164Z] provisioning config files... [2020-12-16T09:49:15.179Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-401@tmp/config1703461556396862127tmp [Pipeline] { [Pipeline] sh [2020-12-16T09:49:15.571Z] + set +x [2020-12-16T09:49:15.571Z] + curl -s https://codecov.io/bash [2020-12-16T09:49:15.571Z] + bash -s -- [2020-12-16T09:49:15.845Z] [2020-12-16T09:49:15.846Z] _____ _ [2020-12-16T09:49:15.846Z] / ____| | | [2020-12-16T09:49:15.846Z] | | ___ __| | ___ ___ _____ __ [2020-12-16T09:49:15.846Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-16T09:49:15.846Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-16T09:49:15.846Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-16T09:49:15.846Z] Bash-20201130-cc6d3fe [2020-12-16T09:49:15.846Z] [2020-12-16T09:49:15.846Z] [2020-12-16T09:49:15.846Z] ==> Jenkins CI detected. [2020-12-16T09:49:15.846Z] project root: . [2020-12-16T09:49:15.846Z] --> token set from env [2020-12-16T09:49:15.846Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-16T09:49:15.846Z] ==> Running gcov in . (disable via -X gcov) [2020-12-16T09:49:15.846Z] ==> Python coveragepy not found [2020-12-16T09:49:15.846Z] ==> Searching for coverage reports in: [2020-12-16T09:49:15.846Z] + . [2020-12-16T09:49:16.127Z] -> Found 1 reports [2020-12-16T09:49:16.127Z] ==> Detecting git/mercurial file structure [2020-12-16T09:49:16.127Z] ==> Reading reports [2020-12-16T09:49:16.127Z] + ./coverage.out bytes=112325 [2020-12-16T09:49:16.127Z] ==> Appending adjustments [2020-12-16T09:49:16.127Z] https://docs.codecov.io/docs/fixing-reports [2020-12-16T09:49:17.140Z] + Found adjustments [2020-12-16T09:49:17.140Z] ==> Gzipping contents [2020-12-16T09:49:17.140Z] 20K /tmp/codecov.zRvExC.gz [2020-12-16T09:49:17.140Z] ==> Uploading reports [2020-12-16T09:49:17.140Z] url: https://codecov.io [2020-12-16T09:49:17.140Z] query: branch=PR-401&commit=ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-401%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=401&job=&cmd_args= [2020-12-16T09:49:17.140Z] -> Pinging Codecov [2020-12-16T09:49:17.140Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-401&commit=ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-401%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=401&job=&cmd_args= [2020-12-16T09:49:17.752Z] -> Uploading to [2020-12-16T09:49:17.752Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-16/71470A77251A30514AAF9C0BB2E5B6CE/ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c/a6124b29-5c49-49e7-b45d-f943d65f5a4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201216T094917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7dd6a57186dd3dfbcc12bae2f39260997aa0e16962eb1094aaec26dbbd35c61 [2020-12-16T09:49:17.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-16T09:49:17.752Z] Dload Upload Total Spent Left Speed [2020-12-16T09:49:18.077Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18068 0 0 100 18068 0 32059 --:--:-- --:--:-- --:--:-- 32092 [2020-12-16T09:49:18.077Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/ae38b6791fc4a7d7aec3a0a1998d4a3b9622554c [Pipeline] } [2020-12-16T09:49:18.093Z] 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-16T09:49:20.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:49:21.447Z] ---> package-listing.sh [2020-12-16T09:49:21.447Z] ++ facter osfamily [2020-12-16T09:49:21.447Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-16T09:49:21.447Z] + OS_FAMILY=redhat [2020-12-16T09:49:21.447Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-401 [2020-12-16T09:49:21.447Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-16T09:49:21.447Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-16T09:49:21.447Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-16T09:49:21.447Z] + PACKAGES=/tmp/packages_start.txt [2020-12-16T09:49:21.447Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-401 ']' [2020-12-16T09:49:21.447Z] + PACKAGES=/tmp/packages_end.txt [2020-12-16T09:49:21.447Z] + case "${OS_FAMILY}" in [2020-12-16T09:49:21.447Z] + rpm -qa [2020-12-16T09:49:21.447Z] + sort [2020-12-16T09:49:28.216Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-16T09:49:28.216Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-16T09:49:28.216Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-16T09:49:28.216Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-401 ']' [2020-12-16T09:49:28.216Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-401/archives/ [2020-12-16T09:49:28.216Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-401/archives/ [Pipeline] echo [2020-12-16T09:49:28.250Z] 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-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-16T09:49:28.609Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:49:29.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T09:49:29.522Z] [2020-12-16T09:49:29.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-16T09:49:29.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T09:49:29.949Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-16T09:49:29.949Z] df20fa9351a1: Pulling fs layer [2020-12-16T09:49:29.949Z] 36b3adc4ff6f: Pulling fs layer [2020-12-16T09:49:29.949Z] 8ad3a11d3b57: Pulling fs layer [2020-12-16T09:49:29.949Z] 46f8f816bc3b: Pulling fs layer [2020-12-16T09:49:29.949Z] 93b61091891f: Pulling fs layer [2020-12-16T09:49:29.949Z] 93b9cdb0e59b: Pulling fs layer [2020-12-16T09:49:29.949Z] 5e14af77c1be: Pulling fs layer [2020-12-16T09:49:29.949Z] 01666e4c0597: Pulling fs layer [2020-12-16T09:49:29.949Z] aa168da1d23b: Pulling fs layer [2020-12-16T09:49:29.949Z] 46f8f816bc3b: Waiting [2020-12-16T09:49:29.949Z] 93b61091891f: Waiting [2020-12-16T09:49:29.949Z] 01666e4c0597: Waiting [2020-12-16T09:49:29.949Z] 93b9cdb0e59b: Waiting [2020-12-16T09:49:29.949Z] aa168da1d23b: Waiting [2020-12-16T09:49:29.949Z] 5e14af77c1be: Waiting [2020-12-16T09:49:29.949Z] 36b3adc4ff6f: Download complete [2020-12-16T09:49:30.270Z] 46f8f816bc3b: Download complete [2020-12-16T09:49:30.270Z] df20fa9351a1: Verifying Checksum [2020-12-16T09:49:30.270Z] 93b9cdb0e59b: Verifying Checksum [2020-12-16T09:49:30.270Z] 93b9cdb0e59b: Download complete [2020-12-16T09:49:30.270Z] 5e14af77c1be: Verifying Checksum [2020-12-16T09:49:30.270Z] 5e14af77c1be: Download complete [2020-12-16T09:49:30.562Z] 93b61091891f: Verifying Checksum [2020-12-16T09:49:30.562Z] 93b61091891f: Download complete [2020-12-16T09:49:30.562Z] 01666e4c0597: Verifying Checksum [2020-12-16T09:49:30.562Z] 01666e4c0597: Download complete [2020-12-16T09:49:30.847Z] df20fa9351a1: Pull complete [2020-12-16T09:49:31.163Z] 8ad3a11d3b57: Verifying Checksum [2020-12-16T09:49:31.163Z] 8ad3a11d3b57: Download complete [2020-12-16T09:49:31.163Z] 36b3adc4ff6f: Pull complete [2020-12-16T09:49:32.773Z] 8ad3a11d3b57: Pull complete [2020-12-16T09:49:33.050Z] 46f8f816bc3b: Pull complete [2020-12-16T09:49:34.096Z] 93b61091891f: Pull complete [2020-12-16T09:49:34.378Z] 93b9cdb0e59b: Pull complete [2020-12-16T09:49:34.378Z] 5e14af77c1be: Pull complete [2020-12-16T09:49:34.653Z] 01666e4c0597: Pull complete [2020-12-16T09:49:34.653Z] aa168da1d23b: Verifying Checksum [2020-12-16T09:49:34.653Z] aa168da1d23b: Download complete [2020-12-16T09:49:47.291Z] aa168da1d23b: Pull complete [2020-12-16T09:49:47.291Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-16T09:49:47.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-16T09:49:47.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-16T09:49:47.564Z] prd-centos7-docker-4c-2g-16317 does not seem to be running inside a container [2020-12-16T09:49:47.678Z] $ 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-401/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-401 -v /w/workspace/dry_go-mod-core-contracts_PR-401:/w/workspace/dry_go-mod-core-contracts_PR-401:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-401@tmp:/w/workspace/dry_go-mod-core-contracts_PR-401@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-16T09:49:50.692Z] $ docker top 9d0638a52cf19e0089d1c78d6b62df43a3d6780936eaa3e86f187d06b6df8a57 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-16T09:49:51.376Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-16T09:49:52.057Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-16T09:49:52.441Z] + ls /var/log/sa-host [2020-12-16T09:49:52.441Z] + sadf -c /var/log/sa-host/sa16 [2020-12-16T09:49:52.441Z] file_magic: OK [2020-12-16T09:49:52.441Z] HZ: Using current value: 100 [2020-12-16T09:49:52.441Z] file_header: OK [2020-12-16T09:49:52.441Z] 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-16T09:49:52.441Z] Statistics: [2020-12-16T09:49:52.441Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-16T09:49:52.441Z] File successfully converted to sysstat format version 12.2.1 [2020-12-16T09:49:52.441Z] + sadf -c /var/log/sa-host/sa23 [2020-12-16T09:49:52.441Z] file_magic: OK [2020-12-16T09:49:52.441Z] HZ: Using current value: 100 [2020-12-16T09:49:52.441Z] file_header: OK [2020-12-16T09:49:52.441Z] 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-16T09:49:52.441Z] Statistics: [2020-12-16T09:49:52.441Z] Hnuu...uuuununununu... [2020-12-16T09:49:52.441Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-16T09:49:53.127Z] provisioning config files... [2020-12-16T09:49:53.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-401@tmp/config6940685828124679013tmp [Pipeline] { [Pipeline] echo [2020-12-16T09:49:53.340Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:49:53.755Z] ---> create-netrc.sh [Pipeline] } [2020-12-16T09:49:53.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-16T09:49:53.908Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:49:54.243Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-16T09:49:54.257Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:49:54.943Z] ---> sudo-logs.sh [2020-12-16T09:49:54.943Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-16T09:49:54.958Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:49:55.288Z] ---> job-cost.sh [2020-12-16T09:49:55.573Z] lf-activate-venv: SKIPPING [2020-12-16T09:49:55.573Z] INFO: No Stack... [2020-12-16T09:49:56.542Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-16T09:49:57.124Z] INFO: Archiving Costs [Pipeline] echo [2020-12-16T09:49:57.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-16T09:49:57.466Z] ---> logs-deploy.sh [2020-12-16T09:49:57.467Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-401/5 [2020-12-16T09:49:57.467Z] INFO: archiving workspace using pattern(s): [2020-12-16T09:50:00.986Z] Archives upload complete. [2020-12-16T09:50:00.986Z] INFO: archiving logs to Nexus [2020-12-16T09:50:03.021Z] ---> uname -a: [2020-12-16T09:50:03.021Z] Linux prd-centos7-docker-4c-2g-16317.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-16T09:50:03.021Z] [2020-12-16T09:50:03.021Z]