Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c+615e60020182411a1d7637d53158481863aa590e (49f8b747340d30797fedecf9ac6fc46956c86c04) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-204/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-204/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-bootstrap, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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-bootstrap-settings PROJECT: go-mod-bootstrap 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-bootstrap 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: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33027 in /w/workspace/xfoundry_go-mod-bootstrap_PR-204 [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-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 615e60020182411a1d7637d53158481863aa590e into PR head commit 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c Merge succeeded, producing 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c Checking out Revision 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c (PR-204) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c # 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 615e60020182411a1d7637d53158481863aa590e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c # timeout=10 Commit message: "refactor: Expose ConfigVersion so services can use if needed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T22:53:16.776Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T22:53:17.171Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T22:53:17.398Z] ========================================================= [2021-04-06T22:53:17.398Z] EdgeX Global Pipelines Version Info [2021-04-06T22:53:17.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:53:18.928Z] ------------------- [2021-04-06T22:53:18.928Z] stable info: [2021-04-06T22:53:18.928Z] ------------------- [2021-04-06T22:53:18.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T22:53:18.928Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T22:53:18.928Z] Message: update stable to v1.0.186 [2021-04-06T22:53:19.876Z] ------------------- [2021-04-06T22:53:19.876Z] experimental info: [2021-04-06T22:53:19.876Z] ------------------- [2021-04-06T22:53:19.876Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T22:53:19.876Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T22:53:19.876Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T22:53:20.303Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-04-06T22:53:20.436Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-04-06T22:53:20.560Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T22:53:20.687Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T22:53:20.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T22:53:20.990Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T22:53:21.119Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T22:53:21.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T22:53:21.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-06T22:53:21.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T22:53:21.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T22:53:21.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-04-06T22:53:22.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T22:53:22.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T22:53:22.257Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:53:22.383Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:53:22.508Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:53:22.632Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T22:53:22.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T22:53:22.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T22:53:22.998Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-06T22:53:23.112Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-06T22:53:23.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T22:53:23.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T22:53:23.498Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-06T22:53:23.626Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T22:53:23.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2021-04-06T22:53:23.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2021-04-06T22:53:23.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2021-04-06T22:53:24.129Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [Pipeline] echo [2021-04-06T22:53:24.362Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f7839b [Pipeline] echo [2021-04-06T22:53:24.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T22:53:25.325Z] + git log --format=format:%s -1 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [Pipeline] echo [2021-04-06T22:53:25.424Z] GIT_COMMIT: 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c, Commit Message: refactor: Expose ConfigVersion so services can use if needed [Pipeline] echo [2021-04-06T22:53:25.499Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:53:26.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T22:53:26.395Z] [2021-04-06T22:53:26.395Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:53:26.792Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T22:53:26.792Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T22:53:26.792Z] 31603596830f: Pulling fs layer [2021-04-06T22:53:26.792Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T22:53:26.792Z] 6ca5941a6612: Pulling fs layer [2021-04-06T22:53:26.792Z] ecc8261a40a4: Pulling fs layer [2021-04-06T22:53:26.792Z] ecc8261a40a4: Waiting [2021-04-06T22:53:26.792Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T22:53:26.792Z] 2a8b12db71e7: Download complete [2021-04-06T22:53:27.061Z] 31603596830f: Verifying Checksum [2021-04-06T22:53:27.061Z] 31603596830f: Download complete [2021-04-06T22:53:27.061Z] ecc8261a40a4: Verifying Checksum [2021-04-06T22:53:27.061Z] ecc8261a40a4: Download complete [2021-04-06T22:53:27.061Z] 6ca5941a6612: Verifying Checksum [2021-04-06T22:53:27.061Z] 6ca5941a6612: Download complete [2021-04-06T22:53:27.324Z] 31603596830f: Pull complete [2021-04-06T22:53:27.588Z] 2a8b12db71e7: Pull complete [2021-04-06T22:53:28.561Z] 6ca5941a6612: Pull complete [2021-04-06T22:53:28.561Z] ecc8261a40a4: Pull complete [2021-04-06T22:53:28.561Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T22:53:28.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T22:53:28.561Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T22:53:28.711Z] prd-centos7-docker-4c-2g-33027 does not seem to be running inside a container [2021-04-06T22:53:28.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-204 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-204:/w/workspace/xfoundry_go-mod-bootstrap_PR-204:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-204@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T22:53:31.337Z] $ docker top ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T22:53:31.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T22:53:31.751Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T22:53:31.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T22:53:31.988Z] $ docker exec ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 ssh-agent [2021-04-06T22:53:32.164Z] SSH_AUTH_SOCK=/tmp/ssh-83QvVODL4MWu/agent.11 [2021-04-06T22:53:32.164Z] SSH_AGENT_PID=16 [2021-04-06T22:53:32.174Z] Running ssh-add (command line suppressed) [2021-04-06T22:53:32.300Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp/private_key_1577271277313693456.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp/private_key_1577271277313693456.key) [2021-04-06T22:53:32.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T22:53:32.764Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T22:53:32.798Z] $ docker exec --env ******** --env ******** ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 ssh-agent -k [2021-04-06T22:53:32.928Z] unset SSH_AUTH_SOCK; [2021-04-06T22:53:32.928Z] unset SSH_AGENT_PID; [2021-04-06T22:53:32.928Z] echo Agent pid 16 killed; [2021-04-06T22:53:32.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T22:53:33.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T22:53:33.169Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T22:53:33.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T22:53:33.351Z] $ docker exec ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 ssh-agent [2021-04-06T22:53:33.523Z] SSH_AUTH_SOCK=/tmp/ssh-5mzpKNXk9Qvd/agent.44 [2021-04-06T22:53:33.523Z] SSH_AGENT_PID=50 [2021-04-06T22:53:33.530Z] Running ssh-add (command line suppressed) [2021-04-06T22:53:33.653Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp/private_key_7945783769230277038.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp/private_key_7945783769230277038.key) [2021-04-06T22:53:33.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T22:53:34.092Z] + git semver init [2021-04-06T22:53:34.092Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T22:53:34.092Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-204/.git [2021-04-06T22:53:34.092Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-204 [2021-04-06T22:53:34.092Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T22:53:34.092Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T22:53:34.092Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T22:53:34.092Z] # $SEMVER_BRANCH = PR-204 [2021-04-06T22:53:34.092Z] # $SEMVER_TEMP = /tmp/semver-239808229 [2021-04-06T22:53:34.092Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-04-06T22:53:34.666Z] # '/tmp/semver-239808229' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-204/.semver' [2021-04-06T22:53:34.666Z] # -> Force: false [2021-04-06T22:53:34.666Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-204/.semver [Pipeline] } [2021-04-06T22:53:34.691Z] $ docker exec --env ******** --env ******** ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 ssh-agent -k [2021-04-06T22:53:34.812Z] unset SSH_AUTH_SOCK; [2021-04-06T22:53:34.812Z] unset SSH_AGENT_PID; [2021-04-06T22:53:34.812Z] echo Agent pid 50 killed; [2021-04-06T22:53:34.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T22:53:35.461Z] + git semver [Pipeline] } [2021-04-06T22:53:35.564Z] $ docker stop --time=1 ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 [2021-04-06T22:53:37.458Z] $ docker rm -f ce496ccf396890f12eb6ecd24b1568dd1c21572bc1bef169905da5c2a0e9cb95 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T22:53:38.092Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T22:53:38.521Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T22:53:38.544Z] [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-04-06T22:53:54.345Z] Still waiting to schedule task [2021-04-06T22:53:54.345Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T22:53:54.376Z] Still waiting to schedule task [2021-04-06T22:53:54.376Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-06T22:57:03.354Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33030 in /w/workspace/xfoundry_go-mod-bootstrap_PR-204 [Pipeline] { [Pipeline] ws [2021-04-06T22:57:03.480Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2021-04-06T22:57:09.192Z] using credential edgex-jenkins-ssh [2021-04-06T22:57:09.253Z] Cloning the remote Git repository [2021-04-06T22:57:09.319Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T22:57:09.431Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2021-04-06T22:57:09.508Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T22:57:09.508Z] > git --version # timeout=10 [2021-04-06T22:57:09.529Z] > git --version # 'git version 2.17.1' [2021-04-06T22:57:09.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:57:09.637Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:57:10.480Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T22:57:10.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:57:10.539Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T22:57:10.591Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T22:57:10.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:57:10.606Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T22:57:11.206Z] Merging remotes/origin/master commit 615e60020182411a1d7637d53158481863aa590e into PR head commit 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [2021-04-06T22:57:11.501Z] Merge succeeded, producing 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [2021-04-06T22:57:11.502Z] Checking out Revision 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c (PR-204) [2021-04-06T22:57:11.225Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:57:11.256Z] > git checkout -f 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c # timeout=10 [2021-04-06T22:57:11.342Z] > git remote # timeout=10 [2021-04-06T22:57:11.393Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T22:57:11.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:57:11.435Z] > git merge 615e60020182411a1d7637d53158481863aa590e # timeout=10 [2021-04-06T22:57:11.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T22:57:11.511Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:57:11.536Z] > git checkout -f 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c # timeout=10 [2021-04-06T22:57:15.839Z] Commit message: "refactor: Expose ConfigVersion so services can use if needed" [2021-04-06T22:57:15.911Z] > git --version # timeout=10 [2021-04-06T22:57:15.920Z] > git --version # 'git version 2.17.1' [2021-04-06T22:57:15.933Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T22:57:17.726Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:57:18.143Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:57:18.496Z] + sudo service docker restart [2021-04-06T22:57:18.496Z] + true [Pipeline] unstash [Pipeline] echo [2021-04-06T22:57:21.397Z] ========================================================= [2021-04-06T22:57:21.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T22:57:21.397Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:57:21.800Z] + 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-04-06T22:57:22.785Z] Sending build context to Docker daemon 808.4kB [2021-04-06T22:57:22.785Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-04-06T22:57:22.785Z] Step 2/8 : FROM ${BASE} [2021-04-06T22:57:23.061Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T22:57:23.061Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T22:57:23.061Z] a4357932f1b6: Pulling fs layer [2021-04-06T22:57:23.061Z] 18c013af1878: Pulling fs layer [2021-04-06T22:57:23.061Z] 00ac8860ef70: Pulling fs layer [2021-04-06T22:57:23.061Z] 63d7cb157983: Pulling fs layer [2021-04-06T22:57:23.061Z] b116817d02f9: Pulling fs layer [2021-04-06T22:57:23.061Z] 745a02a5169b: Pulling fs layer [2021-04-06T22:57:23.061Z] 00ac8860ef70: Waiting [2021-04-06T22:57:23.061Z] 63d7cb157983: Waiting [2021-04-06T22:57:23.061Z] b116817d02f9: Waiting [2021-04-06T22:57:23.061Z] 745a02a5169b: Waiting [2021-04-06T22:57:23.061Z] 18c013af1878: Verifying Checksum [2021-04-06T22:57:23.061Z] 18c013af1878: Download complete [2021-04-06T22:57:23.061Z] a4357932f1b6: Verifying Checksum [2021-04-06T22:57:23.061Z] a4357932f1b6: Download complete [2021-04-06T22:57:23.061Z] 63d7cb157983: Verifying Checksum [2021-04-06T22:57:23.061Z] 63d7cb157983: Download complete [2021-04-06T22:57:23.061Z] b116817d02f9: Verifying Checksum [2021-04-06T22:57:23.061Z] b116817d02f9: Download complete [2021-04-06T22:57:23.061Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T22:57:23.061Z] 5f621e34cdf4: Download complete [2021-04-06T22:57:24.065Z] 5f621e34cdf4: Pull complete [2021-04-06T22:57:24.341Z] a4357932f1b6: Pull complete [2021-04-06T22:57:24.942Z] 18c013af1878: Pull complete [2021-04-06T22:57:25.215Z] 745a02a5169b: Verifying Checksum [2021-04-06T22:57:25.215Z] 745a02a5169b: Download complete [2021-04-06T22:57:26.650Z] 00ac8860ef70: Verifying Checksum [2021-04-06T22:57:26.650Z] 00ac8860ef70: Download complete [2021-04-06T22:57:36.824Z] 00ac8860ef70: Pull complete [2021-04-06T22:57:36.824Z] 63d7cb157983: Pull complete [2021-04-06T22:57:37.423Z] b116817d02f9: Pull complete [2021-04-06T22:57:41.749Z] 745a02a5169b: Pull complete [2021-04-06T22:57:41.749Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T22:57:41.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T22:57:41.749Z] ---> b7e6874047d6 [2021-04-06T22:57:41.749Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-06T22:57:44.368Z] ---> Running in 19a07e7a2cfa [2021-04-06T22:57:44.643Z] Removing intermediate container 19a07e7a2cfa [2021-04-06T22:57:44.643Z] ---> 7e13f4096f4c [2021-04-06T22:57:44.643Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T22:57:44.643Z] ---> Running in de9afa4295f7 [2021-04-06T22:57:47.299Z] Removing intermediate container de9afa4295f7 [2021-04-06T22:57:47.299Z] ---> 10a9e9539763 [2021-04-06T22:57:47.299Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-04-06T22:57:47.299Z] ---> Running in 9f5c60cc11fc [2021-04-06T22:57:48.277Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T22:57:48.868Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T22:57:49.466Z] OK: 142 MiB in 39 packages [2021-04-06T22:57:50.905Z] Removing intermediate container 9f5c60cc11fc [2021-04-06T22:57:50.905Z] ---> 15b0df1d901a [2021-04-06T22:57:50.905Z] Step 6/8 : WORKDIR /build [2021-04-06T22:57:50.905Z] ---> Running in 4a3f6e8ec8f8 [2021-04-06T22:57:51.192Z] Removing intermediate container 4a3f6e8ec8f8 [2021-04-06T22:57:51.192Z] ---> d82d27e4a7bd [2021-04-06T22:57:51.192Z] Step 7/8 : COPY go.mod . [2021-04-06T22:57:51.809Z] ---> d2ca9ec2ae88 [2021-04-06T22:57:51.809Z] Step 8/8 : RUN go mod download [2021-04-06T22:57:52.085Z] ---> Running in fab8c8f47ccf [2021-04-06T22:58:18.892Z] Removing intermediate container fab8c8f47ccf [2021-04-06T22:58:18.892Z] ---> a1661130c528 [2021-04-06T22:58:18.892Z] Successfully built a1661130c528 [2021-04-06T22:58:18.892Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:58:19.264Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T22:58:19.264Z] . [Pipeline] withDockerContainer [2021-04-06T22:58:19.533Z] prd-ubuntu18.04-docker-arm64-4c-16g-33030 does not seem to be running inside a container [2021-04-06T22:58:19.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T22:58:21.172Z] $ docker top ad27f1141a7040a994b7e46e5b08ff123be6628dc5988513ac0261da2eaf9178 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:58:22.334Z] + go version [2021-04-06T22:58:22.334Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T22:58:22.383Z] $ docker stop --time=1 ad27f1141a7040a994b7e46e5b08ff123be6628dc5988513ac0261da2eaf9178 [2021-04-06T22:58:24.316Z] $ docker rm -f ad27f1141a7040a994b7e46e5b08ff123be6628dc5988513ac0261da2eaf9178 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:58:25.570Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T22:58:25.570Z] . [Pipeline] withDockerContainer [2021-04-06T22:58:25.820Z] prd-ubuntu18.04-docker-arm64-4c-16g-33030 does not seem to be running inside a container [2021-04-06T22:58:25.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T22:58:27.377Z] $ docker top 86af61320c027344cf78c42e84ceac13c9828b8c580f2c195ef3edbbc00f76d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T22:58:28.441Z] + make test [2021-04-06T22:58:28.441Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-06T22:58:43.882Z] Running on prd-centos7-docker-4c-2g-33031 in /w/workspace/xfoundry_go-mod-bootstrap_PR-204 [Pipeline] { [Pipeline] ws [2021-04-06T22:58:44.008Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2021-04-06T22:58:52.426Z] using credential edgex-jenkins-ssh [2021-04-06T22:58:52.479Z] Cloning the remote Git repository [2021-04-06T22:58:52.616Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T22:58:52.714Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2021-04-06T22:58:52.843Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T22:58:52.843Z] > git --version # timeout=10 [2021-04-06T22:58:52.880Z] > git --version # 'git version 2.24.3' [2021-04-06T22:58:52.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:58:52.952Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:58:53.733Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T22:58:53.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T22:58:53.886Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T22:58:54.055Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T22:58:54.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:58:54.647Z] Merging remotes/origin/master commit 615e60020182411a1d7637d53158481863aa590e into PR head commit 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [2021-04-06T22:58:54.918Z] Merge succeeded, producing 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [2021-04-06T22:58:54.919Z] Checking out Revision 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c (PR-204) [2021-04-06T22:58:54.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T22:58:54.691Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:58:54.732Z] > git checkout -f 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c # timeout=10 [2021-04-06T22:58:54.845Z] > git remote # timeout=10 [2021-04-06T22:58:54.862Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T22:58:54.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T22:58:54.889Z] > git merge 615e60020182411a1d7637d53158481863aa590e # timeout=10 [2021-04-06T22:58:54.905Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T22:58:54.930Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T22:58:54.936Z] > git checkout -f 2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c # timeout=10 [2021-04-06T22:59:00.131Z] Commit message: "refactor: Expose ConfigVersion so services can use if needed" [2021-04-06T22:59:00.224Z] > git --version # timeout=10 [2021-04-06T22:59:00.364Z] > git --version # 'git version 2.24.3' [2021-04-06T22:59:00.459Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T22:59:00.854Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-04-06T22:59:00.854Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.026s coverage: 5.6% of statements [2021-04-06T22:59:00.854Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-04-06T22:59:01.132Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.072s coverage: 92.2% of statements [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-04-06T22:59:01.424Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.031s coverage: 85.3% of statements [Pipeline] sh [2021-04-06T22:59:02.656Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:59:03.456Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T22:59:03.906Z] + sudo service docker restart [2021-04-06T22:59:03.907Z] + true [2021-04-06T22:59:03.907Z] Redirecting to /bin/systemctl restart docker.service [2021-04-06T22:59:04.860Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.066s coverage: 34.3% of statements [2021-04-06T22:59:04.860Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-04-06T22:59:04.860Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-04-06T22:59:04.860Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.043s coverage: 25.0% of statements [Pipeline] unstash [Pipeline] echo [2021-04-06T22:59:06.769Z] ========================================================= [2021-04-06T22:59:06.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T22:59:06.769Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T22:59:07.422Z] + 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-04-06T22:59:08.087Z] Sending build context to Docker daemon 811kB [2021-04-06T22:59:08.087Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-04-06T22:59:08.087Z] Step 2/8 : FROM ${BASE} [2021-04-06T22:59:08.278Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.062s coverage: 95.3% of statements [2021-04-06T22:59:08.278Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-04-06T22:59:08.278Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/token 0.014s coverage: 100.0% of statements [2021-04-06T22:59:08.278Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-04-06T22:59:08.278Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.011s coverage: 91.3% of statements [2021-04-06T22:59:08.278Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-04-06T22:59:08.278Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-06T22:59:08.427Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T22:59:08.427Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T22:59:08.427Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T22:59:08.427Z] de9db76c5a1d: Pulling fs layer [2021-04-06T22:59:08.427Z] bca2f99d35d6: Pulling fs layer [2021-04-06T22:59:08.427Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T22:59:08.427Z] 7c6f9722023f: Pulling fs layer [2021-04-06T22:59:08.427Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T22:59:08.427Z] bca2f99d35d6: Waiting [2021-04-06T22:59:08.427Z] 93359f2a8cfa: Waiting [2021-04-06T22:59:08.427Z] 7c6f9722023f: Waiting [2021-04-06T22:59:08.427Z] a35cf1a2eb13: Waiting [2021-04-06T22:59:08.427Z] de9db76c5a1d: Verifying Checksum [2021-04-06T22:59:08.427Z] de9db76c5a1d: Download complete [2021-04-06T22:59:08.834Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T22:59:08.834Z] 0ef7d3d256c8: Download complete [2021-04-06T22:59:08.834Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T22:59:08.834Z] 93359f2a8cfa: Download complete [2021-04-06T22:59:09.185Z] 7c6f9722023f: Verifying Checksum [2021-04-06T22:59:09.185Z] 7c6f9722023f: Download complete [2021-04-06T22:59:09.185Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T22:59:09.185Z] 188c0c94c7c5: Download complete [2021-04-06T22:59:12.584Z] 188c0c94c7c5: Pull complete [2021-04-06T22:59:12.584Z] 0ef7d3d256c8: Pull complete [2021-04-06T22:59:12.584Z] de9db76c5a1d: Pull complete [2021-04-06T22:59:14.728Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T22:59:14.728Z] a35cf1a2eb13: Download complete [2021-04-06T22:59:15.406Z] gofmt -l . [2021-04-06T22:59:15.406Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-04-06T22:59:15.506Z] $ docker stop --time=1 86af61320c027344cf78c42e84ceac13c9828b8c580f2c195ef3edbbc00f76d9 [2021-04-06T22:59:16.956Z] bca2f99d35d6: Verifying Checksum [2021-04-06T22:59:16.956Z] bca2f99d35d6: Download complete [2021-04-06T22:59:17.775Z] $ docker rm -f 86af61320c027344cf78c42e84ceac13c9828b8c580f2c195ef3edbbc00f76d9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T22:59:18.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T22:59:19.570Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T22:59:21.150Z] ---> job-cost.sh [2021-04-06T22:59:21.150Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1mmq [2021-04-06T22:59:27.426Z] bca2f99d35d6: Pull complete [2021-04-06T22:59:27.426Z] 93359f2a8cfa: Pull complete [2021-04-06T22:59:27.426Z] 7c6f9722023f: Pull complete [2021-04-06T22:59:34.294Z] a35cf1a2eb13: Pull complete [2021-04-06T22:59:34.294Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T22:59:34.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T22:59:34.294Z] ---> a62c8e92a672 [2021-04-06T22:59:34.294Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-06T22:59:34.294Z] ---> Running in 984e331d4a17 [2021-04-06T22:59:34.294Z] Removing intermediate container 984e331d4a17 [2021-04-06T22:59:34.294Z] ---> 6b378ae5405d [2021-04-06T22:59:34.294Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T22:59:34.294Z] ---> Running in 38a8f0b21312 [2021-04-06T22:59:36.659Z] Removing intermediate container 38a8f0b21312 [2021-04-06T22:59:36.659Z] ---> ded96287679c [2021-04-06T22:59:36.659Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-04-06T22:59:36.659Z] ---> Running in 5b22ce279a4e [2021-04-06T22:59:37.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T22:59:38.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T22:59:39.024Z] OK: 166 MiB in 39 packages [2021-04-06T22:59:40.139Z] Removing intermediate container 5b22ce279a4e [2021-04-06T22:59:40.139Z] ---> 44a9a707aac3 [2021-04-06T22:59:40.139Z] Step 6/8 : WORKDIR /build [2021-04-06T22:59:40.460Z] ---> Running in 6dca5a078a83 [2021-04-06T22:59:40.839Z] Removing intermediate container 6dca5a078a83 [2021-04-06T22:59:40.839Z] ---> e653864c7148 [2021-04-06T22:59:40.839Z] Step 7/8 : COPY go.mod . [2021-04-06T22:59:41.155Z] ---> ed07109d9f43 [2021-04-06T22:59:41.155Z] Step 8/8 : RUN go mod download [2021-04-06T22:59:41.573Z] ---> Running in b11b21e45151 [2021-04-06T23:00:00.178Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T23:00:21.447Z] Removing intermediate container b11b21e45151 [2021-04-06T23:00:21.447Z] ---> 27752a89da30 [2021-04-06T23:00:21.447Z] Successfully built 27752a89da30 [2021-04-06T23:00:21.447Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:00:22.079Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T23:00:22.831Z] . [Pipeline] withDockerContainer [2021-04-06T23:00:23.144Z] prd-centos7-docker-4c-2g-33031 does not seem to be running inside a container [2021-04-06T23:00:23.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T23:00:26.025Z] $ docker top aff696faba3c15039722e6b5fc4202f21aa2b766f1e1e0fd4210494698967814 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:00:27.663Z] + go version [2021-04-06T23:00:27.664Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T23:00:27.765Z] $ docker stop --time=1 aff696faba3c15039722e6b5fc4202f21aa2b766f1e1e0fd4210494698967814 [2021-04-06T23:00:30.230Z] $ docker rm -f aff696faba3c15039722e6b5fc4202f21aa2b766f1e1e0fd4210494698967814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:00:31.654Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T23:00:31.655Z] . [Pipeline] withDockerContainer [2021-04-06T23:00:32.378Z] prd-centos7-docker-4c-2g-33031 does not seem to be running inside a container [2021-04-06T23:00:32.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T23:00:34.352Z] $ docker top a4e144266a5050f4e5eac7160e5d9c084a5d92bfd761f344456da09cc254766d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:00:35.623Z] + make test [2021-04-06T23:00:35.623Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-06T23:01:09.528Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-04-06T23:01:09.528Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.083s coverage: 5.6% of statements [2021-04-06T23:01:09.528Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-04-06T23:01:09.528Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.079s coverage: 92.2% of statements [2021-04-06T23:01:09.528Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.049s coverage: 85.3% of statements [2021-04-06T23:01:12.184Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.034s coverage: 34.3% of statements [2021-04-06T23:01:12.184Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-04-06T23:01:12.184Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-04-06T23:01:12.184Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.028s coverage: 25.0% of statements [2021-04-06T23:01:15.889Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.055s coverage: 95.3% of statements [2021-04-06T23:01:15.889Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-04-06T23:01:15.889Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/token 0.027s coverage: 100.0% of statements [2021-04-06T23:01:15.889Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-04-06T23:01:15.889Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.025s coverage: 91.3% of statements [2021-04-06T23:01:15.889Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-04-06T23:01:15.889Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-06T23:01:21.928Z] lf-activate-venv(): INFO: Adding /tmp/venv-1mmq/bin to PATH [2021-04-06T23:01:21.928Z] INFO: No Stack... [2021-04-06T23:01:22.522Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T23:01:22.794Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T23:01:23.152Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [2021-04-06T23:01:23.152Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T23:01:23.289Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] [2021-04-06T23:01:23.295Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] did not exist. Created. [2021-04-06T23:01:23.295Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T23:01:23.851Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T23:01:24.038Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T23:01:24.059Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-04-06T23:01:24.648Z] gofmt -l . [2021-04-06T23:01:24.648Z] [ "`gofmt -l .`" = "" ] [Pipeline] // node [Pipeline] } [Pipeline] } [2021-04-06T23:01:24.830Z] $ docker stop --time=1 a4e144266a5050f4e5eac7160e5d9c084a5d92bfd761f344456da09cc254766d [2021-04-06T23:01:27.596Z] $ docker rm -f a4e144266a5050f4e5eac7160e5d9c084a5d92bfd761f344456da09cc254766d [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [2021-04-06T23:01:29.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T23:01:29.360Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T23:01:30.874Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:01:32.495Z] ---> job-cost.sh [2021-04-06T23:01:32.496Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oL2N [2021-04-06T23:02:05.552Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T23:02:45.921Z] lf-activate-venv(): INFO: Adding /tmp/venv-oL2N/bin to PATH [2021-04-06T23:02:45.921Z] INFO: No Stack... [2021-04-06T23:02:45.921Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T23:02:46.604Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T23:02:47.194Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [2021-04-06T23:02:47.194Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T23:02:47.414Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] [2021-04-06T23:02:47.420Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] did not exist. Created. [2021-04-06T23:02:47.420Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T23:02:47.978Z] /w/workspace/go-mod-bootstrap/1@tmp/durable-e7b1bab9/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-04-06T23:02:48.434Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T23:02:48.498Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T23:02:48.888Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T23:02:48.909Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-204-1-stack-cost] [Pipeline] // lock [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-04-06T23:02:50.721Z] provisioning config files... [2021-04-06T23:02:50.750Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp/config5053516703095968110tmp [Pipeline] { [Pipeline] sh [2021-04-06T23:02:51.576Z] + set +x [2021-04-06T23:02:51.576Z] + curl -s https://codecov.io/bash [2021-04-06T23:02:51.576Z] + bash -s -- [2021-04-06T23:02:51.843Z] [2021-04-06T23:02:51.843Z] _____ _ [2021-04-06T23:02:51.843Z] / ____| | | [2021-04-06T23:02:51.843Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T23:02:51.843Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T23:02:51.843Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T23:02:51.843Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T23:02:51.843Z] Bash-20210309-2b87ace [2021-04-06T23:02:51.843Z] [2021-04-06T23:02:51.843Z] [2021-04-06T23:02:51.843Z] ==> git version 2.24.3 found [2021-04-06T23:02:51.843Z] ==> 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-04-06T23:02:51.843Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T23:02:51.843Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T23:02:51.843Z] ==> Jenkins CI detected. [2021-04-06T23:02:51.843Z] project root: . [2021-04-06T23:02:51.843Z] --> token set from env [2021-04-06T23:02:51.843Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T23:02:51.843Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T23:02:51.843Z] ==> Python coveragepy not found [2021-04-06T23:02:51.843Z] ==> Searching for coverage reports in: [2021-04-06T23:02:51.843Z] + . [2021-04-06T23:02:51.843Z] -> Found 1 reports [2021-04-06T23:02:51.843Z] ==> Detecting git/mercurial file structure [2021-04-06T23:02:51.843Z] ==> Reading reports [2021-04-06T23:02:51.843Z] + ./coverage.out bytes=31237 [2021-04-06T23:02:51.843Z] ==> Appending adjustments [2021-04-06T23:02:51.843Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T23:02:52.107Z] + Found adjustments [2021-04-06T23:02:52.107Z] ==> Gzipping contents [2021-04-06T23:02:52.107Z] 8.0K /tmp/codecov.CoHgkq.gz [2021-04-06T23:02:52.107Z] ==> Uploading reports [2021-04-06T23:02:52.107Z] url: https://codecov.io [2021-04-06T23:02:52.107Z] query: branch=PR-204&commit=2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-04-06T23:02:52.107Z] -> Pinging Codecov [2021-04-06T23:02:52.107Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-204&commit=2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-04-06T23:02:52.371Z] -> Uploading to [2021-04-06T23:02:52.371Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/833815588EE85121546D348822E98E2E/2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c/724068f3-ec53-41a5-bd6f-c342f98f8cff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T230252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=334eee8c4e19baa68b5eca85239291c34bc91b13c448d3e30232178fab214319 [2021-04-06T23:02:52.371Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T23:02:52.371Z] Dload Upload Total Spent Left Speed [2021-04-06T23:02:52.946Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5745 0 0 100 5745 0 14575 --:--:-- --:--:-- --:--:-- 14581 100 5745 0 0 100 5745 0 14563 --:--:-- --:--:-- --:--:-- 14544 [2021-04-06T23:02:52.946Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/2f7839b5fb995d5fc839f0fa79a3e626d61a6b3c [Pipeline] } [2021-04-06T23:02:52.973Z] 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] { (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-04-06T23:02:56.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:02:56.728Z] ---> package-listing.sh [2021-04-06T23:02:56.729Z] ++ facter osfamily [2021-04-06T23:02:56.729Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T23:02:56.729Z] + OS_FAMILY=redhat [2021-04-06T23:02:56.729Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-204 [2021-04-06T23:02:56.729Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T23:02:56.729Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T23:02:56.729Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T23:02:56.729Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T23:02:56.729Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-204 ']' [2021-04-06T23:02:56.729Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T23:02:56.729Z] + case "${OS_FAMILY}" in [2021-04-06T23:02:56.729Z] + rpm -qa [2021-04-06T23:02:56.729Z] + sort [2021-04-06T23:03:00.995Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T23:03:00.995Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T23:03:00.995Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T23:03:00.995Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-204 ']' [2021-04-06T23:03:00.995Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-204/archives/ [2021-04-06T23:03:00.995Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-204/archives/ [Pipeline] echo [2021-04-06T23:03:01.036Z] 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/xfoundry_go-mod-bootstrap_PR-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T23:03:01.357Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:03:01.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T23:03:01.714Z] [2021-04-06T23:03:01.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:03:02.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T23:03:02.143Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T23:03:02.143Z] df20fa9351a1: Pulling fs layer [2021-04-06T23:03:02.143Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T23:03:02.143Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T23:03:02.143Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T23:03:02.143Z] 93b61091891f: Pulling fs layer [2021-04-06T23:03:02.143Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T23:03:02.143Z] 5e14af77c1be: Pulling fs layer [2021-04-06T23:03:02.143Z] 01666e4c0597: Pulling fs layer [2021-04-06T23:03:02.143Z] aa168da1d23b: Pulling fs layer [2021-04-06T23:03:02.143Z] 46f8f816bc3b: Waiting [2021-04-06T23:03:02.143Z] 93b61091891f: Waiting [2021-04-06T23:03:02.143Z] 93b9cdb0e59b: Waiting [2021-04-06T23:03:02.143Z] 5e14af77c1be: Waiting [2021-04-06T23:03:02.143Z] 01666e4c0597: Waiting [2021-04-06T23:03:02.143Z] aa168da1d23b: Waiting [2021-04-06T23:03:02.143Z] 36b3adc4ff6f: Download complete [2021-04-06T23:03:02.143Z] 46f8f816bc3b: Download complete [2021-04-06T23:03:02.415Z] df20fa9351a1: Verifying Checksum [2021-04-06T23:03:02.415Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T23:03:02.415Z] 93b9cdb0e59b: Download complete [2021-04-06T23:03:02.415Z] 5e14af77c1be: Verifying Checksum [2021-04-06T23:03:02.415Z] 5e14af77c1be: Download complete [2021-04-06T23:03:02.415Z] 01666e4c0597: Verifying Checksum [2021-04-06T23:03:02.415Z] 01666e4c0597: Download complete [2021-04-06T23:03:02.415Z] 93b61091891f: Verifying Checksum [2021-04-06T23:03:02.415Z] 93b61091891f: Download complete [2021-04-06T23:03:02.415Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T23:03:02.415Z] 8ad3a11d3b57: Download complete [2021-04-06T23:03:02.691Z] df20fa9351a1: Pull complete [2021-04-06T23:03:02.962Z] 36b3adc4ff6f: Pull complete [2021-04-06T23:03:03.932Z] 8ad3a11d3b57: Pull complete [2021-04-06T23:03:03.932Z] 46f8f816bc3b: Pull complete [2021-04-06T23:03:04.520Z] 93b61091891f: Pull complete [2021-04-06T23:03:04.520Z] 93b9cdb0e59b: Pull complete [2021-04-06T23:03:04.520Z] aa168da1d23b: Verifying Checksum [2021-04-06T23:03:04.520Z] aa168da1d23b: Download complete [2021-04-06T23:03:05.109Z] 5e14af77c1be: Pull complete [2021-04-06T23:03:05.109Z] 01666e4c0597: Pull complete [2021-04-06T23:03:13.314Z] aa168da1d23b: Pull complete [2021-04-06T23:03:13.314Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T23:03:13.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T23:03:13.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T23:03:13.519Z] prd-centos7-docker-4c-2g-33027 does not seem to be running inside a container [2021-04-06T23:03:13.572Z] $ 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/xfoundry_go-mod-bootstrap_PR-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-204 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-204:/w/workspace/xfoundry_go-mod-bootstrap_PR-204:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-204@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:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T23:03:16.934Z] $ docker top e11415bd4f25141b3c1c01b5e41de3818700e5cf58ba427832524646382387be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:03:17.590Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T23:03:17.914Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T23:03:18.251Z] + ls /var/log/sa-host [2021-04-06T23:03:18.251Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T23:03:18.251Z] file_magic: OK [2021-04-06T23:03:18.251Z] HZ: Using current value: 100 [2021-04-06T23:03:18.251Z] file_header: OK [2021-04-06T23:03:18.251Z] 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-04-06T23:03:18.251Z] Statistics: [2021-04-06T23:03:18.251Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T23:03:18.251Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T23:03:18.251Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T23:03:18.251Z] file_magic: OK [2021-04-06T23:03:18.251Z] HZ: Using current value: 100 [2021-04-06T23:03:18.251Z] file_header: OK [2021-04-06T23:03:18.251Z] 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-04-06T23:03:18.251Z] Statistics: [2021-04-06T23:03:18.251Z] Hnuu...uuuununununu... [2021-04-06T23:03:18.251Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T23:03:18.546Z] provisioning config files... [2021-04-06T23:03:18.561Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-204@tmp/config6306566371536357118tmp [Pipeline] { [Pipeline] echo [2021-04-06T23:03:18.710Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:03:19.054Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T23:03:19.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T23:03:19.255Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:03:19.606Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T23:03:19.641Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:03:20.002Z] ---> sudo-logs.sh [2021-04-06T23:03:20.002Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T23:03:20.117Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:03:20.456Z] ---> job-cost.sh [2021-04-06T23:03:20.456Z] lf-activate-venv: SKIPPING [2021-04-06T23:03:20.456Z] DEBUG: total: 0.029999999329447746 [2021-04-06T23:03:20.456Z] INFO: Retrieving Stack Cost... [2021-04-06T23:03:21.418Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T23:03:21.995Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T23:03:22.041Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:03:22.378Z] ---> logs-deploy.sh [2021-04-06T23:03:22.378Z] lf-activate-venv: SKIPPING [2021-04-06T23:03:22.378Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-204/1 [2021-04-06T23:03:22.378Z] INFO: archiving workspace using pattern(s): [2021-04-06T23:03:24.306Z] Archives upload complete. [2021-04-06T23:03:24.306Z] INFO: archiving logs to Nexus