lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 49c039c06ed1bc683787364bea1e10c7989f8b16+b20a0182e28eabf0a8f345f296370c2283968b1c (934c0b3fc5c7dad203dea2259ea0bacf3f8ea80b) 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-4226 in /w/workspace/xfoundry_go-mod-bootstrap_PR-233 [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-233 # 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 b20a0182e28eabf0a8f345f296370c2283968b1c into PR head commit 49c039c06ed1bc683787364bea1e10c7989f8b16 Merge succeeded, producing e6d67a81b76648c478bfad4f60a836df83af999b Checking out Revision e6d67a81b76648c478bfad4f60a836df83af999b (PR-233) > 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/233/head:refs/remotes/origin/PR-233 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 49c039c06ed1bc683787364bea1e10c7989f8b16 # 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 b20a0182e28eabf0a8f345f296370c2283968b1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6d67a81b76648c478bfad4f60a836df83af999b # timeout=10 Commit message: "Merge commit 'b20a0182e28eabf0a8f345f296370c2283968b1c' into HEAD" > git rev-list --no-walk 49c039c06ed1bc683787364bea1e10c7989f8b16 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T22:15:33.667Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T22:15:33.769Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T22:15:33.802Z] ========================================================= [2021-05-10T22:15:33.802Z] EdgeX Global Pipelines Version Info [2021-05-10T22:15:33.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:15:35.450Z] ------------------- [2021-05-10T22:15:35.451Z] stable info: [2021-05-10T22:15:35.451Z] ------------------- [2021-05-10T22:15:35.451Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T22:15:35.451Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T22:15:35.451Z] Message: update stable to v1.0.191 [2021-05-10T22:15:36.403Z] ------------------- [2021-05-10T22:15:36.403Z] experimental info: [2021-05-10T22:15:36.403Z] ------------------- [2021-05-10T22:15:36.403Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T22:15:36.403Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T22:15:36.403Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T22:15:36.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-10T22:15:36.562Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-10T22:15:36.588Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T22:15:36.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T22:15:36.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T22:15:36.662Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T22:15:36.709Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T22:15:36.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T22:15:36.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T22:15:36.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T22:15:36.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T22:15:36.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-10T22:15:36.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T22:15:36.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T22:15:36.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:15:36.949Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:15:36.995Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:15:37.018Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:15:37.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T22:15:37.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T22:15:37.132Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T22:15:37.172Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T22:15:37.197Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T22:15:37.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T22:15:37.245Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-10T22:15:37.278Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T22:15:37.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-233 [Pipeline] echo [2021-05-10T22:15:37.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-233 [Pipeline] echo [2021-05-10T22:15:37.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-233 [Pipeline] echo [2021-05-10T22:15:37.410Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6d67a81b76648c478bfad4f60a836df83af999b [Pipeline] echo [2021-05-10T22:15:37.437Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6d67a8 [Pipeline] echo [2021-05-10T22:15:37.461Z] [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-10T22:15:37.886Z] + git log --format=format:%s -1 e6d67a81b76648c478bfad4f60a836df83af999b [Pipeline] echo [2021-05-10T22:15:37.968Z] GIT_COMMIT: e6d67a81b76648c478bfad4f60a836df83af999b, Commit Message: Merge commit 'b20a0182e28eabf0a8f345f296370c2283968b1c' into HEAD [Pipeline] echo [2021-05-10T22:15:37.983Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:15:38.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T22:15:38.980Z] [2021-05-10T22:15:38.980Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:15:39.305Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T22:15:39.305Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T22:15:39.305Z] 31603596830f: Pulling fs layer [2021-05-10T22:15:39.305Z] 54011a49482f: Pulling fs layer [2021-05-10T22:15:39.305Z] a6820b24f6d8: Pulling fs layer [2021-05-10T22:15:39.305Z] f581987b2513: Pulling fs layer [2021-05-10T22:15:39.305Z] f581987b2513: Waiting [2021-05-10T22:15:39.305Z] 54011a49482f: Download complete [2021-05-10T22:15:39.569Z] 31603596830f: Verifying Checksum [2021-05-10T22:15:39.570Z] 31603596830f: Download complete [2021-05-10T22:15:39.570Z] f581987b2513: Verifying Checksum [2021-05-10T22:15:39.570Z] a6820b24f6d8: Verifying Checksum [2021-05-10T22:15:39.570Z] a6820b24f6d8: Download complete [2021-05-10T22:15:39.833Z] 31603596830f: Pull complete [2021-05-10T22:15:40.098Z] 54011a49482f: Pull complete [2021-05-10T22:15:41.051Z] a6820b24f6d8: Pull complete [2021-05-10T22:15:41.051Z] f581987b2513: Pull complete [2021-05-10T22:15:41.051Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T22:15:41.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T22:15:41.315Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T22:15:41.435Z] prd-centos7-docker-4c-2g-4226 does not seem to be running inside a container [2021-05-10T22:15:41.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-233 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-233:/w/workspace/xfoundry_go-mod-bootstrap_PR-233:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T22:15:43.348Z] $ docker top af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T22:15:43.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T22:15:43.496Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T22:15:43.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T22:15:43.745Z] $ docker exec af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 ssh-agent [2021-05-10T22:15:43.922Z] SSH_AUTH_SOCK=/tmp/ssh-TQCH8LcmL3Ks/agent.12 [2021-05-10T22:15:43.922Z] SSH_AGENT_PID=18 [2021-05-10T22:15:43.933Z] Running ssh-add (command line suppressed) [2021-05-10T22:15:44.055Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp/private_key_3239966600785520605.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp/private_key_3239966600785520605.key) [2021-05-10T22:15:44.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T22:15:44.417Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T22:15:44.440Z] $ docker exec --env ******** --env ******** af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 ssh-agent -k [2021-05-10T22:15:44.559Z] unset SSH_AUTH_SOCK; [2021-05-10T22:15:44.559Z] unset SSH_AGENT_PID; [2021-05-10T22:15:44.559Z] echo Agent pid 18 killed; [2021-05-10T22:15:44.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T22:15:44.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T22:15:44.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T22:15:44.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T22:15:44.840Z] $ docker exec af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 ssh-agent [2021-05-10T22:15:45.004Z] SSH_AUTH_SOCK=/tmp/ssh-7xiuM1kHE9V0/agent.47 [2021-05-10T22:15:45.004Z] SSH_AGENT_PID=52 [2021-05-10T22:15:45.011Z] Running ssh-add (command line suppressed) [2021-05-10T22:15:45.134Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp/private_key_883453481403288850.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp/private_key_883453481403288850.key) [2021-05-10T22:15:45.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T22:15:45.493Z] + git semver init [2021-05-10T22:15:45.493Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T22:15:45.493Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-233/.git [2021-05-10T22:15:45.493Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-233 [2021-05-10T22:15:45.493Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T22:15:45.493Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T22:15:45.493Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T22:15:45.493Z] # $SEMVER_BRANCH = PR-233 [2021-05-10T22:15:45.493Z] # $SEMVER_TEMP = /tmp/semver-209456107 [2021-05-10T22:15:45.493Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-10T22:15:46.070Z] # '/tmp/semver-209456107' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-233/.semver' [2021-05-10T22:15:46.070Z] # -> Force: false [2021-05-10T22:15:46.070Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-233/.semver [Pipeline] } [2021-05-10T22:15:46.086Z] $ docker exec --env ******** --env ******** af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 ssh-agent -k [2021-05-10T22:15:46.199Z] unset SSH_AUTH_SOCK; [2021-05-10T22:15:46.199Z] unset SSH_AGENT_PID; [2021-05-10T22:15:46.199Z] echo Agent pid 52 killed; [2021-05-10T22:15:46.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T22:15:46.586Z] + git semver [Pipeline] } [2021-05-10T22:15:46.607Z] $ docker stop --time=1 af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 [2021-05-10T22:15:48.427Z] $ docker rm -f af4771e71a760778240f1feb17e910b134a4bcff8dc72871135933dad79d10b3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T22:15:48.823Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T22:15:49.212Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T22:15:49.215Z] [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-10T22:16:04.434Z] Still waiting to schedule task [2021-05-10T22:16:04.434Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T22:16:04.436Z] Still waiting to schedule task [2021-05-10T22:16:04.436Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T22:18:26.864Z] Running on prd-centos7-docker-4c-2g-4227 in /w/workspace/xfoundry_go-mod-bootstrap_PR-233 [Pipeline] { [Pipeline] ws [2021-05-10T22:18:26.886Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2021-05-10T22:18:29.542Z] using credential edgex-jenkins-ssh [2021-05-10T22:18:29.555Z] Cloning the remote Git repository [2021-05-10T22:18:29.226Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T22:18:29.294Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2021-05-10T22:18:29.356Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T22:18:29.356Z] > git --version # timeout=10 [2021-05-10T22:18:29.363Z] > git --version # 'git version 2.24.3' [2021-05-10T22:18:29.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:18:29.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:18:30.781Z] Merging remotes/origin/master commit b20a0182e28eabf0a8f345f296370c2283968b1c into PR head commit 49c039c06ed1bc683787364bea1e10c7989f8b16 [2021-05-10T22:18:30.877Z] Merge succeeded, producing 36c1c06ea40b1fea9d3bfa8e63687870c5a2433b [2021-05-10T22:18:30.877Z] Checking out Revision 36c1c06ea40b1fea9d3bfa8e63687870c5a2433b (PR-233) [2021-05-10T22:18:30.008Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T22:18:30.016Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:18:30.028Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T22:18:30.039Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T22:18:30.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:18:30.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/233/head:refs/remotes/origin/PR-233 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T22:18:30.539Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:18:30.544Z] > git checkout -f 49c039c06ed1bc683787364bea1e10c7989f8b16 # timeout=10 [2021-05-10T22:18:30.579Z] > git remote # timeout=10 [2021-05-10T22:18:30.588Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T22:18:30.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:18:30.599Z] > git merge b20a0182e28eabf0a8f345f296370c2283968b1c # timeout=10 [2021-05-10T22:18:30.624Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T22:18:30.638Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:18:30.646Z] > git checkout -f 36c1c06ea40b1fea9d3bfa8e63687870c5a2433b # timeout=10 [2021-05-10T22:18:34.264Z] Commit message: "Merge commit 'b20a0182e28eabf0a8f345f296370c2283968b1c' into HEAD" [2021-05-10T22:18:34.271Z] > git rev-list --no-walk 49c039c06ed1bc683787364bea1e10c7989f8b16 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T22:18:35.411Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:18:35.733Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:18:36.029Z] + sudo service docker restart [2021-05-10T22:18:36.029Z] + true [2021-05-10T22:18:36.029Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-10T22:18:37.125Z] ========================================================= [2021-05-10T22:18:37.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T22:18:37.125Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:18:37.440Z] + 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-10T22:18:37.703Z] Sending build context to Docker daemon 944.6kB [2021-05-10T22:18:37.703Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-10T22:18:37.703Z] Step 2/8 : FROM ${BASE} [2021-05-10T22:18:38.287Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T22:18:38.287Z] 540db60ca938: Pulling fs layer [2021-05-10T22:18:38.287Z] adcc1eea9eea: Pulling fs layer [2021-05-10T22:18:38.287Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T22:18:38.287Z] 0510c868ecb4: Pulling fs layer [2021-05-10T22:18:38.287Z] afea3b2eda06: Pulling fs layer [2021-05-10T22:18:38.287Z] 7809a108b3ef: Pulling fs layer [2021-05-10T22:18:38.287Z] f706445af74f: Pulling fs layer [2021-05-10T22:18:38.287Z] 0510c868ecb4: Waiting [2021-05-10T22:18:38.287Z] afea3b2eda06: Waiting [2021-05-10T22:18:38.287Z] 7809a108b3ef: Waiting [2021-05-10T22:18:38.287Z] f706445af74f: Waiting [2021-05-10T22:18:38.287Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T22:18:38.287Z] 4c4ab2625f07: Download complete [2021-05-10T22:18:38.287Z] adcc1eea9eea: Verifying Checksum [2021-05-10T22:18:38.287Z] adcc1eea9eea: Download complete [2021-05-10T22:18:38.287Z] afea3b2eda06: Verifying Checksum [2021-05-10T22:18:38.287Z] afea3b2eda06: Download complete [2021-05-10T22:18:38.287Z] 7809a108b3ef: Verifying Checksum [2021-05-10T22:18:38.287Z] 7809a108b3ef: Download complete [2021-05-10T22:18:38.287Z] 540db60ca938: Verifying Checksum [2021-05-10T22:18:38.287Z] 540db60ca938: Download complete [2021-05-10T22:18:38.552Z] 540db60ca938: Pull complete [2021-05-10T22:18:38.823Z] adcc1eea9eea: Pull complete [2021-05-10T22:18:38.823Z] 4c4ab2625f07: Pull complete [2021-05-10T22:18:40.223Z] f706445af74f: Verifying Checksum [2021-05-10T22:18:40.223Z] f706445af74f: Download complete [2021-05-10T22:18:40.806Z] 0510c868ecb4: Verifying Checksum [2021-05-10T22:18:40.806Z] 0510c868ecb4: Download complete [2021-05-10T22:18:47.449Z] 0510c868ecb4: Pull complete [2021-05-10T22:18:47.449Z] afea3b2eda06: Pull complete [2021-05-10T22:18:47.449Z] 7809a108b3ef: Pull complete [2021-05-10T22:18:54.088Z] f706445af74f: Pull complete [2021-05-10T22:18:54.088Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T22:18:54.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T22:18:54.088Z] ---> b068be0155e3 [2021-05-10T22:18:54.088Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T22:18:54.088Z] ---> Running in 5267fda1f3a8 [2021-05-10T22:18:54.353Z] Removing intermediate container 5267fda1f3a8 [2021-05-10T22:18:54.353Z] ---> 472f8a44820d [2021-05-10T22:18:54.353Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:18:54.619Z] ---> Running in 43a8c52963d4 [2021-05-10T22:18:55.576Z] Removing intermediate container 43a8c52963d4 [2021-05-10T22:18:55.576Z] ---> ed198d390d01 [2021-05-10T22:18:55.576Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-10T22:18:55.841Z] ---> Running in df0ad6a2c13c [2021-05-10T22:18:56.421Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T22:18:57.816Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T22:18:59.743Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T22:18:59.743Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T22:18:59.743Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T22:19:00.006Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T22:19:00.270Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T22:19:00.533Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T22:19:00.533Z] OK: 150 MiB in 45 packages [2021-05-10T22:19:01.108Z] Removing intermediate container df0ad6a2c13c [2021-05-10T22:19:01.108Z] ---> 305abb058ccf [2021-05-10T22:19:01.108Z] Step 6/8 : WORKDIR /build [2021-05-10T22:19:01.108Z] ---> Running in 48774e9babe1 [2021-05-10T22:19:01.371Z] Removing intermediate container 48774e9babe1 [2021-05-10T22:19:01.371Z] ---> af90519f22cc [2021-05-10T22:19:01.371Z] Step 7/8 : COPY go.mod . [2021-05-10T22:19:01.371Z] ---> 42928b867280 [2021-05-10T22:19:01.371Z] Step 8/8 : RUN go mod download [2021-05-10T22:19:01.635Z] ---> Running in 08fa4c5d59e8 [2021-05-10T22:19:28.283Z] Removing intermediate container 08fa4c5d59e8 [2021-05-10T22:19:28.283Z] ---> c6203cc44a26 [2021-05-10T22:19:28.283Z] Successfully built c6203cc44a26 [2021-05-10T22:19:28.283Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:19:28.596Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T22:19:28.596Z] . [Pipeline] withDockerContainer [2021-05-10T22:19:28.713Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2021-05-10T22:19:28.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T22:19:29.537Z] $ docker top 47f486270ba917cab774dc59328f835513046e0ab1a0b10098ef0bbefb42d245 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:19:29.967Z] + go version [2021-05-10T22:19:29.967Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T22:19:29.982Z] $ docker stop --time=1 47f486270ba917cab774dc59328f835513046e0ab1a0b10098ef0bbefb42d245 [2021-05-10T22:19:31.368Z] $ docker rm -f 47f486270ba917cab774dc59328f835513046e0ab1a0b10098ef0bbefb42d245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:19:31.883Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T22:19:31.883Z] . [Pipeline] withDockerContainer [2021-05-10T22:19:31.985Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2021-05-10T22:19:32.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T22:19:32.723Z] $ docker top 57f239677b026247066fb764416ce7567d17239a743b51a2b792d88250a9b0b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:19:33.171Z] + go mod tidy [Pipeline] sh [2021-05-10T22:19:33.740Z] + make test [2021-05-10T22:19:33.740Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T22:19:49.000Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-10T22:19:49.630Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.022s coverage: 5.4% of statements [2021-05-10T22:19:49.630Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-10T22:19:49.630Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.013s coverage: 92.2% of statements [2021-05-10T22:19:49.630Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.006s coverage: 85.3% of statements [2021-05-10T22:19:50.242Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-10T22:19:50.242Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-10T22:19:50.242Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-10T22:19:52.809Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.044s coverage: 91.5% of statements [2021-05-10T22:19:52.809Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.036s coverage: 26.7% of statements [2021-05-10T22:19:53.385Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4228 in /w/workspace/xfoundry_go-mod-bootstrap_PR-233 [Pipeline] { [Pipeline] ws [2021-05-10T22:19:53.430Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2021-05-10T22:19:54.765Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.022s coverage: 90.7% of statements [2021-05-10T22:19:54.765Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-10T22:19:54.765Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-10T22:19:54.765Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.004s coverage: 91.3% of statements [2021-05-10T22:19:54.765Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-10T22:19:54.765Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T22:19:59.315Z] using credential edgex-jenkins-ssh [2021-05-10T22:19:59.348Z] Cloning the remote Git repository [2021-05-10T22:19:59.407Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T22:19:59.513Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2021-05-10T22:19:59.581Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T22:19:59.584Z] > git --version # timeout=10 [2021-05-10T22:19:59.614Z] > git --version # 'git version 2.17.1' [2021-05-10T22:19:59.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:19:59.688Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:20:00.761Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T22:20:00.782Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:20:00.802Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T22:20:00.833Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T22:20:00.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:20:00.853Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/233/head:refs/remotes/origin/PR-233 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T22:20:02.306Z] Merging remotes/origin/master commit b20a0182e28eabf0a8f345f296370c2283968b1c into PR head commit 49c039c06ed1bc683787364bea1e10c7989f8b16 [2021-05-10T22:20:02.333Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:20:02.348Z] > git checkout -f 49c039c06ed1bc683787364bea1e10c7989f8b16 # timeout=10 [2021-05-10T22:20:02.437Z] > git remote # timeout=10 [2021-05-10T22:20:02.547Z] Merge succeeded, producing 59fc962888b5280a755ab8cd400d112406f350fb [2021-05-10T22:20:02.548Z] Checking out Revision 59fc962888b5280a755ab8cd400d112406f350fb (PR-233) [2021-05-10T22:20:02.984Z] gofmt -l . [2021-05-10T22:20:02.984Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T22:20:03.004Z] $ docker stop --time=1 57f239677b026247066fb764416ce7567d17239a743b51a2b792d88250a9b0b9 [2021-05-10T22:20:02.460Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T22:20:02.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:20:02.489Z] > git merge b20a0182e28eabf0a8f345f296370c2283968b1c # timeout=10 [2021-05-10T22:20:02.541Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T22:20:02.563Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:20:02.573Z] > git checkout -f 59fc962888b5280a755ab8cd400d112406f350fb # timeout=10 [2021-05-10T22:20:04.828Z] $ docker rm -f 57f239677b026247066fb764416ce7567d17239a743b51a2b792d88250a9b0b9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T22:20:05.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T22:20:05.674Z] 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-10T22:20:06.291Z] ---> job-cost.sh [2021-05-10T22:20:06.291Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-03vs [2021-05-10T22:20:06.767Z] Commit message: "Merge commit 'b20a0182e28eabf0a8f345f296370c2283968b1c' into HEAD" [2021-05-10T22:20:06.782Z] > git rev-list --no-walk 49c039c06ed1bc683787364bea1e10c7989f8b16 # timeout=10 [2021-05-10T22:20:07.250Z] [2021-05-10T22:20:07.250Z] GitHub has been notified of this commit’s build result [2021-05-10T22:20:07.250Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T22:20:08.413Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:20:08.841Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:20:09.185Z] + + sudo service dockertrue [2021-05-10T22:20:09.185Z] restart [Pipeline] unstash [Pipeline] echo [2021-05-10T22:20:12.073Z] ========================================================= [2021-05-10T22:20:12.073Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T22:20:12.073Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:20:12.415Z] + 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-10T22:20:13.402Z] Sending build context to Docker daemon 944.6kB [2021-05-10T22:20:13.402Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-10T22:20:13.402Z] Step 2/8 : FROM ${BASE} [2021-05-10T22:20:13.676Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T22:20:13.676Z] 595b0fe564bb: Pulling fs layer [2021-05-10T22:20:13.676Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T22:20:13.676Z] 316046926c0a: Pulling fs layer [2021-05-10T22:20:13.676Z] 4ebd0625c992: Pulling fs layer [2021-05-10T22:20:13.676Z] 207e8628e3a3: Pulling fs layer [2021-05-10T22:20:13.676Z] 4ebd0625c992: Waiting [2021-05-10T22:20:13.676Z] c791037a9be2: Pulling fs layer [2021-05-10T22:20:13.676Z] ffd874e62e21: Pulling fs layer [2021-05-10T22:20:13.676Z] 207e8628e3a3: Waiting [2021-05-10T22:20:13.676Z] c791037a9be2: Waiting [2021-05-10T22:20:13.676Z] ffd874e62e21: Waiting [2021-05-10T22:20:13.676Z] 316046926c0a: Download complete [2021-05-10T22:20:13.676Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T22:20:13.676Z] 7186ed65a4f7: Download complete [2021-05-10T22:20:13.676Z] 207e8628e3a3: Verifying Checksum [2021-05-10T22:20:13.676Z] 207e8628e3a3: Download complete [2021-05-10T22:20:13.676Z] c791037a9be2: Verifying Checksum [2021-05-10T22:20:13.676Z] c791037a9be2: Download complete [2021-05-10T22:20:13.950Z] 595b0fe564bb: Verifying Checksum [2021-05-10T22:20:13.950Z] 595b0fe564bb: Download complete [2021-05-10T22:20:14.562Z] 595b0fe564bb: Pull complete [2021-05-10T22:20:15.167Z] 7186ed65a4f7: Pull complete [2021-05-10T22:20:15.441Z] 316046926c0a: Pull complete [2021-05-10T22:20:16.426Z] ffd874e62e21: Verifying Checksum [2021-05-10T22:20:16.426Z] ffd874e62e21: Download complete [2021-05-10T22:20:18.413Z] 4ebd0625c992: Download complete [2021-05-10T22:20:21.231Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T22:20:28.594Z] 4ebd0625c992: Pull complete [2021-05-10T22:20:28.594Z] 207e8628e3a3: Pull complete [2021-05-10T22:20:28.866Z] c791037a9be2: Pull complete [2021-05-10T22:20:32.271Z] ffd874e62e21: Pull complete [2021-05-10T22:20:32.271Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T22:20:32.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T22:20:32.271Z] ---> cfc18b08335c [2021-05-10T22:20:32.271Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T22:20:35.653Z] ---> Running in 53e13645042c [2021-05-10T22:20:35.653Z] Removing intermediate container 53e13645042c [2021-05-10T22:20:35.653Z] ---> c8865395cabd [2021-05-10T22:20:35.653Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:20:35.927Z] ---> Running in e8255d2e4a46 [2021-05-10T22:20:37.908Z] Removing intermediate container e8255d2e4a46 [2021-05-10T22:20:37.908Z] ---> 484982eb7cc8 [2021-05-10T22:20:37.908Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-10T22:20:38.190Z] ---> Running in e1415ffeda7d [2021-05-10T22:20:39.171Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T22:20:41.136Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T22:20:42.113Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T22:20:42.113Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T22:20:42.388Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T22:20:42.388Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T22:20:42.661Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T22:20:42.937Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T22:20:42.937Z] OK: 139 MiB in 45 packages [2021-05-10T22:20:44.401Z] Removing intermediate container e1415ffeda7d [2021-05-10T22:20:44.401Z] ---> 9013aaee53eb [2021-05-10T22:20:44.401Z] Step 6/8 : WORKDIR /build [2021-05-10T22:20:44.401Z] ---> Running in d43f3b422e5a [2021-05-10T22:20:45.000Z] Removing intermediate container d43f3b422e5a [2021-05-10T22:20:45.000Z] ---> b31e05cda6a8 [2021-05-10T22:20:45.000Z] Step 7/8 : COPY go.mod . [2021-05-10T22:20:45.596Z] ---> d439ed601c74 [2021-05-10T22:20:45.596Z] Step 8/8 : RUN go mod download [2021-05-10T22:20:45.868Z] ---> Running in 1a03c1fa9b2a [2021-05-10T22:20:53.423Z] lf-activate-venv(): INFO: Adding /tmp/venv-03vs/bin to PATH [2021-05-10T22:20:53.423Z] INFO: No Stack... [2021-05-10T22:20:53.423Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T22:20:53.423Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T22:20:53.737Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [2021-05-10T22:20:53.737Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T22:20:53.819Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] [2021-05-10T22:20:53.828Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] did not exist. Created. [2021-05-10T22:20:53.828Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T22:20:54.171Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T22:20:54.303Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T22:20:54.325Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T22:21:12.688Z] Removing intermediate container 1a03c1fa9b2a [2021-05-10T22:21:12.688Z] ---> 543d870fbed3 [2021-05-10T22:21:12.688Z] Successfully built 543d870fbed3 [2021-05-10T22:21:12.688Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:21:13.044Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T22:21:13.044Z] . [Pipeline] withDockerContainer [2021-05-10T22:21:13.332Z] prd-ubuntu18.04-docker-arm64-4c-16g-4228 does not seem to be running inside a container [2021-05-10T22:21:13.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T22:21:14.975Z] $ docker top a12a0de13bb4b7d178f0db25ad6f1e1a270bdb59feca6f23920951b4105fb384 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:21:15.932Z] + go version [2021-05-10T22:21:15.932Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T22:21:15.960Z] $ docker stop --time=1 a12a0de13bb4b7d178f0db25ad6f1e1a270bdb59feca6f23920951b4105fb384 [2021-05-10T22:21:17.898Z] $ docker rm -f a12a0de13bb4b7d178f0db25ad6f1e1a270bdb59feca6f23920951b4105fb384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:21:18.663Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T22:21:18.663Z] . [Pipeline] withDockerContainer [2021-05-10T22:21:18.925Z] prd-ubuntu18.04-docker-arm64-4c-16g-4228 does not seem to be running inside a container [2021-05-10T22:21:19.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T22:21:20.567Z] $ docker top fab98be1dd8f19e6a3a801a37f8490470c4bbfd80653ad53fb7473b27d0d51bf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:21:21.529Z] + go mod tidy [Pipeline] sh [2021-05-10T22:21:22.791Z] + make test [2021-05-10T22:21:22.791Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T22:22:09.808Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-10T22:22:09.808Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.065s coverage: 5.4% of statements [2021-05-10T22:22:09.808Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-10T22:22:09.808Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.069s coverage: 92.2% of statements [2021-05-10T22:22:09.808Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.036s coverage: 85.3% of statements [2021-05-10T22:22:09.808Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-10T22:22:09.808Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-10T22:22:09.808Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-10T22:22:14.147Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.048s coverage: 91.5% of statements [2021-05-10T22:22:14.147Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.088s coverage: 26.7% of statements [2021-05-10T22:22:16.759Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.092s coverage: 90.7% of statements [2021-05-10T22:22:16.759Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-10T22:22:16.759Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-10T22:22:16.759Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.019s coverage: 91.3% of statements [2021-05-10T22:22:16.759Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-10T22:22:17.032Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T22:22:39.252Z] gofmt -l . [2021-05-10T22:22:39.252Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T22:22:39.277Z] $ docker stop --time=1 fab98be1dd8f19e6a3a801a37f8490470c4bbfd80653ad53fb7473b27d0d51bf [2021-05-10T22:22:41.474Z] $ docker rm -f fab98be1dd8f19e6a3a801a37f8490470c4bbfd80653ad53fb7473b27d0d51bf [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T22:22:42.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T22:22:42.346Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T22:22:43.297Z] 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-10T22:22:43.851Z] ---> job-cost.sh [2021-05-10T22:22:43.852Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8ENC [2021-05-10T22:23:22.944Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T22:24:59.711Z] lf-activate-venv(): INFO: Adding /tmp/venv-8ENC/bin to PATH [2021-05-10T22:24:59.711Z] INFO: No Stack... [2021-05-10T22:24:59.711Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T22:24:59.711Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T22:25:00.056Z] + cut -d, -f6 [2021-05-10T22:25:00.056Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [Pipeline] lock [2021-05-10T22:25:00.190Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] [2021-05-10T22:25:00.204Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] did not exist. Created. [2021-05-10T22:25:00.205Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T22:25:00.576Z] /w/workspace/go-mod-bootstrap/2@tmp/durable-476eaeea/script.sh: 1: /w/workspace/go-mod-bootstrap/2@tmp/durable-476eaeea/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T22:25:00.946Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T22:25:00.975Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T22:25:01.140Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T22:25:01.160Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-233-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T22:25:01.588Z] provisioning config files... [2021-05-10T22:25:01.605Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp/config1714968938784036561tmp [Pipeline] { [Pipeline] sh [2021-05-10T22:25:01.955Z] + set +x [2021-05-10T22:25:01.955Z] + curl -s https://codecov.io/bash [2021-05-10T22:25:01.955Z] + bash -s -- [2021-05-10T22:25:02.218Z] [2021-05-10T22:25:02.218Z] _____ _ [2021-05-10T22:25:02.218Z] / ____| | | [2021-05-10T22:25:02.218Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T22:25:02.218Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T22:25:02.218Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T22:25:02.218Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T22:25:02.218Z] Bash-1.0.2 [2021-05-10T22:25:02.218Z] [2021-05-10T22:25:02.218Z] [2021-05-10T22:25:02.218Z] ==> git version 2.24.3 found [2021-05-10T22:25:02.218Z] ==> 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-10T22:25:02.218Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T22:25:02.218Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T22:25:02.218Z] ==> Jenkins CI detected. [2021-05-10T22:25:02.218Z] project root: . [2021-05-10T22:25:02.218Z] --> token set from env [2021-05-10T22:25:02.218Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T22:25:02.218Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T22:25:02.218Z] ==> Python coveragepy not found [2021-05-10T22:25:02.218Z] ==> Searching for coverage reports in: [2021-05-10T22:25:02.218Z] + . [2021-05-10T22:25:02.218Z] -> Found 1 reports [2021-05-10T22:25:02.218Z] ==> Detecting git/mercurial file structure [2021-05-10T22:25:02.218Z] ==> Reading reports [2021-05-10T22:25:02.218Z] + ./coverage.out bytes=33571 [2021-05-10T22:25:02.218Z] ==> Appending adjustments [2021-05-10T22:25:02.218Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T22:25:02.481Z] + Found adjustments [2021-05-10T22:25:02.481Z] ==> Gzipping contents [2021-05-10T22:25:02.481Z] 8.0K /tmp/codecov.yqP5gn.gz [2021-05-10T22:25:02.481Z] ==> Uploading reports [2021-05-10T22:25:02.481Z] url: https://codecov.io [2021-05-10T22:25:02.481Z] query: branch=PR-233&commit=e6d67a81b76648c478bfad4f60a836df83af999b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-233%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=233&job=&cmd_args= [2021-05-10T22:25:02.481Z] -> Pinging Codecov [2021-05-10T22:25:02.481Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-233&commit=e6d67a81b76648c478bfad4f60a836df83af999b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-233%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=233&job=&cmd_args= [2021-05-10T22:25:03.070Z] -> Uploading to [2021-05-10T22:25:03.070Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/833815588EE85121546D348822E98E2E/e6d67a81b76648c478bfad4f60a836df83af999b/87c47866-ad66-4f10-b90d-8ef7105f37e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T222502Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4779fa136a7755ef6891bddd35465273b442c0e2dbfea7a16dec76eca963dabe [2021-05-10T22:25:03.070Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T22:25:03.070Z] Dload Upload Total Spent Left Speed [2021-05-10T22:25:03.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6249 0 0 100 6249 0 14161 --:--:-- --:--:-- --:--:-- 14170 [2021-05-10T22:25:03.333Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/e6d67a81b76648c478bfad4f60a836df83af999b [Pipeline] } [2021-05-10T22:25:03.344Z] 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-10T22:25:04.253Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:25:04.823Z] ---> package-listing.sh [2021-05-10T22:25:04.823Z] ++ facter osfamily [2021-05-10T22:25:04.823Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T22:25:04.823Z] + OS_FAMILY=redhat [2021-05-10T22:25:04.823Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-233 [2021-05-10T22:25:04.823Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T22:25:04.823Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T22:25:04.823Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T22:25:04.823Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T22:25:04.823Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-233 ']' [2021-05-10T22:25:04.823Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T22:25:04.823Z] + case "${OS_FAMILY}" in [2021-05-10T22:25:04.823Z] + rpm -qa [2021-05-10T22:25:04.823Z] + sort [2021-05-10T22:25:10.147Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T22:25:10.147Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T22:25:10.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T22:25:10.147Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-233 ']' [2021-05-10T22:25:10.147Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-233/archives/ [2021-05-10T22:25:10.147Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-233/archives/ [Pipeline] echo [2021-05-10T22:25:10.161Z] 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-233/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T22:25:10.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:25:10.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T22:25:10.802Z] [2021-05-10T22:25:10.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:25:11.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T22:25:11.190Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T22:25:11.190Z] df20fa9351a1: Pulling fs layer [2021-05-10T22:25:11.190Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T22:25:11.190Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T22:25:11.190Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T22:25:11.190Z] 93b61091891f: Pulling fs layer [2021-05-10T22:25:11.190Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T22:25:11.190Z] 5e14af77c1be: Pulling fs layer [2021-05-10T22:25:11.190Z] 01666e4c0597: Pulling fs layer [2021-05-10T22:25:11.190Z] aa168da1d23b: Pulling fs layer [2021-05-10T22:25:11.190Z] 93b9cdb0e59b: Waiting [2021-05-10T22:25:11.190Z] 5e14af77c1be: Waiting [2021-05-10T22:25:11.190Z] 01666e4c0597: Waiting [2021-05-10T22:25:11.190Z] aa168da1d23b: Waiting [2021-05-10T22:25:11.190Z] 46f8f816bc3b: Waiting [2021-05-10T22:25:11.190Z] 93b61091891f: Waiting [2021-05-10T22:25:11.190Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T22:25:11.190Z] 36b3adc4ff6f: Download complete [2021-05-10T22:25:11.190Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T22:25:11.190Z] 46f8f816bc3b: Download complete [2021-05-10T22:25:11.454Z] df20fa9351a1: Verifying Checksum [2021-05-10T22:25:11.454Z] df20fa9351a1: Download complete [2021-05-10T22:25:11.454Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T22:25:11.454Z] 93b9cdb0e59b: Download complete [2021-05-10T22:25:11.454Z] 93b61091891f: Verifying Checksum [2021-05-10T22:25:11.454Z] 93b61091891f: Download complete [2021-05-10T22:25:11.454Z] 5e14af77c1be: Verifying Checksum [2021-05-10T22:25:11.454Z] 5e14af77c1be: Download complete [2021-05-10T22:25:11.454Z] 01666e4c0597: Verifying Checksum [2021-05-10T22:25:11.454Z] 01666e4c0597: Download complete [2021-05-10T22:25:11.717Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T22:25:11.717Z] 8ad3a11d3b57: Download complete [2021-05-10T22:25:11.717Z] df20fa9351a1: Pull complete [2021-05-10T22:25:11.985Z] 36b3adc4ff6f: Pull complete [2021-05-10T22:25:12.945Z] 8ad3a11d3b57: Pull complete [2021-05-10T22:25:12.945Z] 46f8f816bc3b: Pull complete [2021-05-10T22:25:13.228Z] 93b61091891f: Pull complete [2021-05-10T22:25:13.815Z] 93b9cdb0e59b: Pull complete [2021-05-10T22:25:14.080Z] 5e14af77c1be: Pull complete [2021-05-10T22:25:14.080Z] 01666e4c0597: Pull complete [2021-05-10T22:25:14.348Z] aa168da1d23b: Verifying Checksum [2021-05-10T22:25:14.348Z] aa168da1d23b: Download complete [2021-05-10T22:25:20.993Z] aa168da1d23b: Pull complete [2021-05-10T22:25:20.993Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T22:25:20.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T22:25:20.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T22:25:21.470Z] prd-centos7-docker-4c-2g-4226 does not seem to be running inside a container [2021-05-10T22:25:21.530Z] $ 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-233/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-233 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-233:/w/workspace/xfoundry_go-mod-bootstrap_PR-233:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T22:25:23.839Z] $ docker top dc95ec1c65c7a3d8700b1063f8407e4b642a19270028624fe7e7b9b06bf6c16c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:25:24.282Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T22:25:24.584Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T22:25:24.885Z] + ls /var/log/sa-host [2021-05-10T22:25:24.885Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T22:25:24.885Z] file_magic: OK [2021-05-10T22:25:24.885Z] HZ: Using current value: 100 [2021-05-10T22:25:24.885Z] file_header: OK [2021-05-10T22:25:24.885Z] 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-10T22:25:24.885Z] Statistics: [2021-05-10T22:25:24.885Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T22:25:24.885Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T22:25:24.885Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T22:25:24.885Z] file_magic: OK [2021-05-10T22:25:24.885Z] HZ: Using current value: 100 [2021-05-10T22:25:24.885Z] file_header: OK [2021-05-10T22:25:24.885Z] 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-10T22:25:24.885Z] Statistics: [2021-05-10T22:25:24.885Z] Hnuu...uuuununununu... [2021-05-10T22:25:24.885Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T22:25:25.072Z] provisioning config files... [2021-05-10T22:25:25.087Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-233@tmp/config4650596657342594059tmp [Pipeline] { [Pipeline] echo [2021-05-10T22:25:25.113Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:25:25.414Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T22:25:25.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T22:25:25.453Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:25:25.751Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T22:25:25.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:25:26.063Z] ---> sudo-logs.sh [2021-05-10T22:25:26.063Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T22:25:26.090Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:25:26.387Z] ---> job-cost.sh [2021-05-10T22:25:26.387Z] lf-activate-venv: SKIPPING [2021-05-10T22:25:26.387Z] DEBUG: total: 0.20999999344348907 [2021-05-10T22:25:26.387Z] INFO: Retrieving Stack Cost... [2021-05-10T22:25:27.807Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T22:25:28.382Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T22:25:28.398Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:25:28.697Z] ---> logs-deploy.sh [2021-05-10T22:25:28.697Z] lf-activate-venv: SKIPPING [2021-05-10T22:25:28.697Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-233/2 [2021-05-10T22:25:28.697Z] INFO: archiving workspace using pattern(s): [2021-05-10T22:25:30.624Z] Archives upload complete. [2021-05-10T22:25:30.624Z] INFO: archiving logs to Nexus