Pull request #216 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from da019c0e23d00d5a4b18630b6d812afa071e7ba1+1db7493c2b0ad75053762ce271523df13aeaddcc (73c33d5c169a2fe7206125173bfe26927a7cbe7d) 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-2778 in /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-216 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1db7493c2b0ad75053762ce271523df13aeaddcc into PR head commit da019c0e23d00d5a4b18630b6d812afa071e7ba1 Merge succeeded, producing da019c0e23d00d5a4b18630b6d812afa071e7ba1 Checking out Revision da019c0e23d00d5a4b18630b6d812afa071e7ba1 (PR-216) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1db7493c2b0ad75053762ce271523df13aeaddcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 Commit message: "refactor: Refactored to use map of override names per Cloud's suggestion" First time build. Skipping changelog. > git rev-list --no-walk 2a0aa1b0f24f527732879e752f2848ad938154d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-03T18:40:52.138Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-03T18:40:52.229Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-03T18:40:52.258Z] ========================================================= [2021-05-03T18:40:52.258Z] EdgeX Global Pipelines Version Info [2021-05-03T18:40:52.258Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:40:55.405Z] ------------------- [2021-05-03T18:40:55.405Z] stable info: [2021-05-03T18:40:55.405Z] ------------------- [2021-05-03T18:40:55.405Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-03T18:40:55.405Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-03T18:40:55.405Z] Message: update stable to v1.0.191 [2021-05-03T18:40:55.669Z] ------------------- [2021-05-03T18:40:55.669Z] experimental info: [2021-05-03T18:40:55.669Z] ------------------- [2021-05-03T18:40:55.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-03T18:40:55.669Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-03T18:40:55.669Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-03T18:40:55.796Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-03T18:40:55.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-03T18:40:55.840Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-03T18:40:55.876Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-03T18:40:55.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-03T18:40:55.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-03T18:40:55.944Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-03T18:40:55.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-03T18:40:55.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-03T18:40:56.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-03T18:40:56.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-03T18:40:56.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-03T18:40:56.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-03T18:40:56.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-03T18:40:56.135Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-03T18:40:56.159Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-03T18:40:56.217Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-03T18:40:56.240Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-03T18:40:56.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-03T18:40:56.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-03T18:40:56.309Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-03T18:40:56.333Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-03T18:40:56.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-03T18:40:56.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-03T18:40:56.414Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-03T18:40:56.439Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-03T18:40:56.463Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2021-05-03T18:40:56.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2021-05-03T18:40:56.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2021-05-03T18:40:56.532Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da019c0e23d00d5a4b18630b6d812afa071e7ba1 [Pipeline] echo [2021-05-03T18:40:56.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da019c0 [Pipeline] echo [2021-05-03T18:40:56.577Z] [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-03T18:40:56.988Z] + git log --format=format:%s -1 da019c0e23d00d5a4b18630b6d812afa071e7ba1 [Pipeline] echo [2021-05-03T18:40:57.063Z] GIT_COMMIT: da019c0e23d00d5a4b18630b6d812afa071e7ba1, Commit Message: refactor: Refactored to use map of override names per Cloud's suggestion [Pipeline] echo [2021-05-03T18:40:57.076Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:40:58.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-03T18:40:58.336Z] [2021-05-03T18:40:58.336Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:40:58.662Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-03T18:40:58.662Z] latest: Pulling from edgex-devops/git-semver [2021-05-03T18:40:58.662Z] 31603596830f: Pulling fs layer [2021-05-03T18:40:58.662Z] 54011a49482f: Pulling fs layer [2021-05-03T18:40:58.662Z] a6820b24f6d8: Pulling fs layer [2021-05-03T18:40:58.662Z] f581987b2513: Pulling fs layer [2021-05-03T18:40:58.662Z] f581987b2513: Waiting [2021-05-03T18:40:58.662Z] 54011a49482f: Verifying Checksum [2021-05-03T18:40:58.662Z] 54011a49482f: Download complete [2021-05-03T18:40:58.929Z] 31603596830f: Verifying Checksum [2021-05-03T18:40:58.929Z] 31603596830f: Download complete [2021-05-03T18:40:58.929Z] f581987b2513: Download complete [2021-05-03T18:40:58.929Z] a6820b24f6d8: Verifying Checksum [2021-05-03T18:40:58.929Z] a6820b24f6d8: Download complete [2021-05-03T18:40:59.196Z] 31603596830f: Pull complete [2021-05-03T18:40:59.467Z] 54011a49482f: Pull complete [2021-05-03T18:41:00.439Z] a6820b24f6d8: Pull complete [2021-05-03T18:41:00.704Z] f581987b2513: Pull complete [2021-05-03T18:41:00.704Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-03T18:41:00.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-03T18:41:00.704Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-03T18:41:00.832Z] prd-centos7-docker-4c-2g-2778 does not seem to be running inside a container [2021-05-03T18:41:00.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-216 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216:/w/workspace/xfoundry_go-mod-bootstrap_PR-216:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-03T18:41:02.844Z] $ docker top 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-03T18:41:03.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-03T18:41:03.030Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-03T18:41:03.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-03T18:41:03.258Z] $ docker exec 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 ssh-agent [2021-05-03T18:41:03.451Z] SSH_AUTH_SOCK=/tmp/ssh-Vnqp8bIvxrEc/agent.12 [2021-05-03T18:41:03.451Z] SSH_AGENT_PID=18 [2021-05-03T18:41:03.463Z] Running ssh-add (command line suppressed) [2021-05-03T18:41:03.583Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_1424569600135762380.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_1424569600135762380.key) [2021-05-03T18:41:03.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-03T18:41:03.963Z] + git tag --points-at HEAD [Pipeline] } [2021-05-03T18:41:03.986Z] $ docker exec --env ******** --env ******** 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 ssh-agent -k [2021-05-03T18:41:04.115Z] unset SSH_AUTH_SOCK; [2021-05-03T18:41:04.115Z] unset SSH_AGENT_PID; [2021-05-03T18:41:04.115Z] echo Agent pid 18 killed; [2021-05-03T18:41:04.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-03T18:41:04.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-03T18:41:04.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-03T18:41:04.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-03T18:41:04.385Z] $ docker exec 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 ssh-agent [2021-05-03T18:41:04.558Z] SSH_AUTH_SOCK=/tmp/ssh-X2Ia03ASnuCg/agent.49 [2021-05-03T18:41:04.558Z] SSH_AGENT_PID=55 [2021-05-03T18:41:04.565Z] Running ssh-add (command line suppressed) [2021-05-03T18:41:04.686Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_1672092250924934388.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/private_key_1672092250924934388.key) [2021-05-03T18:41:04.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-03T18:41:05.046Z] + git semver init [2021-05-03T18:41:05.046Z] # -> Open(): unable to determine branch for HEAD [2021-05-03T18:41:05.046Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-216/.git [2021-05-03T18:41:05.046Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [2021-05-03T18:41:05.046Z] # $SEMVER_REMOTE_NAME = origin [2021-05-03T18:41:05.046Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-03T18:41:05.046Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-03T18:41:05.046Z] # $SEMVER_BRANCH = PR-216 [2021-05-03T18:41:05.046Z] # $SEMVER_TEMP = /tmp/semver-522324288 [2021-05-03T18:41:05.046Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-03T18:41:05.621Z] # '/tmp/semver-522324288' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-216/.semver' [2021-05-03T18:41:05.621Z] # -> Force: false [2021-05-03T18:41:05.621Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-216/.semver [Pipeline] } [2021-05-03T18:41:05.636Z] $ docker exec --env ******** --env ******** 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 ssh-agent -k [2021-05-03T18:41:05.763Z] unset SSH_AUTH_SOCK; [2021-05-03T18:41:05.764Z] unset SSH_AGENT_PID; [2021-05-03T18:41:05.764Z] echo Agent pid 55 killed; [2021-05-03T18:41:05.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-03T18:41:06.155Z] + git semver [Pipeline] } [2021-05-03T18:41:06.176Z] $ docker stop --time=1 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 [2021-05-03T18:41:08.006Z] $ docker rm -f 95005b3bd2548ddb9f21a4e4328ba03a2d9a4bbea5d40060a268c614b52db327 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-03T18:41:08.403Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-03T18:41:08.798Z] Stashed 1 file(s) [Pipeline] echo [2021-05-03T18:41:08.801Z] [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-03T18:41:23.967Z] Still waiting to schedule task [2021-05-03T18:41:23.967Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-03T18:41:23.970Z] Still waiting to schedule task [2021-05-03T18:41:23.970Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-03T18:42:41.988Z] Running on prd-centos7-docker-4c-2g-2781 in /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [Pipeline] { [Pipeline] ws [2021-05-03T18:42:42.011Z] Running in /w/workspace/go-mod-bootstrap/4 [Pipeline] { [Pipeline] checkout [2021-05-03T18:42:44.822Z] using credential edgex-jenkins-ssh [2021-05-03T18:42:44.836Z] Cloning the remote Git repository [2021-05-03T18:42:44.872Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-03T18:42:44.948Z] > git init /w/workspace/go-mod-bootstrap/4 # timeout=10 [2021-05-03T18:42:45.031Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-03T18:42:45.031Z] > git --version # timeout=10 [2021-05-03T18:42:45.039Z] > git --version # 'git version 2.24.3' [2021-05-03T18:42:45.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T18:42:45.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T18:42:45.668Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-03T18:42:46.215Z] Merging remotes/origin/master commit 1db7493c2b0ad75053762ce271523df13aeaddcc into PR head commit da019c0e23d00d5a4b18630b6d812afa071e7ba1 [2021-05-03T18:42:46.309Z] Merge succeeded, producing da019c0e23d00d5a4b18630b6d812afa071e7ba1 [2021-05-03T18:42:46.310Z] Checking out Revision da019c0e23d00d5a4b18630b6d812afa071e7ba1 (PR-216) [2021-05-03T18:42:45.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T18:42:45.694Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-03T18:42:45.709Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-03T18:42:45.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T18:42:45.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-03T18:42:46.227Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T18:42:46.234Z] > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 [2021-05-03T18:42:46.275Z] > git remote # timeout=10 [2021-05-03T18:42:46.283Z] > git config --get remote.origin.url # timeout=10 [2021-05-03T18:42:46.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T18:42:46.293Z] > git merge 1db7493c2b0ad75053762ce271523df13aeaddcc # timeout=10 [2021-05-03T18:42:46.304Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-03T18:42:46.315Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T18:42:46.332Z] > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 [2021-05-03T18:42:50.059Z] Commit message: "refactor: Refactored to use map of override names per Cloud's suggestion" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-03T18:42:51.144Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-03T18:42:51.476Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-03T18:42:51.779Z] + sudo service docker restart [2021-05-03T18:42:51.779Z] + true [2021-05-03T18:42:51.779Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-03T18:42:52.902Z] ========================================================= [2021-05-03T18:42:52.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-03T18:42:52.902Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:42:53.221Z] + 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-03T18:42:53.484Z] Sending build context to Docker daemon 892.9kB [2021-05-03T18:42:53.484Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-05-03T18:42:53.484Z] Step 2/8 : FROM ${BASE} [2021-05-03T18:42:53.749Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-03T18:42:53.749Z] 540db60ca938: Pulling fs layer [2021-05-03T18:42:53.749Z] adcc1eea9eea: Pulling fs layer [2021-05-03T18:42:53.749Z] 4c4ab2625f07: Pulling fs layer [2021-05-03T18:42:53.749Z] 0510c868ecb4: Pulling fs layer [2021-05-03T18:42:53.749Z] afea3b2eda06: Pulling fs layer [2021-05-03T18:42:53.749Z] 7809a108b3ef: Pulling fs layer [2021-05-03T18:42:53.749Z] f706445af74f: Pulling fs layer [2021-05-03T18:42:53.749Z] 0510c868ecb4: Waiting [2021-05-03T18:42:53.749Z] afea3b2eda06: Waiting [2021-05-03T18:42:53.749Z] 7809a108b3ef: Waiting [2021-05-03T18:42:53.749Z] f706445af74f: Waiting [2021-05-03T18:42:53.749Z] 4c4ab2625f07: Verifying Checksum [2021-05-03T18:42:53.749Z] adcc1eea9eea: Verifying Checksum [2021-05-03T18:42:53.749Z] adcc1eea9eea: Download complete [2021-05-03T18:42:53.749Z] afea3b2eda06: Verifying Checksum [2021-05-03T18:42:53.749Z] afea3b2eda06: Download complete [2021-05-03T18:42:53.749Z] 7809a108b3ef: Verifying Checksum [2021-05-03T18:42:53.749Z] 7809a108b3ef: Download complete [2021-05-03T18:42:53.749Z] 540db60ca938: Verifying Checksum [2021-05-03T18:42:53.749Z] 540db60ca938: Download complete [2021-05-03T18:42:54.020Z] 540db60ca938: Pull complete [2021-05-03T18:42:54.284Z] adcc1eea9eea: Pull complete [2021-05-03T18:42:54.553Z] 4c4ab2625f07: Pull complete [2021-05-03T18:42:55.509Z] f706445af74f: Verifying Checksum [2021-05-03T18:42:55.509Z] f706445af74f: Download complete [2021-05-03T18:42:56.087Z] 0510c868ecb4: Verifying Checksum [2021-05-03T18:42:56.087Z] 0510c868ecb4: Download complete [2021-05-03T18:43:01.409Z] 0510c868ecb4: Pull complete [2021-05-03T18:43:01.672Z] afea3b2eda06: Pull complete [2021-05-03T18:43:01.672Z] 7809a108b3ef: Pull complete [2021-05-03T18:43:11.737Z] f706445af74f: Pull complete [2021-05-03T18:43:11.737Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-03T18:43:11.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-03T18:43:11.737Z] ---> b068be0155e3 [2021-05-03T18:43:11.737Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-03T18:43:12.001Z] ---> Running in e065d98873cf [2021-05-03T18:43:12.267Z] Removing intermediate container e065d98873cf [2021-05-03T18:43:12.267Z] ---> 5bac45d5b985 [2021-05-03T18:43:12.267Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-03T18:43:12.530Z] ---> Running in fc07bc20e904 [2021-05-03T18:43:13.947Z] Removing intermediate container fc07bc20e904 [2021-05-03T18:43:13.947Z] ---> 3de4203fa129 [2021-05-03T18:43:13.947Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-03T18:43:13.947Z] ---> Running in eb7cd47e2646 [2021-05-03T18:43:14.530Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-03T18:43:15.482Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-03T18:43:16.060Z] OK: 149 MiB in 40 packages [2021-05-03T18:43:16.326Z] Removing intermediate container eb7cd47e2646 [2021-05-03T18:43:16.326Z] ---> abaa9c95882e [2021-05-03T18:43:16.326Z] Step 6/8 : WORKDIR /build [2021-05-03T18:43:16.593Z] ---> Running in 1e542ae56687 [2021-05-03T18:43:16.593Z] Removing intermediate container 1e542ae56687 [2021-05-03T18:43:16.593Z] ---> 4edfc010c16d [2021-05-03T18:43:16.593Z] Step 7/8 : COPY go.mod . [2021-05-03T18:43:16.855Z] ---> b471c21ca29e [2021-05-03T18:43:16.855Z] Step 8/8 : RUN go mod download [2021-05-03T18:43:17.121Z] ---> Running in fd12cf413ae6 [2021-05-03T18:43:39.136Z] Removing intermediate container fd12cf413ae6 [2021-05-03T18:43:39.136Z] ---> 87ab9e59212c [2021-05-03T18:43:39.136Z] Successfully built 87ab9e59212c [2021-05-03T18:43:39.136Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:43:40.009Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-03T18:43:40.009Z] . [Pipeline] withDockerContainer [2021-05-03T18:43:40.132Z] prd-centos7-docker-4c-2g-2781 does not seem to be running inside a container [2021-05-03T18:43:40.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-03T18:43:40.913Z] $ docker top 8ebdbd915aa8185cc3a8003758331090fcdf59dd44d9623dc4a7534e60bf0d6e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T18:43:41.323Z] + go version [2021-05-03T18:43:41.323Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-03T18:43:41.339Z] $ docker stop --time=1 8ebdbd915aa8185cc3a8003758331090fcdf59dd44d9623dc4a7534e60bf0d6e [2021-05-03T18:43:42.693Z] $ docker rm -f 8ebdbd915aa8185cc3a8003758331090fcdf59dd44d9623dc4a7534e60bf0d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:43:43.222Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-03T18:43:43.222Z] . [Pipeline] withDockerContainer [2021-05-03T18:43:43.316Z] prd-centos7-docker-4c-2g-2781 does not seem to be running inside a container [2021-05-03T18:43:43.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-03T18:43:44.057Z] $ docker top e87fde4737429d593c65af58934f131a535ff05a6392fe87d57f9e0035751af5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T18:43:44.473Z] + go mod tidy [Pipeline] sh [2021-05-03T18:43:45.043Z] + make test [2021-05-03T18:43:45.043Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-03T18:43:57.444Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-03T18:43:58.051Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.008s coverage: 5.4% of statements [2021-05-03T18:43:58.051Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-03T18:43:58.329Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.058s coverage: 92.2% of statements [2021-05-03T18:43:58.329Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.011s coverage: 85.3% of statements [2021-05-03T18:43:58.602Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-03T18:43:58.602Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-03T18:43:58.602Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-03T18:43:58.882Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.028s coverage: 26.7% of statements [2021-05-03T18:44:03.130Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.021s coverage: 90.7% of statements [2021-05-03T18:44:03.130Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-03T18:44:03.130Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-03T18:44:03.130Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.017s coverage: 91.3% of statements [2021-05-03T18:44:03.130Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-03T18:44:03.130Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-03T18:44:11.498Z] gofmt -l . [2021-05-03T18:44:11.498Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-03T18:44:11.532Z] $ docker stop --time=1 e87fde4737429d593c65af58934f131a535ff05a6392fe87d57f9e0035751af5 [2021-05-03T18:44:13.760Z] $ docker rm -f e87fde4737429d593c65af58934f131a535ff05a6392fe87d57f9e0035751af5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-03T18:44:14.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-03T18:44:14.660Z] 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-03T18:44:15.521Z] ---> job-cost.sh [2021-05-03T18:44:15.521Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oOnG [2021-05-03T18:44:15.851Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2782 in /w/workspace/xfoundry_go-mod-bootstrap_PR-216 [Pipeline] { [Pipeline] ws [2021-05-03T18:44:15.871Z] Running in /w/workspace/go-mod-bootstrap/4 [Pipeline] { [Pipeline] checkout [2021-05-03T18:44:21.242Z] using credential edgex-jenkins-ssh [2021-05-03T18:44:21.261Z] Cloning the remote Git repository [2021-05-03T18:44:21.318Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-03T18:44:21.461Z] > git init /w/workspace/go-mod-bootstrap/4 # timeout=10 [2021-05-03T18:44:21.631Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-03T18:44:21.632Z] > git --version # timeout=10 [2021-05-03T18:44:21.672Z] > git --version # 'git version 2.17.1' [2021-05-03T18:44:21.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T18:44:21.851Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T18:44:22.764Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-03T18:44:22.784Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T18:44:22.815Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-03T18:44:22.853Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-03T18:44:22.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T18:44:22.865Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-03T18:44:23.524Z] Merging remotes/origin/master commit 1db7493c2b0ad75053762ce271523df13aeaddcc into PR head commit da019c0e23d00d5a4b18630b6d812afa071e7ba1 [2021-05-03T18:44:23.724Z] Merge succeeded, producing da019c0e23d00d5a4b18630b6d812afa071e7ba1 [2021-05-03T18:44:23.724Z] Checking out Revision da019c0e23d00d5a4b18630b6d812afa071e7ba1 (PR-216) [2021-05-03T18:44:23.551Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T18:44:23.575Z] > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 [2021-05-03T18:44:23.658Z] > git remote # timeout=10 [2021-05-03T18:44:23.674Z] > git config --get remote.origin.url # timeout=10 [2021-05-03T18:44:23.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T18:44:23.697Z] > git merge 1db7493c2b0ad75053762ce271523df13aeaddcc # timeout=10 [2021-05-03T18:44:23.719Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-03T18:44:23.740Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T18:44:23.755Z] > git checkout -f da019c0e23d00d5a4b18630b6d812afa071e7ba1 # timeout=10 [2021-05-03T18:44:28.073Z] Commit message: "refactor: Refactored to use map of override names per Cloud's suggestion" [2021-05-03T18:44:28.332Z] [2021-05-03T18:44:28.332Z] GitHub has been notified of this commit’s build result [2021-05-03T18:44:28.332Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-03T18:44:29.476Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-03T18:44:29.903Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-03T18:44:30.253Z] + true [2021-05-03T18:44:30.253Z] + sudo service docker restart [2021-05-03T18:44:30.472Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] unstash [Pipeline] echo [2021-05-03T18:44:33.156Z] ========================================================= [2021-05-03T18:44:33.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-03T18:44:33.156Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:44:33.561Z] + 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-03T18:44:34.553Z] Sending build context to Docker daemon 892.4kB [2021-05-03T18:44:34.553Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-05-03T18:44:34.553Z] Step 2/8 : FROM ${BASE} [2021-05-03T18:44:34.834Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-03T18:44:34.834Z] 595b0fe564bb: Pulling fs layer [2021-05-03T18:44:34.834Z] 7186ed65a4f7: Pulling fs layer [2021-05-03T18:44:34.834Z] 316046926c0a: Pulling fs layer [2021-05-03T18:44:34.835Z] 4ebd0625c992: Pulling fs layer [2021-05-03T18:44:34.835Z] 207e8628e3a3: Pulling fs layer [2021-05-03T18:44:34.835Z] c791037a9be2: Pulling fs layer [2021-05-03T18:44:34.835Z] ffd874e62e21: Pulling fs layer [2021-05-03T18:44:34.835Z] 207e8628e3a3: Waiting [2021-05-03T18:44:34.835Z] c791037a9be2: Waiting [2021-05-03T18:44:34.835Z] ffd874e62e21: Waiting [2021-05-03T18:44:34.835Z] 4ebd0625c992: Waiting [2021-05-03T18:44:34.835Z] 316046926c0a: Verifying Checksum [2021-05-03T18:44:34.835Z] 316046926c0a: Download complete [2021-05-03T18:44:34.835Z] 7186ed65a4f7: Download complete [2021-05-03T18:44:34.835Z] 207e8628e3a3: Verifying Checksum [2021-05-03T18:44:34.835Z] 207e8628e3a3: Download complete [2021-05-03T18:44:34.835Z] c791037a9be2: Download complete [2021-05-03T18:44:34.835Z] 595b0fe564bb: Verifying Checksum [2021-05-03T18:44:34.835Z] 595b0fe564bb: Download complete [2021-05-03T18:44:35.437Z] 595b0fe564bb: Pull complete [2021-05-03T18:44:36.437Z] 7186ed65a4f7: Pull complete [2021-05-03T18:44:36.719Z] 316046926c0a: Pull complete [2021-05-03T18:44:36.719Z] ffd874e62e21: Verifying Checksum [2021-05-03T18:44:36.719Z] ffd874e62e21: Download complete [2021-05-03T18:44:38.161Z] 4ebd0625c992: Verifying Checksum [2021-05-03T18:44:38.161Z] 4ebd0625c992: Download complete [2021-05-03T18:44:48.351Z] 4ebd0625c992: Pull complete [2021-05-03T18:44:48.351Z] 207e8628e3a3: Pull complete [2021-05-03T18:44:48.628Z] c791037a9be2: Pull complete [2021-05-03T18:44:52.951Z] ffd874e62e21: Pull complete [2021-05-03T18:44:52.951Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-03T18:44:52.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-03T18:44:52.951Z] ---> cfc18b08335c [2021-05-03T18:44:52.951Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-03T18:44:54.917Z] ---> Running in 9df99b9442fe [2021-05-03T18:44:55.516Z] Removing intermediate container 9df99b9442fe [2021-05-03T18:44:55.516Z] ---> 18e281f827d8 [2021-05-03T18:44:55.516Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-03T18:44:55.516Z] ---> Running in dddc0231963c [2021-05-03T18:44:58.140Z] Removing intermediate container dddc0231963c [2021-05-03T18:44:58.140Z] ---> 1f6ed3f1e7a9 [2021-05-03T18:44:58.140Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-03T18:44:58.140Z] ---> Running in a66c0f86b050 [2021-05-03T18:44:58.738Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-03T18:44:59.713Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-03T18:45:00.693Z] OK: 138 MiB in 40 packages [2021-05-03T18:45:01.674Z] Removing intermediate container a66c0f86b050 [2021-05-03T18:45:01.674Z] ---> 22ccba0abef8 [2021-05-03T18:45:01.674Z] Step 6/8 : WORKDIR /build [2021-05-03T18:45:01.950Z] ---> Running in 3544eadd9a25 [2021-05-03T18:45:02.549Z] Removing intermediate container 3544eadd9a25 [2021-05-03T18:45:02.549Z] ---> 09e8c83c7043 [2021-05-03T18:45:02.549Z] Step 7/8 : COPY go.mod . [2021-05-03T18:45:02.660Z] lf-activate-venv(): INFO: Adding /tmp/venv-oOnG/bin to PATH [2021-05-03T18:45:02.660Z] INFO: No Stack... [2021-05-03T18:45:02.660Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-03T18:45:02.660Z] INFO: Archiving Costs [Pipeline] sh [2021-05-03T18:45:02.975Z] + cat /w/workspace/go-mod-bootstrap/4/archives/cost.csv [2021-05-03T18:45:02.975Z] + cut -d, -f6 [Pipeline] lock [2021-05-03T18:45:03.066Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] [2021-05-03T18:45:03.077Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] did not exist. Created. [2021-05-03T18:45:03.077Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-03T18:45:03.145Z] ---> 1403562da769 [2021-05-03T18:45:03.145Z] Step 8/8 : RUN go mod download [2021-05-03T18:45:03.145Z] ---> Running in d91625fecaa2 [2021-05-03T18:45:03.414Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-03T18:45:03.543Z] Stashed 1 file(s) [Pipeline] } [2021-05-03T18:45:03.555Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-03T18:45:29.964Z] Removing intermediate container d91625fecaa2 [2021-05-03T18:45:29.964Z] ---> b81e299b2bad [2021-05-03T18:45:29.964Z] Successfully built b81e299b2bad [2021-05-03T18:45:29.964Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:45:30.308Z] + docker inspect -f . ci-base-image-arm64 [2021-05-03T18:45:30.308Z] . [Pipeline] withDockerContainer [2021-05-03T18:45:30.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-2782 does not seem to be running inside a container [2021-05-03T18:45:30.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-03T18:45:32.153Z] $ docker top 4cc3a6f3e98b93e89f2cf69fd8caa1005168d10cf3390d3b6433b084e3b36d76 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T18:45:33.116Z] + go version [2021-05-03T18:45:33.116Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-03T18:45:33.140Z] $ docker stop --time=1 4cc3a6f3e98b93e89f2cf69fd8caa1005168d10cf3390d3b6433b084e3b36d76 [2021-05-03T18:45:35.067Z] $ docker rm -f 4cc3a6f3e98b93e89f2cf69fd8caa1005168d10cf3390d3b6433b084e3b36d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:45:35.748Z] + docker inspect -f . ci-base-image-arm64 [2021-05-03T18:45:35.748Z] . [Pipeline] withDockerContainer [2021-05-03T18:45:36.004Z] prd-ubuntu18.04-docker-arm64-4c-16g-2782 does not seem to be running inside a container [2021-05-03T18:45:36.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/4 -v /w/workspace/go-mod-bootstrap/4:/w/workspace/go-mod-bootstrap/4:rw,z -v /w/workspace/go-mod-bootstrap/4@tmp:/w/workspace/go-mod-bootstrap/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-03T18:45:37.569Z] $ docker top d70f92cc8e968526f093d0d2b036ff896e1c9fb00d1f75cb8e71306cb9d9e3ac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T18:45:38.521Z] + go mod tidy [Pipeline] sh [2021-05-03T18:45:39.783Z] + make test [2021-05-03T18:45:39.783Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-03T18:46:18.809Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-03T18:46:18.810Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.036s coverage: 5.4% of statements [2021-05-03T18:46:18.810Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-03T18:46:18.810Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.073s coverage: 92.2% of statements [2021-05-03T18:46:18.810Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.029s coverage: 85.3% of statements [2021-05-03T18:46:20.258Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-03T18:46:20.258Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-03T18:46:20.258Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-03T18:46:20.861Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.055s coverage: 26.7% of statements [2021-05-03T18:46:26.285Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.044s coverage: 90.7% of statements [2021-05-03T18:46:26.285Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-03T18:46:26.285Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-03T18:46:26.285Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.012s coverage: 91.3% of statements [2021-05-03T18:46:26.285Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-03T18:46:26.285Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-03T18:46:48.590Z] gofmt -l . [2021-05-03T18:46:48.591Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-03T18:46:48.614Z] $ docker stop --time=1 d70f92cc8e968526f093d0d2b036ff896e1c9fb00d1f75cb8e71306cb9d9e3ac [2021-05-03T18:46:50.702Z] $ docker rm -f d70f92cc8e968526f093d0d2b036ff896e1c9fb00d1f75cb8e71306cb9d9e3ac [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-03T18:46:51.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-03T18:46:51.557Z] Warning: overwriting stash ‘coverage-report’ [2021-05-03T18:46:52.284Z] 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-03T18:46:52.791Z] ---> job-cost.sh [2021-05-03T18:46:52.791Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7D77 [2021-05-03T18:47:31.760Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-03T18:48:53.484Z] lf-activate-venv(): INFO: Adding /tmp/venv-7D77/bin to PATH [2021-05-03T18:48:53.484Z] INFO: No Stack... [2021-05-03T18:48:53.484Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-03T18:48:53.484Z] INFO: Archiving Costs [Pipeline] sh [2021-05-03T18:48:53.828Z] + cat /w/workspace/go-mod-bootstrap/4/archives/cost.csv [2021-05-03T18:48:53.828Z] + cut -d, -f6 [Pipeline] lock [2021-05-03T18:48:53.948Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] [2021-05-03T18:48:53.958Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] did not exist. Created. [2021-05-03T18:48:53.958Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-03T18:48:54.324Z] /w/workspace/go-mod-bootstrap/4@tmp/durable-b751bc3e/script.sh: 1: /w/workspace/go-mod-bootstrap/4@tmp/durable-b751bc3e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-03T18:48:54.668Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-03T18:48:54.704Z] Warning: overwriting stash ‘stack-cost’ [2021-05-03T18:48:54.847Z] Stashed 1 file(s) [Pipeline] } [2021-05-03T18:48:54.859Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-216-4-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-03T18:48:55.438Z] provisioning config files... [2021-05-03T18:48:55.453Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/config1798629522818661009tmp [Pipeline] { [Pipeline] sh [2021-05-03T18:48:55.791Z] + set +x [2021-05-03T18:48:55.791Z] + curl -s https://codecov.io/bash [2021-05-03T18:48:55.791Z] + bash -s -- [2021-05-03T18:48:56.054Z] [2021-05-03T18:48:56.054Z] _____ _ [2021-05-03T18:48:56.054Z] / ____| | | [2021-05-03T18:48:56.054Z] | | ___ __| | ___ ___ _____ __ [2021-05-03T18:48:56.054Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-03T18:48:56.054Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-03T18:48:56.054Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-03T18:48:56.054Z] Bash-1.0.2 [2021-05-03T18:48:56.054Z] [2021-05-03T18:48:56.054Z] [2021-05-03T18:48:56.054Z] ==> git version 2.24.3 found [2021-05-03T18:48:56.054Z] ==> 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-03T18:48:56.054Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-03T18:48:56.054Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-03T18:48:56.054Z] ==> Jenkins CI detected. [2021-05-03T18:48:56.054Z] project root: . [2021-05-03T18:48:56.054Z] --> token set from env [2021-05-03T18:48:56.054Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-03T18:48:56.054Z] ==> Running gcov in . (disable via -X gcov) [2021-05-03T18:48:56.054Z] ==> Python coveragepy not found [2021-05-03T18:48:56.054Z] ==> Searching for coverage reports in: [2021-05-03T18:48:56.054Z] + . [2021-05-03T18:48:56.054Z] -> Found 1 reports [2021-05-03T18:48:56.054Z] ==> Detecting git/mercurial file structure [2021-05-03T18:48:56.054Z] ==> Reading reports [2021-05-03T18:48:56.054Z] + ./coverage.out bytes=28566 [2021-05-03T18:48:56.054Z] ==> Appending adjustments [2021-05-03T18:48:56.054Z] https://docs.codecov.io/docs/fixing-reports [2021-05-03T18:48:56.318Z] + Found adjustments [2021-05-03T18:48:56.318Z] ==> Gzipping contents [2021-05-03T18:48:56.318Z] 8.0K /tmp/codecov.QCl6NY.gz [2021-05-03T18:48:56.318Z] ==> Uploading reports [2021-05-03T18:48:56.318Z] url: https://codecov.io [2021-05-03T18:48:56.318Z] query: branch=PR-216&commit=da019c0e23d00d5a4b18630b6d812afa071e7ba1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-216%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=216&job=&cmd_args= [2021-05-03T18:48:56.318Z] -> Pinging Codecov [2021-05-03T18:48:56.318Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-216&commit=da019c0e23d00d5a4b18630b6d812afa071e7ba1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-216%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=216&job=&cmd_args= [2021-05-03T18:48:56.892Z] -> Uploading to [2021-05-03T18:48:56.893Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-03/833815588EE85121546D348822E98E2E/da019c0e23d00d5a4b18630b6d812afa071e7ba1/5e930712-3761-4cf6-b24d-62db6a543273.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210503T184856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0632ee4ed15314cb59e140001bc0a87ddf253019333e9d4657a994f39cb2f90f [2021-05-03T18:48:56.893Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-03T18:48:56.893Z] Dload Upload Total Spent Left Speed [2021-05-03T18:48:57.479Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 11137 --:--:-- --:--:-- --:--:-- 11158 [2021-05-03T18:48:57.479Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/da019c0e23d00d5a4b18630b6d812afa071e7ba1 [Pipeline] } [2021-05-03T18:48:57.492Z] 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-03T18:48:58.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:48:59.031Z] ---> package-listing.sh [2021-05-03T18:48:59.031Z] ++ facter osfamily [2021-05-03T18:48:59.031Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-03T18:48:59.031Z] + OS_FAMILY=redhat [2021-05-03T18:48:59.031Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-216 [2021-05-03T18:48:59.031Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-03T18:48:59.031Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-03T18:48:59.031Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-03T18:48:59.031Z] + PACKAGES=/tmp/packages_start.txt [2021-05-03T18:48:59.031Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-216 ']' [2021-05-03T18:48:59.031Z] + PACKAGES=/tmp/packages_end.txt [2021-05-03T18:48:59.031Z] + case "${OS_FAMILY}" in [2021-05-03T18:48:59.031Z] + rpm -qa [2021-05-03T18:48:59.031Z] + sort [2021-05-03T18:49:04.430Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-03T18:49:04.430Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-03T18:49:04.430Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-03T18:49:04.430Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-216 ']' [2021-05-03T18:49:04.430Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-216/archives/ [2021-05-03T18:49:04.430Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-216/archives/ [Pipeline] echo [2021-05-03T18:49:04.446Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-03T18:49:04.744Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:49:05.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-03T18:49:05.063Z] [2021-05-03T18:49:05.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-03T18:49:05.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-03T18:49:05.384Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-03T18:49:05.384Z] df20fa9351a1: Pulling fs layer [2021-05-03T18:49:05.384Z] 36b3adc4ff6f: Pulling fs layer [2021-05-03T18:49:05.384Z] 8ad3a11d3b57: Pulling fs layer [2021-05-03T18:49:05.384Z] 46f8f816bc3b: Pulling fs layer [2021-05-03T18:49:05.384Z] 93b61091891f: Pulling fs layer [2021-05-03T18:49:05.384Z] 93b9cdb0e59b: Pulling fs layer [2021-05-03T18:49:05.384Z] 5e14af77c1be: Pulling fs layer [2021-05-03T18:49:05.384Z] 01666e4c0597: Pulling fs layer [2021-05-03T18:49:05.384Z] aa168da1d23b: Pulling fs layer [2021-05-03T18:49:05.384Z] 46f8f816bc3b: Waiting [2021-05-03T18:49:05.384Z] 5e14af77c1be: Waiting [2021-05-03T18:49:05.384Z] 93b61091891f: Waiting [2021-05-03T18:49:05.384Z] 93b9cdb0e59b: Waiting [2021-05-03T18:49:05.384Z] 01666e4c0597: Waiting [2021-05-03T18:49:05.384Z] aa168da1d23b: Waiting [2021-05-03T18:49:05.384Z] 36b3adc4ff6f: Verifying Checksum [2021-05-03T18:49:05.384Z] 36b3adc4ff6f: Download complete [2021-05-03T18:49:05.384Z] 46f8f816bc3b: Verifying Checksum [2021-05-03T18:49:05.384Z] 46f8f816bc3b: Download complete [2021-05-03T18:49:05.384Z] df20fa9351a1: Verifying Checksum [2021-05-03T18:49:05.384Z] df20fa9351a1: Download complete [2021-05-03T18:49:05.654Z] 93b9cdb0e59b: Verifying Checksum [2021-05-03T18:49:05.654Z] 93b9cdb0e59b: Download complete [2021-05-03T18:49:05.654Z] 93b61091891f: Verifying Checksum [2021-05-03T18:49:05.654Z] 93b61091891f: Download complete [2021-05-03T18:49:05.654Z] 5e14af77c1be: Verifying Checksum [2021-05-03T18:49:05.654Z] 5e14af77c1be: Download complete [2021-05-03T18:49:05.654Z] 01666e4c0597: Verifying Checksum [2021-05-03T18:49:05.654Z] 01666e4c0597: Download complete [2021-05-03T18:49:05.921Z] df20fa9351a1: Pull complete [2021-05-03T18:49:05.921Z] 8ad3a11d3b57: Verifying Checksum [2021-05-03T18:49:05.921Z] 8ad3a11d3b57: Download complete [2021-05-03T18:49:06.188Z] 36b3adc4ff6f: Pull complete [2021-05-03T18:49:06.768Z] 8ad3a11d3b57: Pull complete [2021-05-03T18:49:07.032Z] 46f8f816bc3b: Pull complete [2021-05-03T18:49:08.449Z] aa168da1d23b: Verifying Checksum [2021-05-03T18:49:08.449Z] aa168da1d23b: Download complete [2021-05-03T18:49:08.449Z] 93b61091891f: Pull complete [2021-05-03T18:49:08.449Z] 93b9cdb0e59b: Pull complete [2021-05-03T18:49:08.716Z] 5e14af77c1be: Pull complete [2021-05-03T18:49:08.716Z] 01666e4c0597: Pull complete [2021-05-03T18:49:16.913Z] aa168da1d23b: Pull complete [2021-05-03T18:49:16.913Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-03T18:49:16.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-03T18:49:16.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-03T18:49:17.138Z] prd-centos7-docker-4c-2g-2778 does not seem to be running inside a container [2021-05-03T18:49:17.194Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-216 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216:/w/workspace/xfoundry_go-mod-bootstrap_PR-216:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-03T18:49:20.336Z] $ docker top ff3aa800fb2c0ee44f1060721463d2927caf06972be6afbe72d3341a92b1c78c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T18:49:20.785Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-03T18:49:21.089Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-03T18:49:21.395Z] + ls /var/log/sa-host [2021-05-03T18:49:21.395Z] + sadf -c /var/log/sa-host/sa03 [2021-05-03T18:49:21.395Z] file_magic: OK [2021-05-03T18:49:21.395Z] HZ: Using current value: 100 [2021-05-03T18:49:21.395Z] file_header: OK [2021-05-03T18:49:21.395Z] 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-03T18:49:21.395Z] Statistics: [2021-05-03T18:49:21.395Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-03T18:49:21.395Z] File successfully converted to sysstat format version 12.2.1 [2021-05-03T18:49:21.395Z] + sadf -c /var/log/sa-host/sa23 [2021-05-03T18:49:21.395Z] file_magic: OK [2021-05-03T18:49:21.395Z] HZ: Using current value: 100 [2021-05-03T18:49:21.395Z] file_header: OK [2021-05-03T18:49:21.395Z] 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-03T18:49:21.395Z] Statistics: [2021-05-03T18:49:21.395Z] Hnuu...uuuununununu... [2021-05-03T18:49:21.395Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-03T18:49:21.982Z] provisioning config files... [2021-05-03T18:49:22.003Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-216@tmp/config8484158068580208563tmp [Pipeline] { [Pipeline] echo [2021-05-03T18:49:22.028Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:49:22.357Z] ---> create-netrc.sh [Pipeline] } [2021-05-03T18:49:22.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-03T18:49:22.395Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:49:22.695Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-03T18:49:22.707Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:49:23.006Z] ---> sudo-logs.sh [2021-05-03T18:49:23.007Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-03T18:49:23.035Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:49:23.405Z] ---> job-cost.sh [2021-05-03T18:49:23.405Z] lf-activate-venv: SKIPPING [2021-05-03T18:49:23.405Z] DEBUG: total: 0.20999999344348907 [2021-05-03T18:49:23.405Z] INFO: Retrieving Stack Cost... [2021-05-03T18:49:24.353Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-03T18:49:24.928Z] INFO: Archiving Costs [Pipeline] echo [2021-05-03T18:49:24.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T18:49:25.243Z] ---> logs-deploy.sh [2021-05-03T18:49:25.243Z] lf-activate-venv: SKIPPING [2021-05-03T18:49:25.243Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-216/4 [2021-05-03T18:49:25.243Z] INFO: archiving workspace using pattern(s): [2021-05-03T18:49:27.178Z] Archives upload complete. [2021-05-03T18:49:27.178Z] INFO: archiving logs to Nexus