Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 95e6c478fa455b8a38f61caaff18fd69167f6e14+615e60020182411a1d7637d53158481863aa590e (eebac7b3c3d42f13ecf5ef25dab1787f8ea9d58c) 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 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 > 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 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 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 > 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 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 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-33032 in /w/workspace/xfoundry_go-mod-bootstrap_PR-197 [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-197 # 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 > 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 Merging remotes/origin/master commit 615e60020182411a1d7637d53158481863aa590e into PR head commit 95e6c478fa455b8a38f61caaff18fd69167f6e14 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/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95e6c478fa455b8a38f61caaff18fd69167f6e14 # 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 Merge succeeded, producing 1163f41735aee01f27b46220a8290278ccc1d335 Checking out Revision 1163f41735aee01f27b46220a8290278ccc1d335 (PR-197) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1163f41735aee01f27b46220a8290278ccc1d335 # timeout=10 Commit message: "Merge commit '615e60020182411a1d7637d53158481863aa590e' into HEAD" > git rev-list --no-walk 95e6c478fa455b8a38f61caaff18fd69167f6e14 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T23:02:06.775Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T23:02:06.979Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T23:02:07.157Z] ========================================================= [2021-04-06T23:02:07.157Z] EdgeX Global Pipelines Version Info [2021-04-06T23:02:07.157Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:02:10.711Z] ------------------- [2021-04-06T23:02:10.711Z] stable info: [2021-04-06T23:02:10.711Z] ------------------- [2021-04-06T23:02:10.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T23:02:10.711Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T23:02:10.711Z] Message: update stable to v1.0.186 [2021-04-06T23:02:11.832Z] ------------------- [2021-04-06T23:02:11.832Z] experimental info: [2021-04-06T23:02:11.832Z] ------------------- [2021-04-06T23:02:11.832Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T23:02:11.832Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T23:02:11.832Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T23:02:12.234Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-04-06T23:02:12.322Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-04-06T23:02:12.417Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T23:02:12.523Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T23:02:12.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T23:02:12.725Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T23:02:12.857Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T23:02:12.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T23:02:13.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-06T23:02:13.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T23:02:13.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T23:02:13.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-04-06T23:02:13.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T23:02:13.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T23:02:13.626Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T23:02:13.719Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T23:02:13.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T23:02:13.889Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T23:02:14.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T23:02:14.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T23:02:14.189Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-06T23:02:14.271Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-06T23:02:14.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T23:02:14.487Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T23:02:14.573Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-06T23:02:14.671Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T23:02:14.784Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2021-04-06T23:02:14.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2021-04-06T23:02:14.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2021-04-06T23:02:15.049Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1163f41735aee01f27b46220a8290278ccc1d335 [Pipeline] echo [2021-04-06T23:02:15.146Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1163f41 [Pipeline] echo [2021-04-06T23:02:15.248Z] [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-06T23:02:16.261Z] + git log --format=format:%s -1 1163f41735aee01f27b46220a8290278ccc1d335 [Pipeline] echo [2021-04-06T23:02:16.395Z] GIT_COMMIT: 1163f41735aee01f27b46220a8290278ccc1d335, Commit Message: Merge commit '615e60020182411a1d7637d53158481863aa590e' into HEAD [Pipeline] echo [2021-04-06T23:02:16.438Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:02:17.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T23:02:18.175Z] [2021-04-06T23:02:18.175Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:02:18.766Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T23:02:19.056Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T23:02:19.056Z] 31603596830f: Pulling fs layer [2021-04-06T23:02:19.056Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T23:02:19.056Z] 6ca5941a6612: Pulling fs layer [2021-04-06T23:02:19.056Z] ecc8261a40a4: Pulling fs layer [2021-04-06T23:02:19.056Z] ecc8261a40a4: Waiting [2021-04-06T23:02:19.056Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T23:02:19.056Z] 2a8b12db71e7: Download complete [2021-04-06T23:02:19.350Z] 31603596830f: Verifying Checksum [2021-04-06T23:02:19.350Z] 31603596830f: Download complete [2021-04-06T23:02:20.289Z] ecc8261a40a4: Verifying Checksum [2021-04-06T23:02:20.289Z] ecc8261a40a4: Download complete [2021-04-06T23:02:21.864Z] 6ca5941a6612: Verifying Checksum [2021-04-06T23:02:21.864Z] 6ca5941a6612: Download complete [2021-04-06T23:02:22.215Z] 31603596830f: Pull complete [2021-04-06T23:02:22.866Z] 2a8b12db71e7: Pull complete [2021-04-06T23:02:26.380Z] 6ca5941a6612: Pull complete [2021-04-06T23:02:26.380Z] ecc8261a40a4: Pull complete [2021-04-06T23:02:26.380Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T23:02:26.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T23:02:26.380Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T23:02:26.649Z] prd-centos7-docker-4c-2g-33032 does not seem to be running inside a container [2021-04-06T23:02:26.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-197 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-197:/w/workspace/xfoundry_go-mod-bootstrap_PR-197:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-197@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T23:02:30.410Z] $ docker top 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T23:02:30.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T23:02:30.805Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T23:02:31.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T23:02:31.528Z] $ docker exec 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 ssh-agent [2021-04-06T23:02:32.095Z] SSH_AUTH_SOCK=/tmp/ssh-rrdcjnbscLoc/agent.12 [2021-04-06T23:02:32.095Z] SSH_AGENT_PID=18 [2021-04-06T23:02:32.109Z] Running ssh-add (command line suppressed) [2021-04-06T23:02:32.368Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp/private_key_3841862776528709025.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp/private_key_3841862776528709025.key) [2021-04-06T23:02:32.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T23:02:33.310Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T23:02:33.552Z] $ docker exec --env ******** --env ******** 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 ssh-agent -k [2021-04-06T23:02:34.082Z] unset SSH_AUTH_SOCK; [2021-04-06T23:02:34.082Z] unset SSH_AGENT_PID; [2021-04-06T23:02:34.082Z] echo Agent pid 18 killed; [2021-04-06T23:02:34.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T23:02:34.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T23:02:34.293Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T23:02:34.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T23:02:34.557Z] $ docker exec 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 ssh-agent [2021-04-06T23:02:34.813Z] SSH_AUTH_SOCK=/tmp/ssh-oVPDUjGSUij0/agent.48 [2021-04-06T23:02:34.813Z] SSH_AGENT_PID=53 [2021-04-06T23:02:34.839Z] Running ssh-add (command line suppressed) [2021-04-06T23:02:35.429Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp/private_key_5275383212991376824.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp/private_key_5275383212991376824.key) [2021-04-06T23:02:35.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T23:02:36.066Z] + git semver init [2021-04-06T23:02:36.351Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T23:02:36.351Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-197/.git [2021-04-06T23:02:36.351Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-197 [2021-04-06T23:02:36.351Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T23:02:36.351Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T23:02:36.351Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T23:02:36.351Z] # $SEMVER_BRANCH = PR-197 [2021-04-06T23:02:36.351Z] # $SEMVER_TEMP = /tmp/semver-646346731 [2021-04-06T23:02:36.351Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-04-06T23:02:37.451Z] # '/tmp/semver-646346731' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-197/.semver' [2021-04-06T23:02:37.451Z] # -> Force: false [2021-04-06T23:02:37.451Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-197/.semver [Pipeline] } [2021-04-06T23:02:37.510Z] $ docker exec --env ******** --env ******** 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 ssh-agent -k [2021-04-06T23:02:37.749Z] unset SSH_AUTH_SOCK; [2021-04-06T23:02:37.749Z] unset SSH_AGENT_PID; [2021-04-06T23:02:37.749Z] echo Agent pid 53 killed; [2021-04-06T23:02:37.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T23:02:39.017Z] + git semver [Pipeline] } [2021-04-06T23:02:39.116Z] $ docker stop --time=1 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 [2021-04-06T23:02:41.283Z] $ docker rm -f 8c27ffe37e68a54499e9569ce9e7ad0d6b23c8cde9305427a7e936bfd565b036 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T23:02:41.922Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T23:02:43.140Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T23:02:43.143Z] [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-06T23:02:58.655Z] Still waiting to schedule task [2021-04-06T23:02:58.656Z] ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32765’ is offline; ‘prd-centos7-docker-4c-2g-32816’ is offline; ‘prd-centos7-docker-4c-2g-33012’ is offline; ‘prd-centos7-docker-4c-2g-33015’ is offline; ‘prd-centos7-docker-4c-2g-33016’ is offline; ‘prd-centos7-docker-4c-2g-33017’ is offline; ‘prd-centos7-docker-4c-2g-33028’ is offline; ‘prd-centos7-docker-4c-2g-33031’ is offline; ‘prd-centos7-docker-4c-2g-33035’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-33021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-33023’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-33024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-33025’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-33029’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-33030’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-06T23:02:58.658Z] Still waiting to schedule task [2021-04-06T23:02:58.658Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-06T23:04:12.715Z] Running on prd-centos7-docker-4c-2g-33039 in /w/workspace/xfoundry_go-mod-bootstrap_PR-197 [Pipeline] { [Pipeline] ws [2021-04-06T23:04:12.826Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2021-04-06T23:04:15.526Z] using credential edgex-jenkins-ssh [2021-04-06T23:04:15.573Z] Cloning the remote Git repository [2021-04-06T23:04:15.605Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T23:04:15.684Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2021-04-06T23:04:15.746Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T23:04:15.747Z] > git --version # timeout=10 [2021-04-06T23:04:15.753Z] > git --version # 'git version 2.24.3' [2021-04-06T23:04:15.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T23:04:15.795Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T23:04:16.382Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T23:04:16.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T23:04:16.411Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T23:04:16.427Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T23:04:16.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T23:04:16.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T23:04:16.814Z] Merging remotes/origin/master commit 615e60020182411a1d7637d53158481863aa590e into PR head commit 95e6c478fa455b8a38f61caaff18fd69167f6e14 [2021-04-06T23:04:16.917Z] Merge succeeded, producing eb58fa9f3d5838851a6bafe192dc51af40ec0d82 [2021-04-06T23:04:16.918Z] Checking out Revision eb58fa9f3d5838851a6bafe192dc51af40ec0d82 (PR-197) [2021-04-06T23:04:16.821Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T23:04:16.827Z] > git checkout -f 95e6c478fa455b8a38f61caaff18fd69167f6e14 # timeout=10 [2021-04-06T23:04:16.869Z] > git remote # timeout=10 [2021-04-06T23:04:16.875Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T23:04:16.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T23:04:16.885Z] > git merge 615e60020182411a1d7637d53158481863aa590e # timeout=10 [2021-04-06T23:04:16.909Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T23:04:16.919Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T23:04:16.924Z] > git checkout -f eb58fa9f3d5838851a6bafe192dc51af40ec0d82 # timeout=10 [2021-04-06T23:04:20.610Z] Commit message: "Merge commit '615e60020182411a1d7637d53158481863aa590e' into HEAD" [2021-04-06T23:04:20.613Z] > git rev-list --no-walk 95e6c478fa455b8a38f61caaff18fd69167f6e14 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T23:04:21.841Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T23:04:22.189Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T23:04:22.490Z] + sudo service docker restart [2021-04-06T23:04:22.490Z] + true [2021-04-06T23:04:22.490Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-06T23:04:23.726Z] ========================================================= [2021-04-06T23:04:23.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T23:04:23.726Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:04:24.076Z] + 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-06T23:04:24.355Z] Sending build context to Docker daemon 802.8kB [2021-04-06T23:04:24.355Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-04-06T23:04:24.355Z] Step 2/8 : FROM ${BASE} [2021-04-06T23:04:24.626Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T23:04:24.626Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T23:04:24.626Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T23:04:24.626Z] de9db76c5a1d: Pulling fs layer [2021-04-06T23:04:24.626Z] bca2f99d35d6: Pulling fs layer [2021-04-06T23:04:24.626Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T23:04:24.626Z] 7c6f9722023f: Pulling fs layer [2021-04-06T23:04:24.626Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T23:04:24.626Z] 93359f2a8cfa: Waiting [2021-04-06T23:04:24.626Z] 7c6f9722023f: Waiting [2021-04-06T23:04:24.626Z] a35cf1a2eb13: Waiting [2021-04-06T23:04:24.626Z] bca2f99d35d6: Waiting [2021-04-06T23:04:24.626Z] de9db76c5a1d: Verifying Checksum [2021-04-06T23:04:24.626Z] de9db76c5a1d: Download complete [2021-04-06T23:04:24.626Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T23:04:24.626Z] 0ef7d3d256c8: Download complete [2021-04-06T23:04:24.626Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T23:04:24.626Z] 93359f2a8cfa: Download complete [2021-04-06T23:04:24.626Z] 7c6f9722023f: Download complete [2021-04-06T23:04:24.899Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T23:04:24.899Z] 188c0c94c7c5: Download complete [2021-04-06T23:04:25.169Z] 188c0c94c7c5: Pull complete [2021-04-06T23:04:25.450Z] 0ef7d3d256c8: Pull complete [2021-04-06T23:04:25.715Z] de9db76c5a1d: Pull complete [2021-04-06T23:04:27.114Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T23:04:27.114Z] a35cf1a2eb13: Download complete [2021-04-06T23:04:27.376Z] bca2f99d35d6: Verifying Checksum [2021-04-06T23:04:27.376Z] bca2f99d35d6: Download complete [2021-04-06T23:04:34.140Z] bca2f99d35d6: Pull complete [2021-04-06T23:04:34.140Z] 93359f2a8cfa: Pull complete [2021-04-06T23:04:34.140Z] 7c6f9722023f: Pull complete [2021-04-06T23:04:40.816Z] a35cf1a2eb13: Pull complete [2021-04-06T23:04:40.816Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T23:04:40.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T23:04:40.816Z] ---> a62c8e92a672 [2021-04-06T23:04:40.816Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-06T23:04:40.816Z] ---> Running in e619fc85ab23 [2021-04-06T23:04:41.086Z] Removing intermediate container e619fc85ab23 [2021-04-06T23:04:41.086Z] ---> 70875d66d943 [2021-04-06T23:04:41.086Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T23:04:41.086Z] ---> Running in e46aba836fc0 [2021-04-06T23:04:43.052Z] Removing intermediate container e46aba836fc0 [2021-04-06T23:04:43.052Z] ---> 600823ca33b5 [2021-04-06T23:04:43.052Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-04-06T23:04:43.319Z] ---> Running in fd3a62c645e0 [2021-04-06T23:04:43.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T23:04:44.538Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T23:04:45.127Z] OK: 166 MiB in 39 packages [2021-04-06T23:04:45.392Z] Removing intermediate container fd3a62c645e0 [2021-04-06T23:04:45.392Z] ---> af45e800733c [2021-04-06T23:04:45.392Z] Step 6/8 : WORKDIR /build [2021-04-06T23:04:45.656Z] ---> Running in 7c66872a6989 [2021-04-06T23:04:45.656Z] Removing intermediate container 7c66872a6989 [2021-04-06T23:04:45.656Z] ---> 3867ce7de7ae [2021-04-06T23:04:45.656Z] Step 7/8 : COPY go.mod . [2021-04-06T23:04:45.919Z] ---> e5ca48e0fbcf [2021-04-06T23:04:45.919Z] Step 8/8 : RUN go mod download [2021-04-06T23:04:46.189Z] ---> Running in 7fa0153a3671 [2021-04-06T23:05:08.260Z] Removing intermediate container 7fa0153a3671 [2021-04-06T23:05:08.260Z] ---> a9b8f1989a9b [2021-04-06T23:05:08.260Z] Successfully built a9b8f1989a9b [2021-04-06T23:05:08.260Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:05:08.593Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T23:05:08.593Z] . [Pipeline] withDockerContainer [2021-04-06T23:05:08.739Z] prd-centos7-docker-4c-2g-33039 does not seem to be running inside a container [2021-04-06T23:05:08.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T23:05:09.743Z] $ docker top 3d01b20d5b69b2729904e701dd16228d8d2762f4733433f3b87f8a97bb03459b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:05:10.273Z] + go version [2021-04-06T23:05:10.273Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T23:05:10.289Z] $ docker stop --time=1 3d01b20d5b69b2729904e701dd16228d8d2762f4733433f3b87f8a97bb03459b [2021-04-06T23:05:11.693Z] $ docker rm -f 3d01b20d5b69b2729904e701dd16228d8d2762f4733433f3b87f8a97bb03459b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:05:12.543Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T23:05:12.543Z] . [Pipeline] withDockerContainer [2021-04-06T23:05:12.689Z] prd-centos7-docker-4c-2g-33039 does not seem to be running inside a container [2021-04-06T23:05:12.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T23:05:13.610Z] $ docker top 5eef9ba993d84ab8a56641ad5bf0cfb8cbd6afe78a9b717ea982d728652aeb85 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:05:14.202Z] + make test [2021-04-06T23:05:14.202Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-06T23:05:29.362Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-04-06T23:05:29.362Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.016s coverage: 5.6% of statements [2021-04-06T23:05:29.362Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-04-06T23:05:29.362Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.011s coverage: 92.2% of statements [2021-04-06T23:05:29.362Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.027s coverage: 85.3% of statements [2021-04-06T23:05:29.362Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.034s coverage: 34.3% of statements [2021-04-06T23:05:29.362Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-04-06T23:05:29.362Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-04-06T23:05:29.362Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.025s coverage: 25.0% of statements [2021-04-06T23:05:32.738Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.012s coverage: 95.3% of statements [2021-04-06T23:05:32.738Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-04-06T23:05:32.738Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/token 0.006s coverage: 100.0% of statements [2021-04-06T23:05:32.738Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-04-06T23:05:32.738Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.025s coverage: 91.3% of statements [2021-04-06T23:05:32.738Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-04-06T23:05:32.738Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-06T23:05:35.344Z] gofmt -l . [2021-04-06T23:05:35.344Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-04-06T23:05:35.358Z] $ docker stop --time=1 5eef9ba993d84ab8a56641ad5bf0cfb8cbd6afe78a9b717ea982d728652aeb85 [2021-04-06T23:05:37.701Z] $ docker rm -f 5eef9ba993d84ab8a56641ad5bf0cfb8cbd6afe78a9b717ea982d728652aeb85 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T23:05:38.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T23:05:38.689Z] 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:05:40.059Z] ---> job-cost.sh [2021-04-06T23:05:40.059Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8KMX [2021-04-06T23:05:48.663Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33041 in /w/workspace/xfoundry_go-mod-bootstrap_PR-197 [Pipeline] { [Pipeline] ws [2021-04-06T23:05:48.716Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2021-04-06T23:05:55.010Z] using credential edgex-jenkins-ssh [2021-04-06T23:05:55.068Z] Cloning the remote Git repository [2021-04-06T23:05:55.077Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T23:05:55.253Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T23:05:55.435Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2021-04-06T23:05:55.526Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T23:05:55.527Z] > git --version # timeout=10 [2021-04-06T23:05:55.583Z] > git --version # 'git version 2.17.1' [2021-04-06T23:05:55.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T23:05:55.753Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T23:05:57.295Z] Merging remotes/origin/master commit 615e60020182411a1d7637d53158481863aa590e into PR head commit 95e6c478fa455b8a38f61caaff18fd69167f6e14 [2021-04-06T23:05:57.703Z] Merge succeeded, producing ae9d61786cc22b4828c028ac7ce38132cf3dbf8d [2021-04-06T23:05:57.703Z] Checking out Revision ae9d61786cc22b4828c028ac7ce38132cf3dbf8d (PR-197) [2021-04-06T23:05:56.625Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T23:05:56.663Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T23:05:56.714Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-06T23:05:56.762Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-06T23:05:56.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T23:05:56.780Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T23:05:57.333Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T23:05:57.356Z] > git checkout -f 95e6c478fa455b8a38f61caaff18fd69167f6e14 # timeout=10 [2021-04-06T23:05:57.467Z] > git remote # timeout=10 [2021-04-06T23:05:57.492Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T23:05:57.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T23:05:57.546Z] > git merge 615e60020182411a1d7637d53158481863aa590e # timeout=10 [2021-04-06T23:05:57.656Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T23:05:57.723Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T23:05:57.776Z] > git checkout -f ae9d61786cc22b4828c028ac7ce38132cf3dbf8d # timeout=10 [2021-04-06T23:06:02.361Z] Commit message: "Merge commit '615e60020182411a1d7637d53158481863aa590e' into HEAD" [2021-04-06T23:06:02.378Z] > git rev-list --no-walk 95e6c478fa455b8a38f61caaff18fd69167f6e14 # timeout=10 [2021-04-06T23:06:02.783Z] [2021-04-06T23:06:02.783Z] GitHub has been notified of this commit’s build result [2021-04-06T23:06:02.783Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T23:06:04.110Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T23:06:04.555Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T23:06:04.980Z] + true [2021-04-06T23:06:04.980Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-04-06T23:06:07.309Z] ========================================================= [2021-04-06T23:06:07.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T23:06:07.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:06:07.707Z] + 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-06T23:06:08.700Z] Sending build context to Docker daemon 801.8kB [2021-04-06T23:06:08.700Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-04-06T23:06:08.700Z] Step 2/8 : FROM ${BASE} [2021-04-06T23:06:08.978Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T23:06:08.978Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T23:06:08.978Z] a4357932f1b6: Pulling fs layer [2021-04-06T23:06:08.978Z] 18c013af1878: Pulling fs layer [2021-04-06T23:06:08.978Z] 00ac8860ef70: Pulling fs layer [2021-04-06T23:06:08.978Z] 63d7cb157983: Pulling fs layer [2021-04-06T23:06:08.978Z] b116817d02f9: Pulling fs layer [2021-04-06T23:06:08.978Z] 745a02a5169b: Pulling fs layer [2021-04-06T23:06:08.978Z] 00ac8860ef70: Waiting [2021-04-06T23:06:08.978Z] 63d7cb157983: Waiting [2021-04-06T23:06:08.978Z] 745a02a5169b: Waiting [2021-04-06T23:06:08.978Z] b116817d02f9: Waiting [2021-04-06T23:06:09.254Z] 18c013af1878: Verifying Checksum [2021-04-06T23:06:09.254Z] 18c013af1878: Download complete [2021-04-06T23:06:09.254Z] a4357932f1b6: Verifying Checksum [2021-04-06T23:06:09.254Z] a4357932f1b6: Download complete [2021-04-06T23:06:09.254Z] 63d7cb157983: Verifying Checksum [2021-04-06T23:06:09.254Z] 63d7cb157983: Download complete [2021-04-06T23:06:09.254Z] b116817d02f9: Verifying Checksum [2021-04-06T23:06:09.254Z] b116817d02f9: Download complete [2021-04-06T23:06:09.531Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T23:06:09.531Z] 5f621e34cdf4: Download complete [2021-04-06T23:06:10.139Z] 5f621e34cdf4: Pull complete [2021-04-06T23:06:10.750Z] a4357932f1b6: Pull complete [2021-04-06T23:06:11.362Z] 18c013af1878: Pull complete [2021-04-06T23:06:11.640Z] 745a02a5169b: Download complete [2021-04-06T23:06:13.100Z] 00ac8860ef70: Download complete [2021-04-06T23:06:21.835Z] lf-activate-venv(): INFO: Adding /tmp/venv-8KMX/bin to PATH [2021-04-06T23:06:21.835Z] INFO: No Stack... [2021-04-06T23:06:22.410Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T23:06:22.986Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T23:06:23.293Z] 00ac8860ef70: Pull complete [2021-04-06T23:06:23.293Z] 63d7cb157983: Pull complete [2021-04-06T23:06:23.304Z] + cut -d, -f6 [2021-04-06T23:06:23.304Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [Pipeline] lock [2021-04-06T23:06:23.386Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] [2021-04-06T23:06:23.398Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] did not exist. Created. [2021-04-06T23:06:23.398Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T23:06:23.572Z] b116817d02f9: Pull complete [2021-04-06T23:06:23.789Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T23:06:23.964Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T23:06:23.975Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T23:06:27.930Z] 745a02a5169b: Pull complete [2021-04-06T23:06:27.930Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T23:06:27.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T23:06:27.930Z] ---> b7e6874047d6 [2021-04-06T23:06:27.930Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-06T23:06:31.318Z] ---> Running in 8ef6a1fe2ea0 [2021-04-06T23:06:31.318Z] Removing intermediate container 8ef6a1fe2ea0 [2021-04-06T23:06:31.318Z] ---> fe15b1e44625 [2021-04-06T23:06:31.318Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T23:06:31.593Z] ---> Running in 270cac043a01 [2021-04-06T23:06:33.603Z] Removing intermediate container 270cac043a01 [2021-04-06T23:06:33.603Z] ---> 3ee4dafd8642 [2021-04-06T23:06:33.603Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-04-06T23:06:33.877Z] ---> Running in 12bf87db07b0 [2021-04-06T23:06:34.857Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T23:06:35.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T23:06:36.424Z] OK: 142 MiB in 39 packages [2021-04-06T23:06:37.863Z] Removing intermediate container 12bf87db07b0 [2021-04-06T23:06:37.863Z] ---> 4c77511b6573 [2021-04-06T23:06:37.863Z] Step 6/8 : WORKDIR /build [2021-04-06T23:06:37.863Z] ---> Running in 45cc5e822be1 [2021-04-06T23:06:38.464Z] Removing intermediate container 45cc5e822be1 [2021-04-06T23:06:38.464Z] ---> 7dd044d4f2c8 [2021-04-06T23:06:38.464Z] Step 7/8 : COPY go.mod . [2021-04-06T23:06:39.063Z] ---> 8e0f2eaaa3a0 [2021-04-06T23:06:39.063Z] Step 8/8 : RUN go mod download [2021-04-06T23:06:39.355Z] ---> Running in 06008c1feb31 [2021-04-06T23:07:01.506Z] Removing intermediate container 06008c1feb31 [2021-04-06T23:07:01.506Z] ---> f618ed2de892 [2021-04-06T23:07:01.506Z] Successfully built f618ed2de892 [2021-04-06T23:07:01.506Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:07:01.848Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T23:07:01.848Z] . [Pipeline] withDockerContainer [2021-04-06T23:07:02.092Z] prd-ubuntu18.04-docker-arm64-4c-16g-33041 does not seem to be running inside a container [2021-04-06T23:07:02.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T23:07:03.569Z] $ docker top fb44ef4e0f56563f546d5e67d073d15d99a05c5a38a472389909bdf2b305814d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:07:04.561Z] + go version [2021-04-06T23:07:04.561Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T23:07:04.591Z] $ docker stop --time=1 fb44ef4e0f56563f546d5e67d073d15d99a05c5a38a472389909bdf2b305814d [2021-04-06T23:07:06.521Z] $ docker rm -f fb44ef4e0f56563f546d5e67d073d15d99a05c5a38a472389909bdf2b305814d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:07:07.551Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T23:07:07.551Z] . [Pipeline] withDockerContainer [2021-04-06T23:07:07.827Z] prd-ubuntu18.04-docker-arm64-4c-16g-33041 does not seem to be running inside a container [2021-04-06T23:07:07.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T23:07:09.354Z] $ docker top 710dbbf7fa75c38c3ed8524988542b5a936a875bae26d7b51cd416ab3bf45597 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:07:10.342Z] + make test [2021-04-06T23:07:10.342Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-06T23:07:42.790Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-04-06T23:07:42.790Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.039s coverage: 5.6% of statements [2021-04-06T23:07:42.790Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-04-06T23:07:43.773Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.056s coverage: 92.2% of statements [2021-04-06T23:07:43.773Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.020s coverage: 85.3% of statements [2021-04-06T23:07:48.115Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.058s coverage: 34.3% of statements [2021-04-06T23:07:48.115Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-04-06T23:07:48.115Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-04-06T23:07:48.115Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.041s coverage: 25.0% of statements [2021-04-06T23:07:50.749Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.073s coverage: 95.3% of statements [2021-04-06T23:07:50.749Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-04-06T23:07:50.749Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/token 0.024s coverage: 100.0% of statements [2021-04-06T23:07:50.749Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-04-06T23:07:50.749Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.011s coverage: 91.3% of statements [2021-04-06T23:07:50.749Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-04-06T23:07:51.052Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-06T23:07:57.785Z] gofmt -l . [2021-04-06T23:07:57.785Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-04-06T23:07:57.814Z] $ docker stop --time=1 710dbbf7fa75c38c3ed8524988542b5a936a875bae26d7b51cd416ab3bf45597 [2021-04-06T23:08:00.070Z] $ docker rm -f 710dbbf7fa75c38c3ed8524988542b5a936a875bae26d7b51cd416ab3bf45597 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T23:08:00.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T23:08:00.928Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T23:08:01.648Z] 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-06T23:08:02.701Z] ---> job-cost.sh [2021-04-06T23:08:02.701Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-18Yt [2021-04-06T23:08:41.669Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T23:10:18.468Z] lf-activate-venv(): INFO: Adding /tmp/venv-18Yt/bin to PATH [2021-04-06T23:10:18.468Z] INFO: No Stack... [2021-04-06T23:10:18.468Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T23:10:18.468Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T23:10:18.819Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [2021-04-06T23:10:18.819Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T23:10:18.922Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] [2021-04-06T23:10:18.929Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] did not exist. Created. [2021-04-06T23:10:18.929Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T23:10:19.367Z] /w/workspace/go-mod-bootstrap/2@tmp/durable-c157612d/script.sh: 1: /w/workspace/go-mod-bootstrap/2@tmp/durable-c157612d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T23:10:19.708Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T23:10:19.769Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T23:10:19.914Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T23:10:19.928Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-197-2-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:10:21.097Z] provisioning config files... [2021-04-06T23:10:21.116Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp/config2112127800758204819tmp [Pipeline] { [Pipeline] sh [2021-04-06T23:10:21.751Z] + set +x [2021-04-06T23:10:21.751Z] + curl -s https://codecov.io/bash [2021-04-06T23:10:21.751Z] + bash -s -- [2021-04-06T23:10:22.748Z] [2021-04-06T23:10:22.748Z] _____ _ [2021-04-06T23:10:22.748Z] / ____| | | [2021-04-06T23:10:22.748Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T23:10:22.748Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T23:10:22.748Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T23:10:22.748Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T23:10:22.748Z] Bash-20210309-2b87ace [2021-04-06T23:10:22.748Z] [2021-04-06T23:10:22.748Z] [2021-04-06T23:10:22.748Z] ==> git version 2.24.3 found [2021-04-06T23:10:22.748Z] ==> 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:10:22.748Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T23:10:22.748Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T23:10:22.748Z] ==> Jenkins CI detected. [2021-04-06T23:10:22.748Z] project root: . [2021-04-06T23:10:22.748Z] --> token set from env [2021-04-06T23:10:23.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T23:10:23.060Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T23:10:23.060Z] ==> Python coveragepy not found [2021-04-06T23:10:23.060Z] ==> Searching for coverage reports in: [2021-04-06T23:10:23.060Z] + . [2021-04-06T23:10:23.060Z] -> Found 1 reports [2021-04-06T23:10:23.060Z] ==> Detecting git/mercurial file structure [2021-04-06T23:10:23.060Z] ==> Reading reports [2021-04-06T23:10:23.060Z] + ./coverage.out bytes=31237 [2021-04-06T23:10:23.060Z] ==> Appending adjustments [2021-04-06T23:10:23.060Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T23:10:23.688Z] + Found adjustments [2021-04-06T23:10:23.688Z] ==> Gzipping contents [2021-04-06T23:10:23.688Z] 8.0K /tmp/codecov.GDG2b3.gz [2021-04-06T23:10:23.688Z] ==> Uploading reports [2021-04-06T23:10:23.688Z] url: https://codecov.io [2021-04-06T23:10:23.688Z] query: branch=PR-197&commit=1163f41735aee01f27b46220a8290278ccc1d335&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-197%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=197&job=&cmd_args= [2021-04-06T23:10:23.688Z] -> Pinging Codecov [2021-04-06T23:10:23.688Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-197&commit=1163f41735aee01f27b46220a8290278ccc1d335&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-197%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=197&job=&cmd_args= [2021-04-06T23:10:24.763Z] -> Uploading to [2021-04-06T23:10:24.763Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/833815588EE85121546D348822E98E2E/1163f41735aee01f27b46220a8290278ccc1d335/fb73ea52-38c8-4fab-9326-39e30baa2e5b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T231024Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa08d86ea187f62366b97572f95eef205f2ab10b51b0ced890e5c4c4fce23d8a [2021-04-06T23:10:24.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T23:10:24.763Z] Dload Upload Total Spent Left Speed [2021-04-06T23:10:25.419Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5725 0 0 100 5725 0 9291 --:--:-- --:--:-- --:--:-- 9308 [2021-04-06T23:10:25.419Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/1163f41735aee01f27b46220a8290278ccc1d335 [Pipeline] } [2021-04-06T23:10:25.438Z] 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:10:27.855Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:10:29.021Z] ---> package-listing.sh [2021-04-06T23:10:29.021Z] ++ facter osfamily [2021-04-06T23:10:29.021Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T23:10:29.345Z] + OS_FAMILY=redhat [2021-04-06T23:10:29.345Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-197 [2021-04-06T23:10:29.345Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T23:10:29.345Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T23:10:29.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T23:10:29.345Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T23:10:29.345Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-197 ']' [2021-04-06T23:10:29.345Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T23:10:29.345Z] + case "${OS_FAMILY}" in [2021-04-06T23:10:29.345Z] + sort [2021-04-06T23:10:29.345Z] + rpm -qa [2021-04-06T23:10:38.105Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T23:10:38.105Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T23:10:38.105Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T23:10:38.105Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-197 ']' [2021-04-06T23:10:38.105Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-197/archives/ [2021-04-06T23:10:38.105Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-197/archives/ [Pipeline] echo [2021-04-06T23:10:38.143Z] 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-197/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:10:38.490Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:10:39.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T23:10:39.486Z] [2021-04-06T23:10:39.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T23:10:39.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T23:10:39.885Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T23:10:39.885Z] df20fa9351a1: Pulling fs layer [2021-04-06T23:10:39.885Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T23:10:39.885Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T23:10:39.885Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T23:10:39.885Z] 93b61091891f: Pulling fs layer [2021-04-06T23:10:39.885Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T23:10:39.885Z] 5e14af77c1be: Pulling fs layer [2021-04-06T23:10:39.885Z] 01666e4c0597: Pulling fs layer [2021-04-06T23:10:39.885Z] aa168da1d23b: Pulling fs layer [2021-04-06T23:10:39.885Z] 46f8f816bc3b: Waiting [2021-04-06T23:10:39.885Z] 93b61091891f: Waiting [2021-04-06T23:10:39.885Z] 93b9cdb0e59b: Waiting [2021-04-06T23:10:39.885Z] 5e14af77c1be: Waiting [2021-04-06T23:10:39.885Z] 01666e4c0597: Waiting [2021-04-06T23:10:39.885Z] aa168da1d23b: Waiting [2021-04-06T23:10:40.191Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T23:10:40.191Z] 36b3adc4ff6f: Download complete [2021-04-06T23:10:40.191Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T23:10:40.191Z] 46f8f816bc3b: Download complete [2021-04-06T23:10:40.525Z] df20fa9351a1: Verifying Checksum [2021-04-06T23:10:40.525Z] df20fa9351a1: Download complete [2021-04-06T23:10:40.525Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T23:10:40.525Z] 93b9cdb0e59b: Download complete [2021-04-06T23:10:40.525Z] 5e14af77c1be: Verifying Checksum [2021-04-06T23:10:40.525Z] 5e14af77c1be: Download complete [2021-04-06T23:10:40.525Z] 93b61091891f: Verifying Checksum [2021-04-06T23:10:40.525Z] 93b61091891f: Download complete [2021-04-06T23:10:40.525Z] 01666e4c0597: Verifying Checksum [2021-04-06T23:10:40.525Z] 01666e4c0597: Download complete [2021-04-06T23:10:41.156Z] df20fa9351a1: Pull complete [2021-04-06T23:10:41.988Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T23:10:41.988Z] 8ad3a11d3b57: Download complete [2021-04-06T23:10:42.313Z] 36b3adc4ff6f: Pull complete [2021-04-06T23:10:45.172Z] 8ad3a11d3b57: Pull complete [2021-04-06T23:10:45.492Z] 46f8f816bc3b: Pull complete [2021-04-06T23:10:47.134Z] 93b61091891f: Pull complete [2021-04-06T23:10:47.134Z] 93b9cdb0e59b: Pull complete [2021-04-06T23:10:47.450Z] 5e14af77c1be: Pull complete [2021-04-06T23:10:48.160Z] 01666e4c0597: Pull complete [2021-04-06T23:10:49.202Z] aa168da1d23b: Verifying Checksum [2021-04-06T23:10:49.202Z] aa168da1d23b: Download complete [2021-04-06T23:11:04.697Z] aa168da1d23b: Pull complete [2021-04-06T23:11:04.697Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T23:11:04.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T23:11:04.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T23:11:05.253Z] prd-centos7-docker-4c-2g-33032 does not seem to be running inside a container [2021-04-06T23:11:05.453Z] $ 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-197/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-197 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-197:/w/workspace/xfoundry_go-mod-bootstrap_PR-197:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T23:11:08.884Z] $ docker top d19124e834ef52b1574903c65e4a9a2875c587c9e31fd3ec47bc627feff4abff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T23:11:10.622Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T23:11:11.076Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T23:11:11.479Z] + ls /var/log/sa-host [2021-04-06T23:11:11.479Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T23:11:11.479Z] file_magic: OK [2021-04-06T23:11:11.479Z] HZ: Using current value: 100 [2021-04-06T23:11:11.479Z] file_header: OK [2021-04-06T23:11:11.479Z] 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:11:11.479Z] Statistics: [2021-04-06T23:11:11.479Z] 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:11:11.479Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T23:11:11.479Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T23:11:11.479Z] file_magic: OK [2021-04-06T23:11:11.479Z] HZ: Using current value: 100 [2021-04-06T23:11:11.479Z] file_header: OK [2021-04-06T23:11:11.479Z] 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:11:11.479Z] Statistics: [2021-04-06T23:11:11.479Z] Hnuu...uuuununununu... [2021-04-06T23:11:11.479Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T23:11:11.726Z] provisioning config files... [2021-04-06T23:11:11.767Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-197@tmp/config8827587626937493604tmp [Pipeline] { [Pipeline] echo [2021-04-06T23:11:11.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:11:12.234Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T23:11:12.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T23:11:12.339Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:11:13.118Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T23:11:13.184Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:11:14.081Z] ---> sudo-logs.sh [2021-04-06T23:11:14.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T23:11:14.160Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:11:15.175Z] ---> job-cost.sh [2021-04-06T23:11:15.538Z] lf-activate-venv: SKIPPING [2021-04-06T23:11:15.538Z] DEBUG: total: 0.20999999344348907 [2021-04-06T23:11:15.538Z] INFO: Retrieving Stack Cost... [2021-04-06T23:11:16.600Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T23:11:17.265Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T23:11:17.286Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T23:11:18.064Z] ---> logs-deploy.sh [2021-04-06T23:11:18.065Z] lf-activate-venv: SKIPPING [2021-04-06T23:11:18.065Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-197/2 [2021-04-06T23:11:18.065Z] INFO: archiving workspace using pattern(s): [2021-04-06T23:11:22.781Z] Archives upload complete. [2021-04-06T23:11:22.781Z] INFO: archiving logs to Nexus