Pull request #223 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 57a7a52560f57af867ed19f8153e65dad40f52dc+33e7195f2188569e2762aff126baa4f9b23aa271 (bcbf1dd292af2b51e260d7d59dea165d9fedd936) 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 ‘prd-centos7-docker-4c-2g-3046’ Running on prd-centos7-docker-4c-2g-3051 in /w/workspace/xfoundry_go-mod-bootstrap_PR-223 [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-223 # 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 33e7195f2188569e2762aff126baa4f9b23aa271 into PR head commit 57a7a52560f57af867ed19f8153e65dad40f52dc Merge succeeded, producing 57a7a52560f57af867ed19f8153e65dad40f52dc Checking out Revision 57a7a52560f57af867ed19f8153e65dad40f52dc (PR-223) > 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/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57a7a52560f57af867ed19f8153e65dad40f52dc # 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 33e7195f2188569e2762aff126baa4f9b23aa271 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57a7a52560f57af867ed19f8153e65dad40f52dc # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-05T18:26:56.060Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-05T18:26:56.168Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-05T18:26:56.196Z] ========================================================= [2021-05-05T18:26:56.196Z] EdgeX Global Pipelines Version Info [2021-05-05T18:26:56.196Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 54a307c87b0df21f664f056a275b58d5572d7f90 # timeout=10 [2021-05-05T18:26:57.716Z] ------------------- [2021-05-05T18:26:57.716Z] stable info: [2021-05-05T18:26:57.716Z] ------------------- [2021-05-05T18:26:57.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-05T18:26:57.716Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-05T18:26:57.716Z] Message: update stable to v1.0.191 [2021-05-05T18:26:58.663Z] ------------------- [2021-05-05T18:26:58.663Z] experimental info: [2021-05-05T18:26:58.663Z] ------------------- [2021-05-05T18:26:58.663Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-05T18:26:58.663Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-05T18:26:58.663Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-05T18:26:58.782Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-05T18:26:58.825Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-05T18:26:58.854Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-05T18:26:58.879Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-05T18:26:58.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-05T18:26:58.924Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-05T18:26:58.947Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-05T18:26:58.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-05T18:26:58.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-05T18:26:59.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-05T18:26:59.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-05T18:26:59.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-05T18:26:59.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-05T18:26:59.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-05T18:26:59.152Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T18:26:59.176Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T18:26:59.200Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T18:26:59.223Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T18:26:59.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-05T18:26:59.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-05T18:26:59.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-05T18:26:59.322Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-05T18:26:59.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-05T18:26:59.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-05T18:26:59.416Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-05T18:26:59.439Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-05T18:26:59.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-223 [Pipeline] echo [2021-05-05T18:26:59.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-223 [Pipeline] echo [2021-05-05T18:26:59.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-223 [Pipeline] echo [2021-05-05T18:26:59.539Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57a7a52560f57af867ed19f8153e65dad40f52dc [Pipeline] echo [2021-05-05T18:26:59.562Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57a7a52 [Pipeline] echo [2021-05-05T18:26:59.585Z] [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-05T18:27:00.000Z] + git log --format=format:%s -1 57a7a52560f57af867ed19f8153e65dad40f52dc [Pipeline] echo [2021-05-05T18:27:00.082Z] GIT_COMMIT: 57a7a52560f57af867ed19f8153e65dad40f52dc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets/v2 [Pipeline] echo [2021-05-05T18:27:00.095Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:27:00.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T18:27:00.910Z] [2021-05-05T18:27:00.910Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:27:01.230Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T18:27:01.230Z] latest: Pulling from edgex-devops/git-semver [2021-05-05T18:27:01.230Z] 31603596830f: Pulling fs layer [2021-05-05T18:27:01.230Z] 54011a49482f: Pulling fs layer [2021-05-05T18:27:01.230Z] a6820b24f6d8: Pulling fs layer [2021-05-05T18:27:01.230Z] f581987b2513: Pulling fs layer [2021-05-05T18:27:01.230Z] f581987b2513: Waiting [2021-05-05T18:27:01.230Z] 54011a49482f: Verifying Checksum [2021-05-05T18:27:01.230Z] 54011a49482f: Download complete [2021-05-05T18:27:01.496Z] 31603596830f: Verifying Checksum [2021-05-05T18:27:01.496Z] 31603596830f: Download complete [2021-05-05T18:27:01.496Z] f581987b2513: Verifying Checksum [2021-05-05T18:27:01.496Z] f581987b2513: Download complete [2021-05-05T18:27:01.496Z] a6820b24f6d8: Verifying Checksum [2021-05-05T18:27:01.496Z] a6820b24f6d8: Download complete [2021-05-05T18:27:01.763Z] 31603596830f: Pull complete [2021-05-05T18:27:02.027Z] 54011a49482f: Pull complete [2021-05-05T18:27:02.976Z] a6820b24f6d8: Pull complete [2021-05-05T18:27:02.976Z] f581987b2513: Pull complete [2021-05-05T18:27:03.239Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-05T18:27:03.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T18:27:03.239Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-05T18:27:03.349Z] prd-centos7-docker-4c-2g-3051 does not seem to be running inside a container [2021-05-05T18:27:03.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-223 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-223:/w/workspace/xfoundry_go-mod-bootstrap_PR-223:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-05T18:27:05.339Z] $ docker top c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-05T18:27:05.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-05T18:27:05.480Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-05T18:27:05.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-05T18:27:05.706Z] $ docker exec c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 ssh-agent [2021-05-05T18:27:05.866Z] SSH_AUTH_SOCK=/tmp/ssh-phW3dwEwtuhe/agent.12 [2021-05-05T18:27:05.866Z] SSH_AGENT_PID=17 [2021-05-05T18:27:05.876Z] Running ssh-add (command line suppressed) [2021-05-05T18:27:05.998Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp/private_key_237103495037043016.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp/private_key_237103495037043016.key) [2021-05-05T18:27:06.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-05T18:27:06.360Z] + git tag --points-at HEAD [Pipeline] } [2021-05-05T18:27:06.387Z] $ docker exec --env ******** --env ******** c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 ssh-agent -k [2021-05-05T18:27:06.506Z] unset SSH_AUTH_SOCK; [2021-05-05T18:27:06.506Z] unset SSH_AGENT_PID; [2021-05-05T18:27:06.506Z] echo Agent pid 17 killed; [2021-05-05T18:27:06.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-05T18:27:06.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-05T18:27:06.590Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-05T18:27:06.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-05T18:27:06.776Z] $ docker exec c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 ssh-agent [2021-05-05T18:27:06.935Z] SSH_AUTH_SOCK=/tmp/ssh-jiKjsIj8tbNg/agent.46 [2021-05-05T18:27:06.935Z] SSH_AGENT_PID=52 [2021-05-05T18:27:06.941Z] Running ssh-add (command line suppressed) [2021-05-05T18:27:07.071Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp/private_key_939126833044161713.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp/private_key_939126833044161713.key) [2021-05-05T18:27:07.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-05T18:27:07.425Z] + git semver init [2021-05-05T18:27:07.426Z] # -> Open(): unable to determine branch for HEAD [2021-05-05T18:27:07.426Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-223/.git [2021-05-05T18:27:07.426Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-223 [2021-05-05T18:27:07.426Z] # $SEMVER_REMOTE_NAME = origin [2021-05-05T18:27:07.426Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-05T18:27:07.426Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-05T18:27:07.426Z] # $SEMVER_BRANCH = PR-223 [2021-05-05T18:27:07.426Z] # $SEMVER_TEMP = /tmp/semver-095555943 [2021-05-05T18:27:07.426Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-05T18:27:08.003Z] # '/tmp/semver-095555943' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-223/.semver' [2021-05-05T18:27:08.003Z] # -> Force: false [2021-05-05T18:27:08.003Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-223/.semver [Pipeline] } [2021-05-05T18:27:08.021Z] $ docker exec --env ******** --env ******** c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 ssh-agent -k [2021-05-05T18:27:08.153Z] unset SSH_AUTH_SOCK; [2021-05-05T18:27:08.153Z] unset SSH_AGENT_PID; [2021-05-05T18:27:08.153Z] echo Agent pid 52 killed; [2021-05-05T18:27:08.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-05T18:27:08.536Z] + git semver [Pipeline] } [2021-05-05T18:27:08.556Z] $ docker stop --time=1 c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 [2021-05-05T18:27:10.446Z] $ docker rm -f c22ae179b4085c544c31a39294069c034009342ecd85a3f12066835d1222e967 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T18:27:11.212Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-05T18:27:11.596Z] Stashed 1 file(s) [Pipeline] echo [2021-05-05T18:27:11.599Z] [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-05T18:27:11.911Z] Running on prd-centos7-docker-4c-2g-3053 in /w/workspace/xfoundry_go-mod-bootstrap_PR-223 [Pipeline] { [Pipeline] ws [2021-05-05T18:27:11.929Z] Running in /w/workspace/go-mod-bootstrap/3 [Pipeline] { [Pipeline] checkout [2021-05-05T18:27:14.800Z] using credential edgex-jenkins-ssh [2021-05-05T18:27:14.813Z] Cloning the remote Git repository [2021-05-05T18:27:14.838Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-05T18:27:14.903Z] > git init /w/workspace/go-mod-bootstrap/3 # timeout=10 [2021-05-05T18:27:14.964Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-05T18:27:14.964Z] > git --version # timeout=10 [2021-05-05T18:27:14.972Z] > git --version # 'git version 2.24.3' [2021-05-05T18:27:14.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T18:27:14.999Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T18:27:16.015Z] Merging remotes/origin/master commit 33e7195f2188569e2762aff126baa4f9b23aa271 into PR head commit 57a7a52560f57af867ed19f8153e65dad40f52dc [2021-05-05T18:27:16.158Z] Merge succeeded, producing 57a7a52560f57af867ed19f8153e65dad40f52dc [2021-05-05T18:27:16.159Z] Checking out Revision 57a7a52560f57af867ed19f8153e65dad40f52dc (PR-223) [2021-05-05T18:27:15.594Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-05T18:27:15.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T18:27:15.616Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-05T18:27:15.634Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-05T18:27:15.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T18:27:15.640Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-05T18:27:16.023Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T18:27:16.031Z] > git checkout -f 57a7a52560f57af867ed19f8153e65dad40f52dc # timeout=10 [2021-05-05T18:27:16.068Z] > git remote # timeout=10 [2021-05-05T18:27:16.074Z] > git config --get remote.origin.url # timeout=10 [2021-05-05T18:27:16.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T18:27:16.089Z] > git merge 33e7195f2188569e2762aff126baa4f9b23aa271 # timeout=10 [2021-05-05T18:27:16.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-05T18:27:16.162Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T18:27:16.168Z] > git checkout -f 57a7a52560f57af867ed19f8153e65dad40f52dc # timeout=10 [2021-05-05T18:27:19.883Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T18:27:20.822Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-05T18:27:21.163Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-05T18:27:21.467Z] + true [2021-05-05T18:27:21.467Z] + sudo service docker restart [2021-05-05T18:27:21.467Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-05T18:27:22.565Z] ========================================================= [2021-05-05T18:27:22.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-05T18:27:22.565Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:27:22.881Z] + 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-05T18:27:23.149Z] Sending build context to Docker daemon 863.7kB [2021-05-05T18:27:23.149Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-05-05T18:27:23.149Z] Step 2/8 : FROM ${BASE} [2021-05-05T18:27:23.413Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-05T18:27:23.413Z] 540db60ca938: Pulling fs layer [2021-05-05T18:27:23.413Z] adcc1eea9eea: Pulling fs layer [2021-05-05T18:27:23.413Z] 4c4ab2625f07: Pulling fs layer [2021-05-05T18:27:23.413Z] 0510c868ecb4: Pulling fs layer [2021-05-05T18:27:23.413Z] afea3b2eda06: Pulling fs layer [2021-05-05T18:27:23.413Z] 7809a108b3ef: Pulling fs layer [2021-05-05T18:27:23.413Z] f706445af74f: Pulling fs layer [2021-05-05T18:27:23.413Z] afea3b2eda06: Waiting [2021-05-05T18:27:23.413Z] 0510c868ecb4: Waiting [2021-05-05T18:27:23.413Z] 7809a108b3ef: Waiting [2021-05-05T18:27:23.413Z] f706445af74f: Waiting [2021-05-05T18:27:23.413Z] 4c4ab2625f07: Verifying Checksum [2021-05-05T18:27:23.413Z] 4c4ab2625f07: Download complete [2021-05-05T18:27:23.413Z] adcc1eea9eea: Download complete [2021-05-05T18:27:23.413Z] afea3b2eda06: Verifying Checksum [2021-05-05T18:27:23.413Z] afea3b2eda06: Download complete [2021-05-05T18:27:23.413Z] 7809a108b3ef: Verifying Checksum [2021-05-05T18:27:23.413Z] 7809a108b3ef: Download complete [2021-05-05T18:27:23.413Z] 540db60ca938: Verifying Checksum [2021-05-05T18:27:23.413Z] 540db60ca938: Download complete [2021-05-05T18:27:23.704Z] 540db60ca938: Pull complete [2021-05-05T18:27:23.970Z] adcc1eea9eea: Pull complete [2021-05-05T18:27:24.237Z] 4c4ab2625f07: Pull complete [2021-05-05T18:27:26.782Z] Still waiting to schedule task [2021-05-05T18:27:26.782Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-05T18:27:27.550Z] f706445af74f: Verifying Checksum [2021-05-05T18:27:27.550Z] f706445af74f: Download complete [2021-05-05T18:27:27.817Z] 0510c868ecb4: Verifying Checksum [2021-05-05T18:27:27.817Z] 0510c868ecb4: Download complete [2021-05-05T18:27:34.450Z] 0510c868ecb4: Pull complete [2021-05-05T18:27:34.450Z] afea3b2eda06: Pull complete [2021-05-05T18:27:34.450Z] 7809a108b3ef: Pull complete [2021-05-05T18:27:38.685Z] f706445af74f: Pull complete [2021-05-05T18:27:38.686Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-05T18:27:38.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-05T18:27:38.686Z] ---> b068be0155e3 [2021-05-05T18:27:38.686Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-05T18:27:38.957Z] ---> Running in 89db9801a538 [2021-05-05T18:27:38.957Z] Removing intermediate container 89db9801a538 [2021-05-05T18:27:38.957Z] ---> fc8912ad961d [2021-05-05T18:27:38.957Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T18:27:38.957Z] ---> Running in 52bcaff0ae72 [2021-05-05T18:27:40.364Z] Removing intermediate container 52bcaff0ae72 [2021-05-05T18:27:40.364Z] ---> 5bcccd4f91b2 [2021-05-05T18:27:40.364Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-05T18:27:40.364Z] ---> Running in 305d9c591bf8 [2021-05-05T18:27:40.627Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-05T18:27:41.575Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-05T18:27:42.530Z] OK: 149 MiB in 40 packages [2021-05-05T18:27:43.106Z] Removing intermediate container 305d9c591bf8 [2021-05-05T18:27:43.106Z] ---> 9f03d5bbce4c [2021-05-05T18:27:43.106Z] Step 6/8 : WORKDIR /build [2021-05-05T18:27:43.106Z] ---> Running in 58774ca7d4e1 [2021-05-05T18:27:43.373Z] Removing intermediate container 58774ca7d4e1 [2021-05-05T18:27:43.373Z] ---> c0c7f4994d3c [2021-05-05T18:27:43.373Z] Step 7/8 : COPY go.mod . [2021-05-05T18:27:43.637Z] ---> 46178ba671b6 [2021-05-05T18:27:43.637Z] Step 8/8 : RUN go mod download [2021-05-05T18:27:43.637Z] ---> Running in dfaecbd0bbae [2021-05-05T18:28:05.679Z] Removing intermediate container dfaecbd0bbae [2021-05-05T18:28:05.679Z] ---> 00bedcfa12ad [2021-05-05T18:28:05.679Z] Successfully built 00bedcfa12ad [2021-05-05T18:28:05.679Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:28:05.996Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-05T18:28:05.996Z] . [Pipeline] withDockerContainer [2021-05-05T18:28:06.134Z] prd-centos7-docker-4c-2g-3053 does not seem to be running inside a container [2021-05-05T18:28:06.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-05T18:28:07.024Z] $ docker top 012752106f2bdfb0c8dae8eea3636f2619270ddb5ad9d04dce5569d1397dd22c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T18:28:07.461Z] + go version [2021-05-05T18:28:07.461Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-05T18:28:07.476Z] $ docker stop --time=1 012752106f2bdfb0c8dae8eea3636f2619270ddb5ad9d04dce5569d1397dd22c [2021-05-05T18:28:08.815Z] $ docker rm -f 012752106f2bdfb0c8dae8eea3636f2619270ddb5ad9d04dce5569d1397dd22c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:28:09.356Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-05T18:28:09.356Z] . [Pipeline] withDockerContainer [2021-05-05T18:28:09.459Z] prd-centos7-docker-4c-2g-3053 does not seem to be running inside a container [2021-05-05T18:28:09.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-05T18:28:10.293Z] $ docker top d2da68c28ca7477950a6e452fb59c934f13d439ff0ea85bb36ca95e08f3ddfa9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T18:28:10.740Z] + go mod tidy [Pipeline] sh [2021-05-05T18:28:11.311Z] + make test [2021-05-05T18:28:11.311Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-05T18:28:23.743Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-05T18:28:24.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.010s coverage: 5.4% of statements [2021-05-05T18:28:24.340Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-05T18:28:24.341Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.090s coverage: 92.2% of statements [2021-05-05T18:28:24.341Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.028s coverage: 85.3% of statements [2021-05-05T18:28:24.939Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-05T18:28:24.939Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-05T18:28:24.939Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-05T18:28:25.214Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.008s coverage: 26.7% of statements [2021-05-05T18:28:29.567Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.021s coverage: 90.7% of statements [2021-05-05T18:28:29.567Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-05T18:28:29.567Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-05T18:28:29.567Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.004s coverage: 91.3% of statements [2021-05-05T18:28:29.567Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-05T18:28:29.567Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-05T18:28:36.282Z] gofmt -l . [2021-05-05T18:28:36.282Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-05T18:28:36.299Z] $ docker stop --time=1 d2da68c28ca7477950a6e452fb59c934f13d439ff0ea85bb36ca95e08f3ddfa9 [2021-05-05T18:28:38.631Z] $ docker rm -f d2da68c28ca7477950a6e452fb59c934f13d439ff0ea85bb36ca95e08f3ddfa9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T18:28:39.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-05T18:28:39.535Z] 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-05T18:28:40.314Z] ---> job-cost.sh [2021-05-05T18:28:40.314Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GDlX [2021-05-05T18:28:55.253Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-05T18:29:21.896Z] lf-activate-venv(): INFO: Adding /tmp/venv-GDlX/bin to PATH [2021-05-05T18:29:21.896Z] INFO: No Stack... [2021-05-05T18:29:22.159Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-05T18:29:22.735Z] INFO: Archiving Costs [Pipeline] sh [2021-05-05T18:29:23.046Z] + cat /w/workspace/go-mod-bootstrap/3/archives/cost.csv [2021-05-05T18:29:23.046Z] + cut -d, -f6 [Pipeline] lock [2021-05-05T18:29:23.129Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] [2021-05-05T18:29:23.158Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] did not exist. Created. [2021-05-05T18:29:23.158Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-05T18:29:23.494Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-05T18:29:23.624Z] Stashed 1 file(s) [Pipeline] } [2021-05-05T18:29:23.632Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-05T18:29:54.699Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3055 in /w/workspace/xfoundry_go-mod-bootstrap_PR-223 [Pipeline] { [Pipeline] ws [2021-05-05T18:29:54.720Z] Running in /w/workspace/go-mod-bootstrap/3 [Pipeline] { [Pipeline] checkout [2021-05-05T18:30:00.731Z] using credential edgex-jenkins-ssh [2021-05-05T18:30:00.773Z] Cloning the remote Git repository [2021-05-05T18:30:00.852Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-05T18:30:00.963Z] > git init /w/workspace/go-mod-bootstrap/3 # timeout=10 [2021-05-05T18:30:01.066Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-05T18:30:01.067Z] > git --version # timeout=10 [2021-05-05T18:30:01.084Z] > git --version # 'git version 2.17.1' [2021-05-05T18:30:01.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T18:30:01.168Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T18:30:03.649Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-05T18:30:03.673Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T18:30:03.700Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-05T18:30:03.731Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-05T18:30:03.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T18:30:03.747Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-05T18:30:06.597Z] Merging remotes/origin/master commit 33e7195f2188569e2762aff126baa4f9b23aa271 into PR head commit 57a7a52560f57af867ed19f8153e65dad40f52dc [2021-05-05T18:30:06.804Z] Merge succeeded, producing 57a7a52560f57af867ed19f8153e65dad40f52dc [2021-05-05T18:30:06.805Z] Checking out Revision 57a7a52560f57af867ed19f8153e65dad40f52dc (PR-223) [2021-05-05T18:30:06.626Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T18:30:06.638Z] > git checkout -f 57a7a52560f57af867ed19f8153e65dad40f52dc # timeout=10 [2021-05-05T18:30:06.732Z] > git remote # timeout=10 [2021-05-05T18:30:06.748Z] > git config --get remote.origin.url # timeout=10 [2021-05-05T18:30:06.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T18:30:06.771Z] > git merge 33e7195f2188569e2762aff126baa4f9b23aa271 # timeout=10 [2021-05-05T18:30:06.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-05T18:30:06.825Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T18:30:06.834Z] > git checkout -f 57a7a52560f57af867ed19f8153e65dad40f52dc # timeout=10 [2021-05-05T18:30:11.383Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T18:30:13.001Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-05T18:30:13.430Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-05T18:30:13.780Z] + + sudotrue [2021-05-05T18:30:13.780Z] service docker restart [Pipeline] unstash [Pipeline] echo [2021-05-05T18:30:16.053Z] ========================================================= [2021-05-05T18:30:16.053Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-05T18:30:16.053Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:30:16.413Z] + 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-05T18:30:17.403Z] Sending build context to Docker daemon 862.7kB [2021-05-05T18:30:17.403Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-05-05T18:30:17.403Z] Step 2/8 : FROM ${BASE} [2021-05-05T18:30:17.676Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-05T18:30:17.676Z] 595b0fe564bb: Pulling fs layer [2021-05-05T18:30:17.676Z] 7186ed65a4f7: Pulling fs layer [2021-05-05T18:30:17.676Z] 316046926c0a: Pulling fs layer [2021-05-05T18:30:17.676Z] 4ebd0625c992: Pulling fs layer [2021-05-05T18:30:17.676Z] 207e8628e3a3: Pulling fs layer [2021-05-05T18:30:17.676Z] c791037a9be2: Pulling fs layer [2021-05-05T18:30:17.676Z] ffd874e62e21: Pulling fs layer [2021-05-05T18:30:17.676Z] c791037a9be2: Waiting [2021-05-05T18:30:17.676Z] ffd874e62e21: Waiting [2021-05-05T18:30:17.676Z] 207e8628e3a3: Waiting [2021-05-05T18:30:17.676Z] 316046926c0a: Verifying Checksum [2021-05-05T18:30:17.676Z] 316046926c0a: Download complete [2021-05-05T18:30:17.951Z] 7186ed65a4f7: Verifying Checksum [2021-05-05T18:30:17.951Z] 7186ed65a4f7: Download complete [2021-05-05T18:30:17.951Z] 207e8628e3a3: Verifying Checksum [2021-05-05T18:30:17.951Z] 207e8628e3a3: Download complete [2021-05-05T18:30:17.951Z] c791037a9be2: Verifying Checksum [2021-05-05T18:30:17.951Z] c791037a9be2: Download complete [2021-05-05T18:30:17.951Z] 595b0fe564bb: Verifying Checksum [2021-05-05T18:30:17.951Z] 595b0fe564bb: Download complete [2021-05-05T18:30:18.554Z] 595b0fe564bb: Pull complete [2021-05-05T18:30:19.159Z] 7186ed65a4f7: Pull complete [2021-05-05T18:30:19.765Z] 316046926c0a: Pull complete [2021-05-05T18:30:19.765Z] ffd874e62e21: Verifying Checksum [2021-05-05T18:30:19.765Z] ffd874e62e21: Download complete [2021-05-05T18:30:21.803Z] 4ebd0625c992: Verifying Checksum [2021-05-05T18:30:21.803Z] 4ebd0625c992: Download complete [2021-05-05T18:30:32.108Z] 4ebd0625c992: Pull complete [2021-05-05T18:30:32.108Z] 207e8628e3a3: Pull complete [2021-05-05T18:30:32.108Z] c791037a9be2: Pull complete [2021-05-05T18:30:35.509Z] ffd874e62e21: Pull complete [2021-05-05T18:30:35.509Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-05T18:30:35.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-05T18:30:35.785Z] ---> cfc18b08335c [2021-05-05T18:30:35.785Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-05T18:30:38.426Z] ---> Running in 1fd2f14875ea [2021-05-05T18:30:39.024Z] Removing intermediate container 1fd2f14875ea [2021-05-05T18:30:39.024Z] ---> a8cd82687979 [2021-05-05T18:30:39.024Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T18:30:39.024Z] ---> Running in e486abac5014 [2021-05-05T18:30:41.664Z] Removing intermediate container e486abac5014 [2021-05-05T18:30:41.664Z] ---> c07ac6e493e0 [2021-05-05T18:30:41.664Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-05T18:30:41.664Z] ---> Running in 5b845141c05a [2021-05-05T18:30:42.652Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-05T18:30:44.116Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-05T18:30:45.097Z] OK: 138 MiB in 40 packages [2021-05-05T18:30:46.532Z] Removing intermediate container 5b845141c05a [2021-05-05T18:30:46.532Z] ---> fb0d3e4aa1a5 [2021-05-05T18:30:46.532Z] Step 6/8 : WORKDIR /build [2021-05-05T18:30:46.532Z] ---> Running in 6ac064971fd3 [2021-05-05T18:30:47.142Z] Removing intermediate container 6ac064971fd3 [2021-05-05T18:30:47.142Z] ---> 0925744b3f87 [2021-05-05T18:30:47.142Z] Step 7/8 : COPY go.mod . [2021-05-05T18:30:47.747Z] ---> 467a0a5b0c19 [2021-05-05T18:30:47.747Z] Step 8/8 : RUN go mod download [2021-05-05T18:30:48.034Z] ---> Running in 6ebb6f0bee99 [2021-05-05T18:31:14.845Z] Removing intermediate container 6ebb6f0bee99 [2021-05-05T18:31:14.845Z] ---> 761b6825b2d2 [2021-05-05T18:31:14.845Z] Successfully built 761b6825b2d2 [2021-05-05T18:31:14.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:31:15.198Z] + docker inspect -f . ci-base-image-arm64 [2021-05-05T18:31:15.198Z] . [Pipeline] withDockerContainer [2021-05-05T18:31:15.472Z] prd-ubuntu18.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container [2021-05-05T18:31:15.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-05T18:31:17.245Z] $ docker top f4d500f22144561d401625608fab9fad883059c0258cb20b1f5b6723fb49d510 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T18:31:18.231Z] + go version [2021-05-05T18:31:18.231Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-05T18:31:18.267Z] $ docker stop --time=1 f4d500f22144561d401625608fab9fad883059c0258cb20b1f5b6723fb49d510 [2021-05-05T18:31:20.248Z] $ docker rm -f f4d500f22144561d401625608fab9fad883059c0258cb20b1f5b6723fb49d510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:31:20.982Z] + docker inspect -f . ci-base-image-arm64 [2021-05-05T18:31:20.982Z] . [Pipeline] withDockerContainer [2021-05-05T18:31:21.249Z] prd-ubuntu18.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container [2021-05-05T18:31:21.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/3 -v /w/workspace/go-mod-bootstrap/3:/w/workspace/go-mod-bootstrap/3:rw,z -v /w/workspace/go-mod-bootstrap/3@tmp:/w/workspace/go-mod-bootstrap/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-05T18:31:22.886Z] $ docker top 95fa6bc11fdda5060c2266f85fa9bbf5280919786154e2ec76b3eac6eff11ff9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T18:31:23.918Z] + go mod tidy [Pipeline] sh [2021-05-05T18:31:25.200Z] + make test [2021-05-05T18:31:25.201Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-05T18:32:12.346Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-05T18:32:12.346Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.049s coverage: 5.4% of statements [2021-05-05T18:32:12.346Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-05T18:32:12.346Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.083s coverage: 92.2% of statements [2021-05-05T18:32:12.346Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.017s coverage: 85.3% of statements [2021-05-05T18:32:12.346Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-05T18:32:12.346Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-05T18:32:12.346Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-05T18:32:12.346Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.054s coverage: 26.7% of statements [2021-05-05T18:32:14.350Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.051s coverage: 90.7% of statements [2021-05-05T18:32:14.350Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-05T18:32:14.350Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-05T18:32:14.350Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.017s coverage: 91.3% of statements [2021-05-05T18:32:14.350Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-05T18:32:14.627Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-05T18:32:41.458Z] gofmt -l . [2021-05-05T18:32:41.458Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-05T18:32:41.487Z] $ docker stop --time=1 95fa6bc11fdda5060c2266f85fa9bbf5280919786154e2ec76b3eac6eff11ff9 [2021-05-05T18:32:43.808Z] $ docker rm -f 95fa6bc11fdda5060c2266f85fa9bbf5280919786154e2ec76b3eac6eff11ff9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T18:32:44.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-05T18:32:44.732Z] Warning: overwriting stash ‘coverage-report’ [2021-05-05T18:32:45.723Z] 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-05T18:32:46.304Z] ---> job-cost.sh [2021-05-05T18:32:46.304Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pi9p [2021-05-05T18:33:33.328Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-05T18:35:25.118Z] lf-activate-venv(): INFO: Adding /tmp/venv-Pi9p/bin to PATH [2021-05-05T18:35:25.118Z] INFO: No Stack... [2021-05-05T18:35:25.118Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-05T18:35:25.118Z] INFO: Archiving Costs [Pipeline] sh [2021-05-05T18:35:25.463Z] + cat /w/workspace/go-mod-bootstrap/3/archives/cost.csv [2021-05-05T18:35:25.463Z] + cut -d, -f6 [Pipeline] lock [2021-05-05T18:35:25.601Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] [2021-05-05T18:35:25.618Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] did not exist. Created. [2021-05-05T18:35:25.618Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-05T18:35:25.975Z] /w/workspace/go-mod-bootstrap/3@tmp/durable-04f0aac0/script.sh: 1: /w/workspace/go-mod-bootstrap/3@tmp/durable-04f0aac0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-05T18:35:26.324Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-05T18:35:26.356Z] Warning: overwriting stash ‘stack-cost’ [2021-05-05T18:35:26.515Z] Stashed 1 file(s) [Pipeline] } [2021-05-05T18:35:26.524Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-223-3-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-05T18:35:26.926Z] provisioning config files... [2021-05-05T18:35:26.938Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp/config2986825379020076153tmp [Pipeline] { [Pipeline] sh [2021-05-05T18:35:27.257Z] + set +x [2021-05-05T18:35:27.257Z] + curl -s https://codecov.io/bash [2021-05-05T18:35:27.257Z] + bash -s -- [2021-05-05T18:35:27.520Z] [2021-05-05T18:35:27.520Z] _____ _ [2021-05-05T18:35:27.520Z] / ____| | | [2021-05-05T18:35:27.520Z] | | ___ __| | ___ ___ _____ __ [2021-05-05T18:35:27.521Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-05T18:35:27.521Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-05T18:35:27.521Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-05T18:35:27.521Z] Bash-1.0.2 [2021-05-05T18:35:27.521Z] [2021-05-05T18:35:27.521Z] [2021-05-05T18:35:27.521Z] ==> git version 2.24.3 found [2021-05-05T18:35:27.521Z] ==> 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-05T18:35:27.521Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-05T18:35:27.521Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-05T18:35:27.521Z] ==> Jenkins CI detected. [2021-05-05T18:35:27.521Z] project root: . [2021-05-05T18:35:27.521Z] --> token set from env [2021-05-05T18:35:27.521Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-05T18:35:27.521Z] ==> Running gcov in . (disable via -X gcov) [2021-05-05T18:35:27.521Z] ==> Python coveragepy not found [2021-05-05T18:35:27.521Z] ==> Searching for coverage reports in: [2021-05-05T18:35:27.521Z] + . [2021-05-05T18:35:27.521Z] -> Found 1 reports [2021-05-05T18:35:27.521Z] ==> Detecting git/mercurial file structure [2021-05-05T18:35:27.521Z] ==> Reading reports [2021-05-05T18:35:27.521Z] + ./coverage.out bytes=28856 [2021-05-05T18:35:27.521Z] ==> Appending adjustments [2021-05-05T18:35:27.521Z] https://docs.codecov.io/docs/fixing-reports [2021-05-05T18:35:27.783Z] + Found adjustments [2021-05-05T18:35:27.783Z] ==> Gzipping contents [2021-05-05T18:35:27.783Z] 8.0K /tmp/codecov.wju2Ux.gz [2021-05-05T18:35:27.783Z] ==> Uploading reports [2021-05-05T18:35:27.783Z] url: https://codecov.io [2021-05-05T18:35:27.783Z] query: branch=PR-223&commit=57a7a52560f57af867ed19f8153e65dad40f52dc&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-223%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=223&job=&cmd_args= [2021-05-05T18:35:27.783Z] -> Pinging Codecov [2021-05-05T18:35:27.783Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-223&commit=57a7a52560f57af867ed19f8153e65dad40f52dc&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-223%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=223&job=&cmd_args= [2021-05-05T18:35:28.360Z] -> Uploading to [2021-05-05T18:35:28.360Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-05/833815588EE85121546D348822E98E2E/57a7a52560f57af867ed19f8153e65dad40f52dc/c97d5f00-cd9c-44e5-87ca-25e8dfd6efe0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210505T183528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c89f0cdccbb8baa6e39d85a44f125e69518f2651f2372f680b025d96b89bd8d [2021-05-05T18:35:28.360Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-05T18:35:28.360Z] Dload Upload Total Spent Left Speed [2021-05-05T18:35:28.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5496 0 0 100 5496 0 10892 --:--:-- --:--:-- --:--:-- 10883 100 5496 0 0 100 5496 0 10885 --:--:-- --:--:-- --:--:-- 10883 [2021-05-05T18:35:28.948Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/57a7a52560f57af867ed19f8153e65dad40f52dc [Pipeline] } [2021-05-05T18:35:28.964Z] 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-05T18:35:29.860Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T18:35:30.206Z] ---> package-listing.sh [2021-05-05T18:35:30.207Z] ++ facter osfamily [2021-05-05T18:35:30.207Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-05T18:35:30.207Z] + OS_FAMILY=redhat [2021-05-05T18:35:30.207Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-223 [2021-05-05T18:35:30.207Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-05T18:35:30.207Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-05T18:35:30.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-05T18:35:30.207Z] + PACKAGES=/tmp/packages_start.txt [2021-05-05T18:35:30.207Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-223 ']' [2021-05-05T18:35:30.207Z] + PACKAGES=/tmp/packages_end.txt [2021-05-05T18:35:30.207Z] + case "${OS_FAMILY}" in [2021-05-05T18:35:30.207Z] + sort [2021-05-05T18:35:30.207Z] + rpm -qa [2021-05-05T18:35:35.533Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-05T18:35:35.533Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-05T18:35:35.533Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-05T18:35:35.533Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-223 ']' [2021-05-05T18:35:35.533Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-223/archives/ [2021-05-05T18:35:35.533Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-223/archives/ [Pipeline] echo [2021-05-05T18:35:35.549Z] 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-223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-05T18:35:35.850Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:35:36.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T18:35:36.157Z] [2021-05-05T18:35:36.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-05T18:35:36.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T18:35:36.479Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-05T18:35:36.479Z] df20fa9351a1: Pulling fs layer [2021-05-05T18:35:36.479Z] 36b3adc4ff6f: Pulling fs layer [2021-05-05T18:35:36.479Z] 8ad3a11d3b57: Pulling fs layer [2021-05-05T18:35:36.479Z] 46f8f816bc3b: Pulling fs layer [2021-05-05T18:35:36.479Z] 93b61091891f: Pulling fs layer [2021-05-05T18:35:36.479Z] 93b9cdb0e59b: Pulling fs layer [2021-05-05T18:35:36.479Z] 5e14af77c1be: Pulling fs layer [2021-05-05T18:35:36.479Z] 01666e4c0597: Pulling fs layer [2021-05-05T18:35:36.479Z] aa168da1d23b: Pulling fs layer [2021-05-05T18:35:36.479Z] 46f8f816bc3b: Waiting [2021-05-05T18:35:36.479Z] 93b61091891f: Waiting [2021-05-05T18:35:36.479Z] 93b9cdb0e59b: Waiting [2021-05-05T18:35:36.479Z] 5e14af77c1be: Waiting [2021-05-05T18:35:36.479Z] 01666e4c0597: Waiting [2021-05-05T18:35:36.479Z] aa168da1d23b: Waiting [2021-05-05T18:35:36.479Z] 36b3adc4ff6f: Verifying Checksum [2021-05-05T18:35:36.479Z] 36b3adc4ff6f: Download complete [2021-05-05T18:35:36.479Z] 46f8f816bc3b: Verifying Checksum [2021-05-05T18:35:36.479Z] 46f8f816bc3b: Download complete [2021-05-05T18:35:36.742Z] df20fa9351a1: Verifying Checksum [2021-05-05T18:35:36.742Z] df20fa9351a1: Download complete [2021-05-05T18:35:36.742Z] 93b9cdb0e59b: Verifying Checksum [2021-05-05T18:35:36.742Z] 93b9cdb0e59b: Download complete [2021-05-05T18:35:36.742Z] 5e14af77c1be: Verifying Checksum [2021-05-05T18:35:36.742Z] 5e14af77c1be: Download complete [2021-05-05T18:35:36.742Z] 93b61091891f: Verifying Checksum [2021-05-05T18:35:36.742Z] 93b61091891f: Download complete [2021-05-05T18:35:36.742Z] 01666e4c0597: Verifying Checksum [2021-05-05T18:35:36.742Z] 01666e4c0597: Download complete [2021-05-05T18:35:36.742Z] 8ad3a11d3b57: Verifying Checksum [2021-05-05T18:35:36.742Z] 8ad3a11d3b57: Download complete [2021-05-05T18:35:37.008Z] df20fa9351a1: Pull complete [2021-05-05T18:35:37.274Z] 36b3adc4ff6f: Pull complete [2021-05-05T18:35:38.242Z] 8ad3a11d3b57: Pull complete [2021-05-05T18:35:38.242Z] 46f8f816bc3b: Pull complete [2021-05-05T18:35:38.822Z] 93b61091891f: Pull complete [2021-05-05T18:35:38.822Z] aa168da1d23b: Verifying Checksum [2021-05-05T18:35:38.822Z] aa168da1d23b: Download complete [2021-05-05T18:35:39.086Z] 93b9cdb0e59b: Pull complete [2021-05-05T18:35:39.086Z] 5e14af77c1be: Pull complete [2021-05-05T18:35:39.349Z] 01666e4c0597: Pull complete [2021-05-05T18:35:47.538Z] aa168da1d23b: Pull complete [2021-05-05T18:35:47.538Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-05T18:35:47.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T18:35:47.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-05T18:35:47.704Z] prd-centos7-docker-4c-2g-3051 does not seem to be running inside a container [2021-05-05T18:35:47.755Z] $ 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-223/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-223 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-223:/w/workspace/xfoundry_go-mod-bootstrap_PR-223:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-05T18:35:51.497Z] $ docker top b7bd8a8202e7ca018c2a3a4b7e7b1a8d1775cb44de3d37df442b449f9cfb4795 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T18:35:51.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-05T18:35:52.258Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-05T18:35:52.560Z] + ls /var/log/sa-host [2021-05-05T18:35:52.560Z] + sadf -c /var/log/sa-host/sa05 [2021-05-05T18:35:52.560Z] file_magic: OK [2021-05-05T18:35:52.560Z] HZ: Using current value: 100 [2021-05-05T18:35:52.560Z] file_header: OK [2021-05-05T18:35:52.560Z] 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-05T18:35:52.560Z] Statistics: [2021-05-05T18:35:52.560Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-05T18:35:52.560Z] File successfully converted to sysstat format version 12.2.1 [2021-05-05T18:35:52.560Z] + sadf -c /var/log/sa-host/sa23 [2021-05-05T18:35:52.560Z] file_magic: OK [2021-05-05T18:35:52.560Z] HZ: Using current value: 100 [2021-05-05T18:35:52.560Z] file_header: OK [2021-05-05T18:35:52.560Z] 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-05T18:35:52.560Z] Statistics: [2021-05-05T18:35:52.560Z] Hnuu...uuuununununu... [2021-05-05T18:35:52.560Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-05T18:35:52.732Z] provisioning config files... [2021-05-05T18:35:52.753Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-223@tmp/config6019394003153896784tmp [Pipeline] { [Pipeline] echo [2021-05-05T18:35:52.776Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T18:35:53.078Z] ---> create-netrc.sh [Pipeline] } [2021-05-05T18:35:53.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-05T18:35:53.118Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T18:35:53.417Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-05T18:35:53.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T18:35:53.732Z] ---> sudo-logs.sh [2021-05-05T18:35:53.732Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-05T18:35:53.761Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T18:35:54.060Z] ---> job-cost.sh [2021-05-05T18:35:54.060Z] lf-activate-venv: SKIPPING [2021-05-05T18:35:54.060Z] DEBUG: total: 0.20999999344348907 [2021-05-05T18:35:54.060Z] INFO: Retrieving Stack Cost... [2021-05-05T18:35:55.059Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-05T18:35:55.642Z] INFO: Archiving Costs [Pipeline] echo [2021-05-05T18:35:55.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T18:35:55.957Z] ---> logs-deploy.sh [2021-05-05T18:35:55.957Z] lf-activate-venv: SKIPPING [2021-05-05T18:35:55.957Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-223/3 [2021-05-05T18:35:55.957Z] INFO: archiving workspace using pattern(s): [2021-05-05T18:35:57.883Z] Archives upload complete. [2021-05-05T18:35:57.883Z] INFO: archiving logs to Nexus