Pull request #193 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 37a3be928f9411a877e1f1b9cb34ce2931a59338+3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 (87a21971abd50b141305b7d9b0c2bd9f0fcb4fbd) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-bootstrap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31805 in /w/workspace/xfoundry_go-mod-bootstrap_PR-193 [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-193 # 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 3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 into PR head commit 37a3be928f9411a877e1f1b9cb34ce2931a59338 Merge succeeded, producing 37a3be928f9411a877e1f1b9cb34ce2931a59338 Checking out Revision 37a3be928f9411a877e1f1b9cb34ce2931a59338 (PR-193) > 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/193/head:refs/remotes/origin/PR-193 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37a3be928f9411a877e1f1b9cb34ce2931a59338 # 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 3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37a3be928f9411a877e1f1b9cb34ce2931a59338 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-configuration/v2" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 697759244c8f70ffe604b7c86b5d20cad566f231 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-29T18:36:48.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-29T18:36:48.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-29T18:36:48.787Z] ========================================================= [2021-03-29T18:36:48.787Z] EdgeX Global Pipelines Version Info [2021-03-29T18:36:48.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:36:50.291Z] ------------------- [2021-03-29T18:36:50.291Z] stable info: [2021-03-29T18:36:50.291Z] ------------------- [2021-03-29T18:36:50.291Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-29T18:36:50.291Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-29T18:36:50.291Z] Message: update stable to v1.0.186 [2021-03-29T18:36:51.240Z] ------------------- [2021-03-29T18:36:51.240Z] experimental info: [2021-03-29T18:36:51.240Z] ------------------- [2021-03-29T18:36:51.240Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-29T18:36:51.240Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-29T18:36:51.240Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-29T18:36:51.540Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-03-29T18:36:51.649Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-03-29T18:36:51.744Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-29T18:36:51.824Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-29T18:36:51.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-29T18:36:52.028Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-29T18:36:52.107Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-29T18:36:52.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-29T18:36:52.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-29T18:36:52.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-29T18:36:52.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-29T18:36:52.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-03-29T18:36:52.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-29T18:36:52.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-29T18:36:52.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T18:36:52.915Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T18:36:53.021Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T18:36:53.103Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T18:36:53.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-29T18:36:53.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-29T18:36:53.391Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-29T18:36:53.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-29T18:36:53.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-29T18:36:53.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-29T18:36:53.720Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-29T18:36:53.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-29T18:36:53.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo [2021-03-29T18:36:53.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo [2021-03-29T18:36:54.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo [2021-03-29T18:36:54.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37a3be928f9411a877e1f1b9cb34ce2931a59338 [Pipeline] echo [2021-03-29T18:36:54.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37a3be9 [Pipeline] echo [2021-03-29T18:36:54.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T18:36:55.028Z] + git log --format=format:%s -1 37a3be928f9411a877e1f1b9cb34ce2931a59338 [Pipeline] echo [2021-03-29T18:36:55.091Z] GIT_COMMIT: 37a3be928f9411a877e1f1b9cb34ce2931a59338, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-configuration/v2 [Pipeline] echo [2021-03-29T18:36:55.131Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:36:55.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T18:36:55.978Z] [2021-03-29T18:36:55.979Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:36:56.329Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T18:36:56.329Z] latest: Pulling from edgex-devops/git-semver [2021-03-29T18:36:56.329Z] 31603596830f: Pulling fs layer [2021-03-29T18:36:56.329Z] 2a8b12db71e7: Pulling fs layer [2021-03-29T18:36:56.329Z] 6ca5941a6612: Pulling fs layer [2021-03-29T18:36:56.329Z] ecc8261a40a4: Pulling fs layer [2021-03-29T18:36:56.329Z] ecc8261a40a4: Waiting [2021-03-29T18:36:56.329Z] 2a8b12db71e7: Verifying Checksum [2021-03-29T18:36:56.329Z] 2a8b12db71e7: Download complete [2021-03-29T18:36:56.592Z] 31603596830f: Verifying Checksum [2021-03-29T18:36:56.592Z] 31603596830f: Download complete [2021-03-29T18:36:56.592Z] ecc8261a40a4: Verifying Checksum [2021-03-29T18:36:56.592Z] ecc8261a40a4: Download complete [2021-03-29T18:36:56.592Z] 6ca5941a6612: Verifying Checksum [2021-03-29T18:36:56.592Z] 6ca5941a6612: Download complete [2021-03-29T18:36:56.858Z] 31603596830f: Pull complete [2021-03-29T18:36:57.123Z] 2a8b12db71e7: Pull complete [2021-03-29T18:36:58.074Z] 6ca5941a6612: Pull complete [2021-03-29T18:36:58.074Z] ecc8261a40a4: Pull complete [2021-03-29T18:36:58.337Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-29T18:36:58.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T18:36:58.337Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-29T18:36:58.476Z] prd-centos7-docker-4c-2g-31805 does not seem to be running inside a container [2021-03-29T18:36:58.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-193 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-193:/w/workspace/xfoundry_go-mod-bootstrap_PR-193:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-193@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-03-29T18:37:00.621Z] $ docker top 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T18:37:00.963Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T18:37:00.963Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T18:37:01.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T18:37:01.203Z] $ docker exec 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f ssh-agent [2021-03-29T18:37:01.369Z] SSH_AUTH_SOCK=/tmp/ssh-9nY1B69gGWB1/agent.11 [2021-03-29T18:37:01.369Z] SSH_AGENT_PID=17 [2021-03-29T18:37:01.378Z] Running ssh-add (command line suppressed) [2021-03-29T18:37:01.504Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp/private_key_7466189706035100630.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp/private_key_7466189706035100630.key) [2021-03-29T18:37:01.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T18:37:01.939Z] + git tag --points-at HEAD [Pipeline] } [2021-03-29T18:37:01.964Z] $ docker exec --env ******** --env ******** 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f ssh-agent -k [2021-03-29T18:37:02.077Z] unset SSH_AUTH_SOCK; [2021-03-29T18:37:02.077Z] unset SSH_AGENT_PID; [2021-03-29T18:37:02.077Z] echo Agent pid 17 killed; [2021-03-29T18:37:02.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-29T18:37:02.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T18:37:02.265Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T18:37:02.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T18:37:02.444Z] $ docker exec 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f ssh-agent [2021-03-29T18:37:02.612Z] SSH_AUTH_SOCK=/tmp/ssh-gngiQpJLK9gW/agent.46 [2021-03-29T18:37:02.612Z] SSH_AGENT_PID=51 [2021-03-29T18:37:02.622Z] Running ssh-add (command line suppressed) [2021-03-29T18:37:02.757Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp/private_key_8151759892148325518.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp/private_key_8151759892148325518.key) [2021-03-29T18:37:02.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T18:37:03.175Z] + git semver init [2021-03-29T18:37:03.175Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T18:37:03.175Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-193/.git [2021-03-29T18:37:03.175Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-193 [2021-03-29T18:37:03.175Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T18:37:03.175Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T18:37:03.175Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T18:37:03.175Z] # $SEMVER_BRANCH = PR-193 [2021-03-29T18:37:03.175Z] # $SEMVER_TEMP = /tmp/semver-068760137 [2021-03-29T18:37:03.175Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-03-29T18:37:04.564Z] # '/tmp/semver-068760137' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-193/.semver' [2021-03-29T18:37:04.564Z] # -> Force: false [2021-03-29T18:37:04.564Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-193/.semver [Pipeline] } [2021-03-29T18:37:04.576Z] $ docker exec --env ******** --env ******** 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f ssh-agent -k [2021-03-29T18:37:04.690Z] unset SSH_AUTH_SOCK; [2021-03-29T18:37:04.691Z] unset SSH_AGENT_PID; [2021-03-29T18:37:04.691Z] echo Agent pid 51 killed; [2021-03-29T18:37:04.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T18:37:05.191Z] + git semver [Pipeline] } [2021-03-29T18:37:05.207Z] $ docker stop --time=1 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f [2021-03-29T18:37:06.937Z] $ docker rm -f 4dcff386e0c87dda17f101d75a9e748c61b67d5cc49f01fd409905ea1354022f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T18:37:07.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-29T18:37:07.974Z] Stashed 1 file(s) [Pipeline] echo [2021-03-29T18:37:07.977Z] [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-03-29T18:37:23.441Z] Still waiting to schedule task [2021-03-29T18:37:23.441Z] ‘prd-centos7-docker-4c-2g-31784’ is offline; ‘prd-centos7-docker-4c-2g-31789’ is offline; ‘prd-centos7-docker-4c-2g-31804’ is offline; ‘prd-centos7-docker-4c-2g-31806’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-31791’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-29T18:37:23.443Z] Still waiting to schedule task [2021-03-29T18:37:23.443Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-29T18:39:36.765Z] Running on prd-centos7-docker-4c-2g-31808 in /w/workspace/xfoundry_go-mod-bootstrap_PR-193 [Pipeline] { [Pipeline] ws [2021-03-29T18:39:36.818Z] Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout [2021-03-29T18:39:39.362Z] using credential edgex-jenkins-ssh [2021-03-29T18:39:39.415Z] Cloning the remote Git repository [2021-03-29T18:39:39.439Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-03-29T18:39:39.506Z] > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 [2021-03-29T18:39:39.567Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-03-29T18:39:39.567Z] > git --version # timeout=10 [2021-03-29T18:39:39.574Z] > git --version # 'git version 2.24.3' [2021-03-29T18:39:39.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T18:39:39.600Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T18:39:40.255Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-03-29T18:39:40.260Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T18:39:40.275Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-03-29T18:39:40.289Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-03-29T18:39:40.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T18:39:40.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T18:39:40.687Z] Merging remotes/origin/master commit 3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 into PR head commit 37a3be928f9411a877e1f1b9cb34ce2931a59338 [2021-03-29T18:39:40.776Z] Merge succeeded, producing 37a3be928f9411a877e1f1b9cb34ce2931a59338 [2021-03-29T18:39:40.777Z] Checking out Revision 37a3be928f9411a877e1f1b9cb34ce2931a59338 (PR-193) [2021-03-29T18:39:40.695Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T18:39:40.701Z] > git checkout -f 37a3be928f9411a877e1f1b9cb34ce2931a59338 # timeout=10 [2021-03-29T18:39:40.738Z] > git remote # timeout=10 [2021-03-29T18:39:40.745Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T18:39:40.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T18:39:40.755Z] > git merge 3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 # timeout=10 [2021-03-29T18:39:40.766Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T18:39:40.779Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T18:39:40.784Z] > git checkout -f 37a3be928f9411a877e1f1b9cb34ce2931a59338 # timeout=10 [2021-03-29T18:39:44.427Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-configuration/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T18:39:45.527Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-29T18:39:45.859Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T18:39:46.158Z] + sudo service docker restart [2021-03-29T18:39:46.158Z] + true [2021-03-29T18:39:46.158Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-29T18:39:47.273Z] ========================================================= [2021-03-29T18:39:47.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-29T18:39:47.273Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:39:47.647Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-29T18:39:48.230Z] Sending build context to Docker daemon 769kB [2021-03-29T18:39:48.230Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-03-29T18:39:48.230Z] Step 2/8 : FROM ${BASE} [2021-03-29T18:39:48.230Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-29T18:39:48.230Z] 188c0c94c7c5: Pulling fs layer [2021-03-29T18:39:48.230Z] 0ef7d3d256c8: Pulling fs layer [2021-03-29T18:39:48.230Z] de9db76c5a1d: Pulling fs layer [2021-03-29T18:39:48.230Z] bca2f99d35d6: Pulling fs layer [2021-03-29T18:39:48.230Z] 93359f2a8cfa: Pulling fs layer [2021-03-29T18:39:48.230Z] 7c6f9722023f: Pulling fs layer [2021-03-29T18:39:48.230Z] a35cf1a2eb13: Pulling fs layer [2021-03-29T18:39:48.230Z] 93359f2a8cfa: Waiting [2021-03-29T18:39:48.230Z] 7c6f9722023f: Waiting [2021-03-29T18:39:48.230Z] bca2f99d35d6: Waiting [2021-03-29T18:39:48.230Z] a35cf1a2eb13: Waiting [2021-03-29T18:39:48.230Z] de9db76c5a1d: Verifying Checksum [2021-03-29T18:39:48.230Z] de9db76c5a1d: Download complete [2021-03-29T18:39:48.230Z] 0ef7d3d256c8: Download complete [2021-03-29T18:39:48.230Z] 93359f2a8cfa: Verifying Checksum [2021-03-29T18:39:48.230Z] 93359f2a8cfa: Download complete [2021-03-29T18:39:48.230Z] 7c6f9722023f: Verifying Checksum [2021-03-29T18:39:48.230Z] 7c6f9722023f: Download complete [2021-03-29T18:39:48.230Z] 188c0c94c7c5: Verifying Checksum [2021-03-29T18:39:48.230Z] 188c0c94c7c5: Download complete [2021-03-29T18:39:48.493Z] 188c0c94c7c5: Pull complete [2021-03-29T18:39:48.759Z] 0ef7d3d256c8: Pull complete [2021-03-29T18:39:49.022Z] de9db76c5a1d: Pull complete [2021-03-29T18:39:49.975Z] a35cf1a2eb13: Verifying Checksum [2021-03-29T18:39:49.975Z] a35cf1a2eb13: Download complete [2021-03-29T18:39:50.930Z] bca2f99d35d6: Verifying Checksum [2021-03-29T18:39:50.930Z] bca2f99d35d6: Download complete [2021-03-29T18:39:57.585Z] bca2f99d35d6: Pull complete [2021-03-29T18:39:57.585Z] 93359f2a8cfa: Pull complete [2021-03-29T18:39:57.585Z] 7c6f9722023f: Pull complete [2021-03-29T18:40:01.851Z] a35cf1a2eb13: Pull complete [2021-03-29T18:40:01.851Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-29T18:40:01.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-29T18:40:01.851Z] ---> a62c8e92a672 [2021-03-29T18:40:01.851Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-29T18:40:02.115Z] ---> Running in 9c13c21300f1 [2021-03-29T18:40:02.381Z] Removing intermediate container 9c13c21300f1 [2021-03-29T18:40:02.381Z] ---> 274c84d8261c [2021-03-29T18:40:02.381Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T18:40:02.381Z] ---> Running in 93399a1e49c8 [2021-03-29T18:40:03.334Z] Removing intermediate container 93399a1e49c8 [2021-03-29T18:40:03.334Z] ---> 3fbbfbb00ad2 [2021-03-29T18:40:03.334Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-03-29T18:40:03.598Z] ---> Running in a18da113ddfb [2021-03-29T18:40:04.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T18:40:05.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T18:40:06.085Z] OK: 166 MiB in 39 packages [2021-03-29T18:40:06.350Z] Removing intermediate container a18da113ddfb [2021-03-29T18:40:06.350Z] ---> feaae4ff048b [2021-03-29T18:40:06.350Z] Step 6/8 : WORKDIR /build [2021-03-29T18:40:06.613Z] ---> Running in cb69f23ddb96 [2021-03-29T18:40:06.613Z] Removing intermediate container cb69f23ddb96 [2021-03-29T18:40:06.613Z] ---> fdef410bb8c1 [2021-03-29T18:40:06.613Z] Step 7/8 : COPY go.mod . [2021-03-29T18:40:06.876Z] ---> 067e0e29f87e [2021-03-29T18:40:06.876Z] Step 8/8 : RUN go mod download [2021-03-29T18:40:07.140Z] ---> Running in ba9a7519a95c [2021-03-29T18:40:25.337Z] Removing intermediate container ba9a7519a95c [2021-03-29T18:40:25.337Z] ---> fe2d11be6c0c [2021-03-29T18:40:25.337Z] Successfully built fe2d11be6c0c [2021-03-29T18:40:25.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:40:25.656Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T18:40:25.656Z] . [Pipeline] withDockerContainer [2021-03-29T18:40:25.779Z] prd-centos7-docker-4c-2g-31808 does not seem to be running inside a container [2021-03-29T18:40:26.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T18:40:26.755Z] $ docker top 7be49087f19656158bfe63ea262ba5358e452f197ca15acdf16d2664758aa05a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T18:40:27.324Z] + go version [2021-03-29T18:40:27.324Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-29T18:40:27.337Z] $ docker stop --time=1 7be49087f19656158bfe63ea262ba5358e452f197ca15acdf16d2664758aa05a [2021-03-29T18:40:28.667Z] $ docker rm -f 7be49087f19656158bfe63ea262ba5358e452f197ca15acdf16d2664758aa05a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:40:29.538Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T18:40:29.538Z] . [Pipeline] withDockerContainer [2021-03-29T18:40:29.656Z] prd-centos7-docker-4c-2g-31808 does not seem to be running inside a container [2021-03-29T18:40:29.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T18:40:30.369Z] $ docker top 8dd72dd75de3e93dff6a33e9c091ee22fbe21f65d6169d6bdaa58df5f7f4f054 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T18:40:30.863Z] + make test [2021-03-29T18:40:30.863Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-29T18:40:43.234Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-03-29T18:40:43.234Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.018s coverage: 5.8% of statements [2021-03-29T18:40:43.234Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-03-29T18:40:43.234Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.013s coverage: 92.2% of statements [2021-03-29T18:40:43.234Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.027s coverage: 85.3% of statements [2021-03-29T18:40:43.503Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.022s coverage: 34.3% of statements [2021-03-29T18:40:43.503Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-03-29T18:40:43.503Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-03-29T18:40:43.503Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.008s coverage: 18.2% of statements [2021-03-29T18:40:46.835Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.011s coverage: 95.3% of statements [2021-03-29T18:40:46.835Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-03-29T18:40:46.835Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-03-29T18:40:46.835Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.008s coverage: 91.3% of statements [2021-03-29T18:40:46.835Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-03-29T18:40:46.835Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-29T18:40:48.782Z] gofmt -l . [2021-03-29T18:40:48.782Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-03-29T18:40:48.799Z] $ docker stop --time=1 8dd72dd75de3e93dff6a33e9c091ee22fbe21f65d6169d6bdaa58df5f7f4f054 [2021-03-29T18:40:51.227Z] $ docker rm -f 8dd72dd75de3e93dff6a33e9c091ee22fbe21f65d6169d6bdaa58df5f7f4f054 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T18:40:51.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T18:40:51.985Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31810 in /w/workspace/xfoundry_go-mod-bootstrap_PR-193 [Pipeline] { [Pipeline] ws [2021-03-29T18:40:52.038Z] Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout [2021-03-29T18:40:52.250Z] 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-03-29T18:40:53.452Z] ---> job-cost.sh [2021-03-29T18:40:53.452Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-183X [2021-03-29T18:40:58.128Z] using credential edgex-jenkins-ssh [2021-03-29T18:40:58.189Z] Cloning the remote Git repository [2021-03-29T18:40:58.269Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-03-29T18:40:58.416Z] > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 [2021-03-29T18:40:58.532Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-03-29T18:40:58.533Z] > git --version # timeout=10 [2021-03-29T18:40:58.562Z] > git --version # 'git version 2.17.1' [2021-03-29T18:40:58.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T18:40:58.637Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T18:40:59.634Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-03-29T18:40:59.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T18:40:59.687Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-03-29T18:41:00.427Z] Merging remotes/origin/master commit 3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 into PR head commit 37a3be928f9411a877e1f1b9cb34ce2931a59338 [2021-03-29T18:41:00.671Z] Merge succeeded, producing 37a3be928f9411a877e1f1b9cb34ce2931a59338 [2021-03-29T18:41:00.672Z] Checking out Revision 37a3be928f9411a877e1f1b9cb34ce2931a59338 (PR-193) [2021-03-29T18:40:59.795Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-03-29T18:40:59.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T18:40:59.829Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T18:41:00.449Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T18:41:00.469Z] > git checkout -f 37a3be928f9411a877e1f1b9cb34ce2931a59338 # timeout=10 [2021-03-29T18:41:00.566Z] > git remote # timeout=10 [2021-03-29T18:41:00.587Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T18:41:00.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T18:41:00.627Z] > git merge 3d3f8f1c6fdd175c7399d7fdf5c653fad2539f69 # timeout=10 [2021-03-29T18:41:00.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T18:41:00.682Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T18:41:00.705Z] > git checkout -f 37a3be928f9411a877e1f1b9cb34ce2931a59338 # timeout=10 [2021-03-29T18:41:05.104Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-configuration/v2" [2021-03-29T18:41:05.385Z] [2021-03-29T18:41:05.385Z] GitHub has been notified of this commit’s build result [2021-03-29T18:41:05.385Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T18:41:06.641Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-29T18:41:07.124Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T18:41:07.478Z] + sudo service docker restart [2021-03-29T18:41:07.478Z] + true [2021-03-29T18:41:08.407Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] unstash [Pipeline] echo [2021-03-29T18:41:10.510Z] ========================================================= [2021-03-29T18:41:10.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-29T18:41:10.510Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:41:10.900Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-29T18:41:11.894Z] Sending build context to Docker daemon 768kB [2021-03-29T18:41:11.894Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-03-29T18:41:11.894Z] Step 2/8 : FROM ${BASE} [2021-03-29T18:41:12.182Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-29T18:41:12.182Z] 5f621e34cdf4: Pulling fs layer [2021-03-29T18:41:12.182Z] a4357932f1b6: Pulling fs layer [2021-03-29T18:41:12.182Z] 18c013af1878: Pulling fs layer [2021-03-29T18:41:12.182Z] 00ac8860ef70: Pulling fs layer [2021-03-29T18:41:12.182Z] 63d7cb157983: Pulling fs layer [2021-03-29T18:41:12.182Z] b116817d02f9: Pulling fs layer [2021-03-29T18:41:12.182Z] 745a02a5169b: Pulling fs layer [2021-03-29T18:41:12.182Z] 00ac8860ef70: Waiting [2021-03-29T18:41:12.182Z] b116817d02f9: Waiting [2021-03-29T18:41:12.182Z] 63d7cb157983: Waiting [2021-03-29T18:41:12.182Z] 745a02a5169b: Waiting [2021-03-29T18:41:12.182Z] 18c013af1878: Verifying Checksum [2021-03-29T18:41:12.182Z] 18c013af1878: Download complete [2021-03-29T18:41:12.182Z] a4357932f1b6: Download complete [2021-03-29T18:41:12.457Z] 63d7cb157983: Verifying Checksum [2021-03-29T18:41:12.457Z] 63d7cb157983: Download complete [2021-03-29T18:41:12.457Z] 5f621e34cdf4: Verifying Checksum [2021-03-29T18:41:12.457Z] 5f621e34cdf4: Download complete [2021-03-29T18:41:12.457Z] b116817d02f9: Verifying Checksum [2021-03-29T18:41:12.457Z] b116817d02f9: Download complete [2021-03-29T18:41:13.082Z] 5f621e34cdf4: Pull complete [2021-03-29T18:41:13.724Z] a4357932f1b6: Pull complete [2021-03-29T18:41:14.003Z] 18c013af1878: Pull complete [2021-03-29T18:41:14.991Z] 745a02a5169b: Verifying Checksum [2021-03-29T18:41:14.991Z] 745a02a5169b: Download complete [2021-03-29T18:41:16.440Z] 00ac8860ef70: Verifying Checksum [2021-03-29T18:41:26.621Z] 00ac8860ef70: Pull complete [2021-03-29T18:41:26.621Z] 63d7cb157983: Pull complete [2021-03-29T18:41:26.621Z] b116817d02f9: Pull complete [2021-03-29T18:41:30.945Z] 745a02a5169b: Pull complete [2021-03-29T18:41:30.945Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-29T18:41:30.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-29T18:41:30.945Z] ---> b7e6874047d6 [2021-03-29T18:41:30.945Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-29T18:41:33.567Z] ---> Running in 1ce924abfc10 [2021-03-29T18:41:33.841Z] Removing intermediate container 1ce924abfc10 [2021-03-29T18:41:33.841Z] ---> bcacfdcef89f [2021-03-29T18:41:33.841Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T18:41:34.113Z] ---> Running in 8004263ba424 [2021-03-29T18:41:35.077Z] lf-activate-venv(): INFO: Adding /tmp/venv-183X/bin to PATH [2021-03-29T18:41:35.077Z] INFO: No Stack... [2021-03-29T18:41:36.026Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T18:41:36.736Z] Removing intermediate container 8004263ba424 [2021-03-29T18:41:36.736Z] ---> fc5b9babf888 [2021-03-29T18:41:36.736Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-03-29T18:41:36.736Z] ---> Running in de9957edebc9 [2021-03-29T18:41:37.335Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T18:41:38.305Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T18:41:39.277Z] OK: 142 MiB in 39 packages [2021-03-29T18:41:40.260Z] Removing intermediate container de9957edebc9 [2021-03-29T18:41:40.260Z] ---> 94c92c88df5a [2021-03-29T18:41:40.260Z] Step 6/8 : WORKDIR /build [2021-03-29T18:41:40.537Z] ---> Running in 155b7ee2be65 [2021-03-29T18:41:41.134Z] Removing intermediate container 155b7ee2be65 [2021-03-29T18:41:41.134Z] ---> 7d4935cd18c3 [2021-03-29T18:41:41.134Z] Step 7/8 : COPY go.mod . [2021-03-29T18:41:42.114Z] ---> 892c2aaadd04 [2021-03-29T18:41:42.114Z] Step 8/8 : RUN go mod download [2021-03-29T18:41:42.114Z] ---> Running in 7b7add932e24 [2021-03-29T18:42:04.289Z] Removing intermediate container 7b7add932e24 [2021-03-29T18:42:04.289Z] ---> 0a2d7278599a [2021-03-29T18:42:04.289Z] Successfully built 0a2d7278599a [2021-03-29T18:42:04.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:42:04.629Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T18:42:04.629Z] . [Pipeline] withDockerContainer [2021-03-29T18:42:04.864Z] prd-ubuntu18.04-docker-arm64-4c-16g-31810 does not seem to be running inside a container [2021-03-29T18:42:04.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-29T18:42:06.681Z] $ docker top dad8f6bffb05bd02775c0c57f11cf4eb53cf9e3d1de5a1fe99b5f9c54ece0ca1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T18:42:07.810Z] + go version [2021-03-29T18:42:07.810Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-29T18:42:07.834Z] $ docker stop --time=1 dad8f6bffb05bd02775c0c57f11cf4eb53cf9e3d1de5a1fe99b5f9c54ece0ca1 [2021-03-29T18:42:08.186Z] ERROR: Pricing API returned invalid json [2021-03-29T18:42:08.186Z] INFO: Archiving Costs [2021-03-29T18:42:09.761Z] $ docker rm -f dad8f6bffb05bd02775c0c57f11cf4eb53cf9e3d1de5a1fe99b5f9c54ece0ca1 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-03-29T18:42:10.361Z] + cat /w/workspace/go-mod-bootstrap/5/archives/cost.csv [2021-03-29T18:42:10.361Z] + cut -d, -f6 [Pipeline] stage [Pipeline] { (Test) [Pipeline] lock [2021-03-29T18:42:10.490Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] [2021-03-29T18:42:10.510Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] did not exist. Created. [2021-03-29T18:42:10.510Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:42:10.957Z] + echo total: 0.0 [Pipeline] stash [2021-03-29T18:42:11.123Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T18:42:11.135Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] [2021-03-29T18:42:11.175Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T18:42:11.175Z] . [Pipeline] // lock [Pipeline] withDockerContainer [2021-03-29T18:42:11.496Z] prd-ubuntu18.04-docker-arm64-4c-16g-31810 does not seem to be running inside a container [2021-03-29T18:42:11.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-29T18:42:13.338Z] $ docker top ce6020bb273b240627af6e69a5e47da0276e1bde6656b62b35cf12bdd14d2a4e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-29T18:42:14.405Z] + make test [2021-03-29T18:42:14.405Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] } [2021-03-29T18:42:46.769Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-03-29T18:42:46.769Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.028s coverage: 5.8% of statements [2021-03-29T18:42:46.769Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-03-29T18:42:46.769Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.037s coverage: 92.2% of statements [2021-03-29T18:42:47.372Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.042s coverage: 85.3% of statements [2021-03-29T18:42:50.799Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.048s coverage: 34.3% of statements [2021-03-29T18:42:50.799Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-03-29T18:42:50.799Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-03-29T18:42:50.799Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.022s coverage: 18.2% of statements [2021-03-29T18:42:54.185Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.039s coverage: 95.3% of statements [2021-03-29T18:42:54.185Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-03-29T18:42:54.185Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-03-29T18:42:54.185Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.010s coverage: 91.3% of statements [2021-03-29T18:42:54.185Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-03-29T18:42:54.185Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-29T18:43:00.916Z] gofmt -l . [2021-03-29T18:43:00.916Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-03-29T18:43:00.942Z] $ docker stop --time=1 ce6020bb273b240627af6e69a5e47da0276e1bde6656b62b35cf12bdd14d2a4e [2021-03-29T18:43:03.400Z] $ docker rm -f ce6020bb273b240627af6e69a5e47da0276e1bde6656b62b35cf12bdd14d2a4e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T18:43:04.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T18:43:04.399Z] Warning: overwriting stash ‘coverage-report’ [2021-03-29T18:43:05.142Z] 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-03-29T18:43:06.182Z] ---> job-cost.sh [2021-03-29T18:43:06.182Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bdcG [2021-03-29T18:43:45.255Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T18:45:22.026Z] lf-activate-venv(): INFO: Adding /tmp/venv-bdcG/bin to PATH [2021-03-29T18:45:22.026Z] INFO: No Stack... [2021-03-29T18:45:22.026Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-29T18:45:22.026Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T18:45:22.369Z] + cut -d, -f6 [2021-03-29T18:45:22.369Z] + cat /w/workspace/go-mod-bootstrap/5/archives/cost.csv [Pipeline] lock [2021-03-29T18:45:22.473Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] [2021-03-29T18:45:22.488Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] did not exist. Created. [2021-03-29T18:45:22.488Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T18:45:22.952Z] /w/workspace/go-mod-bootstrap/5@tmp/durable-f5770eb3/script.sh: 1: /w/workspace/go-mod-bootstrap/5@tmp/durable-f5770eb3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-29T18:45:23.299Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-29T18:45:23.364Z] Warning: overwriting stash ‘stack-cost’ [2021-03-29T18:45:23.518Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T18:45:23.529Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-193-5-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-03-29T18:45:24.573Z] provisioning config files... [2021-03-29T18:45:24.587Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp/config418256516130121035tmp [Pipeline] { [Pipeline] sh [2021-03-29T18:45:24.991Z] + set +x [2021-03-29T18:45:24.991Z] + curl -s https://codecov.io/bash [2021-03-29T18:45:24.991Z] + bash -s -- [2021-03-29T18:45:25.254Z] [2021-03-29T18:45:25.255Z] _____ _ [2021-03-29T18:45:25.255Z] / ____| | | [2021-03-29T18:45:25.255Z] | | ___ __| | ___ ___ _____ __ [2021-03-29T18:45:25.255Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-29T18:45:25.255Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-29T18:45:25.255Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-29T18:45:25.255Z] Bash-20210309-2b87ace [2021-03-29T18:45:25.255Z] [2021-03-29T18:45:25.255Z] [2021-03-29T18:45:25.255Z] ==> git version 2.24.3 found [2021-03-29T18:45:25.255Z] ==> 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-03-29T18:45:25.255Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-29T18:45:25.255Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-29T18:45:25.255Z] curl: option -sm: expected a proper numerical parameter [2021-03-29T18:45:25.255Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-29T18:45:25.255Z] ==> Jenkins CI detected. [2021-03-29T18:45:25.255Z] project root: . [2021-03-29T18:45:25.255Z] --> token set from env [2021-03-29T18:45:25.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-29T18:45:25.255Z] ==> Running gcov in . (disable via -X gcov) [2021-03-29T18:45:25.255Z] ==> Python coveragepy not found [2021-03-29T18:45:25.255Z] ==> Searching for coverage reports in: [2021-03-29T18:45:25.255Z] + . [2021-03-29T18:45:25.255Z] -> Found 1 reports [2021-03-29T18:45:25.255Z] ==> Detecting git/mercurial file structure [2021-03-29T18:45:25.255Z] ==> Reading reports [2021-03-29T18:45:25.255Z] + ./coverage.out bytes=30077 [2021-03-29T18:45:25.255Z] ==> Appending adjustments [2021-03-29T18:45:25.255Z] https://docs.codecov.io/docs/fixing-reports [2021-03-29T18:45:25.517Z] + Found adjustments [2021-03-29T18:45:25.517Z] ==> Gzipping contents [2021-03-29T18:45:25.517Z] 8.0K /tmp/codecov.Uzbvt2.gz [2021-03-29T18:45:25.517Z] ==> Uploading reports [2021-03-29T18:45:25.517Z] url: https://codecov.io [2021-03-29T18:45:25.517Z] query: branch=PR-193&commit=37a3be928f9411a877e1f1b9cb34ce2931a59338&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-193%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=193&job=&cmd_args= [2021-03-29T18:45:25.517Z] -> Pinging Codecov [2021-03-29T18:45:25.517Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-193&commit=37a3be928f9411a877e1f1b9cb34ce2931a59338&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-193%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=193&job=&cmd_args= [2021-03-29T18:45:26.463Z] -> Uploading to [2021-03-29T18:45:26.463Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-29/833815588EE85121546D348822E98E2E/37a3be928f9411a877e1f1b9cb34ce2931a59338/6a57dff0-4a69-4df6-8d1d-998e2bc487b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210329T184526Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da37b0ae8fa5a80c8e5fa235a59370c393677f678fc1666388cba22c873362ce [2021-03-29T18:45:26.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-29T18:45:26.463Z] Dload Upload Total Spent Left Speed [2021-03-29T18:45:26.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5572 0 0 100 5572 0 14990 --:--:-- --:--:-- --:--:-- 14978 100 5572 0 0 100 5572 0 14983 --:--:-- --:--:-- --:--:-- 14978 [2021-03-29T18:45:26.749Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/37a3be928f9411a877e1f1b9cb34ce2931a59338 [Pipeline] } [2021-03-29T18:45:26.760Z] 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-03-29T18:45:28.971Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:45:29.285Z] ---> package-listing.sh [2021-03-29T18:45:29.285Z] ++ facter osfamily [2021-03-29T18:45:29.285Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-29T18:45:29.285Z] + OS_FAMILY=redhat [2021-03-29T18:45:29.285Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-193 [2021-03-29T18:45:29.285Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-29T18:45:29.285Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-29T18:45:29.285Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-29T18:45:29.285Z] + PACKAGES=/tmp/packages_start.txt [2021-03-29T18:45:29.285Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-193 ']' [2021-03-29T18:45:29.285Z] + PACKAGES=/tmp/packages_end.txt [2021-03-29T18:45:29.285Z] + case "${OS_FAMILY}" in [2021-03-29T18:45:29.285Z] + rpm -qa [2021-03-29T18:45:29.285Z] + sort [2021-03-29T18:45:33.505Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-29T18:45:33.505Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-29T18:45:33.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-29T18:45:33.505Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-193 ']' [2021-03-29T18:45:33.505Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-193/archives/ [2021-03-29T18:45:33.505Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-193/archives/ [Pipeline] echo [2021-03-29T18:45:33.520Z] 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-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-29T18:45:33.817Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:45:34.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T18:45:34.125Z] [2021-03-29T18:45:34.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-29T18:45:34.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T18:45:34.486Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-29T18:45:34.486Z] df20fa9351a1: Pulling fs layer [2021-03-29T18:45:34.486Z] 36b3adc4ff6f: Pulling fs layer [2021-03-29T18:45:34.486Z] 8ad3a11d3b57: Pulling fs layer [2021-03-29T18:45:34.486Z] 46f8f816bc3b: Pulling fs layer [2021-03-29T18:45:34.486Z] 93b61091891f: Pulling fs layer [2021-03-29T18:45:34.486Z] 93b9cdb0e59b: Pulling fs layer [2021-03-29T18:45:34.486Z] 5e14af77c1be: Pulling fs layer [2021-03-29T18:45:34.486Z] 01666e4c0597: Pulling fs layer [2021-03-29T18:45:34.486Z] aa168da1d23b: Pulling fs layer [2021-03-29T18:45:34.486Z] 93b9cdb0e59b: Waiting [2021-03-29T18:45:34.486Z] 5e14af77c1be: Waiting [2021-03-29T18:45:34.486Z] 01666e4c0597: Waiting [2021-03-29T18:45:34.486Z] aa168da1d23b: Waiting [2021-03-29T18:45:34.486Z] 93b61091891f: Waiting [2021-03-29T18:45:34.486Z] 36b3adc4ff6f: Verifying Checksum [2021-03-29T18:45:34.486Z] 36b3adc4ff6f: Download complete [2021-03-29T18:45:34.486Z] 46f8f816bc3b: Verifying Checksum [2021-03-29T18:45:34.486Z] 46f8f816bc3b: Download complete [2021-03-29T18:45:34.486Z] df20fa9351a1: Download complete [2021-03-29T18:45:34.486Z] 93b9cdb0e59b: Download complete [2021-03-29T18:45:34.486Z] 93b61091891f: Verifying Checksum [2021-03-29T18:45:34.486Z] 93b61091891f: Download complete [2021-03-29T18:45:34.751Z] 5e14af77c1be: Download complete [2021-03-29T18:45:34.751Z] 01666e4c0597: Verifying Checksum [2021-03-29T18:45:34.751Z] 01666e4c0597: Download complete [2021-03-29T18:45:34.751Z] 8ad3a11d3b57: Verifying Checksum [2021-03-29T18:45:34.751Z] 8ad3a11d3b57: Download complete [2021-03-29T18:45:35.019Z] df20fa9351a1: Pull complete [2021-03-29T18:45:35.289Z] 36b3adc4ff6f: Pull complete [2021-03-29T18:45:36.691Z] aa168da1d23b: Verifying Checksum [2021-03-29T18:45:36.691Z] aa168da1d23b: Download complete [2021-03-29T18:45:37.266Z] 8ad3a11d3b57: Pull complete [2021-03-29T18:45:37.529Z] 46f8f816bc3b: Pull complete [2021-03-29T18:45:37.793Z] 93b61091891f: Pull complete [2021-03-29T18:45:38.056Z] 93b9cdb0e59b: Pull complete [2021-03-29T18:45:38.056Z] 5e14af77c1be: Pull complete [2021-03-29T18:45:38.320Z] 01666e4c0597: Pull complete [2021-03-29T18:45:44.984Z] aa168da1d23b: Pull complete [2021-03-29T18:45:44.984Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-29T18:45:44.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T18:45:44.984Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-29T18:45:45.224Z] prd-centos7-docker-4c-2g-31805 does not seem to be running inside a container [2021-03-29T18:45:45.276Z] $ 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-193/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-193 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-193:/w/workspace/xfoundry_go-mod-bootstrap_PR-193:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-193@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-03-29T18:45:48.892Z] $ docker top e9d6e2adf3ac7b9d88097643e3d3d8d2ebc4c65efd6e7f260e27adced1e64b79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T18:45:49.379Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-29T18:45:49.682Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-29T18:45:49.986Z] + ls /var/log/sa-host [2021-03-29T18:45:49.986Z] + sadf -c /var/log/sa-host/sa23 [2021-03-29T18:45:49.986Z] file_magic: OK [2021-03-29T18:45:49.986Z] HZ: Using current value: 100 [2021-03-29T18:45:49.986Z] file_header: OK [2021-03-29T18:45:49.986Z] 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-03-29T18:45:49.986Z] Statistics: [2021-03-29T18:45:49.986Z] Hnuu...uuuununununu... [2021-03-29T18:45:49.986Z] File successfully converted to sysstat format version 12.2.1 [2021-03-29T18:45:49.986Z] + sadf -c /var/log/sa-host/sa29 [2021-03-29T18:45:49.986Z] file_magic: OK [2021-03-29T18:45:49.986Z] HZ: Using current value: 100 [2021-03-29T18:45:49.986Z] file_header: OK [2021-03-29T18:45:49.986Z] 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-03-29T18:45:49.986Z] Statistics: [2021-03-29T18:45:49.986Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-29T18:45:49.986Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-29T18:45:50.191Z] provisioning config files... [2021-03-29T18:45:50.211Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-193@tmp/config926456196476119636tmp [Pipeline] { [Pipeline] echo [2021-03-29T18:45:50.302Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:45:50.606Z] ---> create-netrc.sh [Pipeline] } [2021-03-29T18:45:50.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-29T18:45:50.722Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:45:51.046Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-29T18:45:51.065Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:45:51.368Z] ---> sudo-logs.sh [2021-03-29T18:45:51.369Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-29T18:45:51.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:45:51.743Z] ---> job-cost.sh [2021-03-29T18:45:51.743Z] lf-activate-venv: SKIPPING [2021-03-29T18:45:51.743Z] DEBUG: total: 0.20999999344348907 [2021-03-29T18:45:51.743Z] INFO: Retrieving Stack Cost... [2021-03-29T18:45:52.698Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T18:45:53.273Z] INFO: Archiving Costs [Pipeline] echo [2021-03-29T18:45:53.288Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T18:45:53.589Z] ---> logs-deploy.sh [2021-03-29T18:45:53.589Z] lf-activate-venv: SKIPPING [2021-03-29T18:45:53.589Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-193/5 [2021-03-29T18:45:53.589Z] INFO: archiving workspace using pattern(s): [2021-03-29T18:45:55.510Z] Archives upload complete. [2021-03-29T18:45:55.510Z] INFO: archiving logs to Nexus