Pull request #229 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b40c93861f8b7d6e673b24d3eba86ca499d7ba72+24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 (462ae284bb720466604ed5b3e9769b76be211bd8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-bootstrap, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-bootstrap-settings PROJECT: go-mod-bootstrap USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-bootstrap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4138 in /w/workspace/xfoundry_go-mod-bootstrap_PR-229 [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-229 # 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 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 into PR head commit b40c93861f8b7d6e673b24d3eba86ca499d7ba72 > 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/229/head:refs/remotes/origin/PR-229 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b40c93861f8b7d6e673b24d3eba86ca499d7ba72 # timeout=10 Merge succeeded, producing b40c93861f8b7d6e673b24d3eba86ca499d7ba72 Checking out Revision b40c93861f8b7d6e673b24d3eba86ca499d7ba72 (PR-229) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b40c93861f8b7d6e673b24d3eba86ca499d7ba72 # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.7.4" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T17:50:17.998Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T17:50:18.096Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T17:50:18.126Z] ========================================================= [2021-05-10T17:50:18.126Z] EdgeX Global Pipelines Version Info [2021-05-10T17:50:18.126Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 46e717d5ac974e0721d538b9e25ddd34f09bd4cc # timeout=10 [2021-05-10T17:50:19.604Z] ------------------- [2021-05-10T17:50:19.604Z] stable info: [2021-05-10T17:50:19.604Z] ------------------- [2021-05-10T17:50:19.604Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T17:50:19.604Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T17:50:19.604Z] Message: update stable to v1.0.191 [2021-05-10T17:50:20.550Z] ------------------- [2021-05-10T17:50:20.551Z] experimental info: [2021-05-10T17:50:20.551Z] ------------------- [2021-05-10T17:50:20.551Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T17:50:20.551Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T17:50:20.551Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T17:50:20.673Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-10T17:50:20.698Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-10T17:50:20.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T17:50:20.749Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T17:50:20.773Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T17:50:20.796Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T17:50:20.819Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T17:50:20.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T17:50:20.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T17:50:20.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T17:50:20.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T17:50:20.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-10T17:50:21.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T17:50:21.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T17:50:21.058Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:21.082Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:21.106Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:21.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:50:21.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T17:50:21.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T17:50:21.217Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T17:50:21.241Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T17:50:21.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T17:50:21.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T17:50:21.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-10T17:50:21.333Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T17:50:21.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2021-05-10T17:50:21.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2021-05-10T17:50:21.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2021-05-10T17:50:21.429Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [Pipeline] echo [2021-05-10T17:50:21.460Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b40c938 [Pipeline] echo [2021-05-10T17:50:21.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:50:21.895Z] + git log --format=format:%s -1 b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [Pipeline] echo [2021-05-10T17:50:21.971Z] GIT_COMMIT: b40c93861f8b7d6e673b24d3eba86ca499d7ba72, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.7.4 [Pipeline] echo [2021-05-10T17:50:21.986Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:50:22.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:50:22.797Z] [2021-05-10T17:50:22.797Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:50:23.115Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:50:23.115Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T17:50:23.115Z] 31603596830f: Pulling fs layer [2021-05-10T17:50:23.115Z] 54011a49482f: Pulling fs layer [2021-05-10T17:50:23.115Z] a6820b24f6d8: Pulling fs layer [2021-05-10T17:50:23.115Z] f581987b2513: Pulling fs layer [2021-05-10T17:50:23.115Z] f581987b2513: Waiting [2021-05-10T17:50:23.115Z] 54011a49482f: Verifying Checksum [2021-05-10T17:50:23.115Z] 54011a49482f: Download complete [2021-05-10T17:50:23.381Z] 31603596830f: Verifying Checksum [2021-05-10T17:50:23.381Z] 31603596830f: Download complete [2021-05-10T17:50:23.650Z] a6820b24f6d8: Verifying Checksum [2021-05-10T17:50:23.650Z] a6820b24f6d8: Download complete [2021-05-10T17:50:23.915Z] f581987b2513: Verifying Checksum [2021-05-10T17:50:23.915Z] f581987b2513: Download complete [2021-05-10T17:50:23.915Z] 31603596830f: Pull complete [2021-05-10T17:50:23.915Z] 54011a49482f: Pull complete [2021-05-10T17:50:24.878Z] a6820b24f6d8: Pull complete [2021-05-10T17:50:25.142Z] f581987b2513: Pull complete [2021-05-10T17:50:25.142Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T17:50:25.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:50:25.142Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T17:50:25.247Z] prd-centos7-docker-4c-2g-4138 does not seem to be running inside a container [2021-05-10T17:50:25.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-229 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-229:/w/workspace/xfoundry_go-mod-bootstrap_PR-229:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T17:50:27.464Z] $ docker top c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T17:50:27.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T17:50:27.707Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T17:50:27.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T17:50:27.958Z] $ docker exec c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 ssh-agent [2021-05-10T17:50:28.150Z] SSH_AUTH_SOCK=/tmp/ssh-vGBlZwk74oDA/agent.12 [2021-05-10T17:50:28.150Z] SSH_AGENT_PID=17 [2021-05-10T17:50:28.163Z] Running ssh-add (command line suppressed) [2021-05-10T17:50:28.317Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp/private_key_202574722266805957.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp/private_key_202574722266805957.key) [2021-05-10T17:50:28.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T17:50:28.687Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T17:50:28.706Z] $ docker exec --env ******** --env ******** c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 ssh-agent -k [2021-05-10T17:50:28.831Z] unset SSH_AUTH_SOCK; [2021-05-10T17:50:28.831Z] unset SSH_AGENT_PID; [2021-05-10T17:50:28.831Z] echo Agent pid 17 killed; [2021-05-10T17:50:28.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T17:50:28.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T17:50:28.925Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T17:50:29.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T17:50:29.136Z] $ docker exec c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 ssh-agent [2021-05-10T17:50:29.342Z] SSH_AUTH_SOCK=/tmp/ssh-Jbj16sGbyR5H/agent.45 [2021-05-10T17:50:29.342Z] SSH_AGENT_PID=50 [2021-05-10T17:50:29.350Z] Running ssh-add (command line suppressed) [2021-05-10T17:50:29.502Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp/private_key_682044802223180036.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp/private_key_682044802223180036.key) [2021-05-10T17:50:29.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T17:50:29.866Z] + git semver init [2021-05-10T17:50:29.866Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T17:50:29.866Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-229/.git [2021-05-10T17:50:29.866Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-229 [2021-05-10T17:50:29.866Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T17:50:29.866Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T17:50:29.866Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T17:50:29.866Z] # $SEMVER_BRANCH = PR-229 [2021-05-10T17:50:29.866Z] # $SEMVER_TEMP = /tmp/semver-485463211 [2021-05-10T17:50:29.866Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-10T17:50:30.441Z] # '/tmp/semver-485463211' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-229/.semver' [2021-05-10T17:50:30.441Z] # -> Force: false [2021-05-10T17:50:30.441Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-229/.semver [Pipeline] } [2021-05-10T17:50:30.455Z] $ docker exec --env ******** --env ******** c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 ssh-agent -k [2021-05-10T17:50:30.592Z] unset SSH_AUTH_SOCK; [2021-05-10T17:50:30.593Z] unset SSH_AGENT_PID; [2021-05-10T17:50:30.593Z] echo Agent pid 50 killed; [2021-05-10T17:50:30.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T17:50:30.976Z] + git semver [Pipeline] } [2021-05-10T17:50:30.995Z] $ docker stop --time=1 c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 [2021-05-10T17:50:33.168Z] $ docker rm -f c139f588147d7413a03b20068e44409d6c4a8a2d0520edba0f44c1e920e85a83 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:50:33.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T17:50:33.997Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T17:50:34.000Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-10T17:50:49.185Z] Still waiting to schedule task [2021-05-10T17:50:49.186Z] Executor slot already in use; ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4130’ is offline; ‘prd-centos7-docker-4c-2g-4140’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4133’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-10T17:50:49.190Z] Still waiting to schedule task [2021-05-10T17:50:49.191Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T17:50:58.519Z] Running on prd-centos7-docker-4c-2g-4140 in /w/workspace/xfoundry_go-mod-bootstrap_PR-229 [Pipeline] { [Pipeline] ws [2021-05-10T17:50:58.536Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2021-05-10T17:51:01.135Z] using credential edgex-jenkins-ssh [2021-05-10T17:51:01.185Z] Cloning the remote Git repository [2021-05-10T17:51:01.220Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:51:01.291Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2021-05-10T17:51:01.362Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:51:01.362Z] > git --version # timeout=10 [2021-05-10T17:51:01.369Z] > git --version # 'git version 2.24.3' [2021-05-10T17:51:01.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:51:01.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:51:02.885Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:51:02.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:51:02.911Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:51:02.924Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:51:02.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:51:02.929Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T17:51:04.156Z] Merging remotes/origin/master commit 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 into PR head commit b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [2021-05-10T17:51:04.237Z] Merge succeeded, producing b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [2021-05-10T17:51:04.238Z] Checking out Revision b40c93861f8b7d6e673b24d3eba86ca499d7ba72 (PR-229) [2021-05-10T17:51:04.167Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:51:04.174Z] > git checkout -f b40c93861f8b7d6e673b24d3eba86ca499d7ba72 # timeout=10 [2021-05-10T17:51:04.209Z] > git remote # timeout=10 [2021-05-10T17:51:04.215Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T17:51:04.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:51:04.224Z] > git merge 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 # timeout=10 [2021-05-10T17:51:04.234Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T17:51:04.243Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:51:04.247Z] > git checkout -f b40c93861f8b7d6e673b24d3eba86ca499d7ba72 # timeout=10 [2021-05-10T17:51:07.964Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.7.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:51:08.900Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:51:09.238Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:51:09.538Z] + true [2021-05-10T17:51:09.538Z] + sudo service docker restart [2021-05-10T17:51:09.538Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-10T17:51:10.631Z] ========================================================= [2021-05-10T17:51:10.632Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T17:51:10.632Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:51:10.947Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T17:51:11.209Z] Sending build context to Docker daemon 932.4kB [2021-05-10T17:51:11.209Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-10T17:51:11.209Z] Step 2/8 : FROM ${BASE} [2021-05-10T17:51:11.471Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T17:51:11.471Z] 540db60ca938: Pulling fs layer [2021-05-10T17:51:11.471Z] adcc1eea9eea: Pulling fs layer [2021-05-10T17:51:11.471Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T17:51:11.471Z] 0510c868ecb4: Pulling fs layer [2021-05-10T17:51:11.471Z] afea3b2eda06: Pulling fs layer [2021-05-10T17:51:11.471Z] 7809a108b3ef: Pulling fs layer [2021-05-10T17:51:11.471Z] f706445af74f: Pulling fs layer [2021-05-10T17:51:11.471Z] afea3b2eda06: Waiting [2021-05-10T17:51:11.471Z] 7809a108b3ef: Waiting [2021-05-10T17:51:11.471Z] f706445af74f: Waiting [2021-05-10T17:51:11.471Z] 0510c868ecb4: Waiting [2021-05-10T17:51:11.471Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T17:51:11.471Z] 4c4ab2625f07: Download complete [2021-05-10T17:51:11.734Z] adcc1eea9eea: Verifying Checksum [2021-05-10T17:51:11.734Z] adcc1eea9eea: Download complete [2021-05-10T17:51:11.734Z] afea3b2eda06: Verifying Checksum [2021-05-10T17:51:11.734Z] afea3b2eda06: Download complete [2021-05-10T17:51:11.734Z] 7809a108b3ef: Verifying Checksum [2021-05-10T17:51:11.734Z] 7809a108b3ef: Download complete [2021-05-10T17:51:11.734Z] 540db60ca938: Verifying Checksum [2021-05-10T17:51:11.734Z] 540db60ca938: Download complete [2021-05-10T17:51:12.314Z] 540db60ca938: Pull complete [2021-05-10T17:51:12.314Z] adcc1eea9eea: Pull complete [2021-05-10T17:51:12.576Z] 4c4ab2625f07: Pull complete [2021-05-10T17:51:13.967Z] f706445af74f: Verifying Checksum [2021-05-10T17:51:13.967Z] f706445af74f: Download complete [2021-05-10T17:51:14.552Z] 0510c868ecb4: Verifying Checksum [2021-05-10T17:51:14.552Z] 0510c868ecb4: Download complete [2021-05-10T17:51:19.904Z] 0510c868ecb4: Pull complete [2021-05-10T17:51:20.172Z] afea3b2eda06: Pull complete [2021-05-10T17:51:20.173Z] 7809a108b3ef: Pull complete [2021-05-10T17:51:24.427Z] f706445af74f: Pull complete [2021-05-10T17:51:24.427Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T17:51:24.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T17:51:24.427Z] ---> b068be0155e3 [2021-05-10T17:51:24.427Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T17:51:25.005Z] ---> Running in ce2bb772f9bb [2021-05-10T17:51:25.269Z] Removing intermediate container ce2bb772f9bb [2021-05-10T17:51:25.269Z] ---> 80e49112ca31 [2021-05-10T17:51:25.269Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:51:25.269Z] ---> Running in fe417052eca4 [2021-05-10T17:51:26.216Z] Removing intermediate container fe417052eca4 [2021-05-10T17:51:26.216Z] ---> ccd6c9d4e5df [2021-05-10T17:51:26.216Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-10T17:51:26.492Z] ---> Running in 74794350fa1b [2021-05-10T17:51:27.076Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T17:51:37.115Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T17:51:59.109Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T17:51:59.109Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T17:51:59.685Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T17:52:01.606Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T17:52:02.551Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T17:52:02.813Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T17:52:02.813Z] OK: 150 MiB in 45 packages [2021-05-10T17:52:03.782Z] Removing intermediate container 74794350fa1b [2021-05-10T17:52:03.782Z] ---> c469acf50000 [2021-05-10T17:52:03.782Z] Step 6/8 : WORKDIR /build [2021-05-10T17:52:03.782Z] ---> Running in 25f515258614 [2021-05-10T17:52:03.782Z] Removing intermediate container 25f515258614 [2021-05-10T17:52:03.782Z] ---> 36f82629719b [2021-05-10T17:52:03.782Z] Step 7/8 : COPY go.mod . [2021-05-10T17:52:04.046Z] ---> ce74b9a1b2e3 [2021-05-10T17:52:04.046Z] Step 8/8 : RUN go mod download [2021-05-10T17:52:04.046Z] ---> Running in 24b9ecb72531 [2021-05-10T17:52:30.686Z] Removing intermediate container 24b9ecb72531 [2021-05-10T17:52:30.686Z] ---> dcbf11a232ea [2021-05-10T17:52:30.686Z] Successfully built dcbf11a232ea [2021-05-10T17:52:30.686Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:52:31.009Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T17:52:31.009Z] . [Pipeline] withDockerContainer [2021-05-10T17:52:31.153Z] prd-centos7-docker-4c-2g-4140 does not seem to be running inside a container [2021-05-10T17:52:31.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T17:52:32.104Z] $ docker top 6bb0439bf7960a900bfab654cd1ce17a1fba8319f8a76104f08e3e1d1c8976ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:52:32.607Z] + go version [2021-05-10T17:52:32.607Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T17:52:32.624Z] $ docker stop --time=1 6bb0439bf7960a900bfab654cd1ce17a1fba8319f8a76104f08e3e1d1c8976ee [2021-05-10T17:52:34.015Z] $ docker rm -f 6bb0439bf7960a900bfab654cd1ce17a1fba8319f8a76104f08e3e1d1c8976ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:52:34.574Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T17:52:34.574Z] . [Pipeline] withDockerContainer [2021-05-10T17:52:34.676Z] prd-centos7-docker-4c-2g-4140 does not seem to be running inside a container [2021-05-10T17:52:34.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T17:52:35.595Z] $ docker top 7ae78b09758da67f3ee3d4e621fd353f9e9ed149ad78c7c7579b6cc0624141b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:52:36.072Z] + go mod tidy [Pipeline] sh [2021-05-10T17:52:36.758Z] + make test [2021-05-10T17:52:36.758Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T17:52:51.850Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-10T17:52:55.230Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.026s coverage: 5.4% of statements [2021-05-10T17:52:55.230Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-10T17:52:55.230Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.017s coverage: 92.2% of statements [2021-05-10T17:52:55.230Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.017s coverage: 85.3% of statements [2021-05-10T17:52:55.230Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-10T17:52:55.230Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-10T17:52:55.230Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-10T17:52:56.641Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.047s coverage: 91.5% of statements [2021-05-10T17:52:56.641Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.026s coverage: 26.7% of statements [2021-05-10T17:52:59.199Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.024s coverage: 90.7% of statements [2021-05-10T17:52:59.199Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-10T17:52:59.199Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-10T17:52:59.199Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.013s coverage: 91.3% of statements [2021-05-10T17:52:59.199Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-10T17:52:59.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T17:53:07.685Z] gofmt -l . [2021-05-10T17:53:07.685Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T17:53:07.701Z] $ docker stop --time=1 7ae78b09758da67f3ee3d4e621fd353f9e9ed149ad78c7c7579b6cc0624141b7 [2021-05-10T17:53:09.557Z] $ docker rm -f 7ae78b09758da67f3ee3d4e621fd353f9e9ed149ad78c7c7579b6cc0624141b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:53:10.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T17:53:10.467Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:53:11.073Z] ---> job-cost.sh [2021-05-10T17:53:11.073Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qqGy [2021-05-10T17:53:29.235Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T17:53:55.885Z] lf-activate-venv(): INFO: Adding /tmp/venv-qqGy/bin to PATH [2021-05-10T17:53:55.885Z] INFO: No Stack... [2021-05-10T17:53:56.464Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T17:53:57.041Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T17:53:57.356Z] + cut -d, -f6 [2021-05-10T17:53:57.356Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [Pipeline] lock [2021-05-10T17:53:57.446Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] [2021-05-10T17:53:57.458Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] did not exist. Created. [2021-05-10T17:53:57.458Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T17:53:57.785Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T17:53:57.914Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T17:53:57.929Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T17:54:40.776Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4142 in /w/workspace/xfoundry_go-mod-bootstrap_PR-229 [Pipeline] { [Pipeline] ws [2021-05-10T17:54:40.798Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2021-05-10T17:54:46.440Z] using credential edgex-jenkins-ssh [2021-05-10T17:54:46.475Z] Cloning the remote Git repository [2021-05-10T17:54:46.549Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:54:46.723Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2021-05-10T17:54:46.787Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:54:46.788Z] > git --version # timeout=10 [2021-05-10T17:54:46.804Z] > git --version # 'git version 2.17.1' [2021-05-10T17:54:46.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:54:46.899Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:54:48.436Z] Merging remotes/origin/master commit 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 into PR head commit b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [2021-05-10T17:54:47.833Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:54:47.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:54:47.880Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-10T17:54:47.906Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-10T17:54:47.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:54:47.919Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T17:54:48.457Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:54:48.470Z] > git checkout -f b40c93861f8b7d6e673b24d3eba86ca499d7ba72 # timeout=10 [2021-05-10T17:54:48.550Z] > git remote # timeout=10 [2021-05-10T17:54:48.567Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T17:54:48.632Z] Merge succeeded, producing b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [2021-05-10T17:54:48.633Z] Checking out Revision b40c93861f8b7d6e673b24d3eba86ca499d7ba72 (PR-229) [2021-05-10T17:54:48.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:54:48.598Z] > git merge 24e77278d6b67bd2cd7d4a527ac2da92fdc114c9 # timeout=10 [2021-05-10T17:54:48.622Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T17:54:48.642Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:54:48.653Z] > git checkout -f b40c93861f8b7d6e673b24d3eba86ca499d7ba72 # timeout=10 [2021-05-10T17:54:52.744Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.7.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:54:54.213Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:54:54.623Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:54:54.961Z] + sudo service docker restart [2021-05-10T17:54:54.961Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-10T17:54:57.885Z] ========================================================= [2021-05-10T17:54:57.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T17:54:57.885Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:54:58.297Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T17:54:59.279Z] Sending build context to Docker daemon 931.8kB [2021-05-10T17:54:59.279Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-10T17:54:59.279Z] Step 2/8 : FROM ${BASE} [2021-05-10T17:54:59.555Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T17:54:59.555Z] 595b0fe564bb: Pulling fs layer [2021-05-10T17:54:59.555Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T17:54:59.555Z] 316046926c0a: Pulling fs layer [2021-05-10T17:54:59.555Z] 4ebd0625c992: Pulling fs layer [2021-05-10T17:54:59.555Z] 207e8628e3a3: Pulling fs layer [2021-05-10T17:54:59.555Z] c791037a9be2: Pulling fs layer [2021-05-10T17:54:59.555Z] ffd874e62e21: Pulling fs layer [2021-05-10T17:54:59.555Z] 4ebd0625c992: Waiting [2021-05-10T17:54:59.555Z] 207e8628e3a3: Waiting [2021-05-10T17:54:59.555Z] c791037a9be2: Waiting [2021-05-10T17:54:59.555Z] ffd874e62e21: Waiting [2021-05-10T17:54:59.555Z] 316046926c0a: Verifying Checksum [2021-05-10T17:54:59.555Z] 316046926c0a: Download complete [2021-05-10T17:54:59.555Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T17:54:59.555Z] 7186ed65a4f7: Download complete [2021-05-10T17:54:59.555Z] 207e8628e3a3: Verifying Checksum [2021-05-10T17:54:59.555Z] 207e8628e3a3: Download complete [2021-05-10T17:54:59.555Z] c791037a9be2: Verifying Checksum [2021-05-10T17:54:59.555Z] c791037a9be2: Download complete [2021-05-10T17:54:59.555Z] 595b0fe564bb: Download complete [2021-05-10T17:55:00.550Z] 595b0fe564bb: Pull complete [2021-05-10T17:55:00.829Z] 7186ed65a4f7: Pull complete [2021-05-10T17:55:01.430Z] 316046926c0a: Pull complete [2021-05-10T17:55:01.705Z] ffd874e62e21: Verifying Checksum [2021-05-10T17:55:01.705Z] ffd874e62e21: Download complete [2021-05-10T17:55:02.687Z] 4ebd0625c992: Verifying Checksum [2021-05-10T17:55:02.687Z] 4ebd0625c992: Download complete [2021-05-10T17:55:12.867Z] 4ebd0625c992: Pull complete [2021-05-10T17:55:13.462Z] 207e8628e3a3: Pull complete [2021-05-10T17:55:13.738Z] c791037a9be2: Pull complete [2021-05-10T17:55:17.180Z] ffd874e62e21: Pull complete [2021-05-10T17:55:17.180Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T17:55:17.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T17:55:17.180Z] ---> cfc18b08335c [2021-05-10T17:55:17.180Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T17:55:19.804Z] ---> Running in 1832219fdf14 [2021-05-10T17:55:19.804Z] Removing intermediate container 1832219fdf14 [2021-05-10T17:55:19.804Z] ---> 64b60b7a18ad [2021-05-10T17:55:19.804Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:55:20.076Z] ---> Running in 886d7ee18698 [2021-05-10T17:55:22.706Z] Removing intermediate container 886d7ee18698 [2021-05-10T17:55:22.706Z] ---> 957f34eaa854 [2021-05-10T17:55:22.706Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-10T17:55:22.706Z] ---> Running in 6ac582c7119a [2021-05-10T17:55:23.687Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T17:55:25.650Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T17:55:27.070Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-10T17:55:27.660Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-10T17:55:27.932Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-10T17:55:28.204Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-10T17:55:28.204Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-10T17:55:28.478Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T17:55:28.478Z] OK: 139 MiB in 45 packages [2021-05-10T17:55:29.923Z] Removing intermediate container 6ac582c7119a [2021-05-10T17:55:29.923Z] ---> 63c0746be145 [2021-05-10T17:55:29.923Z] Step 6/8 : WORKDIR /build [2021-05-10T17:55:29.923Z] ---> Running in bcd2eb4ffd42 [2021-05-10T17:55:30.519Z] Removing intermediate container bcd2eb4ffd42 [2021-05-10T17:55:30.519Z] ---> 2151686b009d [2021-05-10T17:55:30.519Z] Step 7/8 : COPY go.mod . [2021-05-10T17:55:31.116Z] ---> 6d2caf5db31e [2021-05-10T17:55:31.116Z] Step 8/8 : RUN go mod download [2021-05-10T17:55:31.116Z] ---> Running in 54d263325340 [2021-05-10T17:55:57.904Z] Removing intermediate container 54d263325340 [2021-05-10T17:55:57.904Z] ---> c4570fad33f3 [2021-05-10T17:55:57.904Z] Successfully built c4570fad33f3 [2021-05-10T17:55:57.904Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:55:58.258Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T17:55:58.259Z] . [Pipeline] withDockerContainer [2021-05-10T17:55:58.503Z] prd-ubuntu18.04-docker-arm64-4c-16g-4142 does not seem to be running inside a container [2021-05-10T17:55:58.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T17:56:00.049Z] $ docker top 62cae93d5ead70baff495e04cc7b75c0f11c8c4c109ab89a861e16338f139bba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:56:01.018Z] + go version [2021-05-10T17:56:01.018Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T17:56:01.045Z] $ docker stop --time=1 62cae93d5ead70baff495e04cc7b75c0f11c8c4c109ab89a861e16338f139bba [2021-05-10T17:56:03.035Z] $ docker rm -f 62cae93d5ead70baff495e04cc7b75c0f11c8c4c109ab89a861e16338f139bba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:56:03.715Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T17:56:03.716Z] . [Pipeline] withDockerContainer [2021-05-10T17:56:03.977Z] prd-ubuntu18.04-docker-arm64-4c-16g-4142 does not seem to be running inside a container [2021-05-10T17:56:04.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T17:56:05.618Z] $ docker top 8acaf646dbf97c5e7e432f0485ef6d21f67a96a4359e80d0561c22a3b660ad25 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:56:06.568Z] + go mod tidy [Pipeline] sh [2021-05-10T17:56:07.830Z] + make test [2021-05-10T17:56:07.830Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-10T17:56:54.879Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-10T17:56:55.484Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.050s coverage: 5.4% of statements [2021-05-10T17:56:55.484Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-10T17:56:55.484Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.052s coverage: 92.2% of statements [2021-05-10T17:56:55.484Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.090s coverage: 85.3% of statements [2021-05-10T17:56:55.484Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-10T17:56:55.484Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-10T17:56:55.484Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-10T17:57:00.941Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.071s coverage: 91.5% of statements [2021-05-10T17:57:00.941Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.075s coverage: 26.7% of statements [2021-05-10T17:57:03.573Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.055s coverage: 90.7% of statements [2021-05-10T17:57:03.573Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-10T17:57:03.574Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-10T17:57:03.574Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.014s coverage: 91.3% of statements [2021-05-10T17:57:03.574Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-10T17:57:03.852Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T17:57:30.773Z] gofmt -l . [2021-05-10T17:57:30.773Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-10T17:57:30.794Z] $ docker stop --time=1 8acaf646dbf97c5e7e432f0485ef6d21f67a96a4359e80d0561c22a3b660ad25 [2021-05-10T17:57:33.378Z] $ docker rm -f 8acaf646dbf97c5e7e432f0485ef6d21f67a96a4359e80d0561c22a3b660ad25 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:57:34.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T17:57:34.234Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T17:57:34.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:57:35.487Z] ---> job-cost.sh [2021-05-10T17:57:35.487Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sUFW [2021-05-10T17:58:14.442Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T17:59:51.196Z] lf-activate-venv(): INFO: Adding /tmp/venv-sUFW/bin to PATH [2021-05-10T17:59:51.196Z] INFO: No Stack... [2021-05-10T17:59:51.196Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T17:59:51.196Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T17:59:51.537Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [2021-05-10T17:59:51.537Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T17:59:51.647Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] [2021-05-10T17:59:51.655Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] did not exist. Created. [2021-05-10T17:59:51.655Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T17:59:52.023Z] /w/workspace/go-mod-bootstrap/2@tmp/durable-6f7dc88e/script.sh: 1: /w/workspace/go-mod-bootstrap/2@tmp/durable-6f7dc88e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T17:59:52.370Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T17:59:52.392Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T17:59:52.552Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T17:59:52.566Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-229-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T17:59:52.977Z] provisioning config files... [2021-05-10T17:59:52.994Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp/config4950304373353230642tmp [Pipeline] { [Pipeline] sh [2021-05-10T17:59:53.326Z] + set +x [2021-05-10T17:59:53.326Z] + curl -s https://codecov.io/bash [2021-05-10T17:59:53.326Z] + bash -s -- [2021-05-10T17:59:53.596Z] [2021-05-10T17:59:53.596Z] _____ _ [2021-05-10T17:59:53.596Z] / ____| | | [2021-05-10T17:59:53.596Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T17:59:53.596Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T17:59:53.596Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T17:59:53.596Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T17:59:53.596Z] Bash-1.0.2 [2021-05-10T17:59:53.596Z] [2021-05-10T17:59:53.596Z] [2021-05-10T17:59:53.596Z] ==> git version 2.24.3 found [2021-05-10T17:59:53.596Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-10T17:59:53.596Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T17:59:53.596Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T17:59:53.596Z] ==> Jenkins CI detected. [2021-05-10T17:59:53.596Z] project root: . [2021-05-10T17:59:53.596Z] --> token set from env [2021-05-10T17:59:53.596Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T17:59:53.596Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T17:59:53.596Z] ==> Python coveragepy not found [2021-05-10T17:59:53.596Z] ==> Searching for coverage reports in: [2021-05-10T17:59:53.596Z] + . [2021-05-10T17:59:53.596Z] -> Found 1 reports [2021-05-10T17:59:53.596Z] ==> Detecting git/mercurial file structure [2021-05-10T17:59:53.596Z] ==> Reading reports [2021-05-10T17:59:53.860Z] + ./coverage.out bytes=33568 [2021-05-10T17:59:53.860Z] ==> Appending adjustments [2021-05-10T17:59:53.860Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T17:59:53.860Z] + Found adjustments [2021-05-10T17:59:53.860Z] ==> Gzipping contents [2021-05-10T17:59:53.860Z] 8.0K /tmp/codecov.6tzO7s.gz [2021-05-10T17:59:53.860Z] ==> Uploading reports [2021-05-10T17:59:53.860Z] url: https://codecov.io [2021-05-10T17:59:53.860Z] query: branch=PR-229&commit=b40c93861f8b7d6e673b24d3eba86ca499d7ba72&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-229%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=229&job=&cmd_args= [2021-05-10T17:59:53.860Z] -> Pinging Codecov [2021-05-10T17:59:53.860Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-229&commit=b40c93861f8b7d6e673b24d3eba86ca499d7ba72&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-229%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=229&job=&cmd_args= [2021-05-10T17:59:54.443Z] -> Uploading to [2021-05-10T17:59:54.443Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/833815588EE85121546D348822E98E2E/b40c93861f8b7d6e673b24d3eba86ca499d7ba72/0465e646-fbd5-4781-bb80-991ac858d01d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T175954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3ce81aae514e685a98900fc67750c8bbf98079c6ba056258742159f72b6f093 [2021-05-10T17:59:54.443Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T17:59:54.443Z] Dload Upload Total Spent Left Speed [2021-05-10T17:59:54.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6250 0 0 100 6250 0 11395 --:--:-- --:--:-- --:--:-- 11384 [2021-05-10T17:59:54.969Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/b40c93861f8b7d6e673b24d3eba86ca499d7ba72 [Pipeline] } [2021-05-10T17:59:54.982Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:55.900Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:59:56.483Z] ---> package-listing.sh [2021-05-10T17:59:56.483Z] ++ facter osfamily [2021-05-10T17:59:56.483Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T17:59:56.483Z] + OS_FAMILY=redhat [2021-05-10T17:59:56.483Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-229 [2021-05-10T17:59:56.483Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T17:59:56.483Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T17:59:56.483Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T17:59:56.483Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T17:59:56.483Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-229 ']' [2021-05-10T17:59:56.483Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T17:59:56.483Z] + case "${OS_FAMILY}" in [2021-05-10T17:59:56.483Z] + rpm -qa [2021-05-10T17:59:56.483Z] + sort [2021-05-10T18:00:01.816Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T18:00:01.816Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T18:00:01.816Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T18:00:01.816Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-229 ']' [2021-05-10T18:00:01.816Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-229/archives/ [2021-05-10T18:00:01.816Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-229/archives/ [Pipeline] echo [2021-05-10T18:00:01.834Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T18:00:02.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:00:02.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:00:02.534Z] [2021-05-10T18:00:02.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:00:02.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:00:02.962Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T18:00:02.962Z] df20fa9351a1: Pulling fs layer [2021-05-10T18:00:02.962Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T18:00:02.962Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T18:00:02.962Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T18:00:02.962Z] 93b61091891f: Pulling fs layer [2021-05-10T18:00:02.962Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T18:00:02.962Z] 5e14af77c1be: Pulling fs layer [2021-05-10T18:00:02.962Z] 01666e4c0597: Pulling fs layer [2021-05-10T18:00:02.962Z] aa168da1d23b: Pulling fs layer [2021-05-10T18:00:02.962Z] 93b9cdb0e59b: Waiting [2021-05-10T18:00:02.962Z] 5e14af77c1be: Waiting [2021-05-10T18:00:02.962Z] 46f8f816bc3b: Waiting [2021-05-10T18:00:02.962Z] 93b61091891f: Waiting [2021-05-10T18:00:02.962Z] 01666e4c0597: Waiting [2021-05-10T18:00:02.962Z] aa168da1d23b: Waiting [2021-05-10T18:00:02.962Z] 36b3adc4ff6f: Download complete [2021-05-10T18:00:02.962Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T18:00:02.962Z] 46f8f816bc3b: Download complete [2021-05-10T18:00:03.226Z] df20fa9351a1: Verifying Checksum [2021-05-10T18:00:03.226Z] df20fa9351a1: Download complete [2021-05-10T18:00:03.226Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T18:00:03.226Z] 93b9cdb0e59b: Download complete [2021-05-10T18:00:03.226Z] 5e14af77c1be: Verifying Checksum [2021-05-10T18:00:03.226Z] 5e14af77c1be: Download complete [2021-05-10T18:00:03.226Z] 01666e4c0597: Verifying Checksum [2021-05-10T18:00:03.226Z] 01666e4c0597: Download complete [2021-05-10T18:00:03.226Z] 93b61091891f: Verifying Checksum [2021-05-10T18:00:03.226Z] 93b61091891f: Download complete [2021-05-10T18:00:03.489Z] df20fa9351a1: Pull complete [2021-05-10T18:00:04.068Z] 36b3adc4ff6f: Pull complete [2021-05-10T18:00:04.333Z] 8ad3a11d3b57: Download complete [2021-05-10T18:00:04.912Z] 8ad3a11d3b57: Pull complete [2021-05-10T18:00:05.187Z] 46f8f816bc3b: Pull complete [2021-05-10T18:00:05.450Z] 93b61091891f: Pull complete [2021-05-10T18:00:05.717Z] 93b9cdb0e59b: Pull complete [2021-05-10T18:00:05.717Z] 5e14af77c1be: Pull complete [2021-05-10T18:00:05.980Z] 01666e4c0597: Pull complete [2021-05-10T18:00:14.149Z] aa168da1d23b: Verifying Checksum [2021-05-10T18:00:14.149Z] aa168da1d23b: Download complete [2021-05-10T18:00:20.810Z] aa168da1d23b: Pull complete [2021-05-10T18:00:20.810Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T18:00:20.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:00:20.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T18:00:20.967Z] prd-centos7-docker-4c-2g-4138 does not seem to be running inside a container [2021-05-10T18:00:21.017Z] $ 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-229/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-229 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-229:/w/workspace/xfoundry_go-mod-bootstrap_PR-229:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-229@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-10T18:00:24.130Z] $ docker top 1877dbfc28f57517240a3039ae264265aae6662225311cd5afbd2b7b18715863 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:00:24.587Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T18:00:24.890Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T18:00:25.193Z] + ls /var/log/sa-host [2021-05-10T18:00:25.193Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T18:00:25.193Z] file_magic: OK [2021-05-10T18:00:25.193Z] HZ: Using current value: 100 [2021-05-10T18:00:25.193Z] file_header: OK [2021-05-10T18:00:25.193Z] 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-10T18:00:25.193Z] Statistics: [2021-05-10T18:00:25.193Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T18:00:25.193Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T18:00:25.193Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T18:00:25.193Z] file_magic: OK [2021-05-10T18:00:25.193Z] HZ: Using current value: 100 [2021-05-10T18:00:25.193Z] file_header: OK [2021-05-10T18:00:25.193Z] 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-10T18:00:25.193Z] Statistics: [2021-05-10T18:00:25.193Z] Hnuu...uuuununununu... [2021-05-10T18:00:25.193Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T18:00:25.389Z] provisioning config files... [2021-05-10T18:00:25.404Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-229@tmp/config6704950366815525271tmp [Pipeline] { [Pipeline] echo [2021-05-10T18:00:25.430Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:00:25.735Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T18:00:25.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T18:00:25.772Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:00:26.072Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T18:00:26.084Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:00:26.395Z] ---> sudo-logs.sh [2021-05-10T18:00:26.395Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T18:00:26.423Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:00:26.722Z] ---> job-cost.sh [2021-05-10T18:00:26.722Z] lf-activate-venv: SKIPPING [2021-05-10T18:00:26.722Z] DEBUG: total: 0.20999999344348907 [2021-05-10T18:00:26.722Z] INFO: Retrieving Stack Cost... [2021-05-10T18:00:27.670Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T18:00:28.244Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T18:00:28.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:00:28.558Z] ---> logs-deploy.sh [2021-05-10T18:00:28.558Z] lf-activate-venv: SKIPPING [2021-05-10T18:00:28.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-229/2 [2021-05-10T18:00:28.558Z] INFO: archiving workspace using pattern(s): [2021-05-10T18:00:30.482Z] Archives upload complete. [2021-05-10T18:00:30.482Z] INFO: archiving logs to Nexus [2021-05-10T18:00:31.452Z] ---> uname -a: [2021-05-10T18:00:31.452Z] Linux prd-centos7-docker-4c-2g-4138.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-10T18:00:31.452Z] [2021-05-10T18:00:31.452Z]