Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 rather than a0c1ddcade13c0b2038ade0496269c46d70abe34 Obtained Jenkinsfile from 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-20079 in /w/workspace/dry_go-mod-core-contracts_PR-416 [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-416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 into PR head commit a0c1ddcade13c0b2038ade0496269c46d70abe34 Merge succeeded, producing ac5243d5ba866203975b1345a628ba127431b605 Checking out Revision ac5243d5ba866203975b1345a628ba127431b605 (PR-416) > git config core.sparsecheckout # timeout=10 > git checkout -f a0c1ddcade13c0b2038ade0496269c46d70abe34 # 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 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac5243d5ba866203975b1345a628ba127431b605 # timeout=10 Commit message: "Merge commit '7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42' into HEAD" > git rev-list --no-walk a0c1ddcade13c0b2038ade0496269c46d70abe34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-14T00:38:24.300Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-14T00:38:24.576Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-14T00:38:24.691Z] ========================================================= [2021-01-14T00:38:24.691Z] EdgeX Global Pipelines Version Info [2021-01-14T00:38:24.691Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:38:26.317Z] ------------------- [2021-01-14T00:38:26.317Z] stable info: [2021-01-14T00:38:26.317Z] ------------------- [2021-01-14T00:38:26.317Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-14T00:38:26.317Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-14T00:38:26.317Z] Message: update stable to v1.0.177 [2021-01-14T00:38:27.263Z] ------------------- [2021-01-14T00:38:27.263Z] experimental info: [2021-01-14T00:38:27.263Z] ------------------- [2021-01-14T00:38:27.263Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-14T00:38:27.263Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-14T00:38:27.263Z] Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-14T00:38:27.528Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-14T00:38:27.612Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-14T00:38:27.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-14T00:38:27.781Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-14T00:38:27.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-14T00:38:27.965Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-14T00:38:28.046Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-14T00:38:28.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-14T00:38:28.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-14T00:38:28.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-14T00:38:28.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-14T00:38:28.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-14T00:38:28.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-14T00:38:28.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-14T00:38:28.725Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:38:28.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:38:28.889Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:38:28.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:38:29.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-14T00:38:29.153Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-14T00:38:29.241Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-14T00:38:29.328Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-14T00:38:29.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-14T00:38:29.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-14T00:38:29.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-14T00:38:29.709Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-14T00:38:29.797Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-14T00:38:29.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo [2021-01-14T00:38:29.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo [2021-01-14T00:38:30.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo [2021-01-14T00:38:30.217Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac5243d5ba866203975b1345a628ba127431b605 [Pipeline] echo [2021-01-14T00:38:30.310Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac5243d [Pipeline] echo [2021-01-14T00:38:30.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-14T00:38:31.206Z] + git log --format=format:%s -1 ac5243d5ba866203975b1345a628ba127431b605 [Pipeline] echo [2021-01-14T00:38:31.272Z] GIT_COMMIT: ac5243d5ba866203975b1345a628ba127431b605, Commit Message: Merge commit '7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42' into HEAD [Pipeline] echo [2021-01-14T00:38:31.316Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:38:32.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:38:32.616Z] [2021-01-14T00:38:32.616Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:38:33.055Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:38:33.055Z] latest: Pulling from edgex-devops/git-semver [2021-01-14T00:38:33.055Z] 31603596830f: Pulling fs layer [2021-01-14T00:38:33.055Z] 2a8b12db71e7: Pulling fs layer [2021-01-14T00:38:33.055Z] 6ca5941a6612: Pulling fs layer [2021-01-14T00:38:33.055Z] ecc8261a40a4: Pulling fs layer [2021-01-14T00:38:33.055Z] ecc8261a40a4: Waiting [2021-01-14T00:38:33.055Z] 2a8b12db71e7: Verifying Checksum [2021-01-14T00:38:33.055Z] 2a8b12db71e7: Download complete [2021-01-14T00:38:33.329Z] 31603596830f: Verifying Checksum [2021-01-14T00:38:33.329Z] 31603596830f: Download complete [2021-01-14T00:38:33.329Z] 6ca5941a6612: Verifying Checksum [2021-01-14T00:38:33.329Z] 6ca5941a6612: Download complete [2021-01-14T00:38:33.329Z] ecc8261a40a4: Verifying Checksum [2021-01-14T00:38:33.329Z] ecc8261a40a4: Download complete [2021-01-14T00:38:33.596Z] 31603596830f: Pull complete [2021-01-14T00:38:33.858Z] 2a8b12db71e7: Pull complete [2021-01-14T00:38:34.818Z] 6ca5941a6612: Pull complete [2021-01-14T00:38:35.080Z] ecc8261a40a4: Pull complete [2021-01-14T00:38:35.080Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-14T00:38:35.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:38:35.080Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-14T00:38:35.194Z] prd-centos7-docker-4c-2g-20079 does not seem to be running inside a container [2021-01-14T00:38:35.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-416 -v /w/workspace/dry_go-mod-core-contracts_PR-416:/w/workspace/dry_go-mod-core-contracts_PR-416:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-416@tmp:/w/workspace/dry_go-mod-core-contracts_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-14T00:38:38.334Z] $ docker top 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-14T00:38:38.764Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-14T00:38:38.764Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-14T00:38:39.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-14T00:38:39.077Z] $ docker exec 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 ssh-agent [2021-01-14T00:38:39.268Z] SSH_AUTH_SOCK=/tmp/ssh-T7guRNc6wV8u/agent.11 [2021-01-14T00:38:39.268Z] SSH_AGENT_PID=16 [2021-01-14T00:38:39.285Z] Running ssh-add (command line suppressed) [2021-01-14T00:38:39.422Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-416@tmp/private_key_6929604798375815487.key (/w/workspace/dry_go-mod-core-contracts_PR-416@tmp/private_key_6929604798375815487.key) [2021-01-14T00:38:39.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-14T00:38:39.830Z] + git tag --points-at HEAD [Pipeline] } [2021-01-14T00:38:39.942Z] $ docker exec --env ******** --env ******** 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 ssh-agent -k [2021-01-14T00:38:40.126Z] unset SSH_AUTH_SOCK; [2021-01-14T00:38:40.126Z] unset SSH_AGENT_PID; [2021-01-14T00:38:40.126Z] echo Agent pid 16 killed; [2021-01-14T00:38:40.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-14T00:38:40.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-14T00:38:40.396Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-14T00:38:40.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-14T00:38:40.582Z] $ docker exec 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 ssh-agent [2021-01-14T00:38:40.766Z] SSH_AUTH_SOCK=/tmp/ssh-5yIAAN9HhXRa/agent.46 [2021-01-14T00:38:40.767Z] SSH_AGENT_PID=52 [2021-01-14T00:38:40.776Z] Running ssh-add (command line suppressed) [2021-01-14T00:38:40.915Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-416@tmp/private_key_4394811522324848976.key (/w/workspace/dry_go-mod-core-contracts_PR-416@tmp/private_key_4394811522324848976.key) [2021-01-14T00:38:40.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-14T00:38:41.372Z] + git semver init [2021-01-14T00:38:41.372Z] # -> Open(): unable to determine branch for HEAD [2021-01-14T00:38:41.373Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-416/.git [2021-01-14T00:38:41.373Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-416 [2021-01-14T00:38:41.373Z] # $SEMVER_REMOTE_NAME = origin [2021-01-14T00:38:41.373Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-14T00:38:41.373Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-14T00:38:41.373Z] # $SEMVER_BRANCH = PR-416 [2021-01-14T00:38:41.373Z] # $SEMVER_TEMP = /tmp/semver-937035872 [2021-01-14T00:38:41.373Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-14T00:38:41.951Z] # '/tmp/semver-937035872' -> '/w/workspace/dry_go-mod-core-contracts_PR-416/.semver' [2021-01-14T00:38:41.951Z] # -> Force: false [2021-01-14T00:38:41.951Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-416/.semver [Pipeline] } [2021-01-14T00:38:41.967Z] $ docker exec --env ******** --env ******** 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 ssh-agent -k [2021-01-14T00:38:42.114Z] unset SSH_AUTH_SOCK; [2021-01-14T00:38:42.114Z] unset SSH_AGENT_PID; [2021-01-14T00:38:42.114Z] echo Agent pid 52 killed; [2021-01-14T00:38:42.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-14T00:38:42.733Z] + git semver [Pipeline] } [2021-01-14T00:38:42.774Z] $ docker stop --time=1 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 [2021-01-14T00:38:44.643Z] $ docker rm -f 998e62be6e00eae29775b50c490360dede56de6736b1f6fde2b96551cb037f52 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-14T00:38:45.122Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-14T00:38:45.592Z] Stashed 1 file(s) [Pipeline] echo [2021-01-14T00:38:45.595Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-14T00:39:01.063Z] Still waiting to schedule task [2021-01-14T00:39:01.064Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-14T00:39:01.067Z] Still waiting to schedule task [2021-01-14T00:39:01.067Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-14T00:42:29.698Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20087 in /w/workspace/dry_go-mod-core-contracts_PR-416 [Pipeline] { [Pipeline] ws [2021-01-14T00:42:29.760Z] Running in /w/workspace/go-mod-core-contracts/10 [Pipeline] { [Pipeline] checkout [2021-01-14T00:42:35.481Z] using credential edgex-jenkins-ssh [2021-01-14T00:42:35.539Z] Cloning the remote Git repository [2021-01-14T00:42:35.618Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-14T00:42:35.736Z] > git init /w/workspace/go-mod-core-contracts/10 # timeout=10 [2021-01-14T00:42:35.829Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-14T00:42:35.830Z] > git --version # timeout=10 [2021-01-14T00:42:35.852Z] > git --version # 'git version 2.17.1' [2021-01-14T00:42:35.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:42:35.934Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:42:37.062Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-14T00:42:37.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:42:37.129Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-14T00:42:37.174Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-14T00:42:37.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:42:37.192Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-14T00:42:37.882Z] Merging remotes/origin/master commit 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 into PR head commit a0c1ddcade13c0b2038ade0496269c46d70abe34 [2021-01-14T00:42:38.496Z] Merge succeeded, producing 817f06766b8a98d98ba065bda5d3e5ae568897db [2021-01-14T00:42:38.497Z] Checking out Revision 817f06766b8a98d98ba065bda5d3e5ae568897db (PR-416) [2021-01-14T00:42:37.918Z] > git config core.sparsecheckout # timeout=10 [2021-01-14T00:42:37.938Z] > git checkout -f a0c1ddcade13c0b2038ade0496269c46d70abe34 # timeout=10 [2021-01-14T00:42:38.206Z] > git remote # timeout=10 [2021-01-14T00:42:38.238Z] > git config --get remote.origin.url # timeout=10 [2021-01-14T00:42:38.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:42:38.282Z] > git merge 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 # timeout=10 [2021-01-14T00:42:38.485Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-14T00:42:38.516Z] > git config core.sparsecheckout # timeout=10 [2021-01-14T00:42:38.533Z] > git checkout -f 817f06766b8a98d98ba065bda5d3e5ae568897db # timeout=10 [2021-01-14T00:42:43.100Z] Commit message: "Merge commit '7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42' into HEAD" [2021-01-14T00:42:43.118Z] > git rev-list --no-walk a0c1ddcade13c0b2038ade0496269c46d70abe34 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-14T00:42:44.729Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:42:45.143Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:42:45.492Z] + sudo service docker restart [2021-01-14T00:42:45.492Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-14T00:42:47.784Z] ========================================================= [2021-01-14T00:42:47.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-14T00:42:47.784Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:42:48.192Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-14T00:42:49.184Z] Sending build context to Docker daemon 2.217MB [2021-01-14T00:42:49.184Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-14T00:42:49.184Z] Step 2/7 : FROM ${BASE} [2021-01-14T00:42:49.783Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-14T00:42:49.783Z] 5f621e34cdf4: Pulling fs layer [2021-01-14T00:42:49.783Z] a4357932f1b6: Pulling fs layer [2021-01-14T00:42:49.783Z] 18c013af1878: Pulling fs layer [2021-01-14T00:42:49.784Z] 00ac8860ef70: Pulling fs layer [2021-01-14T00:42:49.784Z] 63d7cb157983: Pulling fs layer [2021-01-14T00:42:49.784Z] b116817d02f9: Pulling fs layer [2021-01-14T00:42:49.784Z] 745a02a5169b: Pulling fs layer [2021-01-14T00:42:49.784Z] 00ac8860ef70: Waiting [2021-01-14T00:42:49.784Z] 63d7cb157983: Waiting [2021-01-14T00:42:49.784Z] b116817d02f9: Waiting [2021-01-14T00:42:49.784Z] 745a02a5169b: Waiting [2021-01-14T00:42:49.784Z] 18c013af1878: Verifying Checksum [2021-01-14T00:42:49.784Z] 18c013af1878: Download complete [2021-01-14T00:42:49.784Z] a4357932f1b6: Download complete [2021-01-14T00:42:49.784Z] 63d7cb157983: Verifying Checksum [2021-01-14T00:42:49.784Z] 63d7cb157983: Download complete [2021-01-14T00:42:49.784Z] b116817d02f9: Download complete [2021-01-14T00:42:50.076Z] 5f621e34cdf4: Verifying Checksum [2021-01-14T00:42:50.076Z] 5f621e34cdf4: Download complete [2021-01-14T00:42:50.679Z] 5f621e34cdf4: Pull complete [2021-01-14T00:42:51.278Z] a4357932f1b6: Pull complete [2021-01-14T00:42:51.876Z] 18c013af1878: Pull complete [2021-01-14T00:42:53.339Z] 745a02a5169b: Download complete [2021-01-14T00:42:54.774Z] 00ac8860ef70: Verifying Checksum [2021-01-14T00:42:54.774Z] 00ac8860ef70: Download complete [2021-01-14T00:43:04.967Z] 00ac8860ef70: Pull complete [2021-01-14T00:43:04.967Z] 63d7cb157983: Pull complete [2021-01-14T00:43:04.967Z] b116817d02f9: Pull complete [2021-01-14T00:43:08.354Z] 745a02a5169b: Pull complete [2021-01-14T00:43:08.354Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-14T00:43:08.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-14T00:43:08.354Z] ---> b7e6874047d6 [2021-01-14T00:43:08.354Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-14T00:43:11.772Z] ---> Running in 9f7c9596b1e5 [2021-01-14T00:43:11.772Z] Removing intermediate container 9f7c9596b1e5 [2021-01-14T00:43:11.772Z] ---> 6218651abaee [2021-01-14T00:43:11.772Z] Step 4/7 : RUN apk add bash [2021-01-14T00:43:12.049Z] ---> Running in 39680a369598 [2021-01-14T00:43:13.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-14T00:43:14.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-14T00:43:15.519Z] OK: 142 MiB in 39 packages [2021-01-14T00:43:16.993Z] Removing intermediate container 39680a369598 [2021-01-14T00:43:16.993Z] ---> f7473e2d0a13 [2021-01-14T00:43:16.993Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-14T00:43:16.993Z] ---> Running in 084cbac5a2be [2021-01-14T00:43:17.602Z] Removing intermediate container 084cbac5a2be [2021-01-14T00:43:17.602Z] ---> 099edc3ca661 [2021-01-14T00:43:17.602Z] Step 6/7 : COPY go.mod . [2021-01-14T00:43:18.213Z] ---> 0eb66004702b [2021-01-14T00:43:18.213Z] Step 7/7 : RUN go mod download [2021-01-14T00:43:18.491Z] ---> Running in ce62041fd214 [2021-01-14T00:43:33.630Z] Removing intermediate container ce62041fd214 [2021-01-14T00:43:33.630Z] ---> 6b3e58e35dc9 [2021-01-14T00:43:33.630Z] Successfully built 6b3e58e35dc9 [2021-01-14T00:43:33.630Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:43:33.975Z] + docker inspect -f . ci-base-image-arm64 [2021-01-14T00:43:33.976Z] . [Pipeline] withDockerContainer [2021-01-14T00:43:34.214Z] prd-ubuntu18.04-docker-arm64-4c-16g-20087 does not seem to be running inside a container [2021-01-14T00:43:34.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-14T00:43:35.688Z] $ docker top 0b5bbf80e6da10c60fb468029d01184736fab92c5643471759513da69a80c7c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:43:36.683Z] + go version [2021-01-14T00:43:36.683Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-14T00:43:36.709Z] $ docker stop --time=1 0b5bbf80e6da10c60fb468029d01184736fab92c5643471759513da69a80c7c7 [2021-01-14T00:43:38.684Z] $ docker rm -f 0b5bbf80e6da10c60fb468029d01184736fab92c5643471759513da69a80c7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:43:39.649Z] + docker inspect -f . ci-base-image-arm64 [2021-01-14T00:43:39.650Z] . [Pipeline] withDockerContainer [2021-01-14T00:43:39.880Z] prd-ubuntu18.04-docker-arm64-4c-16g-20087 does not seem to be running inside a container [2021-01-14T00:43:39.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-14T00:43:41.326Z] $ docker top 6cf19016ff2c485634ac3e4e10b6a550ff1270fe0fb8ee78d3ce84b914d231c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:43:42.302Z] + make test [2021-01-14T00:43:42.302Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-14T00:43:57.207Z] Running on prd-centos7-docker-4c-2g-20093 in /w/workspace/dry_go-mod-core-contracts_PR-416 [Pipeline] { [Pipeline] ws [2021-01-14T00:43:57.256Z] Running in /w/workspace/go-mod-core-contracts/10 [Pipeline] { [Pipeline] checkout [2021-01-14T00:43:59.626Z] using credential edgex-jenkins-ssh [2021-01-14T00:43:59.678Z] Cloning the remote Git repository [2021-01-14T00:43:59.552Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-14T00:43:59.626Z] > git init /w/workspace/go-mod-core-contracts/10 # timeout=10 [2021-01-14T00:43:59.691Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-14T00:43:59.691Z] > git --version # timeout=10 [2021-01-14T00:43:59.699Z] > git --version # 'git version 2.24.3' [2021-01-14T00:43:59.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:43:59.739Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:44:01.338Z] Merging remotes/origin/master commit 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 into PR head commit a0c1ddcade13c0b2038ade0496269c46d70abe34 [2021-01-14T00:44:01.484Z] Merge succeeded, producing 55b3103186921274e450ee2cc0f894476b84ca57 [2021-01-14T00:44:01.485Z] Checking out Revision 55b3103186921274e450ee2cc0f894476b84ca57 (PR-416) [2021-01-14T00:44:00.540Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-14T00:44:00.550Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:44:00.563Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-14T00:44:00.581Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-14T00:44:00.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:44:00.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-14T00:44:01.327Z] > git config core.sparsecheckout # timeout=10 [2021-01-14T00:44:01.332Z] > git checkout -f a0c1ddcade13c0b2038ade0496269c46d70abe34 # timeout=10 [2021-01-14T00:44:01.409Z] > git remote # timeout=10 [2021-01-14T00:44:01.416Z] > git config --get remote.origin.url # timeout=10 [2021-01-14T00:44:01.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:44:01.425Z] > git merge 7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42 # timeout=10 [2021-01-14T00:44:01.465Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-14T00:44:01.474Z] > git config core.sparsecheckout # timeout=10 [2021-01-14T00:44:01.481Z] > git checkout -f 55b3103186921274e450ee2cc0f894476b84ca57 # timeout=10 [2021-01-14T00:44:05.220Z] Commit message: "Merge commit '7c6cfcc552c7b9bf6bb57adcfe393d54d04dae42' into HEAD" [2021-01-14T00:44:05.225Z] > git rev-list --no-walk a0c1ddcade13c0b2038ade0496269c46d70abe34 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-14T00:44:06.429Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:44:06.766Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:44:07.076Z] + sudo service docker restart [2021-01-14T00:44:07.076Z] + true [2021-01-14T00:44:07.076Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [2021-01-14T00:44:09.171Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-14T00:44:09.171Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.042s coverage: 85.7% of statements [2021-01-14T00:44:09.171Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.045s coverage: 100.0% of statements [Pipeline] echo [2021-01-14T00:44:09.327Z] ========================================================= [2021-01-14T00:44:09.327Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-14T00:44:09.327Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:44:09.676Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-14T00:44:10.176Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.055s coverage: 45.4% of statements [2021-01-14T00:44:10.176Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.020s coverage: 77.8% of statements [2021-01-14T00:44:10.176Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-14T00:44:10.257Z] Sending build context to Docker daemon 2.218MB [2021-01-14T00:44:10.257Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-14T00:44:10.257Z] Step 2/7 : FROM ${BASE} [2021-01-14T00:44:10.257Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-14T00:44:10.257Z] 188c0c94c7c5: Pulling fs layer [2021-01-14T00:44:10.257Z] 0ef7d3d256c8: Pulling fs layer [2021-01-14T00:44:10.257Z] de9db76c5a1d: Pulling fs layer [2021-01-14T00:44:10.257Z] bca2f99d35d6: Pulling fs layer [2021-01-14T00:44:10.257Z] 93359f2a8cfa: Pulling fs layer [2021-01-14T00:44:10.257Z] 7c6f9722023f: Pulling fs layer [2021-01-14T00:44:10.257Z] a35cf1a2eb13: Pulling fs layer [2021-01-14T00:44:10.257Z] 93359f2a8cfa: Waiting [2021-01-14T00:44:10.257Z] 7c6f9722023f: Waiting [2021-01-14T00:44:10.257Z] bca2f99d35d6: Waiting [2021-01-14T00:44:10.257Z] a35cf1a2eb13: Waiting [2021-01-14T00:44:10.257Z] de9db76c5a1d: Verifying Checksum [2021-01-14T00:44:10.257Z] de9db76c5a1d: Download complete [2021-01-14T00:44:10.257Z] 0ef7d3d256c8: Verifying Checksum [2021-01-14T00:44:10.257Z] 0ef7d3d256c8: Download complete [2021-01-14T00:44:10.257Z] 93359f2a8cfa: Verifying Checksum [2021-01-14T00:44:10.257Z] 93359f2a8cfa: Download complete [2021-01-14T00:44:10.257Z] 7c6f9722023f: Verifying Checksum [2021-01-14T00:44:10.257Z] 7c6f9722023f: Download complete [2021-01-14T00:44:10.257Z] 188c0c94c7c5: Verifying Checksum [2021-01-14T00:44:10.257Z] 188c0c94c7c5: Download complete [2021-01-14T00:44:10.789Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.028s coverage: 26.3% of statements [2021-01-14T00:44:10.842Z] 188c0c94c7c5: Pull complete [2021-01-14T00:44:10.842Z] 0ef7d3d256c8: Pull complete [2021-01-14T00:44:11.108Z] de9db76c5a1d: Pull complete [2021-01-14T00:44:12.061Z] a35cf1a2eb13: Verifying Checksum [2021-01-14T00:44:12.061Z] a35cf1a2eb13: Download complete [2021-01-14T00:44:12.639Z] bca2f99d35d6: Verifying Checksum [2021-01-14T00:44:12.640Z] bca2f99d35d6: Download complete [2021-01-14T00:44:12.782Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.057s coverage: 14.7% of statements [2021-01-14T00:44:12.782Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.029s coverage: 100.0% of statements [2021-01-14T00:44:13.779Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.063s coverage: 91.8% of statements [2021-01-14T00:44:13.779Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-14T00:44:13.779Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-14T00:44:13.779Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.038s coverage: 100.0% of statements [2021-01-14T00:44:13.779Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.029s coverage: 47.8% of statements [2021-01-14T00:44:17.964Z] bca2f99d35d6: Pull complete [2021-01-14T00:44:17.964Z] 93359f2a8cfa: Pull complete [2021-01-14T00:44:17.964Z] 7c6f9722023f: Pull complete [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.108s coverage: 63.0% of statements [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.020s coverage: 26.3% of statements [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.027s coverage: 15.4% of statements [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.019s coverage: 15.4% of statements [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.038s coverage: 14.3% of statements [2021-01-14T00:44:22.103Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.204s coverage: 85.2% of statements [2021-01-14T00:44:22.103Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-14T00:44:22.103Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-14T00:44:22.103Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.064s coverage: 44.1% of statements [2021-01-14T00:44:22.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.066s coverage: 94.4% of statements [2021-01-14T00:44:24.692Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.152s coverage: 92.9% of statements [2021-01-14T00:44:24.692Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.026s coverage: 100.0% of statements [2021-01-14T00:44:24.692Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-14T00:44:24.969Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-14T00:44:26.151Z] a35cf1a2eb13: Pull complete [2021-01-14T00:44:26.152Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-14T00:44:26.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-14T00:44:26.152Z] ---> a62c8e92a672 [2021-01-14T00:44:26.152Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-14T00:44:26.152Z] ---> Running in 7766cde33c61 [2021-01-14T00:44:26.152Z] Removing intermediate container 7766cde33c61 [2021-01-14T00:44:26.152Z] ---> 3db3f4815360 [2021-01-14T00:44:26.152Z] Step 4/7 : RUN apk add bash [2021-01-14T00:44:26.152Z] ---> Running in 84a7704b71b7 [2021-01-14T00:44:26.728Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-14T00:44:27.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-14T00:44:27.889Z] OK: 166 MiB in 39 packages [2021-01-14T00:44:28.469Z] Removing intermediate container 84a7704b71b7 [2021-01-14T00:44:28.469Z] ---> a5f95792aa8f [2021-01-14T00:44:28.469Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-14T00:44:28.469Z] ---> Running in 8bd54751a6c4 [2021-01-14T00:44:28.731Z] Removing intermediate container 8bd54751a6c4 [2021-01-14T00:44:28.731Z] ---> 610e0c4f1131 [2021-01-14T00:44:28.731Z] Step 6/7 : COPY go.mod . [2021-01-14T00:44:28.996Z] ---> 5d8b6161912a [2021-01-14T00:44:28.996Z] Step 7/7 : RUN go mod download [2021-01-14T00:44:28.996Z] ---> Running in d625776fe9ed [2021-01-14T00:44:30.390Z] gofmt -l . [2021-01-14T00:44:31.365Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-14T00:44:31.989Z] $ docker stop --time=1 6cf19016ff2c485634ac3e4e10b6a550ff1270fe0fb8ee78d3ce84b914d231c0 [2021-01-14T00:44:34.379Z] $ docker rm -f 6cf19016ff2c485634ac3e4e10b6a550ff1270fe0fb8ee78d3ce84b914d231c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-14T00:44:35.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-14T00:44:36.576Z] 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] } [2021-01-14T00:44:41.296Z] Removing intermediate container d625776fe9ed [2021-01-14T00:44:41.296Z] ---> 2fe78776e93f [2021-01-14T00:44:41.296Z] Successfully built 2fe78776e93f [2021-01-14T00:44:41.296Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:44:41.618Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-14T00:44:41.618Z] . [Pipeline] withDockerContainer [2021-01-14T00:44:41.728Z] prd-centos7-docker-4c-2g-20093 does not seem to be running inside a container [2021-01-14T00:44:41.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-14T00:44:42.566Z] $ docker top d98ce9fcd8690c8e1c756ac8f6a10494f10b556742134537c3cbc53681156fcb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:44:43.101Z] + go version [2021-01-14T00:44:43.101Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-14T00:44:43.117Z] $ docker stop --time=1 d98ce9fcd8690c8e1c756ac8f6a10494f10b556742134537c3cbc53681156fcb [2021-01-14T00:44:44.479Z] $ docker rm -f d98ce9fcd8690c8e1c756ac8f6a10494f10b556742134537c3cbc53681156fcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:44:45.337Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-14T00:44:45.337Z] . [Pipeline] withDockerContainer [2021-01-14T00:44:45.433Z] prd-centos7-docker-4c-2g-20093 does not seem to be running inside a container [2021-01-14T00:44:45.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-14T00:44:46.172Z] $ docker top 5a86222b17b21f3ca1ba81fd8ed518291e26d61c4502bbc17a2b587efb290a26 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:44:46.658Z] + make test [2021-01-14T00:44:46.658Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-14T00:44:53.347Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-14T00:44:53.622Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.024s coverage: 85.7% of statements [2021-01-14T00:44:53.899Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.025s coverage: 100.0% of statements [2021-01-14T00:44:54.168Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.016s coverage: 45.4% of statements [2021-01-14T00:44:54.168Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.032s coverage: 77.8% of statements [2021-01-14T00:44:54.168Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-14T00:44:55.143Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.025s coverage: 26.3% of statements [2021-01-14T00:44:55.143Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.026s coverage: 14.7% of statements [2021-01-14T00:44:55.143Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.011s coverage: 100.0% of statements [2021-01-14T00:44:55.732Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.024s coverage: 91.8% of statements [2021-01-14T00:44:55.732Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-14T00:44:55.732Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-14T00:44:55.732Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.016s coverage: 100.0% of statements [2021-01-14T00:44:55.732Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.005s coverage: 47.8% of statements [2021-01-14T00:44:57.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.024s coverage: 63.0% of statements [2021-01-14T00:44:57.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.008s coverage: 26.3% of statements [2021-01-14T00:44:57.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.005s coverage: 15.4% of statements [2021-01-14T00:44:57.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.010s coverage: 15.4% of statements [2021-01-14T00:44:57.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.018s coverage: 14.3% of statements [2021-01-14T00:44:57.705Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-14T00:44:58.674Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.057s coverage: 85.2% of statements [2021-01-14T00:44:58.674Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-14T00:44:58.674Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-14T00:44:58.674Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.014s coverage: 44.1% of statements [2021-01-14T00:44:58.674Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.022s coverage: 94.4% of statements [2021-01-14T00:44:58.674Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.030s coverage: 92.9% of statements [2021-01-14T00:44:58.937Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-01-14T00:44:58.937Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-14T00:44:58.937Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-14T00:45:00.884Z] gofmt -l . [2021-01-14T00:45:00.884Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-14T00:45:00.906Z] $ docker stop --time=1 5a86222b17b21f3ca1ba81fd8ed518291e26d61c4502bbc17a2b587efb290a26 [2021-01-14T00:45:03.264Z] $ docker rm -f 5a86222b17b21f3ca1ba81fd8ed518291e26d61c4502bbc17a2b587efb290a26 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-14T00:45:03.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-14T00:45:03.982Z] Warning: overwriting stash ‘coverage-report’ [2021-01-14T00:45:04.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-14T00:45:06.279Z] provisioning config files... [2021-01-14T00:45:06.294Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-416@tmp/config939724487377294685tmp [Pipeline] { [Pipeline] sh [2021-01-14T00:45:06.678Z] + set +x [2021-01-14T00:45:06.678Z] + curl -s https://codecov.io/bash [2021-01-14T00:45:06.678Z] + bash -s -- [2021-01-14T00:45:06.946Z] [2021-01-14T00:45:06.946Z] _____ _ [2021-01-14T00:45:06.946Z] / ____| | | [2021-01-14T00:45:06.946Z] | | ___ __| | ___ ___ _____ __ [2021-01-14T00:45:06.946Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-14T00:45:06.946Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-14T00:45:06.946Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-14T00:45:06.946Z] Bash-20201231-23d4836 [2021-01-14T00:45:06.946Z] [2021-01-14T00:45:06.946Z] [2021-01-14T00:45:06.946Z] ==> git version 2.24.3 found [2021-01-14T00:45:06.946Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-14T00:45:06.946Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-14T00:45:06.946Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-14T00:45:06.946Z] ==> Jenkins CI detected. [2021-01-14T00:45:06.946Z] project root: . [2021-01-14T00:45:06.946Z] --> token set from env [2021-01-14T00:45:06.946Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-14T00:45:06.946Z] ==> Running gcov in . (disable via -X gcov) [2021-01-14T00:45:06.946Z] ==> Python coveragepy not found [2021-01-14T00:45:06.946Z] ==> Searching for coverage reports in: [2021-01-14T00:45:06.946Z] + . [2021-01-14T00:45:06.946Z] -> Found 1 reports [2021-01-14T00:45:06.946Z] ==> Detecting git/mercurial file structure [2021-01-14T00:45:06.946Z] ==> Reading reports [2021-01-14T00:45:06.946Z] + ./coverage.out bytes=123199 [2021-01-14T00:45:06.946Z] ==> Appending adjustments [2021-01-14T00:45:06.946Z] https://docs.codecov.io/docs/fixing-reports [2021-01-14T00:45:07.896Z] + Found adjustments [2021-01-14T00:45:07.896Z] ==> Gzipping contents [2021-01-14T00:45:07.896Z] 20K /tmp/codecov.7IQtxx.gz [2021-01-14T00:45:07.896Z] ==> Uploading reports [2021-01-14T00:45:07.896Z] url: https://codecov.io [2021-01-14T00:45:07.896Z] query: branch=PR-416&commit=ac5243d5ba866203975b1345a628ba127431b605&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-416%2F10%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=416&job=&cmd_args= [2021-01-14T00:45:07.896Z] -> Pinging Codecov [2021-01-14T00:45:07.896Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-416&commit=ac5243d5ba866203975b1345a628ba127431b605&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-416%2F10%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=416&job=&cmd_args= [2021-01-14T00:45:08.473Z] -> Uploading to [2021-01-14T00:45:08.474Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-14/71470A77251A30514AAF9C0BB2E5B6CE/ac5243d5ba866203975b1345a628ba127431b605/734d88c8-5b0d-4f0f-b7d4-fc595cf32377.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210114T004508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5adf3cd87138018df0ac54d26ee5e4ce19b79cd7a27f78d19fd1edc4420cbed5 [2021-01-14T00:45:08.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-14T00:45:08.474Z] Dload Upload Total Spent Left Speed [2021-01-14T00:45:09.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19511 0 0 100 19511 0 34134 --:--:-- --:--:-- --:--:-- 34110 100 19511 0 0 100 19511 0 34122 --:--:-- --:--:-- --:--:-- 34110 [2021-01-14T00:45:09.049Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/ac5243d5ba866203975b1345a628ba127431b605 [Pipeline] } [2021-01-14T00:45:09.061Z] 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 [2021-01-14T00:45:11.467Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:45:11.776Z] ---> package-listing.sh [2021-01-14T00:45:11.776Z] ++ facter osfamily [2021-01-14T00:45:11.776Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-14T00:45:11.776Z] + OS_FAMILY=redhat [2021-01-14T00:45:11.776Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-416 [2021-01-14T00:45:11.776Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-14T00:45:11.776Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-14T00:45:11.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-14T00:45:11.776Z] + PACKAGES=/tmp/packages_start.txt [2021-01-14T00:45:11.776Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-416 ']' [2021-01-14T00:45:11.776Z] + PACKAGES=/tmp/packages_end.txt [2021-01-14T00:45:11.776Z] + case "${OS_FAMILY}" in [2021-01-14T00:45:11.776Z] + rpm -qa [2021-01-14T00:45:11.776Z] + sort [2021-01-14T00:45:17.103Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-14T00:45:17.103Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-14T00:45:17.103Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-14T00:45:17.103Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-416 ']' [2021-01-14T00:45:17.103Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-416/archives/ [2021-01-14T00:45:17.103Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-416/archives/ [Pipeline] echo [2021-01-14T00:45:17.118Z] 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-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-14T00:45:17.413Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:45:17.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-14T00:45:17.724Z] [2021-01-14T00:45:17.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:45:18.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-14T00:45:18.079Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-14T00:45:18.079Z] df20fa9351a1: Pulling fs layer [2021-01-14T00:45:18.079Z] 36b3adc4ff6f: Pulling fs layer [2021-01-14T00:45:18.079Z] 8ad3a11d3b57: Pulling fs layer [2021-01-14T00:45:18.079Z] 46f8f816bc3b: Pulling fs layer [2021-01-14T00:45:18.079Z] 93b61091891f: Pulling fs layer [2021-01-14T00:45:18.079Z] 93b9cdb0e59b: Pulling fs layer [2021-01-14T00:45:18.079Z] 5e14af77c1be: Pulling fs layer [2021-01-14T00:45:18.079Z] 01666e4c0597: Pulling fs layer [2021-01-14T00:45:18.079Z] aa168da1d23b: Pulling fs layer [2021-01-14T00:45:18.079Z] 93b9cdb0e59b: Waiting [2021-01-14T00:45:18.079Z] 46f8f816bc3b: Waiting [2021-01-14T00:45:18.079Z] 5e14af77c1be: Waiting [2021-01-14T00:45:18.079Z] 01666e4c0597: Waiting [2021-01-14T00:45:18.079Z] 93b61091891f: Waiting [2021-01-14T00:45:18.079Z] 36b3adc4ff6f: Verifying Checksum [2021-01-14T00:45:18.079Z] 36b3adc4ff6f: Download complete [2021-01-14T00:45:18.080Z] 46f8f816bc3b: Verifying Checksum [2021-01-14T00:45:18.080Z] 46f8f816bc3b: Download complete [2021-01-14T00:45:18.080Z] df20fa9351a1: Verifying Checksum [2021-01-14T00:45:18.080Z] 93b9cdb0e59b: Verifying Checksum [2021-01-14T00:45:18.080Z] 93b9cdb0e59b: Download complete [2021-01-14T00:45:18.080Z] 93b61091891f: Verifying Checksum [2021-01-14T00:45:18.080Z] 93b61091891f: Download complete [2021-01-14T00:45:18.080Z] 5e14af77c1be: Verifying Checksum [2021-01-14T00:45:18.080Z] 5e14af77c1be: Download complete [2021-01-14T00:45:18.349Z] 01666e4c0597: Verifying Checksum [2021-01-14T00:45:18.349Z] 01666e4c0597: Download complete [2021-01-14T00:45:18.614Z] df20fa9351a1: Pull complete [2021-01-14T00:45:18.614Z] 8ad3a11d3b57: Verifying Checksum [2021-01-14T00:45:18.614Z] 8ad3a11d3b57: Download complete [2021-01-14T00:45:18.886Z] 36b3adc4ff6f: Pull complete [2021-01-14T00:45:20.318Z] 8ad3a11d3b57: Pull complete [2021-01-14T00:45:20.318Z] 46f8f816bc3b: Pull complete [2021-01-14T00:45:20.318Z] aa168da1d23b: Verifying Checksum [2021-01-14T00:45:20.318Z] aa168da1d23b: Download complete [2021-01-14T00:45:20.582Z] 93b61091891f: Pull complete [2021-01-14T00:45:20.845Z] 93b9cdb0e59b: Pull complete [2021-01-14T00:45:20.845Z] 5e14af77c1be: Pull complete [2021-01-14T00:45:21.108Z] 01666e4c0597: Pull complete [2021-01-14T00:45:27.765Z] aa168da1d23b: Pull complete [2021-01-14T00:45:27.765Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-14T00:45:28.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-14T00:45:28.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-14T00:45:28.248Z] prd-centos7-docker-4c-2g-20079 does not seem to be running inside a container [2021-01-14T00:45:28.298Z] $ 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-416/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-416 -v /w/workspace/dry_go-mod-core-contracts_PR-416:/w/workspace/dry_go-mod-core-contracts_PR-416:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-416@tmp:/w/workspace/dry_go-mod-core-contracts_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-14T00:45:31.785Z] $ docker top 78063497ddba2768762f0de0f7ec8e226604f37f23fda5dd55047e09160dc59e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:45:32.370Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-14T00:45:32.674Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-14T00:45:32.978Z] + ls /var/log/sa-host [2021-01-14T00:45:32.978Z] + sadf -c /var/log/sa-host/sa14 [2021-01-14T00:45:32.978Z] file_magic: OK [2021-01-14T00:45:32.978Z] HZ: Using current value: 100 [2021-01-14T00:45:32.978Z] file_header: OK [2021-01-14T00:45:32.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-14T00:45:32.978Z] Statistics: [2021-01-14T00:45:32.978Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-14T00:45:32.978Z] File successfully converted to sysstat format version 12.2.1 [2021-01-14T00:45:32.978Z] + sadf -c /var/log/sa-host/sa23 [2021-01-14T00:45:32.978Z] file_magic: OK [2021-01-14T00:45:32.978Z] HZ: Using current value: 100 [2021-01-14T00:45:32.978Z] file_header: OK [2021-01-14T00:45:32.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-14T00:45:32.978Z] Statistics: [2021-01-14T00:45:32.978Z] Hnuu...uuuununununu... [2021-01-14T00:45:32.978Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-14T00:45:33.180Z] provisioning config files... [2021-01-14T00:45:33.197Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-416@tmp/config866335721186447797tmp [Pipeline] { [Pipeline] echo [2021-01-14T00:45:33.268Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:45:33.583Z] ---> create-netrc.sh [Pipeline] } [2021-01-14T00:45:33.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-14T00:45:33.681Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:45:33.984Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-14T00:45:33.995Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:45:34.294Z] ---> sudo-logs.sh [2021-01-14T00:45:34.294Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-14T00:45:34.305Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:45:34.604Z] ---> job-cost.sh [2021-01-14T00:45:34.604Z] lf-activate-venv: SKIPPING [2021-01-14T00:45:34.604Z] INFO: No Stack... [2021-01-14T00:45:35.999Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-14T00:45:36.262Z] INFO: Archiving Costs [Pipeline] echo [2021-01-14T00:45:36.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:45:36.588Z] ---> logs-deploy.sh [2021-01-14T00:45:36.588Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-416/10 [2021-01-14T00:45:36.588Z] INFO: archiving workspace using pattern(s): [2021-01-14T00:45:38.509Z] Archives upload complete. [2021-01-14T00:45:38.509Z] INFO: archiving logs to Nexus