Pull request #387 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 0affcfc56430e768c687165ff1a452e16e17dae6 rather than 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 Obtained Jenkinsfile from 0affcfc56430e768c687165ff1a452e16e17dae6 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15242 in /w/workspace/dry_go-mod-core-contracts_PR-387 [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-387 # 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 0affcfc56430e768c687165ff1a452e16e17dae6 into PR head commit 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 > 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/387/head:refs/remotes/origin/PR-387 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 Checking out Revision 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 (PR-387) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0affcfc56430e768c687165ff1a452e16e17dae6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 # timeout=10 Commit message: "refactor(meta): Refactor http client helper method" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-09T08:32:31.277Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-09T08:32:31.599Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-09T08:32:31.718Z] ========================================================= [2020-12-09T08:32:31.718Z] EdgeX Global Pipelines Version Info [2020-12-09T08:32:31.718Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 60fe4ce9cb0509fd154ab83dee208fe23bc9bb3c # timeout=10 [2020-12-09T08:32:33.645Z] ------------------- [2020-12-09T08:32:33.645Z] stable info: [2020-12-09T08:32:33.645Z] ------------------- [2020-12-09T08:32:33.645Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-09T08:32:33.645Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-09T08:32:33.645Z] Message: update stable to v1.0.172 [2020-12-09T08:32:35.069Z] ------------------- [2020-12-09T08:32:35.069Z] experimental info: [2020-12-09T08:32:35.069Z] ------------------- [2020-12-09T08:32:35.069Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-09T08:32:35.069Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-09T08:32:35.069Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-09T08:32:35.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-09T08:32:35.625Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-09T08:32:35.722Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-09T08:32:35.815Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-09T08:32:35.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-09T08:32:36.033Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-09T08:32:36.171Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-09T08:32:36.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-09T08:32:36.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-09T08:32:36.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-09T08:32:36.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-09T08:32:36.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-09T08:32:36.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-09T08:32:36.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-09T08:32:37.049Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T08:32:37.143Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T08:32:37.237Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T08:32:37.331Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-09T08:32:37.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-09T08:32:37.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-09T08:32:37.640Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-09T08:32:37.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-09T08:32:37.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-09T08:32:37.952Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-09T08:32:38.047Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-09T08:32:38.143Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-09T08:32:38.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo [2020-12-09T08:32:38.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo [2020-12-09T08:32:38.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo [2020-12-09T08:32:38.570Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [Pipeline] echo [2020-12-09T08:32:38.681Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c2dbee [Pipeline] echo [2020-12-09T08:32:38.775Z] [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-09T08:32:39.495Z] + git log --format=format:%s -1 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [Pipeline] echo [2020-12-09T08:32:39.680Z] GIT_COMMIT: 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6, Commit Message: refactor(meta): Refactor http client helper method [Pipeline] echo [2020-12-09T08:32:39.767Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:32:40.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-09T08:32:40.646Z] [2020-12-09T08:32:40.646Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:32:41.087Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-09T08:32:41.372Z] latest: Pulling from edgex-devops/git-semver [2020-12-09T08:32:41.372Z] 31603596830f: Pulling fs layer [2020-12-09T08:32:41.372Z] 2a8b12db71e7: Pulling fs layer [2020-12-09T08:32:41.372Z] 6ca5941a6612: Pulling fs layer [2020-12-09T08:32:41.372Z] ecc8261a40a4: Pulling fs layer [2020-12-09T08:32:41.372Z] ecc8261a40a4: Waiting [2020-12-09T08:32:41.372Z] 2a8b12db71e7: Verifying Checksum [2020-12-09T08:32:41.372Z] 2a8b12db71e7: Download complete [2020-12-09T08:32:41.651Z] 31603596830f: Verifying Checksum [2020-12-09T08:32:41.651Z] 31603596830f: Download complete [2020-12-09T08:32:41.924Z] ecc8261a40a4: Verifying Checksum [2020-12-09T08:32:41.924Z] ecc8261a40a4: Download complete [2020-12-09T08:32:41.924Z] 6ca5941a6612: Verifying Checksum [2020-12-09T08:32:41.924Z] 6ca5941a6612: Download complete [2020-12-09T08:32:42.534Z] 31603596830f: Pull complete [2020-12-09T08:32:42.534Z] 2a8b12db71e7: Pull complete [2020-12-09T08:32:43.992Z] 6ca5941a6612: Pull complete [2020-12-09T08:32:43.992Z] ecc8261a40a4: Pull complete [2020-12-09T08:32:43.992Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-09T08:32:44.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-09T08:32:44.277Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-09T08:32:44.497Z] prd-centos7-docker-4c-2g-15242 does not seem to be running inside a container [2020-12-09T08:32:44.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-387 -v /w/workspace/dry_go-mod-core-contracts_PR-387:/w/workspace/dry_go-mod-core-contracts_PR-387:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-387@tmp:/w/workspace/dry_go-mod-core-contracts_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-09T08:32:47.573Z] $ docker top 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-09T08:32:48.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-09T08:32:48.087Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-09T08:32:48.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-09T08:32:48.430Z] $ docker exec 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 ssh-agent [2020-12-09T08:32:48.676Z] SSH_AUTH_SOCK=/tmp/ssh-zu74NTqb4ShT/agent.12 [2020-12-09T08:32:48.676Z] SSH_AGENT_PID=18 [2020-12-09T08:32:48.697Z] Running ssh-add (command line suppressed) [2020-12-09T08:32:48.910Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-387@tmp/private_key_6855740050936827873.key (/w/workspace/dry_go-mod-core-contracts_PR-387@tmp/private_key_6855740050936827873.key) [2020-12-09T08:32:48.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-09T08:32:49.370Z] + git tag --points-at HEAD [Pipeline] } [2020-12-09T08:32:49.408Z] $ docker exec --env ******** --env ******** 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 ssh-agent -k [2020-12-09T08:32:49.583Z] unset SSH_AUTH_SOCK; [2020-12-09T08:32:49.583Z] unset SSH_AGENT_PID; [2020-12-09T08:32:49.583Z] echo Agent pid 18 killed; [2020-12-09T08:32:49.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-09T08:32:49.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-09T08:32:49.796Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-09T08:32:50.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-09T08:32:50.138Z] $ docker exec 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 ssh-agent [2020-12-09T08:32:50.460Z] SSH_AUTH_SOCK=/tmp/ssh-jg3MD69ZXQIM/agent.47 [2020-12-09T08:32:50.460Z] SSH_AGENT_PID=53 [2020-12-09T08:32:50.474Z] Running ssh-add (command line suppressed) [2020-12-09T08:32:50.678Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-387@tmp/private_key_938208767250746030.key (/w/workspace/dry_go-mod-core-contracts_PR-387@tmp/private_key_938208767250746030.key) [2020-12-09T08:32:50.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-09T08:32:51.149Z] + git semver init [2020-12-09T08:32:51.149Z] # -> Open(): unable to determine branch for HEAD [2020-12-09T08:32:51.149Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-387/.git [2020-12-09T08:32:51.149Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-387 [2020-12-09T08:32:51.149Z] # $SEMVER_REMOTE_NAME = origin [2020-12-09T08:32:51.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-09T08:32:51.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-09T08:32:51.149Z] # $SEMVER_BRANCH = PR-387 [2020-12-09T08:32:51.149Z] # $SEMVER_TEMP = /tmp/semver-456398075 [2020-12-09T08:32:51.149Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-09T08:32:51.747Z] # '/tmp/semver-456398075' -> '/w/workspace/dry_go-mod-core-contracts_PR-387/.semver' [2020-12-09T08:32:52.016Z] # -> Force: false [2020-12-09T08:32:52.016Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-387/.semver [Pipeline] } [2020-12-09T08:32:52.053Z] $ docker exec --env ******** --env ******** 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 ssh-agent -k [2020-12-09T08:32:52.279Z] unset SSH_AUTH_SOCK; [2020-12-09T08:32:52.280Z] unset SSH_AGENT_PID; [2020-12-09T08:32:52.280Z] echo Agent pid 53 killed; [2020-12-09T08:32:52.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-09T08:32:52.838Z] + git semver [Pipeline] } [2020-12-09T08:32:52.865Z] $ docker stop --time=1 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 [2020-12-09T08:32:54.394Z] $ docker rm -f 4f5c5053583e661ea732d317eb7bc9644b7de8443b3e8f74757518ade332ae14 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-09T08:32:54.955Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-09T08:32:55.787Z] Stashed 1 file(s) [Pipeline] echo [2020-12-09T08:32:55.790Z] [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-09T08:33:11.305Z] Still waiting to schedule task [2020-12-09T08:33:11.305Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-09T08:33:11.308Z] Still waiting to schedule task [2020-12-09T08:33:11.308Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-09T08:35:00.079Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15243 in /w/workspace/dry_go-mod-core-contracts_PR-387 [Pipeline] { [Pipeline] ws [2020-12-09T08:35:00.149Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-09T08:35:05.310Z] using credential edgex-jenkins-ssh [2020-12-09T08:35:05.372Z] Cloning the remote Git repository [2020-12-09T08:35:05.431Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-09T08:35:05.536Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-09T08:35:05.621Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-09T08:35:05.621Z] > git --version # timeout=10 [2020-12-09T08:35:05.641Z] > git --version # 'git version 2.17.1' [2020-12-09T08:35:05.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T08:35:05.700Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T08:35:07.402Z] Merging remotes/origin/master commit 0affcfc56430e768c687165ff1a452e16e17dae6 into PR head commit 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [2020-12-09T08:35:07.671Z] Merge succeeded, producing 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [2020-12-09T08:35:07.672Z] Checking out Revision 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 (PR-387) [2020-12-09T08:35:06.689Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-09T08:35:06.710Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T08:35:06.744Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-09T08:35:06.780Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-09T08:35:06.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T08:35:06.793Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-09T08:35:07.424Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T08:35:07.445Z] > git checkout -f 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 # timeout=10 [2020-12-09T08:35:07.574Z] > git remote # timeout=10 [2020-12-09T08:35:07.597Z] > git config --get remote.origin.url # timeout=10 [2020-12-09T08:35:07.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T08:35:07.631Z] > git merge 0affcfc56430e768c687165ff1a452e16e17dae6 # timeout=10 [2020-12-09T08:35:07.656Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-09T08:35:07.682Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T08:35:07.695Z] > git checkout -f 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 # timeout=10 [2020-12-09T08:35:12.065Z] Commit message: "refactor(meta): Refactor http client helper method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-09T08:35:13.932Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-09T08:35:14.364Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-09T08:35:14.785Z] + sudo service docker restart [2020-12-09T08:35:14.785Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-09T08:35:17.020Z] ========================================================= [2020-12-09T08:35:17.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-09T08:35:17.021Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:35:17.406Z] + 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-09T08:35:18.397Z] Sending build context to Docker daemon 1.929MB [2020-12-09T08:35:18.397Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-09T08:35:18.397Z] Step 2/7 : FROM ${BASE} [2020-12-09T08:35:18.673Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-09T08:35:18.673Z] 5f621e34cdf4: Pulling fs layer [2020-12-09T08:35:18.673Z] a4357932f1b6: Pulling fs layer [2020-12-09T08:35:18.673Z] 18c013af1878: Pulling fs layer [2020-12-09T08:35:18.673Z] 00ac8860ef70: Pulling fs layer [2020-12-09T08:35:18.673Z] 63d7cb157983: Pulling fs layer [2020-12-09T08:35:18.673Z] b116817d02f9: Pulling fs layer [2020-12-09T08:35:18.673Z] 745a02a5169b: Pulling fs layer [2020-12-09T08:35:18.673Z] 00ac8860ef70: Waiting [2020-12-09T08:35:18.673Z] 63d7cb157983: Waiting [2020-12-09T08:35:18.673Z] b116817d02f9: Waiting [2020-12-09T08:35:18.673Z] 745a02a5169b: Waiting [2020-12-09T08:35:18.673Z] 18c013af1878: Download complete [2020-12-09T08:35:18.673Z] a4357932f1b6: Verifying Checksum [2020-12-09T08:35:18.673Z] a4357932f1b6: Download complete [2020-12-09T08:35:18.953Z] 63d7cb157983: Verifying Checksum [2020-12-09T08:35:18.953Z] 63d7cb157983: Download complete [2020-12-09T08:35:18.954Z] b116817d02f9: Verifying Checksum [2020-12-09T08:35:18.954Z] b116817d02f9: Download complete [2020-12-09T08:35:19.229Z] 5f621e34cdf4: Verifying Checksum [2020-12-09T08:35:19.229Z] 5f621e34cdf4: Download complete [2020-12-09T08:35:19.828Z] 5f621e34cdf4: Pull complete [2020-12-09T08:35:20.816Z] a4357932f1b6: Pull complete [2020-12-09T08:35:21.101Z] 18c013af1878: Pull complete [2020-12-09T08:35:21.700Z] 745a02a5169b: Verifying Checksum [2020-12-09T08:35:21.700Z] 745a02a5169b: Download complete [2020-12-09T08:35:22.688Z] 00ac8860ef70: Verifying Checksum [2020-12-09T08:35:22.688Z] 00ac8860ef70: Download complete [2020-12-09T08:35:32.865Z] 00ac8860ef70: Pull complete [2020-12-09T08:35:33.139Z] 63d7cb157983: Pull complete [2020-12-09T08:35:33.417Z] b116817d02f9: Pull complete [2020-12-09T08:35:37.741Z] 745a02a5169b: Pull complete [2020-12-09T08:35:37.741Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-09T08:35:37.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-09T08:35:37.741Z] ---> b7e6874047d6 [2020-12-09T08:35:37.741Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-09T08:35:40.358Z] ---> Running in 6d1f6d28e861 [2020-12-09T08:35:40.632Z] Removing intermediate container 6d1f6d28e861 [2020-12-09T08:35:40.632Z] ---> 3f0e6a010e30 [2020-12-09T08:35:40.632Z] Step 4/7 : RUN apk add bash [2020-12-09T08:35:40.632Z] ---> Running in 6f8e64faab34 [2020-12-09T08:35:42.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-09T08:35:42.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-09T08:35:43.488Z] Running on prd-centos7-docker-4c-2g-15244 in /w/workspace/dry_go-mod-core-contracts_PR-387 [Pipeline] { [Pipeline] ws [2020-12-09T08:35:43.545Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-09T08:35:43.663Z] OK: 142 MiB in 39 packages [2020-12-09T08:35:44.645Z] Removing intermediate container 6f8e64faab34 [2020-12-09T08:35:44.645Z] ---> 419463e0038b [2020-12-09T08:35:44.645Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-09T08:35:44.645Z] ---> Running in efe3aa9086bd [2020-12-09T08:35:45.244Z] Removing intermediate container efe3aa9086bd [2020-12-09T08:35:45.244Z] ---> 3ef7308526d2 [2020-12-09T08:35:45.244Z] Step 6/7 : COPY go.mod . [2020-12-09T08:35:45.844Z] ---> 8db986d1b22f [2020-12-09T08:35:45.844Z] Step 7/7 : RUN go mod download [2020-12-09T08:35:45.862Z] using credential edgex-jenkins-ssh [2020-12-09T08:35:45.918Z] Cloning the remote Git repository [2020-12-09T08:35:46.120Z] ---> Running in 831f722d8b11 [2020-12-09T08:35:45.545Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-09T08:35:45.618Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-09T08:35:45.679Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-09T08:35:45.680Z] > git --version # timeout=10 [2020-12-09T08:35:45.687Z] > git --version # 'git version 2.24.3' [2020-12-09T08:35:45.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T08:35:45.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T08:35:46.418Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-09T08:35:46.432Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-09T08:35:46.446Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-09T08:35:46.463Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-09T08:35:46.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T08:35:46.470Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-09T08:35:47.269Z] Merging remotes/origin/master commit 0affcfc56430e768c687165ff1a452e16e17dae6 into PR head commit 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [2020-12-09T08:35:47.377Z] Merge succeeded, producing 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [2020-12-09T08:35:47.378Z] Checking out Revision 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 (PR-387) [2020-12-09T08:35:46.989Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T08:35:46.993Z] > git checkout -f 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 # timeout=10 [2020-12-09T08:35:47.060Z] > git remote # timeout=10 [2020-12-09T08:35:47.066Z] > git config --get remote.origin.url # timeout=10 [2020-12-09T08:35:47.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-09T08:35:47.077Z] > git merge 0affcfc56430e768c687165ff1a452e16e17dae6 # timeout=10 [2020-12-09T08:35:47.088Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-09T08:35:47.101Z] > git config core.sparsecheckout # timeout=10 [2020-12-09T08:35:47.107Z] > git checkout -f 6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 # timeout=10 [2020-12-09T08:35:50.843Z] Commit message: "refactor(meta): Refactor http client helper method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-09T08:35:52.021Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-09T08:35:52.356Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-09T08:35:52.655Z] + sudo service docker restart [2020-12-09T08:35:52.655Z] + true [2020-12-09T08:35:52.655Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-09T08:35:53.724Z] ========================================================= [2020-12-09T08:35:53.724Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-09T08:35:53.724Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:35:54.066Z] + 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-09T08:35:54.646Z] Sending build context to Docker daemon 1.93MB [2020-12-09T08:35:54.646Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-09T08:35:54.646Z] Step 2/7 : FROM ${BASE} [2020-12-09T08:35:54.646Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-09T08:35:54.646Z] 188c0c94c7c5: Pulling fs layer [2020-12-09T08:35:54.646Z] 0ef7d3d256c8: Pulling fs layer [2020-12-09T08:35:54.646Z] de9db76c5a1d: Pulling fs layer [2020-12-09T08:35:54.646Z] bca2f99d35d6: Pulling fs layer [2020-12-09T08:35:54.646Z] 93359f2a8cfa: Pulling fs layer [2020-12-09T08:35:54.646Z] 7c6f9722023f: Pulling fs layer [2020-12-09T08:35:54.646Z] a35cf1a2eb13: Pulling fs layer [2020-12-09T08:35:54.646Z] 93359f2a8cfa: Waiting [2020-12-09T08:35:54.646Z] 7c6f9722023f: Waiting [2020-12-09T08:35:54.646Z] a35cf1a2eb13: Waiting [2020-12-09T08:35:54.646Z] bca2f99d35d6: Waiting [2020-12-09T08:35:54.646Z] de9db76c5a1d: Download complete [2020-12-09T08:35:54.646Z] 0ef7d3d256c8: Verifying Checksum [2020-12-09T08:35:54.646Z] 0ef7d3d256c8: Download complete [2020-12-09T08:35:54.646Z] 93359f2a8cfa: Verifying Checksum [2020-12-09T08:35:54.646Z] 93359f2a8cfa: Download complete [2020-12-09T08:35:54.646Z] 7c6f9722023f: Verifying Checksum [2020-12-09T08:35:54.646Z] 7c6f9722023f: Download complete [2020-12-09T08:35:54.646Z] 188c0c94c7c5: Verifying Checksum [2020-12-09T08:35:54.646Z] 188c0c94c7c5: Download complete [2020-12-09T08:35:55.221Z] 188c0c94c7c5: Pull complete [2020-12-09T08:35:55.221Z] 0ef7d3d256c8: Pull complete [2020-12-09T08:35:55.484Z] de9db76c5a1d: Pull complete [2020-12-09T08:35:56.434Z] a35cf1a2eb13: Verifying Checksum [2020-12-09T08:35:56.434Z] a35cf1a2eb13: Download complete [2020-12-09T08:35:57.011Z] bca2f99d35d6: Verifying Checksum [2020-12-09T08:35:57.012Z] bca2f99d35d6: Download complete [2020-12-09T08:36:01.258Z] Removing intermediate container 831f722d8b11 [2020-12-09T08:36:01.258Z] ---> ec2c792c3266 [2020-12-09T08:36:01.258Z] Successfully built ec2c792c3266 [2020-12-09T08:36:01.258Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:36:01.608Z] + docker inspect -f . ci-base-image-arm64 [2020-12-09T08:36:01.608Z] . [Pipeline] withDockerContainer [2020-12-09T08:36:01.886Z] prd-ubuntu18.04-docker-arm64-4c-16g-15243 does not seem to be running inside a container [2020-12-09T08:36:01.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-09T08:36:02.344Z] bca2f99d35d6: Pull complete [2020-12-09T08:36:02.345Z] 93359f2a8cfa: Pull complete [2020-12-09T08:36:02.611Z] 7c6f9722023f: Pull complete [2020-12-09T08:36:03.464Z] $ docker top 06626102ddafa0b51b1d1f52e7a6fd09710489ae8bbf98d11fe98fc7343ff52c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T08:36:04.515Z] + go version [2020-12-09T08:36:04.515Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-09T08:36:04.544Z] $ docker stop --time=1 06626102ddafa0b51b1d1f52e7a6fd09710489ae8bbf98d11fe98fc7343ff52c [2020-12-09T08:36:06.479Z] $ docker rm -f 06626102ddafa0b51b1d1f52e7a6fd09710489ae8bbf98d11fe98fc7343ff52c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:36:07.668Z] + docker inspect -f . ci-base-image-arm64 [2020-12-09T08:36:07.668Z] . [Pipeline] withDockerContainer [2020-12-09T08:36:07.924Z] prd-ubuntu18.04-docker-arm64-4c-16g-15243 does not seem to be running inside a container [2020-12-09T08:36:08.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-09T08:36:09.603Z] $ docker top ed171ad5a6f4be76abe32eabbc4fd4eae27e1d3648319ae83c472508fbf31822 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T08:36:10.619Z] + make test [2020-12-09T08:36:10.619Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-09T08:36:10.798Z] a35cf1a2eb13: Pull complete [2020-12-09T08:36:10.798Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-09T08:36:10.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-09T08:36:10.798Z] ---> a62c8e92a672 [2020-12-09T08:36:10.798Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-09T08:36:10.798Z] ---> Running in 5a6271e12f17 [2020-12-09T08:36:10.798Z] Removing intermediate container 5a6271e12f17 [2020-12-09T08:36:10.798Z] ---> 18b3d6e9f454 [2020-12-09T08:36:10.798Z] Step 4/7 : RUN apk add bash [2020-12-09T08:36:10.798Z] ---> Running in 72cf671a223c [2020-12-09T08:36:10.798Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-09T08:36:11.373Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-09T08:36:11.950Z] OK: 166 MiB in 39 packages [2020-12-09T08:36:12.529Z] Removing intermediate container 72cf671a223c [2020-12-09T08:36:12.529Z] ---> 153487f31630 [2020-12-09T08:36:12.529Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-09T08:36:12.529Z] ---> Running in 649b79ff7382 [2020-12-09T08:36:12.529Z] Removing intermediate container 649b79ff7382 [2020-12-09T08:36:12.529Z] ---> 236f4f3a0951 [2020-12-09T08:36:12.529Z] Step 6/7 : COPY go.mod . [2020-12-09T08:36:12.794Z] ---> 7289229acf52 [2020-12-09T08:36:12.794Z] Step 7/7 : RUN go mod download [2020-12-09T08:36:12.794Z] ---> Running in ec555844847d [2020-12-09T08:36:25.081Z] Removing intermediate container ec555844847d [2020-12-09T08:36:25.081Z] ---> 463726d9d92f [2020-12-09T08:36:25.081Z] Successfully built 463726d9d92f [2020-12-09T08:36:25.081Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:36:25.398Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-09T08:36:25.398Z] . [Pipeline] withDockerContainer [2020-12-09T08:36:25.513Z] prd-centos7-docker-4c-2g-15244 does not seem to be running inside a container [2020-12-09T08:36:25.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-09T08:36:26.260Z] $ docker top 7f7b019989bb0579ee223a670afe914246a51c8c815b10ce8cd46b8f2b2023a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T08:36:26.779Z] + go version [2020-12-09T08:36:26.779Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-09T08:36:26.800Z] $ docker stop --time=1 7f7b019989bb0579ee223a670afe914246a51c8c815b10ce8cd46b8f2b2023a9 [2020-12-09T08:36:28.114Z] $ docker rm -f 7f7b019989bb0579ee223a670afe914246a51c8c815b10ce8cd46b8f2b2023a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:36:29.064Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-09T08:36:29.064Z] . [Pipeline] withDockerContainer [2020-12-09T08:36:29.163Z] prd-centos7-docker-4c-2g-15244 does not seem to be running inside a container [2020-12-09T08:36:29.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-09T08:36:29.739Z] $ docker top e9f071a54251463115018b6ff31c04602b0813ea9b90e5da5ca478a82c259357 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T08:36:30.265Z] + make test [2020-12-09T08:36:30.265Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-09T08:36:32.821Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-09T08:36:32.821Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.061s coverage: 85.7% of statements [2020-12-09T08:36:32.821Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.024s coverage: 100.0% of statements [2020-12-09T08:36:34.268Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.046s coverage: 45.4% of statements [2020-12-09T08:36:34.268Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.040s coverage: 77.8% of statements [2020-12-09T08:36:34.268Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-09T08:36:34.268Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.025s coverage: 6.6% of statements [2020-12-09T08:36:36.242Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.031s coverage: 14.7% of statements [2020-12-09T08:36:36.242Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.043s coverage: 100.0% of statements [2020-12-09T08:36:36.951Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-09T08:36:37.222Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.013s coverage: 85.7% of statements [2020-12-09T08:36:37.222Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.034s coverage: 100.0% of statements [2020-12-09T08:36:37.228Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.074s coverage: 91.8% of statements [2020-12-09T08:36:37.228Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-09T08:36:37.229Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-09T08:36:37.229Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.041s coverage: 100.0% of statements [2020-12-09T08:36:37.492Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.035s coverage: 45.4% of statements [2020-12-09T08:36:37.492Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.007s coverage: 77.8% of statements [2020-12-09T08:36:37.492Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-09T08:36:37.760Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.014s coverage: 6.6% of statements [2020-12-09T08:36:38.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.057s coverage: 47.8% of statements [2020-12-09T08:36:38.347Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.050s coverage: 14.7% of statements [2020-12-09T08:36:38.347Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.026s coverage: 100.0% of statements [2020-12-09T08:36:38.347Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.031s coverage: 91.8% of statements [2020-12-09T08:36:38.347Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-09T08:36:38.347Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-09T08:36:38.347Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.017s coverage: 100.0% of statements [2020-12-09T08:36:38.947Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 47.8% of statements [2020-12-09T08:36:40.906Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.047s coverage: 63.0% of statements [2020-12-09T08:36:40.906Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.008s coverage: 26.3% of statements [2020-12-09T08:36:40.906Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.007s coverage: 15.4% of statements [2020-12-09T08:36:40.906Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.022s coverage: 15.4% of statements [2020-12-09T08:36:40.906Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.043s coverage: 14.3% of statements [2020-12-09T08:36:40.906Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-09T08:36:40.906Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.049s coverage: 81.6% of statements [2020-12-09T08:36:40.906Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-09T08:36:40.906Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-09T08:36:41.173Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.009s coverage: 29.9% of statements [2020-12-09T08:36:41.173Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.016s coverage: 100.0% of statements [2020-12-09T08:36:41.435Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.016s coverage: 94.4% of statements [2020-12-09T08:36:41.435Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-12-09T08:36:41.435Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-09T08:36:41.697Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-09T08:36:43.109Z] gofmt -l . [2020-12-09T08:36:43.109Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-09T08:36:43.389Z] $ docker stop --time=1 e9f071a54251463115018b6ff31c04602b0813ea9b90e5da5ca478a82c259357 [2020-12-09T08:36:43.648Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.114s coverage: 63.0% of statements [2020-12-09T08:36:43.648Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.013s coverage: 26.3% of statements [2020-12-09T08:36:43.648Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.041s coverage: 15.4% of statements [2020-12-09T08:36:43.649Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.022s coverage: 15.4% of statements [2020-12-09T08:36:43.649Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.029s coverage: 14.3% of statements [2020-12-09T08:36:43.649Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-09T08:36:43.922Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.099s coverage: 81.6% of statements [2020-12-09T08:36:43.922Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-09T08:36:43.922Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-09T08:36:44.910Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.067s coverage: 29.9% of statements [2020-12-09T08:36:44.910Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.045s coverage: 100.0% of statements [2020-12-09T08:36:45.607Z] $ docker rm -f e9f071a54251463115018b6ff31c04602b0813ea9b90e5da5ca478a82c259357 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-09T08:36:46.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-09T08:36:46.368Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.057s coverage: 94.4% of statements [2020-12-09T08:36:46.368Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements [2020-12-09T08:36:46.368Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-09T08:36:46.626Z] Stashed 1 file(s) [Pipeline] } [2020-12-09T08:36:46.640Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [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-09T08:36:50.955Z] gofmt -l . [2020-12-09T08:36:51.548Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-09T08:36:51.854Z] $ docker stop --time=1 ed171ad5a6f4be76abe32eabbc4fd4eae27e1d3648319ae83c472508fbf31822 [2020-12-09T08:36:54.012Z] $ docker rm -f ed171ad5a6f4be76abe32eabbc4fd4eae27e1d3648319ae83c472508fbf31822 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-09T08:36:54.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-09T08:36:54.928Z] Warning: overwriting stash ‘coverage-report’ [2020-12-09T08:36:55.828Z] 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-09T08:36:57.762Z] provisioning config files... [2020-12-09T08:36:57.784Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-387@tmp/config5485501178905257055tmp [Pipeline] { [Pipeline] sh [2020-12-09T08:36:58.226Z] + set +x [2020-12-09T08:36:58.226Z] + curl -s https://codecov.io/bash [2020-12-09T08:36:58.226Z] + bash -s -- [2020-12-09T08:36:58.504Z] [2020-12-09T08:36:58.504Z] _____ _ [2020-12-09T08:36:58.504Z] / ____| | | [2020-12-09T08:36:58.504Z] | | ___ __| | ___ ___ _____ __ [2020-12-09T08:36:58.504Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-09T08:36:58.504Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-09T08:36:58.504Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-09T08:36:58.504Z] Bash-20201130-cc6d3fe [2020-12-09T08:36:58.504Z] [2020-12-09T08:36:58.504Z] [2020-12-09T08:36:58.504Z] ==> Jenkins CI detected. [2020-12-09T08:36:58.504Z] project root: . [2020-12-09T08:36:58.504Z] --> token set from env [2020-12-09T08:36:58.504Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-09T08:36:58.772Z] ==> Running gcov in . (disable via -X gcov) [2020-12-09T08:36:58.772Z] ==> Python coveragepy not found [2020-12-09T08:36:58.772Z] ==> Searching for coverage reports in: [2020-12-09T08:36:58.772Z] + . [2020-12-09T08:36:58.772Z] -> Found 1 reports [2020-12-09T08:36:58.772Z] ==> Detecting git/mercurial file structure [2020-12-09T08:36:58.772Z] ==> Reading reports [2020-12-09T08:36:58.772Z] + ./coverage.out bytes=107339 [2020-12-09T08:36:58.772Z] ==> Appending adjustments [2020-12-09T08:36:58.772Z] https://docs.codecov.io/docs/fixing-reports [2020-12-09T08:37:00.244Z] + Found adjustments [2020-12-09T08:37:00.244Z] ==> Gzipping contents [2020-12-09T08:37:00.244Z] 20K /tmp/codecov.uAGDvO.gz [2020-12-09T08:37:00.244Z] ==> Uploading reports [2020-12-09T08:37:00.244Z] url: https://codecov.io [2020-12-09T08:37:00.244Z] query: branch=PR-387&commit=6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-387%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=387&job=&cmd_args= [2020-12-09T08:37:00.244Z] -> Pinging Codecov [2020-12-09T08:37:00.244Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-387&commit=6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-387%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=387&job=&cmd_args= [2020-12-09T08:37:00.512Z] -> Uploading to [2020-12-09T08:37:00.512Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-09/71470A77251A30514AAF9C0BB2E5B6CE/6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6/4b5574e5-143b-4d5b-86ae-ade87623f155.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201209%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201209T083700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7fea5de455d9524273e3344c2c84ab64309e564c284821b211713d0492af3463 [2020-12-09T08:37:00.512Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-09T08:37:00.512Z] Dload Upload Total Spent Left Speed [2020-12-09T08:37:01.109Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17437 0 0 100 17437 0 34977 --:--:-- --:--:-- --:--:-- 35014 [2020-12-09T08:37:01.110Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/6c2dbeef54e8ac15df96e16ccbf09899cfc6bff6 [Pipeline] } [2020-12-09T08:37:01.127Z] 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-09T08:37:05.548Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T08:37:06.188Z] ---> package-listing.sh [2020-12-09T08:37:06.188Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-09T08:37:06.188Z] ++ facter osfamily [2020-12-09T08:37:06.472Z] + OS_FAMILY=redhat [2020-12-09T08:37:06.472Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-387 [2020-12-09T08:37:06.472Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-09T08:37:06.472Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-09T08:37:06.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-09T08:37:06.472Z] + PACKAGES=/tmp/packages_start.txt [2020-12-09T08:37:06.472Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-387 ']' [2020-12-09T08:37:06.472Z] + PACKAGES=/tmp/packages_end.txt [2020-12-09T08:37:06.472Z] + case "${OS_FAMILY}" in [2020-12-09T08:37:06.472Z] + rpm -qa [2020-12-09T08:37:06.472Z] + sort [2020-12-09T08:37:13.611Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-09T08:37:13.611Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-09T08:37:13.611Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-09T08:37:13.611Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-387 ']' [2020-12-09T08:37:13.611Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-387/archives/ [2020-12-09T08:37:13.611Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-387/archives/ [Pipeline] echo [2020-12-09T08:37:13.633Z] 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-09T08:37:13.967Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:37:14.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-09T08:37:14.856Z] [2020-12-09T08:37:14.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-09T08:37:15.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-09T08:37:15.593Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-09T08:37:15.593Z] df20fa9351a1: Pulling fs layer [2020-12-09T08:37:15.593Z] 36b3adc4ff6f: Pulling fs layer [2020-12-09T08:37:15.593Z] 8ad3a11d3b57: Pulling fs layer [2020-12-09T08:37:15.593Z] 46f8f816bc3b: Pulling fs layer [2020-12-09T08:37:15.593Z] 93b61091891f: Pulling fs layer [2020-12-09T08:37:15.593Z] 93b9cdb0e59b: Pulling fs layer [2020-12-09T08:37:15.593Z] 5e14af77c1be: Pulling fs layer [2020-12-09T08:37:15.593Z] 01666e4c0597: Pulling fs layer [2020-12-09T08:37:15.593Z] aa168da1d23b: Pulling fs layer [2020-12-09T08:37:15.593Z] 93b9cdb0e59b: Waiting [2020-12-09T08:37:15.593Z] 5e14af77c1be: Waiting [2020-12-09T08:37:15.593Z] 01666e4c0597: Waiting [2020-12-09T08:37:15.593Z] 46f8f816bc3b: Waiting [2020-12-09T08:37:15.593Z] 93b61091891f: Waiting [2020-12-09T08:37:15.593Z] 36b3adc4ff6f: Download complete [2020-12-09T08:37:15.593Z] 46f8f816bc3b: Verifying Checksum [2020-12-09T08:37:15.593Z] 46f8f816bc3b: Download complete [2020-12-09T08:37:15.897Z] df20fa9351a1: Verifying Checksum [2020-12-09T08:37:15.897Z] df20fa9351a1: Download complete [2020-12-09T08:37:15.897Z] 93b9cdb0e59b: Verifying Checksum [2020-12-09T08:37:15.897Z] 93b9cdb0e59b: Download complete [2020-12-09T08:37:15.897Z] 5e14af77c1be: Verifying Checksum [2020-12-09T08:37:15.897Z] 5e14af77c1be: Download complete [2020-12-09T08:37:15.897Z] 01666e4c0597: Verifying Checksum [2020-12-09T08:37:15.897Z] 01666e4c0597: Download complete [2020-12-09T08:37:15.897Z] 93b61091891f: Verifying Checksum [2020-12-09T08:37:15.897Z] 93b61091891f: Download complete [2020-12-09T08:37:16.693Z] 8ad3a11d3b57: Verifying Checksum [2020-12-09T08:37:16.693Z] 8ad3a11d3b57: Download complete [2020-12-09T08:37:16.995Z] df20fa9351a1: Pull complete [2020-12-09T08:37:17.649Z] 36b3adc4ff6f: Pull complete [2020-12-09T08:37:19.192Z] 8ad3a11d3b57: Pull complete [2020-12-09T08:37:19.481Z] 46f8f816bc3b: Pull complete [2020-12-09T08:37:20.597Z] 93b61091891f: Pull complete [2020-12-09T08:37:20.880Z] 93b9cdb0e59b: Pull complete [2020-12-09T08:37:21.159Z] aa168da1d23b: Verifying Checksum [2020-12-09T08:37:21.159Z] aa168da1d23b: Download complete [2020-12-09T08:37:21.434Z] 5e14af77c1be: Pull complete [2020-12-09T08:37:21.716Z] 01666e4c0597: Pull complete [2020-12-09T08:37:34.161Z] aa168da1d23b: Pull complete [2020-12-09T08:37:34.162Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-09T08:37:34.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-09T08:37:34.162Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-09T08:37:34.479Z] prd-centos7-docker-4c-2g-15242 does not seem to be running inside a container [2020-12-09T08:37:34.549Z] $ 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-387/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-387 -v /w/workspace/dry_go-mod-core-contracts_PR-387:/w/workspace/dry_go-mod-core-contracts_PR-387:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-387@tmp:/w/workspace/dry_go-mod-core-contracts_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-09T08:37:37.257Z] $ docker top 2bce6724f34b383adaa8a73c1104ddecdccedda0e34fde007d8b197c98ac6f83 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-09T08:37:37.918Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-09T08:37:38.279Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-09T08:37:38.604Z] + ls /var/log/sa-host [2020-12-09T08:37:38.604Z] + sadf -c /var/log/sa-host/sa09 [2020-12-09T08:37:38.604Z] file_magic: OK [2020-12-09T08:37:38.604Z] HZ: Using current value: 100 [2020-12-09T08:37:38.604Z] file_header: OK [2020-12-09T08:37:38.604Z] 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-09T08:37:38.604Z] Statistics: [2020-12-09T08:37:38.604Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-09T08:37:38.604Z] File successfully converted to sysstat format version 12.2.1 [2020-12-09T08:37:38.604Z] + sadf -c /var/log/sa-host/sa23 [2020-12-09T08:37:38.604Z] file_magic: OK [2020-12-09T08:37:38.604Z] HZ: Using current value: 100 [2020-12-09T08:37:38.604Z] file_header: OK [2020-12-09T08:37:38.604Z] 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-09T08:37:38.604Z] Statistics: [2020-12-09T08:37:38.604Z] Hnuu...uuuununununu... [2020-12-09T08:37:38.604Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-09T08:37:38.849Z] provisioning config files... [2020-12-09T08:37:38.870Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-387@tmp/config2410278028656291815tmp [Pipeline] { [Pipeline] echo [2020-12-09T08:37:38.936Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T08:37:39.252Z] ---> create-netrc.sh [Pipeline] } [2020-12-09T08:37:39.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-09T08:37:39.372Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T08:37:39.711Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-09T08:37:39.745Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T08:37:40.132Z] ---> sudo-logs.sh [2020-12-09T08:37:40.132Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-09T08:37:40.148Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T08:37:40.509Z] ---> job-cost.sh [2020-12-09T08:37:40.509Z] lf-activate-venv: SKIPPING [2020-12-09T08:37:40.509Z] INFO: No Stack... [2020-12-09T08:37:41.493Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-09T08:37:42.076Z] INFO: Archiving Costs [Pipeline] echo [2020-12-09T08:37:42.093Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-09T08:37:42.427Z] ---> logs-deploy.sh [2020-12-09T08:37:42.427Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-387/3 [2020-12-09T08:37:42.427Z] INFO: archiving workspace using pattern(s): [2020-12-09T08:37:45.081Z] Archives upload complete. [2020-12-09T08:37:45.081Z] INFO: archiving logs to Nexus