Pull request #231 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 64999b7e1585b2db9adc1e810093ce65b9c2f241+24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 (a18ad4a820623c2e97118f8cdea951f49b6ea4e6) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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-4137 in /w/workspace/xfoundry_go-mod-bootstrap_PR-231 [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-231 # 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 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/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 into PR head commit 64999b7e1585b2db9adc1e810093ce65b9c2f241 Merge succeeded, producing 64999b7e1585b2db9adc1e810093ce65b9c2f241 Checking out Revision 64999b7e1585b2db9adc1e810093ce65b9c2f241 (PR-231) > git config core.sparsecheckout # timeout=10 > git checkout -f 64999b7e1585b2db9adc1e810093ce65b9c2f241 # 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 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64999b7e1585b2db9adc1e810093ce65b9c2f241 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T17:50:08.960Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T17:50:09.070Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T17:50:09.101Z] ========================================================= [2021-05-10T17:50:09.101Z] EdgeX Global Pipelines Version Info [2021-05-10T17:50:09.101Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f3ceee185ed2d2d37f7d5b0e3fc53bb23b7cf89e # timeout=10 [2021-05-10T17:50:11.289Z] ------------------- [2021-05-10T17:50:11.289Z] stable info: [2021-05-10T17:50:11.289Z] ------------------- [2021-05-10T17:50:11.289Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T17:50:11.289Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T17:50:11.289Z] Message: update stable to v1.0.191 [2021-05-10T17:50:11.919Z] ------------------- [2021-05-10T17:50:11.919Z] experimental info: [2021-05-10T17:50:11.919Z] ------------------- [2021-05-10T17:50:11.919Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T17:50:11.919Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T17:50:11.919Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T17:50:12.008Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-10T17:50:12.033Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-10T17:50:12.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T17:50:12.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T17:50:12.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T17:50:12.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T17:50:12.191Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T17:50:12.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T17:50:12.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T17:50:12.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T17:50:12.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T17:50:12.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-10T17:50:12.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T17:50:12.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T17:50:12.387Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:12.417Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:12.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:12.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:12.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T17:50:12.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T17:50:12.542Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T17:50:12.569Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T17:50:12.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T17:50:12.646Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T17:50:12.672Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-10T17:50:12.698Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T17:50:12.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2021-05-10T17:50:12.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2021-05-10T17:50:12.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2021-05-10T17:50:12.796Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64999b7e1585b2db9adc1e810093ce65b9c2f241 [Pipeline] echo [2021-05-10T17:50:12.819Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64999b7 [Pipeline] echo [2021-05-10T17:50:12.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:50:13.275Z] + git log --format=format:%s -1 64999b7e1585b2db9adc1e810093ce65b9c2f241 [Pipeline] echo [2021-05-10T17:50:13.403Z] GIT_COMMIT: 64999b7e1585b2db9adc1e810093ce65b9c2f241, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-05-10T17:50:13.417Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:50:14.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:50:14.299Z] [2021-05-10T17:50:14.299Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:50:14.645Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:50:14.645Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T17:50:14.645Z] 31603596830f: Pulling fs layer [2021-05-10T17:50:14.645Z] 54011a49482f: Pulling fs layer [2021-05-10T17:50:14.645Z] a6820b24f6d8: Pulling fs layer [2021-05-10T17:50:14.645Z] f581987b2513: Pulling fs layer [2021-05-10T17:50:14.645Z] 54011a49482f: Verifying Checksum [2021-05-10T17:50:14.645Z] 54011a49482f: Download complete [2021-05-10T17:50:14.914Z] 31603596830f: Verifying Checksum [2021-05-10T17:50:14.914Z] 31603596830f: Download complete [2021-05-10T17:50:14.914Z] f581987b2513: Verifying Checksum [2021-05-10T17:50:14.914Z] f581987b2513: Download complete [2021-05-10T17:50:15.180Z] a6820b24f6d8: Verifying Checksum [2021-05-10T17:50:15.180Z] a6820b24f6d8: Download complete [2021-05-10T17:50:15.451Z] 31603596830f: Pull complete [2021-05-10T17:50:15.451Z] 54011a49482f: Pull complete [2021-05-10T17:50:16.449Z] a6820b24f6d8: Pull complete [2021-05-10T17:50:17.027Z] f581987b2513: Pull complete [2021-05-10T17:50:17.027Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T17:50:17.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:50:17.027Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T17:50:17.141Z] prd-centos7-docker-4c-2g-4137 does not seem to be running inside a container [2021-05-10T17:50:17.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-231 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-231:/w/workspace/xfoundry_go-mod-bootstrap_PR-231:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T17:50:19.199Z] $ docker top 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T17:50:19.404Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T17:50:19.404Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T17:50:19.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T17:50:19.705Z] $ docker exec 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 ssh-agent [2021-05-10T17:50:19.891Z] SSH_AUTH_SOCK=/tmp/ssh-S8QIvsQmcrVf/agent.11 [2021-05-10T17:50:19.891Z] SSH_AGENT_PID=16 [2021-05-10T17:50:19.901Z] Running ssh-add (command line suppressed) [2021-05-10T17:50:20.046Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp/private_key_2902899275507217547.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp/private_key_2902899275507217547.key) [2021-05-10T17:50:20.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T17:50:20.427Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T17:50:20.448Z] $ docker exec --env ******** --env ******** 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 ssh-agent -k [2021-05-10T17:50:20.574Z] unset SSH_AUTH_SOCK; [2021-05-10T17:50:20.575Z] unset SSH_AGENT_PID; [2021-05-10T17:50:20.575Z] echo Agent pid 16 killed; [2021-05-10T17:50:20.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T17:50:20.709Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T17:50:20.709Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T17:50:20.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T17:50:20.930Z] $ docker exec 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 ssh-agent [2021-05-10T17:50:21.138Z] SSH_AUTH_SOCK=/tmp/ssh-Kho3hjTYc0XT/agent.46 [2021-05-10T17:50:21.138Z] SSH_AGENT_PID=51 [2021-05-10T17:50:21.153Z] Running ssh-add (command line suppressed) [2021-05-10T17:50:21.302Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp/private_key_3234133213888930250.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp/private_key_3234133213888930250.key) [2021-05-10T17:50:21.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T17:50:21.716Z] + git semver init [2021-05-10T17:50:21.716Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T17:50:21.716Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-231/.git [2021-05-10T17:50:21.716Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-231 [2021-05-10T17:50:21.716Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T17:50:21.716Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T17:50:21.716Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T17:50:21.716Z] # $SEMVER_BRANCH = PR-231 [2021-05-10T17:50:21.716Z] # $SEMVER_TEMP = /tmp/semver-420380891 [2021-05-10T17:50:21.716Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-10T17:50:22.301Z] # '/tmp/semver-420380891' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-231/.semver' [2021-05-10T17:50:22.301Z] # -> Force: false [2021-05-10T17:50:22.301Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-231/.semver [Pipeline] } [2021-05-10T17:50:22.319Z] $ docker exec --env ******** --env ******** 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 ssh-agent -k [2021-05-10T17:50:22.510Z] unset SSH_AUTH_SOCK; [2021-05-10T17:50:22.511Z] unset SSH_AGENT_PID; [2021-05-10T17:50:22.511Z] echo Agent pid 51 killed; [2021-05-10T17:50:22.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T17:50:22.926Z] + git semver [Pipeline] } [2021-05-10T17:50:22.946Z] $ docker stop --time=1 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 [2021-05-10T17:50:24.811Z] $ docker rm -f 7891653892ddd8b535883767367b55af2c5d60a1f1a98d973c5cac0e889ddd15 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:50:25.241Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T17:50:25.615Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T17:50:25.619Z] [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-05-10T17:50:40.793Z] Still waiting to schedule task [2021-05-10T17:50:40.793Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4130’ is offline; ‘prd-centos7-docker-4c-2g-4139’ is offline; ‘prd-centos7-docker-4c-2g-4140’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4133’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-10T17:50:40.796Z] Still waiting to schedule task [2021-05-10T17:50:40.797Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T17:50:48.920Z] Running on prd-centos7-docker-4c-2g-4139 in /w/workspace/xfoundry_go-mod-bootstrap_PR-231 [Pipeline] { [Pipeline] ws [2021-05-10T17:50:48.939Z] Running in /w/workspace/go-mod-bootstrap/4 [Pipeline] { [Pipeline] checkout [2021-05-10T17:50:51.637Z] using credential edgex-jenkins-ssh [2021-05-10T17:50:51.650Z] Cloning the remote Git repository [2021-05-10T17:50:51.411Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:50:51.480Z] > git init /w/workspace/go-mod-bootstrap/4 # timeout=10 [2021-05-10T17:50:51.556Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:50:51.556Z] > git --version # timeout=10 [2021-05-10T17:50:51.562Z] > git --version # 'git version 2.24.3' [2021-05-10T17:50:51.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:50:51.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:50:53.039Z] Merging remotes/origin/master commit 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 into PR head commit 64999b7e1585b2db9adc1e810093ce65b9c2f241 [2021-05-10T17:50:53.119Z] Merge succeeded, producing 64999b7e1585b2db9adc1e810093ce65b9c2f241 [2021-05-10T17:50:53.119Z] Checking out Revision 64999b7e1585b2db9adc1e810093ce65b9c2f241 (PR-231) [2021-05-10T17:50:52.354Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:50:52.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:50:52.371Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:50:52.385Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:50:52.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:50:52.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T17:50:52.900Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:50:52.906Z] > git checkout -f 64999b7e1585b2db9adc1e810093ce65b9c2f241 # timeout=10 [2021-05-10T17:50:52.944Z] > git remote # timeout=10 [2021-05-10T17:50:52.951Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T17:50:52.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:50:52.960Z] > git merge 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 # timeout=10 [2021-05-10T17:50:52.971Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T17:50:52.981Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:50:52.985Z] > git checkout -f 64999b7e1585b2db9adc1e810093ce65b9c2f241 # timeout=10 [2021-05-10T17:50:56.690Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:50:57.809Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:50:58.153Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:50:58.452Z] + sudo service docker restart [2021-05-10T17:50:58.452Z] + true [2021-05-10T17:50:58.452Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-10T17:50:59.600Z] ========================================================= [2021-05-10T17:50:59.600Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T17:50:59.600Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:50:59.915Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T17:51:00.489Z] Sending build context to Docker daemon 932.4kB [2021-05-10T17:51:00.489Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-10T17:51:00.489Z] Step 2/8 : FROM ${BASE} [2021-05-10T17:51:00.489Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T17:51:00.489Z] 540db60ca938: Pulling fs layer [2021-05-10T17:51:00.489Z] adcc1eea9eea: Pulling fs layer [2021-05-10T17:51:00.489Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T17:51:00.489Z] 0510c868ecb4: Pulling fs layer [2021-05-10T17:51:00.489Z] afea3b2eda06: Pulling fs layer [2021-05-10T17:51:00.489Z] 7809a108b3ef: Pulling fs layer [2021-05-10T17:51:00.489Z] f706445af74f: Pulling fs layer [2021-05-10T17:51:00.489Z] afea3b2eda06: Waiting [2021-05-10T17:51:00.489Z] 7809a108b3ef: Waiting [2021-05-10T17:51:00.489Z] f706445af74f: Waiting [2021-05-10T17:51:00.489Z] 0510c868ecb4: Waiting [2021-05-10T17:51:00.489Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T17:51:00.489Z] 4c4ab2625f07: Download complete [2021-05-10T17:51:00.489Z] adcc1eea9eea: Verifying Checksum [2021-05-10T17:51:00.489Z] adcc1eea9eea: Download complete [2021-05-10T17:51:00.489Z] afea3b2eda06: Verifying Checksum [2021-05-10T17:51:00.489Z] afea3b2eda06: Download complete [2021-05-10T17:51:00.489Z] 7809a108b3ef: Verifying Checksum [2021-05-10T17:51:00.489Z] 7809a108b3ef: Download complete [2021-05-10T17:51:00.756Z] 540db60ca938: Verifying Checksum [2021-05-10T17:51:00.756Z] 540db60ca938: Download complete [2021-05-10T17:51:01.018Z] 540db60ca938: Pull complete [2021-05-10T17:51:01.282Z] adcc1eea9eea: Pull complete [2021-05-10T17:51:01.282Z] 4c4ab2625f07: Pull complete [2021-05-10T17:51:03.207Z] f706445af74f: Verifying Checksum [2021-05-10T17:51:03.207Z] f706445af74f: Download complete [2021-05-10T17:51:04.158Z] 0510c868ecb4: Verifying Checksum [2021-05-10T17:51:04.158Z] 0510c868ecb4: Download complete [2021-05-10T17:51:09.500Z] 0510c868ecb4: Pull complete [2021-05-10T17:51:09.769Z] afea3b2eda06: Pull complete [2021-05-10T17:51:10.038Z] 7809a108b3ef: Pull complete [2021-05-10T17:51:15.367Z] f706445af74f: Pull complete [2021-05-10T17:51:15.367Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T17:51:15.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T17:51:15.367Z] ---> b068be0155e3 [2021-05-10T17:51:15.367Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T17:51:16.769Z] ---> Running in 5df7912da506 [2021-05-10T17:51:16.769Z] Removing intermediate container 5df7912da506 [2021-05-10T17:51:16.769Z] ---> e335ff242340 [2021-05-10T17:51:16.769Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:51:16.769Z] ---> Running in ce2c2e9309e6 [2021-05-10T17:51:17.724Z] Removing intermediate container ce2c2e9309e6 [2021-05-10T17:51:17.724Z] ---> 491b27435007 [2021-05-10T17:51:17.724Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-10T17:51:17.989Z] ---> Running in a3c7038f5813 [2021-05-10T17:51:18.947Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T17:51:20.871Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T17:51:21.821Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T17:51:23.212Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T17:51:23.474Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T17:51:24.863Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T17:51:24.863Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T17:51:25.124Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T17:51:25.124Z] OK: 150 MiB in 45 packages [2021-05-10T17:51:26.071Z] Removing intermediate container a3c7038f5813 [2021-05-10T17:51:26.071Z] ---> 586c2851148f [2021-05-10T17:51:26.071Z] Step 6/8 : WORKDIR /build [2021-05-10T17:51:26.071Z] ---> Running in d726257928d4 [2021-05-10T17:51:26.071Z] Removing intermediate container d726257928d4 [2021-05-10T17:51:26.071Z] ---> d1fcf41953c2 [2021-05-10T17:51:26.071Z] Step 7/8 : COPY go.mod . [2021-05-10T17:51:26.335Z] ---> 3f2c8c41639d [2021-05-10T17:51:26.335Z] Step 8/8 : RUN go mod download [2021-05-10T17:51:26.335Z] ---> Running in 3f1a254a0572 [2021-05-10T17:51:48.365Z] Removing intermediate container 3f1a254a0572 [2021-05-10T17:51:48.365Z] ---> 8c5a921fcc79 [2021-05-10T17:51:48.365Z] Successfully built 8c5a921fcc79 [2021-05-10T17:51:48.365Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:51:48.685Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T17:51:48.685Z] . [Pipeline] withDockerContainer [2021-05-10T17:51:48.804Z] prd-centos7-docker-4c-2g-4139 does not seem to be running inside a container [2021-05-10T17:51:48.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T17:51:49.617Z] $ docker top f1ca35e6abdf8277d1da2c358b31e0482e89177a8ba5226a156eee9fb110f167 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:51:50.055Z] + go version [2021-05-10T17:51:50.055Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T17:51:50.071Z] $ docker stop --time=1 f1ca35e6abdf8277d1da2c358b31e0482e89177a8ba5226a156eee9fb110f167 [2021-05-10T17:51:51.428Z] $ docker rm -f f1ca35e6abdf8277d1da2c358b31e0482e89177a8ba5226a156eee9fb110f167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:51:51.992Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T17:51:51.992Z] . [Pipeline] withDockerContainer [2021-05-10T17:51:52.086Z] prd-centos7-docker-4c-2g-4139 does not seem to be running inside a container [2021-05-10T17:51:52.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T17:51:52.898Z] $ docker top f97046335771e177fbd28c0bd2dea5cc990f512a86f380fca6172066a0c63fdc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:51:53.339Z] + go mod tidy [Pipeline] sh [2021-05-10T17:51:54.225Z] + make test [2021-05-10T17:51:54.225Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T17:52:09.658Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-10T17:52:12.243Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.029s coverage: 5.4% of statements [2021-05-10T17:52:12.243Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-10T17:52:12.243Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.020s coverage: 92.2% of statements [2021-05-10T17:52:12.243Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.005s coverage: 85.3% of statements [2021-05-10T17:52:12.243Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-10T17:52:12.243Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-10T17:52:12.243Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-10T17:52:13.648Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.036s coverage: 91.5% of statements [2021-05-10T17:52:13.648Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.011s coverage: 26.7% of statements [2021-05-10T17:52:16.209Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.020s coverage: 90.7% of statements [2021-05-10T17:52:16.209Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-10T17:52:16.209Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-10T17:52:16.209Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.021s coverage: 91.3% of statements [2021-05-10T17:52:16.209Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-10T17:52:16.484Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T17:52:24.699Z] gofmt -l . [2021-05-10T17:52:24.699Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T17:52:24.712Z] $ docker stop --time=1 f97046335771e177fbd28c0bd2dea5cc990f512a86f380fca6172066a0c63fdc [2021-05-10T17:52:26.496Z] $ docker rm -f f97046335771e177fbd28c0bd2dea5cc990f512a86f380fca6172066a0c63fdc [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:52:27.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T17:52:27.341Z] 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-05-10T17:52:27.940Z] ---> job-cost.sh [2021-05-10T17:52:27.941Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9o4I [2021-05-10T17:52:46.109Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T17:53:16.737Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4141 in /w/workspace/xfoundry_go-mod-bootstrap_PR-231 [Pipeline] { [Pipeline] ws [2021-05-10T17:53:16.756Z] Running in /w/workspace/go-mod-bootstrap/4 [Pipeline] { [Pipeline] checkout [2021-05-10T17:53:22.737Z] using credential edgex-jenkins-ssh [2021-05-10T17:53:22.753Z] Cloning the remote Git repository [2021-05-10T17:53:22.816Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:53:22.919Z] > git init /w/workspace/go-mod-bootstrap/4 # timeout=10 [2021-05-10T17:53:22.998Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:53:22.999Z] > git --version # timeout=10 [2021-05-10T17:53:23.023Z] > git --version # 'git version 2.17.1' [2021-05-10T17:53:23.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:53:23.093Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:53:23.997Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:53:24.022Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:53:24.047Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:53:24.078Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:53:24.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:53:24.094Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T17:53:24.733Z] Merging remotes/origin/master commit 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 into PR head commit 64999b7e1585b2db9adc1e810093ce65b9c2f241 [2021-05-10T17:53:24.920Z] Merge succeeded, producing 64999b7e1585b2db9adc1e810093ce65b9c2f241 [2021-05-10T17:53:24.921Z] Checking out Revision 64999b7e1585b2db9adc1e810093ce65b9c2f241 (PR-231) [2021-05-10T17:53:24.924Z] lf-activate-venv(): INFO: Adding /tmp/venv-9o4I/bin to PATH [2021-05-10T17:53:24.924Z] INFO: No Stack... [2021-05-10T17:53:24.924Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T17:53:24.924Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T17:53:25.236Z] + cat /w/workspace/go-mod-bootstrap/4/archives/cost.csv [2021-05-10T17:53:25.236Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T17:53:25.319Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] [2021-05-10T17:53:25.328Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] did not exist. Created. [2021-05-10T17:53:25.328Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T17:53:24.747Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:53:24.764Z] > git checkout -f 64999b7e1585b2db9adc1e810093ce65b9c2f241 # timeout=10 [2021-05-10T17:53:24.838Z] > git remote # timeout=10 [2021-05-10T17:53:24.852Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T17:53:24.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:53:24.882Z] > git merge 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 # timeout=10 [2021-05-10T17:53:24.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T17:53:24.920Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:53:24.932Z] > git checkout -f 64999b7e1585b2db9adc1e810093ce65b9c2f241 # timeout=10 [2021-05-10T17:53:25.691Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T17:53:25.810Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T17:53:25.823Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T17:53:29.159Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:53:30.697Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:53:31.127Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:53:31.466Z] + true [2021-05-10T17:53:31.466Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-05-10T17:53:34.392Z] ========================================================= [2021-05-10T17:53:34.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T17:53:34.393Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:53:34.740Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T17:53:35.728Z] Sending build context to Docker daemon 931.8kB [2021-05-10T17:53:35.728Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-10T17:53:35.728Z] Step 2/8 : FROM ${BASE} [2021-05-10T17:53:36.010Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T17:53:36.010Z] 595b0fe564bb: Pulling fs layer [2021-05-10T17:53:36.010Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T17:53:36.010Z] 316046926c0a: Pulling fs layer [2021-05-10T17:53:36.010Z] 4ebd0625c992: Pulling fs layer [2021-05-10T17:53:36.010Z] 207e8628e3a3: Pulling fs layer [2021-05-10T17:53:36.010Z] c791037a9be2: Pulling fs layer [2021-05-10T17:53:36.010Z] ffd874e62e21: Pulling fs layer [2021-05-10T17:53:36.010Z] 4ebd0625c992: Waiting [2021-05-10T17:53:36.010Z] 207e8628e3a3: Waiting [2021-05-10T17:53:36.010Z] c791037a9be2: Waiting [2021-05-10T17:53:36.010Z] ffd874e62e21: Waiting [2021-05-10T17:53:36.010Z] 316046926c0a: Verifying Checksum [2021-05-10T17:53:36.010Z] 316046926c0a: Download complete [2021-05-10T17:53:36.010Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T17:53:36.010Z] 7186ed65a4f7: Download complete [2021-05-10T17:53:36.010Z] 207e8628e3a3: Download complete [2021-05-10T17:53:36.010Z] c791037a9be2: Download complete [2021-05-10T17:53:36.989Z] 595b0fe564bb: Verifying Checksum [2021-05-10T17:53:36.989Z] 595b0fe564bb: Download complete [2021-05-10T17:53:37.263Z] 595b0fe564bb: Pull complete [2021-05-10T17:53:37.870Z] 7186ed65a4f7: Pull complete [2021-05-10T17:53:38.144Z] 316046926c0a: Pull complete [2021-05-10T17:53:41.536Z] ffd874e62e21: Verifying Checksum [2021-05-10T17:53:41.536Z] ffd874e62e21: Download complete [2021-05-10T17:53:45.849Z] 4ebd0625c992: Verifying Checksum [2021-05-10T17:53:45.849Z] 4ebd0625c992: Download complete [2021-05-10T17:53:56.015Z] 4ebd0625c992: Pull complete [2021-05-10T17:53:56.015Z] 207e8628e3a3: Pull complete [2021-05-10T17:53:56.015Z] c791037a9be2: Pull complete [2021-05-10T17:53:58.641Z] ffd874e62e21: Pull complete [2021-05-10T17:53:58.641Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T17:53:58.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T17:53:58.920Z] ---> cfc18b08335c [2021-05-10T17:53:58.920Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T17:54:01.559Z] ---> Running in d02c1c4e1fc8 [2021-05-10T17:54:02.159Z] Removing intermediate container d02c1c4e1fc8 [2021-05-10T17:54:02.159Z] ---> 353e05f8bb7e [2021-05-10T17:54:02.159Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:54:02.159Z] ---> Running in fbc41b5876f5 [2021-05-10T17:54:04.792Z] Removing intermediate container fbc41b5876f5 [2021-05-10T17:54:04.792Z] ---> 29f9bc05bba4 [2021-05-10T17:54:04.792Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-10T17:54:04.792Z] ---> Running in 01eb90dc11b0 [2021-05-10T17:54:05.768Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T17:54:07.742Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T17:54:08.719Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T17:54:08.719Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T17:54:08.990Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T17:54:08.990Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T17:54:09.260Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T17:54:09.533Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T17:54:09.533Z] OK: 139 MiB in 45 packages [2021-05-10T17:54:10.962Z] Removing intermediate container 01eb90dc11b0 [2021-05-10T17:54:10.962Z] ---> 0fa186ae2954 [2021-05-10T17:54:10.962Z] Step 6/8 : WORKDIR /build [2021-05-10T17:54:10.962Z] ---> Running in eda4fca4be3e [2021-05-10T17:54:11.554Z] Removing intermediate container eda4fca4be3e [2021-05-10T17:54:11.554Z] ---> 8cfd5d393829 [2021-05-10T17:54:11.554Z] Step 7/8 : COPY go.mod . [2021-05-10T17:54:12.152Z] ---> 3830993938d6 [2021-05-10T17:54:12.152Z] Step 8/8 : RUN go mod download [2021-05-10T17:54:12.152Z] ---> Running in 2e9f44a2fb34 [2021-05-10T17:54:38.964Z] Removing intermediate container 2e9f44a2fb34 [2021-05-10T17:54:38.964Z] ---> 71f31974a697 [2021-05-10T17:54:38.964Z] Successfully built 71f31974a697 [2021-05-10T17:54:38.964Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:54:39.318Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T17:54:39.319Z] . [Pipeline] withDockerContainer [2021-05-10T17:54:39.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-4141 does not seem to be running inside a container [2021-05-10T17:54:39.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@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-05-10T17:54:41.248Z] $ docker top ede80bdf93bb65e4afaa180ad043cc2fc5c9f185dad52baa9f6de0b6d3f4b0e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:54:42.208Z] + go version [2021-05-10T17:54:42.208Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T17:54:42.256Z] $ docker stop --time=1 ede80bdf93bb65e4afaa180ad043cc2fc5c9f185dad52baa9f6de0b6d3f4b0e0 [2021-05-10T17:54:44.147Z] $ docker rm -f ede80bdf93bb65e4afaa180ad043cc2fc5c9f185dad52baa9f6de0b6d3f4b0e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:54:44.788Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T17:54:44.788Z] . [Pipeline] withDockerContainer [2021-05-10T17:54:45.005Z] prd-ubuntu18.04-docker-arm64-4c-16g-4141 does not seem to be running inside a container [2021-05-10T17:54:45.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@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-05-10T17:54:46.509Z] $ docker top 9cd500e06ef1e569d210c46edcffb0d07b603a581b9dd3d4e0ad2e1952fe1917 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:54:47.410Z] + go mod tidy [Pipeline] sh [2021-05-10T17:54:48.665Z] + make test [2021-05-10T17:54:48.665Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T17:55:35.695Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-10T17:55:35.695Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.096s coverage: 5.4% of statements [2021-05-10T17:55:35.695Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-10T17:55:35.695Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.089s coverage: 92.2% of statements [2021-05-10T17:55:35.695Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.038s coverage: 85.3% of statements [2021-05-10T17:55:35.695Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-10T17:55:35.695Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-10T17:55:35.695Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-10T17:55:40.023Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.046s coverage: 91.5% of statements [2021-05-10T17:55:40.023Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.098s coverage: 26.7% of statements [2021-05-10T17:55:43.438Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.054s coverage: 90.7% of statements [2021-05-10T17:55:43.438Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-10T17:55:43.438Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-10T17:55:43.438Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.025s coverage: 91.3% of statements [2021-05-10T17:55:43.438Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-10T17:55:43.712Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T17:56:10.534Z] gofmt -l . [2021-05-10T17:56:10.534Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T17:56:10.608Z] $ docker stop --time=1 9cd500e06ef1e569d210c46edcffb0d07b603a581b9dd3d4e0ad2e1952fe1917 [2021-05-10T17:56:12.783Z] $ docker rm -f 9cd500e06ef1e569d210c46edcffb0d07b603a581b9dd3d4e0ad2e1952fe1917 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:56:13.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T17:56:13.632Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T17:56:14.595Z] 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-05-10T17:56:15.129Z] ---> job-cost.sh [2021-05-10T17:56:15.129Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ssyk [2021-05-10T17:56:54.118Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T17:58:30.881Z] lf-activate-venv(): INFO: Adding /tmp/venv-ssyk/bin to PATH [2021-05-10T17:58:30.881Z] INFO: No Stack... [2021-05-10T17:58:30.881Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T17:58:30.881Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T17:58:31.216Z] + + catcut /w/workspace/go-mod-bootstrap/4/archives/cost.csv -d, [2021-05-10T17:58:31.216Z] -f6 [Pipeline] lock [2021-05-10T17:58:31.330Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] [2021-05-10T17:58:31.338Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] did not exist. Created. [2021-05-10T17:58:31.338Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T17:58:31.707Z] /w/workspace/go-mod-bootstrap/4@tmp/durable-c88d0d03/script.sh: 1: /w/workspace/go-mod-bootstrap/4@tmp/durable-c88d0d03/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T17:58:32.064Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T17:58:32.098Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T17:58:32.244Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T17:58:32.256Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-231-4-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-05-10T17:58:32.696Z] provisioning config files... [2021-05-10T17:58:32.710Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp/config6847872752063649516tmp [Pipeline] { [Pipeline] sh [2021-05-10T17:58:33.039Z] + set +x [2021-05-10T17:58:33.039Z] + curl -s https://codecov.io/bash [2021-05-10T17:58:33.039Z] + bash -s -- [2021-05-10T17:58:33.305Z] [2021-05-10T17:58:33.305Z] _____ _ [2021-05-10T17:58:33.305Z] / ____| | | [2021-05-10T17:58:33.305Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T17:58:33.305Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T17:58:33.305Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T17:58:33.305Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T17:58:33.305Z] Bash-1.0.2 [2021-05-10T17:58:33.305Z] [2021-05-10T17:58:33.305Z] [2021-05-10T17:58:33.305Z] ==> git version 2.24.3 found [2021-05-10T17:58:33.305Z] ==> 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-05-10T17:58:33.305Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T17:58:33.305Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T17:58:33.305Z] ==> Jenkins CI detected. [2021-05-10T17:58:33.305Z] project root: . [2021-05-10T17:58:33.305Z] --> token set from env [2021-05-10T17:58:33.305Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T17:58:33.305Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T17:58:33.305Z] ==> Python coveragepy not found [2021-05-10T17:58:33.305Z] ==> Searching for coverage reports in: [2021-05-10T17:58:33.305Z] + . [2021-05-10T17:58:33.305Z] -> Found 1 reports [2021-05-10T17:58:33.305Z] ==> Detecting git/mercurial file structure [2021-05-10T17:58:33.305Z] ==> Reading reports [2021-05-10T17:58:33.305Z] + ./coverage.out bytes=33568 [2021-05-10T17:58:33.305Z] ==> Appending adjustments [2021-05-10T17:58:33.305Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T17:58:33.571Z] + Found adjustments [2021-05-10T17:58:33.571Z] ==> Gzipping contents [2021-05-10T17:58:33.571Z] 8.0K /tmp/codecov.OcgWH3.gz [2021-05-10T17:58:33.571Z] ==> Uploading reports [2021-05-10T17:58:33.571Z] url: https://codecov.io [2021-05-10T17:58:33.571Z] query: branch=PR-231&commit=64999b7e1585b2db9adc1e810093ce65b9c2f241&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-231%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-05-10T17:58:33.571Z] -> Pinging Codecov [2021-05-10T17:58:33.571Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-231&commit=64999b7e1585b2db9adc1e810093ce65b9c2f241&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-231%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-05-10T17:58:34.147Z] -> Uploading to [2021-05-10T17:58:34.147Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/833815588EE85121546D348822E98E2E/64999b7e1585b2db9adc1e810093ce65b9c2f241/20899a48-d8df-4faf-91f7-098b3df96dd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T175833Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd5e8f7290cf6590eac9f927c97eb6a178b5e3740303a18959d0c634a65f8227 [2021-05-10T17:58:34.147Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T17:58:34.147Z] Dload Upload Total Spent Left Speed [2021-05-10T17:58:35.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6242 0 0 100 6242 0 8889 --:--:-- --:--:-- --:--:-- 8879 100 6242 0 0 100 6242 0 8886 --:--:-- --:--:-- --:--:-- 8879 [2021-05-10T17:58:35.099Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/64999b7e1585b2db9adc1e810093ce65b9c2f241 [Pipeline] } [2021-05-10T17:58:35.109Z] 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-05-10T17:58:36.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:58:36.661Z] ---> package-listing.sh [2021-05-10T17:58:36.661Z] ++ facter osfamily [2021-05-10T17:58:36.661Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T17:58:36.661Z] + OS_FAMILY=redhat [2021-05-10T17:58:36.661Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-231 [2021-05-10T17:58:36.661Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T17:58:36.661Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T17:58:36.661Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T17:58:36.661Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T17:58:36.661Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-231 ']' [2021-05-10T17:58:36.661Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T17:58:36.661Z] + case "${OS_FAMILY}" in [2021-05-10T17:58:36.661Z] + rpm -qa [2021-05-10T17:58:36.661Z] + sort [2021-05-10T17:58:41.991Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T17:58:41.991Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T17:58:41.991Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T17:58:41.991Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-231 ']' [2021-05-10T17:58:41.991Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-231/archives/ [2021-05-10T17:58:41.991Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-231/archives/ [Pipeline] echo [2021-05-10T17:58:42.008Z] 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-231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T17:58:42.300Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:58:42.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T17:58:42.674Z] [2021-05-10T17:58:42.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:58:43.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T17:58:43.045Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T17:58:43.045Z] df20fa9351a1: Pulling fs layer [2021-05-10T17:58:43.045Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T17:58:43.045Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T17:58:43.045Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T17:58:43.045Z] 93b61091891f: Pulling fs layer [2021-05-10T17:58:43.045Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T17:58:43.045Z] 5e14af77c1be: Pulling fs layer [2021-05-10T17:58:43.045Z] 01666e4c0597: Pulling fs layer [2021-05-10T17:58:43.045Z] aa168da1d23b: Pulling fs layer [2021-05-10T17:58:43.045Z] 46f8f816bc3b: Waiting [2021-05-10T17:58:43.045Z] 93b61091891f: Waiting [2021-05-10T17:58:43.045Z] 93b9cdb0e59b: Waiting [2021-05-10T17:58:43.045Z] 01666e4c0597: Waiting [2021-05-10T17:58:43.045Z] 5e14af77c1be: Waiting [2021-05-10T17:58:43.045Z] aa168da1d23b: Waiting [2021-05-10T17:58:43.045Z] 36b3adc4ff6f: Download complete [2021-05-10T17:58:43.309Z] 46f8f816bc3b: Download complete [2021-05-10T17:58:43.573Z] 93b61091891f: Download complete [2021-05-10T17:58:43.573Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T17:58:43.573Z] 93b9cdb0e59b: Download complete [2021-05-10T17:58:43.573Z] 5e14af77c1be: Verifying Checksum [2021-05-10T17:58:43.573Z] 5e14af77c1be: Download complete [2021-05-10T17:58:43.573Z] df20fa9351a1: Download complete [2021-05-10T17:58:43.573Z] 01666e4c0597: Download complete [2021-05-10T17:58:44.153Z] df20fa9351a1: Pull complete [2021-05-10T17:58:44.420Z] 36b3adc4ff6f: Pull complete [2021-05-10T17:58:44.996Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T17:58:44.996Z] 8ad3a11d3b57: Download complete [2021-05-10T17:58:45.577Z] 8ad3a11d3b57: Pull complete [2021-05-10T17:58:45.840Z] 46f8f816bc3b: Pull complete [2021-05-10T17:58:46.103Z] 93b61091891f: Pull complete [2021-05-10T17:58:46.103Z] 93b9cdb0e59b: Pull complete [2021-05-10T17:58:46.366Z] 5e14af77c1be: Pull complete [2021-05-10T17:58:46.630Z] 01666e4c0597: Pull complete [2021-05-10T17:58:58.904Z] aa168da1d23b: Verifying Checksum [2021-05-10T17:58:58.904Z] aa168da1d23b: Download complete [2021-05-10T17:59:05.601Z] aa168da1d23b: Pull complete [2021-05-10T17:59:05.601Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T17:59:05.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T17:59:05.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T17:59:05.850Z] prd-centos7-docker-4c-2g-4137 does not seem to be running inside a container [2021-05-10T17:59:05.896Z] $ 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-231/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-231 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-231:/w/workspace/xfoundry_go-mod-bootstrap_PR-231:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T17:59:11.988Z] $ docker top 94693db182dc0a1f5dbe939df80343f3c04fd063ed6301d0a4e4b7e5ec71782b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:59:12.556Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T17:59:12.867Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T17:59:13.181Z] + ls /var/log/sa-host [2021-05-10T17:59:13.181Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T17:59:13.181Z] file_magic: OK [2021-05-10T17:59:13.181Z] HZ: Using current value: 100 [2021-05-10T17:59:13.181Z] file_header: OK [2021-05-10T17:59:13.181Z] 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-05-10T17:59:13.181Z] Statistics: [2021-05-10T17:59:13.181Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T17:59:13.181Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T17:59:13.181Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T17:59:13.181Z] file_magic: OK [2021-05-10T17:59:13.181Z] HZ: Using current value: 100 [2021-05-10T17:59:13.181Z] file_header: OK [2021-05-10T17:59:13.181Z] 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-05-10T17:59:13.181Z] Statistics: [2021-05-10T17:59:13.181Z] Hnuu...uuuununununu... [2021-05-10T17:59:13.181Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T17:59:13.380Z] provisioning config files... [2021-05-10T17:59:13.397Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-231@tmp/config184006145614874338tmp [Pipeline] { [Pipeline] echo [2021-05-10T17:59:13.421Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:13.724Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T17:59:13.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T17:59:13.762Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:14.066Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T17:59:14.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:14.378Z] ---> sudo-logs.sh [2021-05-10T17:59:14.378Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T17:59:14.409Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:14.715Z] ---> job-cost.sh [2021-05-10T17:59:14.715Z] lf-activate-venv: SKIPPING [2021-05-10T17:59:14.715Z] DEBUG: total: 0.20999999344348907 [2021-05-10T17:59:14.715Z] INFO: Retrieving Stack Cost... [2021-05-10T17:59:16.643Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T17:59:17.220Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T17:59:17.236Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:17.540Z] ---> logs-deploy.sh [2021-05-10T17:59:17.540Z] lf-activate-venv: SKIPPING [2021-05-10T17:59:17.540Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-231/4 [2021-05-10T17:59:17.540Z] INFO: archiving workspace using pattern(s): [2021-05-10T17:59:19.466Z] Archives upload complete. [2021-05-10T17:59:19.466Z] INFO: archiving logs to Nexus