Pull request #221 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c8c82d603ab9c9377e26d32e9030e7f9e3e0b350+b0be4bff414f616667081b807b7ae2ca15e70c77 (2f7a0622669b4c744af56dea770af1ed2ed33a42) 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-221/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-221/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 ‘prd-centos7-docker-4c-2g-2016’ Running on prd-centos7-docker-4c-2g-2026 in /w/workspace/xfoundry_go-mod-bootstrap_PR-221 [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-221 # 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 b0be4bff414f616667081b807b7ae2ca15e70c77 into PR head commit c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 Merge succeeded, producing c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 Checking out Revision c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 (PR-221) > 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/221/head:refs/remotes/origin/PR-221 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 # 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 b0be4bff414f616667081b807b7ae2ca15e70c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 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-27T15:59:52.770Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-27T15:59:52.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-27T15:59:53.099Z] ========================================================= [2021-04-27T15:59:53.099Z] EdgeX Global Pipelines Version Info [2021-04-27T15:59:53.099Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-27T15:59:54.654Z] ------------------- [2021-04-27T15:59:54.654Z] stable info: [2021-04-27T15:59:54.654Z] ------------------- [2021-04-27T15:59:54.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-27T15:59:54.654Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-27T15:59:54.654Z] Message: update stable to v1.0.186 [2021-04-27T15:59:55.602Z] ------------------- [2021-04-27T15:59:55.602Z] experimental info: [2021-04-27T15:59:55.602Z] ------------------- [2021-04-27T15:59:55.602Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-27T15:59:55.602Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-27T15:59:55.602Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-27T15:59:55.845Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-04-27T15:59:55.896Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-04-27T15:59:55.949Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-27T15:59:56.004Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-27T15:59:56.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-27T15:59:56.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-27T15:59:56.170Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-27T15:59:56.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-27T15:59:56.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-27T15:59:56.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-27T15:59:56.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-27T15:59:56.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-04-27T15:59:56.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-27T15:59:56.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-27T15:59:56.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T15:59:56.715Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T15:59:56.777Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T15:59:56.833Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-27T15:59:56.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-27T15:59:56.945Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-27T15:59:57.002Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-27T15:59:57.060Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-27T15:59:57.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-27T15:59:57.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-27T15:59:57.246Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-27T15:59:57.303Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-27T15:59:57.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo [2021-04-27T15:59:57.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo [2021-04-27T15:59:57.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo [2021-04-27T15:59:57.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [Pipeline] echo [2021-04-27T15:59:57.599Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8c82d6 [Pipeline] echo [2021-04-27T15:59:57.657Z] [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-27T15:59:58.286Z] + git log --format=format:%s -1 c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [Pipeline] echo [2021-04-27T15:59:58.385Z] GIT_COMMIT: c8c82d603ab9c9377e26d32e9030e7f9e3e0b350, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-27T15:59:58.425Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-27T15:59:59.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T15:59:59.613Z] [2021-04-27T15:59:59.613Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T15:59:59.973Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T15:59:59.974Z] latest: Pulling from edgex-devops/git-semver [2021-04-27T15:59:59.974Z] 31603596830f: Pulling fs layer [2021-04-27T15:59:59.974Z] 2a8b12db71e7: Pulling fs layer [2021-04-27T15:59:59.974Z] 6ca5941a6612: Pulling fs layer [2021-04-27T15:59:59.974Z] ecc8261a40a4: Pulling fs layer [2021-04-27T15:59:59.974Z] ecc8261a40a4: Waiting [2021-04-27T15:59:59.974Z] 2a8b12db71e7: Download complete [2021-04-27T15:59:59.974Z] 31603596830f: Verifying Checksum [2021-04-27T15:59:59.974Z] 31603596830f: Download complete [2021-04-27T16:00:00.238Z] ecc8261a40a4: Verifying Checksum [2021-04-27T16:00:00.238Z] ecc8261a40a4: Download complete [2021-04-27T16:00:00.238Z] 6ca5941a6612: Verifying Checksum [2021-04-27T16:00:00.238Z] 6ca5941a6612: Download complete [2021-04-27T16:00:00.510Z] 31603596830f: Pull complete [2021-04-27T16:00:00.510Z] 2a8b12db71e7: Pull complete [2021-04-27T16:00:01.470Z] 6ca5941a6612: Pull complete [2021-04-27T16:00:01.743Z] ecc8261a40a4: Pull complete [2021-04-27T16:00:01.743Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-27T16:00:01.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T16:00:01.743Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-27T16:00:01.912Z] prd-centos7-docker-4c-2g-2026 does not seem to be running inside a container [2021-04-27T16:00:01.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-221 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-221:/w/workspace/xfoundry_go-mod-bootstrap_PR-221:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-221@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-27T16:00:04.024Z] $ docker top 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T16:00:04.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T16:00:04.364Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T16:00:04.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T16:00:04.609Z] $ docker exec 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 ssh-agent [2021-04-27T16:00:04.780Z] SSH_AUTH_SOCK=/tmp/ssh-xLLZ5JhYhGnN/agent.12 [2021-04-27T16:00:04.780Z] SSH_AGENT_PID=17 [2021-04-27T16:00:04.792Z] Running ssh-add (command line suppressed) [2021-04-27T16:00:04.927Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp/private_key_5268894752422245676.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp/private_key_5268894752422245676.key) [2021-04-27T16:00:04.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T16:00:05.363Z] + git tag --points-at HEAD [Pipeline] } [2021-04-27T16:00:05.408Z] $ docker exec --env ******** --env ******** 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 ssh-agent -k [2021-04-27T16:00:05.524Z] unset SSH_AUTH_SOCK; [2021-04-27T16:00:05.524Z] unset SSH_AGENT_PID; [2021-04-27T16:00:05.524Z] echo Agent pid 17 killed; [2021-04-27T16:00:05.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-27T16:00:05.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T16:00:05.671Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T16:00:05.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T16:00:05.857Z] $ docker exec 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 ssh-agent [2021-04-27T16:00:06.035Z] SSH_AUTH_SOCK=/tmp/ssh-IjMk1IJrCted/agent.46 [2021-04-27T16:00:06.035Z] SSH_AGENT_PID=52 [2021-04-27T16:00:06.044Z] Running ssh-add (command line suppressed) [2021-04-27T16:00:06.168Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp/private_key_1946576213929119661.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp/private_key_1946576213929119661.key) [2021-04-27T16:00:06.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T16:00:06.591Z] + git semver init [2021-04-27T16:00:06.591Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T16:00:06.591Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-221/.git [2021-04-27T16:00:06.591Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-221 [2021-04-27T16:00:06.591Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T16:00:06.591Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T16:00:06.591Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T16:00:06.591Z] # $SEMVER_BRANCH = PR-221 [2021-04-27T16:00:06.591Z] # $SEMVER_TEMP = /tmp/semver-074575952 [2021-04-27T16:00:06.591Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-04-27T16:00:08.516Z] # '/tmp/semver-074575952' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-221/.semver' [2021-04-27T16:00:08.516Z] # -> Force: false [2021-04-27T16:00:08.516Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-221/.semver [Pipeline] } [2021-04-27T16:00:08.536Z] $ docker exec --env ******** --env ******** 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 ssh-agent -k [2021-04-27T16:00:08.662Z] unset SSH_AUTH_SOCK; [2021-04-27T16:00:08.663Z] unset SSH_AGENT_PID; [2021-04-27T16:00:08.663Z] echo Agent pid 52 killed; [2021-04-27T16:00:08.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T16:00:09.186Z] + git semver [Pipeline] } [2021-04-27T16:00:09.250Z] $ docker stop --time=1 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 [2021-04-27T16:00:10.883Z] $ docker rm -f 4835f96a6fbc6d6a512ee796ad51926511647dce950ec0d0d26944deadf70c25 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T16:00:11.372Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-27T16:00:11.758Z] Stashed 1 file(s) [Pipeline] echo [2021-04-27T16:00:11.779Z] [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-27T16:00:27.230Z] Still waiting to schedule task [2021-04-27T16:00:27.231Z] ‘prd-centos7-docker-4c-2g-2018’ is offline; ‘prd-centos7-docker-4c-2g-2021’ is offline; ‘prd-centos7-docker-4c-2g-2024’ is offline; ‘prd-centos7-docker-4c-2g-2027’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2017’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2025’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-27T16:00:27.258Z] Still waiting to schedule task [2021-04-27T16:00:27.258Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-27T16:02:12.625Z] Running on prd-centos7-docker-4c-2g-2034 in /w/workspace/xfoundry_go-mod-bootstrap_PR-221 [Pipeline] { [Pipeline] ws [2021-04-27T16:02:12.811Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2021-04-27T16:02:15.534Z] using credential edgex-jenkins-ssh [2021-04-27T16:02:15.573Z] Cloning the remote Git repository [2021-04-27T16:02:15.610Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-27T16:02:15.696Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2021-04-27T16:02:15.765Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-27T16:02:15.765Z] > git --version # timeout=10 [2021-04-27T16:02:15.774Z] > git --version # 'git version 2.24.3' [2021-04-27T16:02:15.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T16:02:15.819Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T16:02:16.972Z] Merging remotes/origin/master commit b0be4bff414f616667081b807b7ae2ca15e70c77 into PR head commit c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [2021-04-27T16:02:17.088Z] Merge succeeded, producing c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [2021-04-27T16:02:17.089Z] Checking out Revision c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 (PR-221) [2021-04-27T16:02:16.526Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-27T16:02:16.534Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T16:02:16.545Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-27T16:02:16.558Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-27T16:02:16.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T16:02:16.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-27T16:02:16.983Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T16:02:16.989Z] > git checkout -f c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 # timeout=10 [2021-04-27T16:02:17.048Z] > git remote # timeout=10 [2021-04-27T16:02:17.055Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T16:02:17.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T16:02:17.069Z] > git merge b0be4bff414f616667081b807b7ae2ca15e70c77 # timeout=10 [2021-04-27T16:02:17.082Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T16:02:17.094Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T16:02:17.100Z] > git checkout -f c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 # timeout=10 [2021-04-27T16:02:20.805Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-27T16:02:20.834Z] > git --version # timeout=10 [2021-04-27T16:02:20.841Z] > git --version # 'git version 2.24.3' [2021-04-27T16:02:20.849Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T16:02:22.101Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-27T16:02:22.456Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T16:02:22.791Z] + sudo service docker restart [2021-04-27T16:02:22.791Z] + true [2021-04-27T16:02:22.791Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-27T16:02:23.986Z] ========================================================= [2021-04-27T16:02:23.986Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-27T16:02:23.986Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:02:24.343Z] + 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-27T16:02:24.608Z] Sending build context to Docker daemon 856.6kB [2021-04-27T16:02:24.608Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-04-27T16:02:24.608Z] Step 2/8 : FROM ${BASE} [2021-04-27T16:02:24.874Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-27T16:02:24.874Z] 188c0c94c7c5: Pulling fs layer [2021-04-27T16:02:24.874Z] 0ef7d3d256c8: Pulling fs layer [2021-04-27T16:02:24.874Z] de9db76c5a1d: Pulling fs layer [2021-04-27T16:02:24.874Z] bca2f99d35d6: Pulling fs layer [2021-04-27T16:02:24.874Z] 93359f2a8cfa: Pulling fs layer [2021-04-27T16:02:24.874Z] 7c6f9722023f: Pulling fs layer [2021-04-27T16:02:24.874Z] a35cf1a2eb13: Pulling fs layer [2021-04-27T16:02:24.874Z] bca2f99d35d6: Waiting [2021-04-27T16:02:24.874Z] 93359f2a8cfa: Waiting [2021-04-27T16:02:24.874Z] 7c6f9722023f: Waiting [2021-04-27T16:02:24.874Z] a35cf1a2eb13: Waiting [2021-04-27T16:02:24.874Z] de9db76c5a1d: Verifying Checksum [2021-04-27T16:02:24.874Z] de9db76c5a1d: Download complete [2021-04-27T16:02:24.874Z] 0ef7d3d256c8: Verifying Checksum [2021-04-27T16:02:24.874Z] 0ef7d3d256c8: Download complete [2021-04-27T16:02:24.874Z] 93359f2a8cfa: Verifying Checksum [2021-04-27T16:02:24.874Z] 93359f2a8cfa: Download complete [2021-04-27T16:02:24.874Z] 7c6f9722023f: Verifying Checksum [2021-04-27T16:02:24.874Z] 7c6f9722023f: Download complete [2021-04-27T16:02:24.874Z] 188c0c94c7c5: Verifying Checksum [2021-04-27T16:02:24.874Z] 188c0c94c7c5: Download complete [2021-04-27T16:02:25.138Z] 188c0c94c7c5: Pull complete [2021-04-27T16:02:25.406Z] 0ef7d3d256c8: Pull complete [2021-04-27T16:02:25.674Z] de9db76c5a1d: Pull complete [2021-04-27T16:02:26.633Z] a35cf1a2eb13: Verifying Checksum [2021-04-27T16:02:26.633Z] a35cf1a2eb13: Download complete [2021-04-27T16:02:27.218Z] bca2f99d35d6: Verifying Checksum [2021-04-27T16:02:27.218Z] bca2f99d35d6: Download complete [2021-04-27T16:02:32.559Z] bca2f99d35d6: Pull complete [2021-04-27T16:02:32.824Z] 93359f2a8cfa: Pull complete [2021-04-27T16:02:32.824Z] 7c6f9722023f: Pull complete [2021-04-27T16:02:38.157Z] a35cf1a2eb13: Pull complete [2021-04-27T16:02:38.157Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-27T16:02:38.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-27T16:02:38.157Z] ---> a62c8e92a672 [2021-04-27T16:02:38.157Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-27T16:02:38.157Z] ---> Running in 2bf4249e34cb [2021-04-27T16:02:38.157Z] Removing intermediate container 2bf4249e34cb [2021-04-27T16:02:38.157Z] ---> a660bf1b0c13 [2021-04-27T16:02:38.157Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T16:02:38.157Z] ---> Running in 74d9b89ad7fd [2021-04-27T16:02:38.749Z] Removing intermediate container 74d9b89ad7fd [2021-04-27T16:02:38.749Z] ---> 7c0ad9445a19 [2021-04-27T16:02:38.749Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-04-27T16:02:39.020Z] ---> Running in 36d9750f037d [2021-04-27T16:02:39.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-27T16:02:40.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-27T16:02:41.193Z] OK: 166 MiB in 39 packages [2021-04-27T16:02:41.770Z] Removing intermediate container 36d9750f037d [2021-04-27T16:02:41.770Z] ---> 52d790a24135 [2021-04-27T16:02:41.770Z] Step 6/8 : WORKDIR /build [2021-04-27T16:02:41.770Z] ---> Running in 69ff99307bfa [2021-04-27T16:02:42.038Z] Removing intermediate container 69ff99307bfa [2021-04-27T16:02:42.038Z] ---> c7fe45b440f5 [2021-04-27T16:02:42.038Z] Step 7/8 : COPY go.mod . [2021-04-27T16:02:42.038Z] ---> 5c3e53d8f2ca [2021-04-27T16:02:42.038Z] Step 8/8 : RUN go mod download [2021-04-27T16:02:42.302Z] ---> Running in 82e6ef3f7a95 [2021-04-27T16:03:00.519Z] Removing intermediate container 82e6ef3f7a95 [2021-04-27T16:03:00.519Z] ---> c869623a7c67 [2021-04-27T16:03:00.519Z] Successfully built c869623a7c67 [2021-04-27T16:03:00.519Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:03:00.891Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T16:03:00.891Z] . [Pipeline] withDockerContainer [2021-04-27T16:03:01.049Z] prd-centos7-docker-4c-2g-2034 does not seem to be running inside a container [2021-04-27T16:03:01.106Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-27T16:03:02.673Z] $ docker top 3d78fe9afca0454563946fd8c5c6725584b51a4c045241506fc36d83b1a6145a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T16:03:03.150Z] + go version [2021-04-27T16:03:03.150Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-27T16:03:03.187Z] $ docker stop --time=1 3d78fe9afca0454563946fd8c5c6725584b51a4c045241506fc36d83b1a6145a [2021-04-27T16:03:04.568Z] $ docker rm -f 3d78fe9afca0454563946fd8c5c6725584b51a4c045241506fc36d83b1a6145a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:03:05.386Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-27T16:03:05.386Z] . [Pipeline] withDockerContainer [2021-04-27T16:03:05.531Z] prd-centos7-docker-4c-2g-2034 does not seem to be running inside a container [2021-04-27T16:03:05.587Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-27T16:03:06.314Z] $ docker top 1f1a922cf37c5253831b43136640dd1c4f4f77562d0d72be04f4168fb08d5221 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T16:03:06.857Z] + make test [2021-04-27T16:03:06.857Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-27T16:03:19.298Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-04-27T16:03:19.298Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.015s coverage: 5.4% of statements [2021-04-27T16:03:19.298Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-04-27T16:03:19.298Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.016s coverage: 92.2% of statements [2021-04-27T16:03:19.298Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.016s coverage: 85.3% of statements [2021-04-27T16:03:19.298Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-04-27T16:03:19.298Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-04-27T16:03:19.298Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-04-27T16:03:19.904Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.010s coverage: 26.7% of statements [2021-04-27T16:03:23.222Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.018s coverage: 90.7% of statements [2021-04-27T16:03:23.222Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-04-27T16:03:23.222Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-04-27T16:03:23.222Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.007s coverage: 91.3% of statements [2021-04-27T16:03:23.222Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-04-27T16:03:23.490Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-27T16:03:26.275Z] gofmt -l . [2021-04-27T16:03:26.275Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-04-27T16:03:26.593Z] $ docker stop --time=1 1f1a922cf37c5253831b43136640dd1c4f4f77562d0d72be04f4168fb08d5221 [2021-04-27T16:03:29.044Z] $ docker rm -f 1f1a922cf37c5253831b43136640dd1c4f4f77562d0d72be04f4168fb08d5221 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T16:03:29.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T16:03:30.019Z] 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-27T16:03:30.956Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2036 in /w/workspace/xfoundry_go-mod-bootstrap_PR-221 [Pipeline] { [Pipeline] ws [2021-04-27T16:03:31.016Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [2021-04-27T16:03:31.046Z] ---> job-cost.sh [2021-04-27T16:03:31.046Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ftjy [Pipeline] checkout [2021-04-27T16:03:36.803Z] using credential edgex-jenkins-ssh [2021-04-27T16:03:36.830Z] Cloning the remote Git repository [2021-04-27T16:03:36.876Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-27T16:03:36.979Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2021-04-27T16:03:37.087Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-27T16:03:37.088Z] > git --version # timeout=10 [2021-04-27T16:03:37.103Z] > git --version # 'git version 2.17.1' [2021-04-27T16:03:37.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T16:03:37.165Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T16:03:38.569Z] Merging remotes/origin/master commit b0be4bff414f616667081b807b7ae2ca15e70c77 into PR head commit c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [2021-04-27T16:03:37.961Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-27T16:03:37.977Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-27T16:03:38.002Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-04-27T16:03:38.037Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-04-27T16:03:38.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T16:03:38.049Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-27T16:03:38.586Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T16:03:38.598Z] > git checkout -f c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 # timeout=10 [2021-04-27T16:03:38.761Z] Merge succeeded, producing c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [2021-04-27T16:03:38.761Z] Checking out Revision c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 (PR-221) [2021-04-27T16:03:38.680Z] > git remote # timeout=10 [2021-04-27T16:03:38.697Z] > git config --get remote.origin.url # timeout=10 [2021-04-27T16:03:38.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-27T16:03:38.720Z] > git merge b0be4bff414f616667081b807b7ae2ca15e70c77 # timeout=10 [2021-04-27T16:03:38.743Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-27T16:03:38.764Z] > git config core.sparsecheckout # timeout=10 [2021-04-27T16:03:38.773Z] > git checkout -f c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 # timeout=10 [2021-04-27T16:03:43.051Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-27T16:03:43.110Z] > git --version # timeout=10 [2021-04-27T16:03:43.123Z] > git --version # 'git version 2.17.1' [2021-04-27T16:03:43.147Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-27T16:03:43.483Z] [2021-04-27T16:03:43.483Z] GitHub has been notified of this commit’s build result [2021-04-27T16:03:43.483Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-27T16:03:44.850Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-27T16:03:45.276Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-27T16:03:45.637Z] + sudo service docker restart [2021-04-27T16:03:45.637Z] + true [2021-04-27T16:03:45.998Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] unstash [Pipeline] echo [2021-04-27T16:03:47.946Z] ========================================================= [2021-04-27T16:03:47.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-27T16:03:47.946Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:03:48.330Z] + 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-27T16:03:49.306Z] Sending build context to Docker daemon 856.1kB [2021-04-27T16:03:49.306Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-04-27T16:03:49.306Z] Step 2/8 : FROM ${BASE} [2021-04-27T16:03:49.581Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-27T16:03:49.581Z] 5f621e34cdf4: Pulling fs layer [2021-04-27T16:03:49.581Z] a4357932f1b6: Pulling fs layer [2021-04-27T16:03:49.581Z] 18c013af1878: Pulling fs layer [2021-04-27T16:03:49.581Z] 00ac8860ef70: Pulling fs layer [2021-04-27T16:03:49.581Z] 63d7cb157983: Pulling fs layer [2021-04-27T16:03:49.581Z] b116817d02f9: Pulling fs layer [2021-04-27T16:03:49.581Z] 745a02a5169b: Pulling fs layer [2021-04-27T16:03:49.581Z] 00ac8860ef70: Waiting [2021-04-27T16:03:49.581Z] 63d7cb157983: Waiting [2021-04-27T16:03:49.581Z] b116817d02f9: Waiting [2021-04-27T16:03:49.581Z] 745a02a5169b: Waiting [2021-04-27T16:03:49.581Z] 18c013af1878: Verifying Checksum [2021-04-27T16:03:49.581Z] 18c013af1878: Download complete [2021-04-27T16:03:49.581Z] a4357932f1b6: Verifying Checksum [2021-04-27T16:03:49.581Z] a4357932f1b6: Download complete [2021-04-27T16:03:49.581Z] 63d7cb157983: Verifying Checksum [2021-04-27T16:03:49.581Z] 63d7cb157983: Download complete [2021-04-27T16:03:49.581Z] b116817d02f9: Verifying Checksum [2021-04-27T16:03:49.581Z] b116817d02f9: Download complete [2021-04-27T16:03:49.581Z] 5f621e34cdf4: Verifying Checksum [2021-04-27T16:03:49.581Z] 5f621e34cdf4: Download complete [2021-04-27T16:03:50.571Z] 5f621e34cdf4: Pull complete [2021-04-27T16:03:50.846Z] a4357932f1b6: Pull complete [2021-04-27T16:03:51.456Z] 18c013af1878: Pull complete [2021-04-27T16:03:52.898Z] 745a02a5169b: Verifying Checksum [2021-04-27T16:03:52.898Z] 745a02a5169b: Download complete [2021-04-27T16:03:53.176Z] 00ac8860ef70: Verifying Checksum [2021-04-27T16:03:53.176Z] 00ac8860ef70: Download complete [2021-04-27T16:04:05.611Z] 00ac8860ef70: Pull complete [2021-04-27T16:04:05.611Z] 63d7cb157983: Pull complete [2021-04-27T16:04:05.611Z] b116817d02f9: Pull complete [2021-04-27T16:04:08.248Z] 745a02a5169b: Pull complete [2021-04-27T16:04:08.248Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-27T16:04:08.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-27T16:04:08.248Z] ---> b7e6874047d6 [2021-04-27T16:04:08.248Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-27T16:04:11.652Z] ---> Running in 89f9a081c0b6 [2021-04-27T16:04:11.652Z] Removing intermediate container 89f9a081c0b6 [2021-04-27T16:04:11.652Z] ---> 35211fa9a30a [2021-04-27T16:04:11.652Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-27T16:04:11.652Z] ---> Running in 32a670bda82e [2021-04-27T16:04:14.311Z] Removing intermediate container 32a670bda82e [2021-04-27T16:04:14.311Z] ---> 1bc368cd3ef0 [2021-04-27T16:04:14.311Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-04-27T16:04:14.311Z] ---> Running in addfd5ba80b0 [2021-04-27T16:04:15.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T16:04:16.277Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T16:04:16.901Z] OK: 142 MiB in 39 packages [2021-04-27T16:04:18.214Z] lf-activate-venv(): INFO: Adding /tmp/venv-ftjy/bin to PATH [2021-04-27T16:04:18.214Z] INFO: No Stack... [2021-04-27T16:04:18.214Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T16:04:18.214Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T16:04:18.337Z] Removing intermediate container addfd5ba80b0 [2021-04-27T16:04:18.337Z] ---> fc44f136f0c0 [2021-04-27T16:04:18.337Z] Step 6/8 : WORKDIR /build [2021-04-27T16:04:18.337Z] ---> Running in 78fe4d40e38e [2021-04-27T16:04:18.568Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [2021-04-27T16:04:18.568Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T16:04:18.682Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] [2021-04-27T16:04:18.691Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] did not exist. Created. [2021-04-27T16:04:18.691Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T16:04:18.936Z] Removing intermediate container 78fe4d40e38e [2021-04-27T16:04:18.936Z] ---> 75b60c88ef3d [2021-04-27T16:04:18.936Z] Step 7/8 : COPY go.mod . [2021-04-27T16:04:19.123Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-27T16:04:19.275Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T16:04:19.320Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-04-27T16:04:19.532Z] ---> 8bbdda151cc1 [2021-04-27T16:04:19.532Z] Step 8/8 : RUN go mod download [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-27T16:04:19.807Z] ---> Running in 77aa6649bcd2 [2021-04-27T16:04:46.605Z] Removing intermediate container 77aa6649bcd2 [2021-04-27T16:04:46.605Z] ---> 2c1f133e04fc [2021-04-27T16:04:46.605Z] Successfully built 2c1f133e04fc [2021-04-27T16:04:46.605Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:04:47.015Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T16:04:47.015Z] . [Pipeline] withDockerContainer [2021-04-27T16:04:47.267Z] prd-ubuntu18.04-docker-arm64-4c-16g-2036 does not seem to be running inside a container [2021-04-27T16:04:47.345Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-27T16:04:48.817Z] $ docker top 4e8fa10ae97e70896e3f4ebdb950a3ad07fce23732551064ed3e3beb0db539b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T16:04:49.800Z] + go version [2021-04-27T16:04:49.800Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-27T16:04:49.838Z] $ docker stop --time=1 4e8fa10ae97e70896e3f4ebdb950a3ad07fce23732551064ed3e3beb0db539b0 [2021-04-27T16:04:51.732Z] $ docker rm -f 4e8fa10ae97e70896e3f4ebdb950a3ad07fce23732551064ed3e3beb0db539b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:04:52.668Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T16:04:52.669Z] . [Pipeline] withDockerContainer [2021-04-27T16:04:52.922Z] prd-ubuntu18.04-docker-arm64-4c-16g-2036 does not seem to be running inside a container [2021-04-27T16:04:53.004Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-27T16:04:54.425Z] $ docker top cf762c2528d10b0bb829adcca1c0188cf9b3b611722b4552ad4a51094ead3928 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T16:04:55.409Z] + make test [2021-04-27T16:04:55.409Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-27T16:05:27.809Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-04-27T16:05:30.459Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.045s coverage: 5.4% of statements [2021-04-27T16:05:30.459Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-04-27T16:05:30.459Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.081s coverage: 92.2% of statements [2021-04-27T16:05:30.459Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.016s coverage: 85.3% of statements [2021-04-27T16:05:30.459Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-04-27T16:05:30.459Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-04-27T16:05:30.459Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-04-27T16:05:32.446Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.056s coverage: 26.7% of statements [2021-04-27T16:05:36.747Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.042s coverage: 90.7% of statements [2021-04-27T16:05:36.747Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-04-27T16:05:36.747Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-04-27T16:05:36.747Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.009s coverage: 91.3% of statements [2021-04-27T16:05:36.747Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-04-27T16:05:36.747Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-27T16:05:43.522Z] gofmt -l . [2021-04-27T16:05:43.795Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-04-27T16:05:43.827Z] $ docker stop --time=1 cf762c2528d10b0bb829adcca1c0188cf9b3b611722b4552ad4a51094ead3928 [2021-04-27T16:05:46.121Z] $ docker rm -f cf762c2528d10b0bb829adcca1c0188cf9b3b611722b4552ad4a51094ead3928 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T16:05:47.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T16:05:47.079Z] Warning: overwriting stash ‘coverage-report’ [2021-04-27T16:05:48.079Z] 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-27T16:05:48.990Z] ---> job-cost.sh [2021-04-27T16:05:48.990Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kPqS [2021-04-27T16:06:27.968Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T16:08:04.736Z] lf-activate-venv(): INFO: Adding /tmp/venv-kPqS/bin to PATH [2021-04-27T16:08:04.736Z] INFO: No Stack... [2021-04-27T16:08:04.736Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-27T16:08:04.736Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T16:08:05.095Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv+ [2021-04-27T16:08:05.095Z] cut -d, -f6 [Pipeline] lock [2021-04-27T16:08:05.232Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] [2021-04-27T16:08:05.240Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] did not exist. Created. [2021-04-27T16:08:05.240Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T16:08:05.686Z] /w/workspace/go-mod-bootstrap/1@tmp/durable-85feaad6/script.sh: 1: /w/workspace/go-mod-bootstrap/1@tmp/durable-85feaad6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-27T16:08:06.055Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-27T16:08:06.094Z] Warning: overwriting stash ‘stack-cost’ [2021-04-27T16:08:06.242Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T16:08:06.265Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-221-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-27T16:08:07.216Z] provisioning config files... [2021-04-27T16:08:07.230Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp/config608408902831739590tmp [Pipeline] { [Pipeline] sh [2021-04-27T16:08:07.672Z] + set +x [2021-04-27T16:08:07.672Z] + curl -s https://codecov.io/bash [2021-04-27T16:08:07.672Z] + bash -s -- [2021-04-27T16:08:07.955Z] [2021-04-27T16:08:07.955Z] _____ _ [2021-04-27T16:08:07.955Z] / ____| | | [2021-04-27T16:08:07.955Z] | | ___ __| | ___ ___ _____ __ [2021-04-27T16:08:07.955Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-27T16:08:07.955Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-27T16:08:07.955Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-27T16:08:07.955Z] Bash-1.0.2 [2021-04-27T16:08:07.955Z] [2021-04-27T16:08:07.955Z] [2021-04-27T16:08:07.955Z] ==> git version 2.24.3 found [2021-04-27T16:08:07.955Z] ==> 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-27T16:08:07.955Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-27T16:08:07.955Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-27T16:08:07.955Z] ==> Jenkins CI detected. [2021-04-27T16:08:07.955Z] project root: . [2021-04-27T16:08:07.955Z] --> token set from env [2021-04-27T16:08:07.955Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-27T16:08:07.955Z] ==> Running gcov in . (disable via -X gcov) [2021-04-27T16:08:07.955Z] ==> Python coveragepy not found [2021-04-27T16:08:07.955Z] ==> Searching for coverage reports in: [2021-04-27T16:08:07.955Z] + . [2021-04-27T16:08:07.955Z] -> Found 1 reports [2021-04-27T16:08:07.955Z] ==> Detecting git/mercurial file structure [2021-04-27T16:08:07.955Z] ==> Reading reports [2021-04-27T16:08:07.955Z] + ./coverage.out bytes=28856 [2021-04-27T16:08:07.955Z] ==> Appending adjustments [2021-04-27T16:08:07.955Z] https://docs.codecov.io/docs/fixing-reports [2021-04-27T16:08:08.227Z] + Found adjustments [2021-04-27T16:08:08.227Z] ==> Gzipping contents [2021-04-27T16:08:08.227Z] 8.0K /tmp/codecov.WramjD.gz [2021-04-27T16:08:08.227Z] ==> Uploading reports [2021-04-27T16:08:08.227Z] url: https://codecov.io [2021-04-27T16:08:08.227Z] query: branch=PR-221&commit=c8c82d603ab9c9377e26d32e9030e7f9e3e0b350&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=221&job=&cmd_args= [2021-04-27T16:08:08.227Z] -> Pinging Codecov [2021-04-27T16:08:08.227Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-221&commit=c8c82d603ab9c9377e26d32e9030e7f9e3e0b350&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=221&job=&cmd_args= [2021-04-27T16:08:08.805Z] -> Uploading to [2021-04-27T16:08:08.805Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-27/833815588EE85121546D348822E98E2E/c8c82d603ab9c9377e26d32e9030e7f9e3e0b350/b942d761-762e-48c4-b15a-28ffc022616b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T160808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5954cb09d462ac38f98563381181bf217acd0eb59da84fde15b494e7a3b012f3 [2021-04-27T16:08:08.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-27T16:08:08.805Z] Dload Upload Total Spent Left Speed [2021-04-27T16:08:09.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5501 0 0 100 5501 0 14260 --:--:-- --:--:-- --:--:-- 14288 [2021-04-27T16:08:09.068Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/c8c82d603ab9c9377e26d32e9030e7f9e3e0b350 [Pipeline] } [2021-04-27T16:08:09.093Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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-27T16:08:10.958Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T16:08:11.576Z] ---> package-listing.sh [2021-04-27T16:08:11.576Z] ++ facter osfamily [2021-04-27T16:08:11.576Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-27T16:08:11.576Z] + OS_FAMILY=redhat [2021-04-27T16:08:11.576Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-221 [2021-04-27T16:08:11.576Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-27T16:08:11.576Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-27T16:08:11.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-27T16:08:11.576Z] + PACKAGES=/tmp/packages_start.txt [2021-04-27T16:08:11.577Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-221 ']' [2021-04-27T16:08:11.577Z] + PACKAGES=/tmp/packages_end.txt [2021-04-27T16:08:11.577Z] + case "${OS_FAMILY}" in [2021-04-27T16:08:11.577Z] + rpm -qa [2021-04-27T16:08:11.577Z] + sort [2021-04-27T16:08:16.906Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-27T16:08:16.906Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-27T16:08:16.906Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-27T16:08:16.906Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-221 ']' [2021-04-27T16:08:16.906Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-221/archives/ [2021-04-27T16:08:16.906Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-221/archives/ [Pipeline] echo [2021-04-27T16:08:16.959Z] 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-27T16:08:17.274Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:08:17.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T16:08:17.623Z] [2021-04-27T16:08:17.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-27T16:08:17.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T16:08:17.997Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-27T16:08:17.997Z] df20fa9351a1: Pulling fs layer [2021-04-27T16:08:17.997Z] 36b3adc4ff6f: Pulling fs layer [2021-04-27T16:08:17.997Z] 8ad3a11d3b57: Pulling fs layer [2021-04-27T16:08:17.997Z] 46f8f816bc3b: Pulling fs layer [2021-04-27T16:08:17.997Z] 93b61091891f: Pulling fs layer [2021-04-27T16:08:17.997Z] 93b9cdb0e59b: Pulling fs layer [2021-04-27T16:08:17.998Z] 5e14af77c1be: Pulling fs layer [2021-04-27T16:08:17.998Z] 01666e4c0597: Pulling fs layer [2021-04-27T16:08:17.998Z] aa168da1d23b: Pulling fs layer [2021-04-27T16:08:17.998Z] 46f8f816bc3b: Waiting [2021-04-27T16:08:17.998Z] 93b61091891f: Waiting [2021-04-27T16:08:17.998Z] 93b9cdb0e59b: Waiting [2021-04-27T16:08:17.998Z] 5e14af77c1be: Waiting [2021-04-27T16:08:17.998Z] 01666e4c0597: Waiting [2021-04-27T16:08:17.998Z] aa168da1d23b: Waiting [2021-04-27T16:08:17.998Z] 36b3adc4ff6f: Verifying Checksum [2021-04-27T16:08:17.998Z] 36b3adc4ff6f: Download complete [2021-04-27T16:08:17.998Z] 46f8f816bc3b: Verifying Checksum [2021-04-27T16:08:17.998Z] 46f8f816bc3b: Download complete [2021-04-27T16:08:17.998Z] df20fa9351a1: Verifying Checksum [2021-04-27T16:08:17.998Z] df20fa9351a1: Download complete [2021-04-27T16:08:17.998Z] 93b9cdb0e59b: Verifying Checksum [2021-04-27T16:08:17.998Z] 93b9cdb0e59b: Download complete [2021-04-27T16:08:17.998Z] 93b61091891f: Verifying Checksum [2021-04-27T16:08:17.998Z] 93b61091891f: Download complete [2021-04-27T16:08:17.998Z] 5e14af77c1be: Verifying Checksum [2021-04-27T16:08:17.998Z] 5e14af77c1be: Download complete [2021-04-27T16:08:17.998Z] 01666e4c0597: Verifying Checksum [2021-04-27T16:08:17.998Z] 01666e4c0597: Download complete [2021-04-27T16:08:18.263Z] 8ad3a11d3b57: Verifying Checksum [2021-04-27T16:08:18.263Z] 8ad3a11d3b57: Download complete [2021-04-27T16:08:18.531Z] df20fa9351a1: Pull complete [2021-04-27T16:08:18.796Z] 36b3adc4ff6f: Pull complete [2021-04-27T16:08:20.208Z] aa168da1d23b: Verifying Checksum [2021-04-27T16:08:20.208Z] aa168da1d23b: Download complete [2021-04-27T16:08:20.474Z] 8ad3a11d3b57: Pull complete [2021-04-27T16:08:21.056Z] 46f8f816bc3b: Pull complete [2021-04-27T16:08:21.319Z] 93b61091891f: Pull complete [2021-04-27T16:08:21.319Z] 93b9cdb0e59b: Pull complete [2021-04-27T16:08:21.589Z] 5e14af77c1be: Pull complete [2021-04-27T16:08:21.589Z] 01666e4c0597: Pull complete [2021-04-27T16:08:29.806Z] aa168da1d23b: Pull complete [2021-04-27T16:08:29.806Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-27T16:08:29.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T16:08:29.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-27T16:08:30.037Z] prd-centos7-docker-4c-2g-2026 does not seem to be running inside a container [2021-04-27T16:08:30.089Z] $ 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-221/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-221 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-221:/w/workspace/xfoundry_go-mod-bootstrap_PR-221:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-221@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-27T16:08:34.567Z] $ docker top 80ec4f3ec12da4bccf4032be21491f068122097247a470675b319a596c655c34 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T16:08:35.038Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-27T16:08:35.356Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-27T16:08:35.687Z] + ls /var/log/sa-host [2021-04-27T16:08:35.687Z] + sadf -c /var/log/sa-host/sa23 [2021-04-27T16:08:35.687Z] file_magic: OK [2021-04-27T16:08:35.687Z] HZ: Using current value: 100 [2021-04-27T16:08:35.687Z] file_header: OK [2021-04-27T16:08:35.687Z] 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-27T16:08:35.687Z] Statistics: [2021-04-27T16:08:35.687Z] Hnuu...uuuununununu... [2021-04-27T16:08:35.687Z] File successfully converted to sysstat format version 12.2.1 [2021-04-27T16:08:35.687Z] + sadf -c /var/log/sa-host/sa27 [2021-04-27T16:08:35.687Z] file_magic: OK [2021-04-27T16:08:35.687Z] HZ: Using current value: 100 [2021-04-27T16:08:35.687Z] file_header: OK [2021-04-27T16:08:35.687Z] 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-27T16:08:35.687Z] Statistics: [2021-04-27T16:08:35.687Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-27T16:08:35.687Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-27T16:08:35.983Z] provisioning config files... [2021-04-27T16:08:36.004Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-221@tmp/config8358258172513974730tmp [Pipeline] { [Pipeline] echo [2021-04-27T16:08:36.078Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T16:08:36.430Z] ---> create-netrc.sh [Pipeline] } [2021-04-27T16:08:36.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-27T16:08:36.545Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T16:08:36.886Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-27T16:08:36.920Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T16:08:37.265Z] ---> sudo-logs.sh [2021-04-27T16:08:37.265Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-27T16:08:37.355Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T16:08:37.699Z] ---> job-cost.sh [2021-04-27T16:08:37.699Z] lf-activate-venv: SKIPPING [2021-04-27T16:08:37.699Z] DEBUG: total: 0.20999999344348907 [2021-04-27T16:08:37.699Z] INFO: Retrieving Stack Cost... [2021-04-27T16:08:38.646Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T16:08:40.041Z] INFO: Archiving Costs [Pipeline] echo [2021-04-27T16:08:40.108Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T16:08:40.457Z] ---> logs-deploy.sh [2021-04-27T16:08:40.457Z] lf-activate-venv: SKIPPING [2021-04-27T16:08:40.457Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-221/1 [2021-04-27T16:08:40.457Z] INFO: archiving workspace using pattern(s): [2021-04-27T16:08:42.388Z] Archives upload complete. [2021-04-27T16:08:42.388Z] INFO: archiving logs to Nexus