Branch indexing 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 da019c0e23d00d5a4b18630b6d812afa071e7ba1+1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 (980a1564367c0461698d7834569efaace00657cf) 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 Running on prd-centos7-docker-4c-2g-3518 in /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [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-216 # 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/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit da019c0e23d00d5a4b18630b6d812afa071e7ba1 Merge succeeded, producing cb2afdb4c17a2502e914a923cafad72b9a027528 Checking out Revision cb2afdb4c17a2502e914a923cafad72b9a027528 (PR-216) > git config core.sparsecheckout # timeout=10 > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # 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 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb2afdb4c17a2502e914a923cafad72b9a027528 # timeout=10 Commit message: "Merge commit '1c1a0463e3af4e5b5449273aed4a1ca7f76669e5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T11:00:51.948Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T11:00:52.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T11:00:52.100Z] ========================================================= [2021-05-07T11:00:52.100Z] EdgeX Global Pipelines Version Info [2021-05-07T11:00:52.100Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:00:54.558Z] ------------------- [2021-05-07T11:00:54.558Z] stable info: [2021-05-07T11:00:54.558Z] ------------------- [2021-05-07T11:00:54.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T11:00:54.558Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T11:00:54.558Z] Message: update stable to v1.0.191 [2021-05-07T11:00:55.546Z] ------------------- [2021-05-07T11:00:55.547Z] experimental info: [2021-05-07T11:00:55.547Z] ------------------- [2021-05-07T11:00:55.547Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T11:00:55.547Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T11:00:55.547Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T11:00:55.717Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-07T11:00:55.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-07T11:00:55.766Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T11:00:55.793Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T11:00:55.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T11:00:55.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T11:00:55.895Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T11:00:55.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T11:00:55.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-07T11:00:55.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T11:00:55.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T11:00:56.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-07T11:00:56.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T11:00:56.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T11:00:56.096Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T11:00:56.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T11:00:56.161Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T11:00:56.218Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T11:00:56.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T11:00:56.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T11:00:56.295Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-07T11:00:56.321Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-07T11:00:56.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T11:00:56.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T11:00:56.398Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-07T11:00:56.423Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T11:00:56.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2021-05-07T11:00:56.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2021-05-07T11:00:56.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2021-05-07T11:00:56.558Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb2afdb4c17a2502e914a923cafad72b9a027528 [Pipeline] echo [2021-05-07T11:00:56.588Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb2afdb [Pipeline] echo [2021-05-07T11:00:56.611Z] [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-07T11:00:57.112Z] + git log --format=format:%s -1 cb2afdb4c17a2502e914a923cafad72b9a027528 [Pipeline] echo [2021-05-07T11:00:57.311Z] GIT_COMMIT: cb2afdb4c17a2502e914a923cafad72b9a027528, Commit Message: Merge commit '1c1a0463e3af4e5b5449273aed4a1ca7f76669e5' into HEAD [Pipeline] echo [2021-05-07T11:00:57.326Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:00:58.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T11:00:58.913Z] [2021-05-07T11:00:58.913Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:00:59.405Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T11:00:59.692Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T11:00:59.692Z] 31603596830f: Pulling fs layer [2021-05-07T11:00:59.692Z] 54011a49482f: Pulling fs layer [2021-05-07T11:00:59.692Z] a6820b24f6d8: Pulling fs layer [2021-05-07T11:00:59.692Z] f581987b2513: Pulling fs layer [2021-05-07T11:00:59.692Z] f581987b2513: Waiting [2021-05-07T11:00:59.692Z] 54011a49482f: Verifying Checksum [2021-05-07T11:00:59.692Z] 54011a49482f: Download complete [2021-05-07T11:00:59.971Z] 31603596830f: Verifying Checksum [2021-05-07T11:00:59.971Z] 31603596830f: Download complete [2021-05-07T11:01:00.276Z] a6820b24f6d8: Verifying Checksum [2021-05-07T11:01:00.276Z] a6820b24f6d8: Download complete [2021-05-07T11:01:00.276Z] f581987b2513: Verifying Checksum [2021-05-07T11:01:00.276Z] f581987b2513: Download complete [2021-05-07T11:01:00.564Z] 31603596830f: Pull complete [2021-05-07T11:01:00.886Z] 54011a49482f: Pull complete [2021-05-07T11:01:02.467Z] a6820b24f6d8: Pull complete [2021-05-07T11:01:02.738Z] f581987b2513: Pull complete [2021-05-07T11:01:02.738Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T11:01:03.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T11:01:03.012Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T11:01:03.528Z] prd-centos7-docker-4c-2g-3518 does not seem to be running inside a container [2021-05-07T11:01:03.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-216 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216:/w/workspace/xfoundry_go-mod-bootstrap_PR-216:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@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-07T11:01:06.256Z] $ docker top b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T11:01:06.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T11:01:06.444Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T11:01:06.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T11:01:07.009Z] $ docker exec b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 ssh-agent [2021-05-07T11:01:07.366Z] SSH_AUTH_SOCK=/tmp/ssh-3kx5ksQZn1eV/agent.11 [2021-05-07T11:01:07.366Z] SSH_AGENT_PID=16 [2021-05-07T11:01:07.387Z] Running ssh-add (command line suppressed) [2021-05-07T11:01:07.616Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_3689114696588054271.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_3689114696588054271.key) [2021-05-07T11:01:07.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T11:01:08.091Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T11:01:08.427Z] $ docker exec --env ******** --env ******** b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 ssh-agent -k [2021-05-07T11:01:08.741Z] unset SSH_AUTH_SOCK; [2021-05-07T11:01:08.741Z] unset SSH_AGENT_PID; [2021-05-07T11:01:08.741Z] echo Agent pid 16 killed; [2021-05-07T11:01:08.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T11:01:08.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T11:01:08.939Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T11:01:09.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T11:01:09.244Z] $ docker exec b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 ssh-agent [2021-05-07T11:01:09.460Z] SSH_AUTH_SOCK=/tmp/ssh-K85ZfrL0DFgf/agent.44 [2021-05-07T11:01:09.460Z] SSH_AGENT_PID=50 [2021-05-07T11:01:09.470Z] Running ssh-add (command line suppressed) [2021-05-07T11:01:09.629Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_5853312918507885249.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_5853312918507885249.key) [2021-05-07T11:01:09.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T11:01:10.050Z] + git semver init [2021-05-07T11:01:10.050Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T11:01:10.050Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-216/.git [2021-05-07T11:01:10.050Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [2021-05-07T11:01:10.050Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T11:01:10.050Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T11:01:10.050Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T11:01:10.050Z] # $SEMVER_BRANCH = PR-216 [2021-05-07T11:01:10.050Z] # $SEMVER_TEMP = /tmp/semver-537900032 [2021-05-07T11:01:10.050Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-07T11:01:10.650Z] # '/tmp/semver-537900032' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-216/.semver' [2021-05-07T11:01:10.650Z] # -> Force: false [2021-05-07T11:01:10.650Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-216/.semver [Pipeline] } [2021-05-07T11:01:10.703Z] $ docker exec --env ******** --env ******** b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 ssh-agent -k [2021-05-07T11:01:11.017Z] unset SSH_AUTH_SOCK; [2021-05-07T11:01:11.019Z] unset SSH_AGENT_PID; [2021-05-07T11:01:11.019Z] echo Agent pid 50 killed; [2021-05-07T11:01:11.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T11:01:11.486Z] + git semver [Pipeline] } [2021-05-07T11:01:11.545Z] $ docker stop --time=1 b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 [2021-05-07T11:01:13.164Z] $ docker rm -f b927a9ccf1461114dc65443170467ea5bcc4c7ed3ecad7287d98c8210ae0f7e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T11:01:13.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T11:01:14.553Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T11:01:14.558Z] [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-07T11:01:29.874Z] Still waiting to schedule task [2021-05-07T11:01:29.874Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3518’ [2021-05-07T11:01:29.877Z] Still waiting to schedule task [2021-05-07T11:01:29.877Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T11:03:29.970Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3519 in /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [Pipeline] { [Pipeline] ws [2021-05-07T11:03:29.992Z] Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout [2021-05-07T11:03:35.641Z] using credential edgex-jenkins-ssh [2021-05-07T11:03:35.664Z] Cloning the remote Git repository [2021-05-07T11:03:35.755Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-07T11:03:35.883Z] > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 [2021-05-07T11:03:35.973Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-07T11:03:35.974Z] > git --version # timeout=10 [2021-05-07T11:03:35.992Z] > git --version # 'git version 2.17.1' [2021-05-07T11:03:35.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T11:03:36.042Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T11:03:37.538Z] Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit da019c0e23d00d5a4b18630b6d812afa071e7ba1 [2021-05-07T11:03:36.860Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-07T11:03:36.885Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T11:03:36.913Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-07T11:03:36.945Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-07T11:03:36.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T11:03:36.957Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T11:03:37.560Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T11:03:37.573Z] > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 [2021-05-07T11:03:37.751Z] Merge succeeded, producing ae1031338414c2c40dc831369140af096bd84fdb [2021-05-07T11:03:37.751Z] Checking out Revision ae1031338414c2c40dc831369140af096bd84fdb (PR-216) [2021-05-07T11:03:37.647Z] > git remote # timeout=10 [2021-05-07T11:03:37.663Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T11:03:37.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T11:03:37.685Z] > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 [2021-05-07T11:03:37.741Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T11:03:37.760Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T11:03:37.773Z] > git checkout -f ae1031338414c2c40dc831369140af096bd84fdb # timeout=10 [2021-05-07T11:03:41.939Z] Commit message: "Merge commit '1c1a0463e3af4e5b5449273aed4a1ca7f76669e5' into HEAD" [2021-05-07T11:03:41.962Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T11:03:41.950Z] > git rev-list --no-walk 894cba12b6e10ade7c8138d4196dc2529bf9426b # timeout=10 [2021-05-07T11:03:43.529Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T11:03:43.927Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T11:03:44.266Z] + true [2021-05-07T11:03:44.266Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-05-07T11:03:47.161Z] ========================================================= [2021-05-07T11:03:47.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T11:03:47.161Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:03:47.507Z] + 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-07T11:03:48.492Z] Sending build context to Docker daemon 893.4kB [2021-05-07T11:03:48.492Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-07T11:03:48.492Z] Step 2/8 : FROM ${BASE} [2021-05-07T11:03:49.093Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T11:03:49.093Z] 595b0fe564bb: Pulling fs layer [2021-05-07T11:03:49.093Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T11:03:49.093Z] 316046926c0a: Pulling fs layer [2021-05-07T11:03:49.093Z] 4ebd0625c992: Pulling fs layer [2021-05-07T11:03:49.093Z] 207e8628e3a3: Pulling fs layer [2021-05-07T11:03:49.093Z] c791037a9be2: Pulling fs layer [2021-05-07T11:03:49.093Z] ffd874e62e21: Pulling fs layer [2021-05-07T11:03:49.093Z] 4ebd0625c992: Waiting [2021-05-07T11:03:49.093Z] 207e8628e3a3: Waiting [2021-05-07T11:03:49.093Z] c791037a9be2: Waiting [2021-05-07T11:03:49.093Z] ffd874e62e21: Waiting [2021-05-07T11:03:49.093Z] 316046926c0a: Download complete [2021-05-07T11:03:49.093Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T11:03:49.093Z] 7186ed65a4f7: Download complete [2021-05-07T11:03:49.093Z] 207e8628e3a3: Verifying Checksum [2021-05-07T11:03:49.093Z] 207e8628e3a3: Download complete [2021-05-07T11:03:49.093Z] c791037a9be2: Verifying Checksum [2021-05-07T11:03:49.093Z] 595b0fe564bb: Verifying Checksum [2021-05-07T11:03:49.093Z] 595b0fe564bb: Download complete [2021-05-07T11:03:49.698Z] 595b0fe564bb: Pull complete [2021-05-07T11:03:50.301Z] 7186ed65a4f7: Pull complete [2021-05-07T11:03:50.577Z] 316046926c0a: Pull complete [2021-05-07T11:03:51.180Z] ffd874e62e21: Download complete [2021-05-07T11:03:53.158Z] 4ebd0625c992: Download complete [2021-05-07T11:04:03.319Z] 4ebd0625c992: Pull complete [2021-05-07T11:04:03.319Z] 207e8628e3a3: Pull complete [2021-05-07T11:04:03.319Z] c791037a9be2: Pull complete [2021-05-07T11:04:06.744Z] ffd874e62e21: Pull complete [2021-05-07T11:04:06.744Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T11:04:06.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T11:04:06.744Z] ---> cfc18b08335c [2021-05-07T11:04:06.744Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T11:04:09.392Z] ---> Running in ee6801a299e0 [2021-05-07T11:04:09.666Z] Removing intermediate container ee6801a299e0 [2021-05-07T11:04:09.666Z] ---> 0ae32fe4faae [2021-05-07T11:04:09.666Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T11:04:09.939Z] ---> Running in c5f85c9f1167 [2021-05-07T11:04:12.569Z] Removing intermediate container c5f85c9f1167 [2021-05-07T11:04:12.569Z] ---> 22cfcde0a795 [2021-05-07T11:04:12.569Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-07T11:04:12.569Z] ---> Running in 6b665cb50796 [2021-05-07T11:04:13.551Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T11:04:15.521Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T11:04:16.501Z] OK: 138 MiB in 40 packages [2021-05-07T11:04:17.480Z] Removing intermediate container 6b665cb50796 [2021-05-07T11:04:17.480Z] ---> a80ec85e2339 [2021-05-07T11:04:17.480Z] Step 6/8 : WORKDIR /build [2021-05-07T11:04:17.480Z] ---> Running in 0d8097fdc7de [2021-05-07T11:04:18.077Z] Removing intermediate container 0d8097fdc7de [2021-05-07T11:04:18.077Z] ---> f2b4ec4fc1e3 [2021-05-07T11:04:18.077Z] Step 7/8 : COPY go.mod . [2021-05-07T11:04:18.674Z] ---> 1b831ab35b6f [2021-05-07T11:04:18.674Z] Step 8/8 : RUN go mod download [2021-05-07T11:04:18.948Z] ---> Running in cab7f813ebf9 [2021-05-07T11:04:41.101Z] Removing intermediate container cab7f813ebf9 [2021-05-07T11:04:41.101Z] ---> 0c71faecac60 [2021-05-07T11:04:41.374Z] Successfully built 0c71faecac60 [2021-05-07T11:04:41.374Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:04:41.718Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T11:04:41.718Z] . [Pipeline] withDockerContainer [2021-05-07T11:04:41.991Z] prd-ubuntu18.04-docker-arm64-4c-16g-3519 does not seem to be running inside a container [2021-05-07T11:04:42.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 ******** -e ******** ci-base-image-arm64 cat [2021-05-07T11:04:43.574Z] $ docker top f7fbb1cd3490862129cbb6b77f83f6e98f38702a64d730c99e16813c09415e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T11:04:44.545Z] + go version [2021-05-07T11:04:44.545Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T11:04:44.571Z] $ docker stop --time=1 f7fbb1cd3490862129cbb6b77f83f6e98f38702a64d730c99e16813c09415e3c [2021-05-07T11:04:46.376Z] $ docker rm -f f7fbb1cd3490862129cbb6b77f83f6e98f38702a64d730c99e16813c09415e3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:04:47.048Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T11:04:47.049Z] . [Pipeline] withDockerContainer [2021-05-07T11:04:47.285Z] prd-ubuntu18.04-docker-arm64-4c-16g-3519 does not seem to be running inside a container [2021-05-07T11:04:47.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 ******** -e ******** ci-base-image-arm64 cat [2021-05-07T11:04:48.779Z] $ docker top 626535fee8872add4086a50aa197d2f67b8f6ec165ea8a02a4f6304f3831e4fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T11:04:49.684Z] + go mod tidy [Pipeline] sh [2021-05-07T11:04:50.998Z] + make test [2021-05-07T11:04:50.998Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T11:05:11.727Z] Running on prd-centos7-docker-4c-2g-3520 in /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [Pipeline] { [Pipeline] ws [2021-05-07T11:05:11.747Z] Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout [2021-05-07T11:05:21.750Z] using credential edgex-jenkins-ssh [2021-05-07T11:05:21.765Z] Cloning the remote Git repository [2021-05-07T11:05:21.843Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-07T11:05:21.919Z] > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 [2021-05-07T11:05:22.026Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-07T11:05:22.026Z] > git --version # timeout=10 [2021-05-07T11:05:22.044Z] > git --version # 'git version 2.24.3' [2021-05-07T11:05:22.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T11:05:22.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T11:05:23.073Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-07T11:05:23.089Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T11:05:23.125Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-07T11:05:23.182Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-07T11:05:23.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T11:05:23.205Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T11:05:23.883Z] Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit da019c0e23d00d5a4b18630b6d812afa071e7ba1 [2021-05-07T11:05:24.045Z] Merge succeeded, producing 130482976af571f752510c1935dc481afee2cd5b [2021-05-07T11:05:24.045Z] Checking out Revision 130482976af571f752510c1935dc481afee2cd5b (PR-216) [2021-05-07T11:05:23.889Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T11:05:23.903Z] > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 [2021-05-07T11:05:23.968Z] > git remote # timeout=10 [2021-05-07T11:05:23.979Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T11:05:23.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T11:05:23.999Z] > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 [2021-05-07T11:05:24.027Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T11:05:24.046Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T11:05:24.052Z] > git checkout -f 130482976af571f752510c1935dc481afee2cd5b # timeout=10 [2021-05-07T11:05:29.078Z] Commit message: "Merge commit '1c1a0463e3af4e5b5449273aed4a1ca7f76669e5' into HEAD" [2021-05-07T11:05:29.102Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T11:05:29.079Z] > git rev-list --no-walk 894cba12b6e10ade7c8138d4196dc2529bf9426b # timeout=10 [2021-05-07T11:05:30.068Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-07T11:05:30.068Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.041s coverage: 5.4% of statements [2021-05-07T11:05:30.068Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-07T11:05:30.068Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.071s coverage: 92.2% of statements [2021-05-07T11:05:30.068Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.067s coverage: 85.3% of statements [2021-05-07T11:05:31.058Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-07T11:05:31.058Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-07T11:05:31.058Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-07T11:05:31.285Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T11:05:31.663Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.067s coverage: 26.7% of statements [2021-05-07T11:05:31.750Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T11:05:32.118Z] + sudo service docker restart [2021-05-07T11:05:32.118Z] + true [2021-05-07T11:05:32.118Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-07T11:05:34.430Z] ========================================================= [2021-05-07T11:05:34.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T11:05:34.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:05:34.808Z] + 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-07T11:05:35.906Z] Sending build context to Docker daemon 894.5kB [2021-05-07T11:05:35.906Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-07T11:05:35.906Z] Step 2/8 : FROM ${BASE} [2021-05-07T11:05:36.226Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T11:05:36.226Z] 540db60ca938: Pulling fs layer [2021-05-07T11:05:36.226Z] adcc1eea9eea: Pulling fs layer [2021-05-07T11:05:36.226Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T11:05:36.226Z] 0510c868ecb4: Pulling fs layer [2021-05-07T11:05:36.226Z] afea3b2eda06: Pulling fs layer [2021-05-07T11:05:36.226Z] 7809a108b3ef: Pulling fs layer [2021-05-07T11:05:36.226Z] f706445af74f: Pulling fs layer [2021-05-07T11:05:36.226Z] 0510c868ecb4: Waiting [2021-05-07T11:05:36.226Z] afea3b2eda06: Waiting [2021-05-07T11:05:36.226Z] 7809a108b3ef: Waiting [2021-05-07T11:05:36.226Z] f706445af74f: Waiting [2021-05-07T11:05:36.226Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T11:05:36.226Z] 4c4ab2625f07: Download complete [2021-05-07T11:05:36.226Z] adcc1eea9eea: Verifying Checksum [2021-05-07T11:05:36.226Z] adcc1eea9eea: Download complete [2021-05-07T11:05:36.523Z] afea3b2eda06: Verifying Checksum [2021-05-07T11:05:36.523Z] afea3b2eda06: Download complete [2021-05-07T11:05:36.523Z] 7809a108b3ef: Verifying Checksum [2021-05-07T11:05:36.523Z] 7809a108b3ef: Download complete [2021-05-07T11:05:36.523Z] 540db60ca938: Verifying Checksum [2021-05-07T11:05:36.523Z] 540db60ca938: Download complete [2021-05-07T11:05:37.096Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.043s coverage: 90.7% of statements [2021-05-07T11:05:37.096Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-07T11:05:37.096Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-07T11:05:37.096Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.029s coverage: 91.3% of statements [2021-05-07T11:05:37.096Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-07T11:05:37.096Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-07T11:05:37.207Z] 540db60ca938: Pull complete [2021-05-07T11:05:37.859Z] adcc1eea9eea: Pull complete [2021-05-07T11:05:38.148Z] 4c4ab2625f07: Pull complete [2021-05-07T11:05:40.206Z] f706445af74f: Verifying Checksum [2021-05-07T11:05:40.206Z] f706445af74f: Download complete [2021-05-07T11:05:42.238Z] 0510c868ecb4: Verifying Checksum [2021-05-07T11:05:42.238Z] 0510c868ecb4: Download complete [2021-05-07T11:05:54.753Z] 0510c868ecb4: Pull complete [2021-05-07T11:05:55.082Z] afea3b2eda06: Pull complete [2021-05-07T11:05:56.103Z] 7809a108b3ef: Pull complete [2021-05-07T11:05:59.315Z] gofmt -l . [2021-05-07T11:05:59.315Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-07T11:05:59.337Z] $ docker stop --time=1 626535fee8872add4086a50aa197d2f67b8f6ec165ea8a02a4f6304f3831e4fc [2021-05-07T11:06:01.658Z] $ docker rm -f 626535fee8872add4086a50aa197d2f67b8f6ec165ea8a02a4f6304f3831e4fc [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T11:06:02.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T11:06:03.437Z] 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-07T11:06:04.218Z] ---> job-cost.sh [2021-05-07T11:06:04.218Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yefs [2021-05-07T11:06:04.783Z] f706445af74f: Pull complete [2021-05-07T11:06:04.783Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T11:06:04.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T11:06:04.783Z] ---> b068be0155e3 [2021-05-07T11:06:04.783Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T11:06:04.783Z] ---> Running in cfc3bcc5c632 [2021-05-07T11:06:04.783Z] Removing intermediate container cfc3bcc5c632 [2021-05-07T11:06:04.783Z] ---> 81a96a2cd875 [2021-05-07T11:06:04.783Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T11:06:04.784Z] ---> Running in b41ae6cce6b3 [2021-05-07T11:06:07.005Z] Removing intermediate container b41ae6cce6b3 [2021-05-07T11:06:07.005Z] ---> 062d72e51ad1 [2021-05-07T11:06:07.005Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-07T11:06:07.005Z] ---> Running in 44b1769a4134 [2021-05-07T11:06:08.269Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T11:06:09.736Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T11:06:10.433Z] OK: 149 MiB in 40 packages [2021-05-07T11:06:11.537Z] Removing intermediate container 44b1769a4134 [2021-05-07T11:06:11.537Z] ---> 0d9ff1f4e904 [2021-05-07T11:06:11.537Z] Step 6/8 : WORKDIR /build [2021-05-07T11:06:11.537Z] ---> Running in 3ca36d741ae8 [2021-05-07T11:06:11.868Z] Removing intermediate container 3ca36d741ae8 [2021-05-07T11:06:11.868Z] ---> 058e1fc31c62 [2021-05-07T11:06:11.868Z] Step 7/8 : COPY go.mod . [2021-05-07T11:06:12.602Z] ---> 7213351aebc2 [2021-05-07T11:06:12.602Z] Step 8/8 : RUN go mod download [2021-05-07T11:06:12.602Z] ---> Running in 8ccb92ef2880 [2021-05-07T11:06:43.254Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T11:06:45.597Z] Removing intermediate container 8ccb92ef2880 [2021-05-07T11:06:45.597Z] ---> bfc88bed74af [2021-05-07T11:06:45.597Z] Successfully built bfc88bed74af [2021-05-07T11:06:45.597Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:06:46.036Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T11:06:46.682Z] . [Pipeline] withDockerContainer [2021-05-07T11:06:47.057Z] prd-centos7-docker-4c-2g-3520 does not seem to be running inside a container [2021-05-07T11:06:47.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T11:06:48.942Z] $ docker top adba6e7a357685c7034925f171f460cde91a4c104c17e03908921532b8fd1a74 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T11:06:50.433Z] + go version [2021-05-07T11:06:50.433Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T11:06:50.464Z] $ docker stop --time=1 adba6e7a357685c7034925f171f460cde91a4c104c17e03908921532b8fd1a74 [2021-05-07T11:06:52.324Z] $ docker rm -f adba6e7a357685c7034925f171f460cde91a4c104c17e03908921532b8fd1a74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:06:53.406Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T11:06:53.406Z] . [Pipeline] withDockerContainer [2021-05-07T11:06:53.608Z] prd-centos7-docker-4c-2g-3520 does not seem to be running inside a container [2021-05-07T11:06:53.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T11:06:56.729Z] $ docker top e09f9ee9c5cf9f2f8c64bf82506a1cd0f900bcc73c62621e574498a7e2dbad7b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T11:06:58.746Z] + go mod tidy [Pipeline] sh [2021-05-07T11:06:59.412Z] + make test [2021-05-07T11:06:59.412Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T11:07:28.430Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-07T11:07:28.734Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.058s coverage: 5.4% of statements [2021-05-07T11:07:28.734Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-07T11:07:28.734Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.029s coverage: 92.2% of statements [2021-05-07T11:07:29.369Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.023s coverage: 85.3% of statements [2021-05-07T11:07:30.048Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-07T11:07:30.048Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-07T11:07:30.048Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-07T11:07:30.674Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.084s coverage: 26.7% of statements [2021-05-07T11:07:35.118Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.088s coverage: 90.7% of statements [2021-05-07T11:07:35.118Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-07T11:07:35.118Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-07T11:07:35.118Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.020s coverage: 91.3% of statements [2021-05-07T11:07:35.118Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-07T11:07:35.525Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-07T11:07:58.741Z] gofmt -l . [2021-05-07T11:07:58.741Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-07T11:07:58.792Z] $ docker stop --time=1 e09f9ee9c5cf9f2f8c64bf82506a1cd0f900bcc73c62621e574498a7e2dbad7b [2021-05-07T11:08:01.236Z] $ docker rm -f e09f9ee9c5cf9f2f8c64bf82506a1cd0f900bcc73c62621e574498a7e2dbad7b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T11:08:02.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T11:08:02.550Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T11:08:03.543Z] 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-07T11:08:04.231Z] ---> job-cost.sh [2021-05-07T11:08:04.232Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qv08 [2021-05-07T11:08:04.987Z] lf-activate-venv(): INFO: Adding /tmp/venv-yefs/bin to PATH [2021-05-07T11:08:04.987Z] INFO: No Stack... [2021-05-07T11:08:04.987Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T11:08:04.987Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T11:08:05.334Z] + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv [2021-05-07T11:08:05.334Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T11:08:05.455Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] [2021-05-07T11:08:05.474Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] did not exist. Created. [2021-05-07T11:08:05.474Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T11:08:05.841Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T11:08:06.023Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T11:08:06.037Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T11:08:37.302Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T11:09:24.728Z] lf-activate-venv(): INFO: Adding /tmp/venv-qv08/bin to PATH [2021-05-07T11:09:24.729Z] INFO: No Stack... [2021-05-07T11:09:24.729Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T11:09:24.729Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T11:09:25.116Z] + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv [2021-05-07T11:09:25.117Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T11:09:25.377Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] [2021-05-07T11:09:25.386Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] did not exist. Created. [2021-05-07T11:09:25.387Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T11:09:25.812Z] /w/workspace/go-mod-bootstrap/6@tmp/durable-2de652d1/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-07T11:09:26.236Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T11:09:26.297Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T11:09:26.649Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T11:09:26.662Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-6-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-07T11:09:27.414Z] provisioning config files... [2021-05-07T11:09:27.431Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/config3288217987420574007tmp [Pipeline] { [Pipeline] sh [2021-05-07T11:09:27.760Z] + set +x [2021-05-07T11:09:27.760Z] + curl -s https://codecov.io/bash [2021-05-07T11:09:27.760Z] + bash -s -- [2021-05-07T11:09:28.031Z] [2021-05-07T11:09:28.031Z] _____ _ [2021-05-07T11:09:28.031Z] / ____| | | [2021-05-07T11:09:28.031Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T11:09:28.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T11:09:28.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T11:09:28.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T11:09:28.031Z] Bash-1.0.2 [2021-05-07T11:09:28.031Z] [2021-05-07T11:09:28.031Z] [2021-05-07T11:09:28.031Z] ==> git version 2.24.3 found [2021-05-07T11:09:28.031Z] ==> 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-07T11:09:28.031Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T11:09:28.031Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T11:09:28.031Z] ==> Jenkins CI detected. [2021-05-07T11:09:28.031Z] project root: . [2021-05-07T11:09:28.031Z] --> token set from env [2021-05-07T11:09:28.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T11:09:28.031Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T11:09:28.031Z] ==> Python coveragepy not found [2021-05-07T11:09:28.031Z] ==> Searching for coverage reports in: [2021-05-07T11:09:28.031Z] + . [2021-05-07T11:09:28.031Z] -> Found 1 reports [2021-05-07T11:09:28.031Z] ==> Detecting git/mercurial file structure [2021-05-07T11:09:28.031Z] ==> Reading reports [2021-05-07T11:09:28.031Z] + ./coverage.out bytes=28566 [2021-05-07T11:09:28.031Z] ==> Appending adjustments [2021-05-07T11:09:28.031Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T11:09:28.301Z] + Found adjustments [2021-05-07T11:09:28.302Z] ==> Gzipping contents [2021-05-07T11:09:28.302Z] 8.0K /tmp/codecov.prXOwK.gz [2021-05-07T11:09:28.302Z] ==> Uploading reports [2021-05-07T11:09:28.302Z] url: https://codecov.io [2021-05-07T11:09:28.302Z] query: branch=PR-216&commit=cb2afdb4c17a2502e914a923cafad72b9a027528&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-216%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=216&job=&cmd_args= [2021-05-07T11:09:28.302Z] -> Pinging Codecov [2021-05-07T11:09:28.302Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-216&commit=cb2afdb4c17a2502e914a923cafad72b9a027528&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-216%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=216&job=&cmd_args= [2021-05-07T11:09:28.896Z] -> Uploading to [2021-05-07T11:09:28.896Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/833815588EE85121546D348822E98E2E/cb2afdb4c17a2502e914a923cafad72b9a027528/fd928b34-9cc7-4733-b749-4c2bb91e30ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T110928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30e2efe2747bf1992ebc0f2815c8cddaf42aba524a3a8f7451bfe32f43556a65 [2021-05-07T11:09:28.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T11:09:28.896Z] Dload Upload Total Spent Left Speed [2021-05-07T11:09:29.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 11618 --:--:-- --:--:-- --:--:-- 11631 [2021-05-07T11:09:29.488Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/cb2afdb4c17a2502e914a923cafad72b9a027528 [Pipeline] } [2021-05-07T11:09:29.500Z] 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-07T11:09:30.738Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:09:31.433Z] ---> package-listing.sh [2021-05-07T11:09:31.433Z] ++ facter osfamily [2021-05-07T11:09:31.433Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T11:09:31.696Z] + OS_FAMILY=redhat [2021-05-07T11:09:31.697Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-216 [2021-05-07T11:09:31.697Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T11:09:31.697Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T11:09:31.697Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T11:09:31.697Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T11:09:31.697Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-216 ']' [2021-05-07T11:09:31.697Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T11:09:31.697Z] + case "${OS_FAMILY}" in [2021-05-07T11:09:31.697Z] + rpm -qa [2021-05-07T11:09:31.697Z] + sort [2021-05-07T11:09:37.041Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T11:09:37.041Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T11:09:37.041Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T11:09:37.041Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-216 ']' [2021-05-07T11:09:37.041Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-216/archives/ [2021-05-07T11:09:37.041Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-216/archives/ [Pipeline] echo [2021-05-07T11:09:37.059Z] 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T11:09:37.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:09:38.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T11:09:38.302Z] [2021-05-07T11:09:38.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T11:09:38.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T11:09:39.003Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T11:09:39.003Z] df20fa9351a1: Pulling fs layer [2021-05-07T11:09:39.003Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T11:09:39.003Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T11:09:39.003Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T11:09:39.003Z] 93b61091891f: Pulling fs layer [2021-05-07T11:09:39.003Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T11:09:39.003Z] 5e14af77c1be: Pulling fs layer [2021-05-07T11:09:39.003Z] 01666e4c0597: Pulling fs layer [2021-05-07T11:09:39.003Z] aa168da1d23b: Pulling fs layer [2021-05-07T11:09:39.003Z] 93b9cdb0e59b: Waiting [2021-05-07T11:09:39.003Z] 5e14af77c1be: Waiting [2021-05-07T11:09:39.003Z] 01666e4c0597: Waiting [2021-05-07T11:09:39.003Z] 46f8f816bc3b: Waiting [2021-05-07T11:09:39.003Z] 93b61091891f: Waiting [2021-05-07T11:09:39.003Z] aa168da1d23b: Waiting [2021-05-07T11:09:39.003Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T11:09:39.003Z] 36b3adc4ff6f: Download complete [2021-05-07T11:09:39.003Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T11:09:39.003Z] 46f8f816bc3b: Download complete [2021-05-07T11:09:39.285Z] df20fa9351a1: Verifying Checksum [2021-05-07T11:09:39.285Z] df20fa9351a1: Download complete [2021-05-07T11:09:39.285Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T11:09:39.285Z] 93b9cdb0e59b: Download complete [2021-05-07T11:09:39.285Z] 93b61091891f: Verifying Checksum [2021-05-07T11:09:39.285Z] 93b61091891f: Download complete [2021-05-07T11:09:39.285Z] 5e14af77c1be: Verifying Checksum [2021-05-07T11:09:39.285Z] 5e14af77c1be: Download complete [2021-05-07T11:09:39.285Z] 01666e4c0597: Verifying Checksum [2021-05-07T11:09:39.285Z] 01666e4c0597: Download complete [2021-05-07T11:09:39.285Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T11:09:39.285Z] 8ad3a11d3b57: Download complete [2021-05-07T11:09:39.685Z] df20fa9351a1: Pull complete [2021-05-07T11:09:40.004Z] 36b3adc4ff6f: Pull complete [2021-05-07T11:09:41.769Z] 8ad3a11d3b57: Pull complete [2021-05-07T11:09:41.769Z] 46f8f816bc3b: Pull complete [2021-05-07T11:09:42.754Z] 93b61091891f: Pull complete [2021-05-07T11:09:42.754Z] 93b9cdb0e59b: Pull complete [2021-05-07T11:09:43.023Z] 5e14af77c1be: Pull complete [2021-05-07T11:09:43.023Z] aa168da1d23b: Verifying Checksum [2021-05-07T11:09:43.023Z] aa168da1d23b: Download complete [2021-05-07T11:09:43.023Z] 01666e4c0597: Pull complete [2021-05-07T11:09:53.195Z] aa168da1d23b: Pull complete [2021-05-07T11:09:53.195Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T11:09:53.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T11:09:53.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T11:09:53.614Z] prd-centos7-docker-4c-2g-3518 does not seem to be running inside a container [2021-05-07T11:09:53.708Z] $ 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-216/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-216 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216:/w/workspace/xfoundry_go-mod-bootstrap_PR-216:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@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-07T11:09:56.182Z] $ docker top 91a1324335eb75fec0b898344abd0a6a5d8256ef5af3c23fa3ed225ada1378da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T11:09:56.629Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T11:09:56.955Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T11:09:57.321Z] + ls /var/log/sa-host [2021-05-07T11:09:57.321Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T11:09:57.321Z] file_magic: OK [2021-05-07T11:09:57.321Z] HZ: Using current value: 100 [2021-05-07T11:09:57.321Z] file_header: OK [2021-05-07T11:09:57.321Z] 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-07T11:09:57.321Z] Statistics: [2021-05-07T11:09:57.321Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T11:09:57.321Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T11:09:57.321Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T11:09:57.321Z] file_magic: OK [2021-05-07T11:09:57.321Z] HZ: Using current value: 100 [2021-05-07T11:09:57.321Z] file_header: OK [2021-05-07T11:09:57.321Z] 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-07T11:09:57.321Z] Statistics: [2021-05-07T11:09:57.321Z] Hnuu...uuuununununu... [2021-05-07T11:09:57.321Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T11:09:57.956Z] provisioning config files... [2021-05-07T11:09:57.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/config6283977983626060660tmp [Pipeline] { [Pipeline] echo [2021-05-07T11:09:58.015Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:09:58.326Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T11:09:58.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T11:09:58.368Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:09:58.682Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T11:09:58.714Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:09:59.019Z] ---> sudo-logs.sh [2021-05-07T11:09:59.019Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T11:09:59.061Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:09:59.369Z] ---> job-cost.sh [2021-05-07T11:09:59.369Z] lf-activate-venv: SKIPPING [2021-05-07T11:09:59.369Z] DEBUG: total: 0.029999999329447746 [2021-05-07T11:09:59.369Z] INFO: Retrieving Stack Cost... [2021-05-07T11:10:00.320Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T11:10:00.897Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T11:10:00.913Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T11:10:01.228Z] ---> logs-deploy.sh [2021-05-07T11:10:01.228Z] lf-activate-venv: SKIPPING [2021-05-07T11:10:01.228Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-216/6 [2021-05-07T11:10:01.228Z] INFO: archiving workspace using pattern(s): [2021-05-07T11:10:03.163Z] Archives upload complete. [2021-05-07T11:10:03.163Z] INFO: archiving logs to Nexus