Pull request #225 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 2f1cc20637afa1182bb727cb70e5f12ad6497de0+1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 (d98444b6abc663bfe338f32a76f8adab49162c84) 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-3325 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [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-225 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/225/head:refs/remotes/origin/PR-225 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit 2f1cc20637afa1182bb727cb70e5f12ad6497de0 Merge succeeded, producing 2f1cc20637afa1182bb727cb70e5f12ad6497de0 Checking out Revision 2f1cc20637afa1182bb727cb70e5f12ad6497de0 (PR-225) > git config core.sparsecheckout # timeout=10 > git checkout -f 2f1cc20637afa1182bb727cb70e5f12ad6497de0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f1cc20637afa1182bb727cb70e5f12ad6497de0 # timeout=10 Commit message: "fix: Fixed failing unit test" > git rev-list --no-walk 91e0787fc127cba0b0d40e85fb503041cea8ea2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T20:56:33.836Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T20:56:33.930Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T20:56:33.960Z] ========================================================= [2021-05-06T20:56:33.960Z] EdgeX Global Pipelines Version Info [2021-05-06T20:56:33.960Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:56:36.821Z] ------------------- [2021-05-06T20:56:36.821Z] stable info: [2021-05-06T20:56:36.821Z] ------------------- [2021-05-06T20:56:36.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T20:56:36.821Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T20:56:36.821Z] Message: update stable to v1.0.191 [2021-05-06T20:56:37.916Z] ------------------- [2021-05-06T20:56:37.916Z] experimental info: [2021-05-06T20:56:37.916Z] ------------------- [2021-05-06T20:56:37.916Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T20:56:37.917Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T20:56:37.917Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T20:56:38.178Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-06T20:56:38.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-06T20:56:38.225Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T20:56:38.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T20:56:38.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T20:56:38.297Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T20:56:38.320Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T20:56:38.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T20:56:38.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T20:56:38.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T20:56:38.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T20:56:38.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-06T20:56:38.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T20:56:38.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T20:56:38.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:56:38.595Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:56:38.626Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:56:38.649Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:56:38.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T20:56:38.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T20:56:38.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T20:56:38.749Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T20:56:38.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T20:56:38.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T20:56:38.891Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-06T20:56:38.928Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T20:56:38.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-225 [Pipeline] echo [2021-05-06T20:56:38.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-225 [Pipeline] echo [2021-05-06T20:56:39.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-225 [Pipeline] echo [2021-05-06T20:56:39.036Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f1cc20637afa1182bb727cb70e5f12ad6497de0 [Pipeline] echo [2021-05-06T20:56:39.069Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f1cc20 [Pipeline] echo [2021-05-06T20:56:39.094Z] [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-06T20:56:39.632Z] + git log --format=format:%s -1 2f1cc20637afa1182bb727cb70e5f12ad6497de0 [Pipeline] echo [2021-05-06T20:56:39.822Z] GIT_COMMIT: 2f1cc20637afa1182bb727cb70e5f12ad6497de0, Commit Message: fix: Fixed failing unit test [Pipeline] echo [2021-05-06T20:56:39.837Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:56:41.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T20:56:41.514Z] [2021-05-06T20:56:41.514Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:56:41.951Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T20:56:41.951Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T20:56:41.951Z] 31603596830f: Pulling fs layer [2021-05-06T20:56:41.951Z] 54011a49482f: Pulling fs layer [2021-05-06T20:56:41.951Z] a6820b24f6d8: Pulling fs layer [2021-05-06T20:56:41.951Z] f581987b2513: Pulling fs layer [2021-05-06T20:56:41.951Z] f581987b2513: Waiting [2021-05-06T20:56:41.951Z] 54011a49482f: Verifying Checksum [2021-05-06T20:56:41.951Z] 54011a49482f: Download complete [2021-05-06T20:56:42.274Z] 31603596830f: Download complete [2021-05-06T20:56:43.025Z] f581987b2513: Verifying Checksum [2021-05-06T20:56:43.025Z] f581987b2513: Download complete [2021-05-06T20:56:43.342Z] a6820b24f6d8: Verifying Checksum [2021-05-06T20:56:43.342Z] a6820b24f6d8: Download complete [2021-05-06T20:56:43.342Z] 31603596830f: Pull complete [2021-05-06T20:56:43.661Z] 54011a49482f: Pull complete [2021-05-06T20:56:45.807Z] a6820b24f6d8: Pull complete [2021-05-06T20:56:46.409Z] f581987b2513: Pull complete [2021-05-06T20:56:46.409Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T20:56:46.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T20:56:46.409Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T20:56:46.729Z] prd-centos7-docker-4c-2g-3325 does not seem to be running inside a container [2021-05-06T20:56:46.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-225 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-225:/w/workspace/xfoundry_go-mod-bootstrap_PR-225:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T20:56:50.249Z] $ docker top 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T20:56:50.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T20:56:50.503Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T20:56:51.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T20:56:51.029Z] $ docker exec 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 ssh-agent [2021-05-06T20:56:51.533Z] SSH_AUTH_SOCK=/tmp/ssh-KcY7RYFGiwrg/agent.12 [2021-05-06T20:56:51.533Z] SSH_AGENT_PID=18 [2021-05-06T20:56:51.557Z] Running ssh-add (command line suppressed) [2021-05-06T20:56:51.870Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_4899525156859728557.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_4899525156859728557.key) [2021-05-06T20:56:52.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T20:56:52.425Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T20:56:52.535Z] $ docker exec --env ******** --env ******** 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 ssh-agent -k [2021-05-06T20:56:52.864Z] unset SSH_AUTH_SOCK; [2021-05-06T20:56:52.865Z] unset SSH_AGENT_PID; [2021-05-06T20:56:52.865Z] echo Agent pid 18 killed; [2021-05-06T20:56:52.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T20:56:53.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T20:56:53.027Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T20:56:53.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T20:56:53.857Z] $ docker exec 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 ssh-agent [2021-05-06T20:56:54.333Z] SSH_AUTH_SOCK=/tmp/ssh-yo9A6XcRWLT9/agent.46 [2021-05-06T20:56:54.333Z] SSH_AGENT_PID=52 [2021-05-06T20:56:54.355Z] Running ssh-add (command line suppressed) [2021-05-06T20:56:54.718Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_4520606164304786170.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_4520606164304786170.key) [2021-05-06T20:56:54.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T20:56:55.616Z] + git semver init [2021-05-06T20:56:55.616Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T20:56:55.616Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-225/.git [2021-05-06T20:56:55.616Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [2021-05-06T20:56:55.616Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T20:56:55.616Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T20:56:55.616Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T20:56:55.616Z] # $SEMVER_BRANCH = PR-225 [2021-05-06T20:56:55.616Z] # $SEMVER_TEMP = /tmp/semver-259570295 [2021-05-06T20:56:55.616Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-06T20:56:56.642Z] # '/tmp/semver-259570295' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-225/.semver' [2021-05-06T20:56:56.642Z] # -> Force: false [2021-05-06T20:56:56.642Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-225/.semver [Pipeline] } [2021-05-06T20:56:56.671Z] $ docker exec --env ******** --env ******** 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 ssh-agent -k [2021-05-06T20:56:56.908Z] unset SSH_AUTH_SOCK; [2021-05-06T20:56:56.909Z] unset SSH_AGENT_PID; [2021-05-06T20:56:56.909Z] echo Agent pid 52 killed; [2021-05-06T20:56:57.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T20:56:57.379Z] + git semver [Pipeline] } [2021-05-06T20:56:57.411Z] $ docker stop --time=1 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 [2021-05-06T20:56:59.161Z] $ docker rm -f 85f0bf9865c748f4823f4e667e83d5b2fba0808be370a1d768855bfcd52ae950 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T20:56:59.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T20:57:01.225Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T20:57:01.228Z] [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-06T20:57:16.404Z] Still waiting to schedule task [2021-05-06T20:57:16.404Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-06T20:57:16.407Z] Still waiting to schedule task [2021-05-06T20:57:16.407Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3322’ [2021-05-06T20:59:49.315Z] Running on prd-centos7-docker-4c-2g-3328 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [Pipeline] { [Pipeline] ws [2021-05-06T20:59:49.337Z] Running in /w/workspace/go-mod-bootstrap/7 [Pipeline] { [Pipeline] checkout [2021-05-06T20:59:51.891Z] using credential edgex-jenkins-ssh [2021-05-06T20:59:51.907Z] Cloning the remote Git repository [2021-05-06T20:59:51.528Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:59:51.597Z] > git init /w/workspace/go-mod-bootstrap/7 # timeout=10 [2021-05-06T20:59:51.671Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:59:51.672Z] > git --version # timeout=10 [2021-05-06T20:59:51.678Z] > git --version # 'git version 2.24.3' [2021-05-06T20:59:51.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:59:51.703Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T20:59:53.268Z] Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit 2f1cc20637afa1182bb727cb70e5f12ad6497de0 [2021-05-06T20:59:53.361Z] Merge succeeded, producing 2f1cc20637afa1182bb727cb70e5f12ad6497de0 [2021-05-06T20:59:53.362Z] Checking out Revision 2f1cc20637afa1182bb727cb70e5f12ad6497de0 (PR-225) [2021-05-06T20:59:52.467Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T20:59:52.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T20:59:52.483Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T20:59:52.497Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:59:52.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:59:52.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/225/head:refs/remotes/origin/PR-225 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T20:59:52.985Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T20:59:52.995Z] > git checkout -f 2f1cc20637afa1182bb727cb70e5f12ad6497de0 # timeout=10 [2021-05-06T20:59:53.037Z] > git remote # timeout=10 [2021-05-06T20:59:53.047Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T20:59:53.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:59:53.060Z] > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 [2021-05-06T20:59:53.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T20:59:53.081Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T20:59:53.091Z] > git checkout -f 2f1cc20637afa1182bb727cb70e5f12ad6497de0 # timeout=10 [2021-05-06T20:59:56.844Z] Commit message: "fix: Fixed failing unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T20:59:57.972Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T20:59:58.309Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T20:59:58.606Z] + sudo service docker restart [2021-05-06T20:59:58.606Z] + true [2021-05-06T20:59:58.606Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-06T20:59:59.720Z] ========================================================= [2021-05-06T20:59:59.720Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T20:59:59.720Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:00:00.035Z] + 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-06T21:00:00.609Z] Sending build context to Docker daemon 980kB [2021-05-06T21:00:00.609Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-06T21:00:00.609Z] Step 2/8 : FROM ${BASE} [2021-05-06T21:00:00.609Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T21:00:00.609Z] 540db60ca938: Pulling fs layer [2021-05-06T21:00:00.609Z] adcc1eea9eea: Pulling fs layer [2021-05-06T21:00:00.609Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T21:00:00.609Z] 0510c868ecb4: Pulling fs layer [2021-05-06T21:00:00.609Z] afea3b2eda06: Pulling fs layer [2021-05-06T21:00:00.609Z] 7809a108b3ef: Pulling fs layer [2021-05-06T21:00:00.609Z] f706445af74f: Pulling fs layer [2021-05-06T21:00:00.609Z] afea3b2eda06: Waiting [2021-05-06T21:00:00.609Z] 7809a108b3ef: Waiting [2021-05-06T21:00:00.609Z] f706445af74f: Waiting [2021-05-06T21:00:00.609Z] 0510c868ecb4: Waiting [2021-05-06T21:00:00.609Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T21:00:00.609Z] 4c4ab2625f07: Download complete [2021-05-06T21:00:00.609Z] adcc1eea9eea: Verifying Checksum [2021-05-06T21:00:00.609Z] adcc1eea9eea: Download complete [2021-05-06T21:00:00.609Z] afea3b2eda06: Verifying Checksum [2021-05-06T21:00:00.609Z] afea3b2eda06: Download complete [2021-05-06T21:00:00.873Z] 7809a108b3ef: Verifying Checksum [2021-05-06T21:00:00.873Z] 7809a108b3ef: Download complete [2021-05-06T21:00:00.873Z] 540db60ca938: Verifying Checksum [2021-05-06T21:00:00.873Z] 540db60ca938: Download complete [2021-05-06T21:00:00.873Z] 540db60ca938: Pull complete [2021-05-06T21:00:01.136Z] adcc1eea9eea: Pull complete [2021-05-06T21:00:01.404Z] 4c4ab2625f07: Pull complete [2021-05-06T21:00:02.803Z] f706445af74f: Verifying Checksum [2021-05-06T21:00:02.803Z] f706445af74f: Download complete [2021-05-06T21:00:03.380Z] 0510c868ecb4: Download complete [2021-05-06T21:00:08.704Z] 0510c868ecb4: Pull complete [2021-05-06T21:00:08.704Z] afea3b2eda06: Pull complete [2021-05-06T21:00:08.704Z] 7809a108b3ef: Pull complete [2021-05-06T21:00:16.919Z] f706445af74f: Pull complete [2021-05-06T21:00:16.919Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T21:00:16.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T21:00:16.919Z] ---> b068be0155e3 [2021-05-06T21:00:16.919Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T21:00:18.321Z] ---> Running in db8d1d32b7f7 [2021-05-06T21:00:18.321Z] Removing intermediate container db8d1d32b7f7 [2021-05-06T21:00:18.321Z] ---> 08f20f1c84ae [2021-05-06T21:00:18.321Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T21:00:18.321Z] ---> Running in 45c8fea7b545 [2021-05-06T21:00:20.271Z] Removing intermediate container 45c8fea7b545 [2021-05-06T21:00:20.271Z] ---> 0d14e3747d5a [2021-05-06T21:00:20.271Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-06T21:00:20.271Z] ---> Running in e54af7255fc3 [2021-05-06T21:00:20.853Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T21:00:21.802Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T21:00:22.065Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-06T21:00:22.329Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-06T21:00:22.329Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-06T21:00:22.329Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-06T21:00:22.593Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-06T21:00:22.593Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T21:00:22.593Z] OK: 150 MiB in 45 packages [2021-05-06T21:00:23.169Z] Removing intermediate container e54af7255fc3 [2021-05-06T21:00:23.169Z] ---> 984442ea31d8 [2021-05-06T21:00:23.169Z] Step 6/8 : WORKDIR /build [2021-05-06T21:00:23.431Z] ---> Running in 69588cc9385c [2021-05-06T21:00:23.431Z] Removing intermediate container 69588cc9385c [2021-05-06T21:00:23.431Z] ---> 86774b89e222 [2021-05-06T21:00:23.431Z] Step 7/8 : COPY go.mod . [2021-05-06T21:00:23.704Z] ---> 182a9699866b [2021-05-06T21:00:23.704Z] Step 8/8 : RUN go mod download [2021-05-06T21:00:23.704Z] ---> Running in 6e33a8d84444 [2021-05-06T21:00:45.732Z] Removing intermediate container 6e33a8d84444 [2021-05-06T21:00:45.732Z] ---> bf6c3680500c [2021-05-06T21:00:45.732Z] Successfully built bf6c3680500c [2021-05-06T21:00:45.732Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:00:46.058Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T21:00:46.058Z] . [Pipeline] withDockerContainer [2021-05-06T21:00:46.188Z] prd-centos7-docker-4c-2g-3328 does not seem to be running inside a container [2021-05-06T21:00:46.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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-06T21:00:47.068Z] $ docker top f2b94136147cf25e9cf66bc5672c5114ae6cd79922cdf177191f673b8c36f094 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T21:00:47.532Z] + go version [2021-05-06T21:00:47.532Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T21:00:47.550Z] $ docker stop --time=1 f2b94136147cf25e9cf66bc5672c5114ae6cd79922cdf177191f673b8c36f094 [2021-05-06T21:00:48.925Z] $ docker rm -f f2b94136147cf25e9cf66bc5672c5114ae6cd79922cdf177191f673b8c36f094 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:00:49.461Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T21:00:49.461Z] . [Pipeline] withDockerContainer [2021-05-06T21:00:49.561Z] prd-centos7-docker-4c-2g-3328 does not seem to be running inside a container [2021-05-06T21:00:49.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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-06T21:00:50.385Z] $ docker top b0717f34c633bfbb3e472122f74a7db1d434c6cc6b769cd54dcfba2e2200bd3a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T21:00:50.817Z] + go mod tidy [Pipeline] sh [2021-05-06T21:00:51.390Z] + make test [2021-05-06T21:00:51.390Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T21:00:51.939Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3329 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [Pipeline] { [Pipeline] ws [2021-05-06T21:00:51.964Z] Running in /w/workspace/go-mod-bootstrap/7 [Pipeline] { [Pipeline] checkout [2021-05-06T21:00:58.413Z] using credential edgex-jenkins-ssh [2021-05-06T21:00:58.448Z] Cloning the remote Git repository [2021-05-06T21:00:58.509Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T21:00:58.662Z] > git init /w/workspace/go-mod-bootstrap/7 # timeout=10 [2021-05-06T21:00:58.763Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T21:00:58.764Z] > git --version # timeout=10 [2021-05-06T21:00:58.804Z] > git --version # 'git version 2.17.1' [2021-05-06T21:00:58.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T21:00:58.877Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T21:01:00.443Z] Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit 2f1cc20637afa1182bb727cb70e5f12ad6497de0 [2021-05-06T21:01:00.650Z] Merge succeeded, producing 2f1cc20637afa1182bb727cb70e5f12ad6497de0 [2021-05-06T21:01:00.651Z] Checking out Revision 2f1cc20637afa1182bb727cb70e5f12ad6497de0 (PR-225) [2021-05-06T21:00:59.727Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T21:00:59.745Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T21:00:59.768Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T21:00:59.806Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T21:00:59.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T21:00:59.823Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/225/head:refs/remotes/origin/PR-225 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T21:01:00.461Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T21:01:00.480Z] > git checkout -f 2f1cc20637afa1182bb727cb70e5f12ad6497de0 # timeout=10 [2021-05-06T21:01:00.565Z] > git remote # timeout=10 [2021-05-06T21:01:00.587Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T21:01:00.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T21:01:00.616Z] > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 [2021-05-06T21:01:00.637Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T21:01:00.656Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T21:01:00.672Z] > git checkout -f 2f1cc20637afa1182bb727cb70e5f12ad6497de0 # timeout=10 [2021-05-06T21:01:04.901Z] Commit message: "fix: Fixed failing unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T21:01:06.325Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T21:01:06.734Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T21:01:06.887Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T21:01:07.082Z] + + true [2021-05-06T21:01:07.082Z] sudo service docker restart [2021-05-06T21:01:07.844Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.016s coverage: 5.4% of statements [2021-05-06T21:01:07.844Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T21:01:07.844Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.013s coverage: 92.2% of statements [2021-05-06T21:01:07.844Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.006s coverage: 85.3% of statements [2021-05-06T21:01:08.436Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T21:01:08.436Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T21:01:08.716Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [Pipeline] unstash [Pipeline] echo [2021-05-06T21:01:09.986Z] ========================================================= [2021-05-06T21:01:09.986Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T21:01:09.986Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:01:10.336Z] + 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-06T21:01:10.666Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.042s coverage: 92.9% of statements [2021-05-06T21:01:10.666Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.031s coverage: 26.7% of statements [2021-05-06T21:01:11.319Z] Sending build context to Docker daemon 978.9kB [2021-05-06T21:01:11.319Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-06T21:01:11.319Z] Step 2/8 : FROM ${BASE} [2021-05-06T21:01:11.593Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T21:01:11.593Z] 595b0fe564bb: Pulling fs layer [2021-05-06T21:01:11.593Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T21:01:11.593Z] 316046926c0a: Pulling fs layer [2021-05-06T21:01:11.593Z] 4ebd0625c992: Pulling fs layer [2021-05-06T21:01:11.593Z] 207e8628e3a3: Pulling fs layer [2021-05-06T21:01:11.593Z] c791037a9be2: Pulling fs layer [2021-05-06T21:01:11.593Z] ffd874e62e21: Pulling fs layer [2021-05-06T21:01:11.593Z] 207e8628e3a3: Waiting [2021-05-06T21:01:11.593Z] 4ebd0625c992: Waiting [2021-05-06T21:01:11.593Z] c791037a9be2: Waiting [2021-05-06T21:01:11.593Z] ffd874e62e21: Waiting [2021-05-06T21:01:11.593Z] 316046926c0a: Verifying Checksum [2021-05-06T21:01:11.593Z] 316046926c0a: Download complete [2021-05-06T21:01:11.593Z] 7186ed65a4f7: Download complete [2021-05-06T21:01:11.593Z] 207e8628e3a3: Verifying Checksum [2021-05-06T21:01:11.593Z] 207e8628e3a3: Download complete [2021-05-06T21:01:11.593Z] c791037a9be2: Download complete [2021-05-06T21:01:11.593Z] 595b0fe564bb: Verifying Checksum [2021-05-06T21:01:11.593Z] 595b0fe564bb: Download complete [2021-05-06T21:01:12.582Z] 595b0fe564bb: Pull complete [2021-05-06T21:01:12.882Z] 7186ed65a4f7: Pull complete [2021-05-06T21:01:13.356Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.019s coverage: 90.7% of statements [2021-05-06T21:01:13.356Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T21:01:13.356Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T21:01:13.356Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.006s coverage: 91.3% of statements [2021-05-06T21:01:13.356Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T21:01:13.356Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T21:01:13.562Z] 316046926c0a: Pull complete [2021-05-06T21:01:13.562Z] ffd874e62e21: Verifying Checksum [2021-05-06T21:01:13.562Z] ffd874e62e21: Download complete [2021-05-06T21:01:15.005Z] 4ebd0625c992: Verifying Checksum [2021-05-06T21:01:15.005Z] 4ebd0625c992: Download complete [2021-05-06T21:01:21.708Z] gofmt -l . [2021-05-06T21:01:21.708Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-06T21:01:21.991Z] $ docker stop --time=1 b0717f34c633bfbb3e472122f74a7db1d434c6cc6b769cd54dcfba2e2200bd3a [2021-05-06T21:01:23.749Z] $ docker rm -f b0717f34c633bfbb3e472122f74a7db1d434c6cc6b769cd54dcfba2e2200bd3a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T21:01:24.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T21:01:24.640Z] 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-06T21:01:25.171Z] 4ebd0625c992: Pull complete [2021-05-06T21:01:25.262Z] ---> job-cost.sh [2021-05-06T21:01:25.262Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TVEm [2021-05-06T21:01:25.445Z] 207e8628e3a3: Pull complete [2021-05-06T21:01:25.720Z] c791037a9be2: Pull complete [2021-05-06T21:01:29.128Z] ffd874e62e21: Pull complete [2021-05-06T21:01:29.128Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T21:01:29.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T21:01:29.128Z] ---> cfc18b08335c [2021-05-06T21:01:29.128Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T21:01:32.504Z] ---> Running in 495c25067f60 [2021-05-06T21:01:32.505Z] Removing intermediate container 495c25067f60 [2021-05-06T21:01:32.505Z] ---> c68578f8685c [2021-05-06T21:01:32.505Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T21:01:32.505Z] ---> Running in 8d00060d5873 [2021-05-06T21:01:35.137Z] Removing intermediate container 8d00060d5873 [2021-05-06T21:01:35.137Z] ---> 4e764556948d [2021-05-06T21:01:35.137Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-06T21:01:35.137Z] ---> Running in 7219996ee72f [2021-05-06T21:01:35.730Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T21:01:36.720Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T21:01:37.692Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-06T21:01:37.692Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-06T21:01:37.692Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-06T21:01:37.692Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-06T21:01:37.966Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-06T21:01:37.966Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T21:01:37.966Z] OK: 139 MiB in 45 packages [2021-05-06T21:01:39.400Z] Removing intermediate container 7219996ee72f [2021-05-06T21:01:39.400Z] ---> 10b7873b385f [2021-05-06T21:01:39.400Z] Step 6/8 : WORKDIR /build [2021-05-06T21:01:39.400Z] ---> Running in c61db0f109e1 [2021-05-06T21:01:40.004Z] Removing intermediate container c61db0f109e1 [2021-05-06T21:01:40.004Z] ---> 380f478404af [2021-05-06T21:01:40.004Z] Step 7/8 : COPY go.mod . [2021-05-06T21:01:40.228Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T21:01:40.600Z] ---> 469e5981d1a5 [2021-05-06T21:01:40.600Z] Step 8/8 : RUN go mod download [2021-05-06T21:01:40.600Z] ---> Running in 27af5cdf2ea0 [2021-05-06T21:02:06.879Z] lf-activate-venv(): INFO: Adding /tmp/venv-TVEm/bin to PATH [2021-05-06T21:02:06.879Z] INFO: No Stack... [2021-05-06T21:02:06.879Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T21:02:07.142Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T21:02:07.384Z] Removing intermediate container 27af5cdf2ea0 [2021-05-06T21:02:07.384Z] ---> 1aba327d2cf2 [2021-05-06T21:02:07.384Z] Successfully built 1aba327d2cf2 [2021-05-06T21:02:07.384Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:02:07.461Z] + cat /w/workspace/go-mod-bootstrap/7/archives/cost.csv [2021-05-06T21:02:07.462Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T21:02:07.544Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] [2021-05-06T21:02:07.560Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] did not exist. Created. [2021-05-06T21:02:07.560Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T21:02:07.728Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T21:02:07.728Z] . [Pipeline] withDockerContainer [2021-05-06T21:02:07.894Z] + echo total: 0.029999999329447746 [2021-05-06T21:02:08.004Z] prd-ubuntu18.04-docker-arm64-4c-16g-3329 does not seem to be running inside a container [2021-05-06T21:02:08.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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-arm64 cat [2021-05-06T21:02:09.497Z] $ docker top 5dc98053eba4b86a0356b168be80f2c431cbdfb344358c773700f776aba8da17 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-05-06T21:02:09.929Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T21:02:09.941Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T21:02:10.484Z] + go version [2021-05-06T21:02:10.484Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T21:02:10.505Z] $ docker stop --time=1 5dc98053eba4b86a0356b168be80f2c431cbdfb344358c773700f776aba8da17 [2021-05-06T21:02:12.429Z] $ docker rm -f 5dc98053eba4b86a0356b168be80f2c431cbdfb344358c773700f776aba8da17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:02:13.091Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T21:02:13.091Z] . [Pipeline] withDockerContainer [2021-05-06T21:02:13.331Z] prd-ubuntu18.04-docker-arm64-4c-16g-3329 does not seem to be running inside a container [2021-05-06T21:02:13.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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-arm64 cat [2021-05-06T21:02:14.851Z] $ docker top 56a03c6fd6f4086e944a1858f3b4f5b0a6f5178a75a6f7cc5822f96bf1cbc3ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T21:02:15.813Z] + go mod tidy [Pipeline] sh [2021-05-06T21:02:17.068Z] + make test [2021-05-06T21:02:17.068Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T21:03:04.072Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T21:03:04.072Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.053s coverage: 5.4% of statements [2021-05-06T21:03:04.072Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T21:03:04.072Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.071s coverage: 92.2% of statements [2021-05-06T21:03:04.072Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.019s coverage: 85.3% of statements [2021-05-06T21:03:04.072Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T21:03:04.072Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T21:03:04.072Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T21:03:08.417Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.080s coverage: 92.9% of statements [2021-05-06T21:03:08.417Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.064s coverage: 26.7% of statements [2021-05-06T21:03:11.795Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.056s coverage: 90.7% of statements [2021-05-06T21:03:11.795Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T21:03:11.795Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T21:03:11.795Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.011s coverage: 91.3% of statements [2021-05-06T21:03:11.796Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T21:03:12.073Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T21:03:38.904Z] gofmt -l . [2021-05-06T21:03:38.904Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-06T21:03:38.925Z] $ docker stop --time=1 56a03c6fd6f4086e944a1858f3b4f5b0a6f5178a75a6f7cc5822f96bf1cbc3ca [2021-05-06T21:03:41.057Z] $ docker rm -f 56a03c6fd6f4086e944a1858f3b4f5b0a6f5178a75a6f7cc5822f96bf1cbc3ca [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T21:03:41.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T21:03:41.991Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T21:03:42.943Z] 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-06T21:03:43.479Z] ---> job-cost.sh [2021-05-06T21:03:43.479Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pX5B [2021-05-06T21:04:22.487Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T21:05:44.247Z] lf-activate-venv(): INFO: Adding /tmp/venv-pX5B/bin to PATH [2021-05-06T21:05:44.247Z] INFO: No Stack... [2021-05-06T21:05:44.247Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T21:05:44.247Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T21:05:44.577Z] + cat /w/workspace/go-mod-bootstrap/7/archives/cost.csv [2021-05-06T21:05:44.577Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T21:05:44.684Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] [2021-05-06T21:05:44.693Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] did not exist. Created. [2021-05-06T21:05:44.693Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T21:05:45.065Z] /w/workspace/go-mod-bootstrap/7@tmp/durable-bd801460/script.sh: 1: /w/workspace/go-mod-bootstrap/7@tmp/durable-bd801460/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T21:05:45.406Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T21:05:45.426Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T21:05:45.572Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T21:05:45.584Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-7-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-06T21:05:46.084Z] provisioning config files... [2021-05-06T21:05:46.102Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/config7504286644499595883tmp [Pipeline] { [Pipeline] sh [2021-05-06T21:05:46.588Z] + set +x [2021-05-06T21:05:46.588Z] + curl -s https://codecov.io/bash [2021-05-06T21:05:46.588Z] + bash -s -- [2021-05-06T21:05:46.908Z] [2021-05-06T21:05:46.908Z] _____ _ [2021-05-06T21:05:46.908Z] / ____| | | [2021-05-06T21:05:46.908Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T21:05:46.908Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T21:05:46.908Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T21:05:46.908Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T21:05:46.908Z] Bash-1.0.2 [2021-05-06T21:05:46.908Z] [2021-05-06T21:05:46.908Z] [2021-05-06T21:05:46.908Z] ==> git version 2.24.3 found [2021-05-06T21:05:46.908Z] ==> 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-06T21:05:46.908Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T21:05:46.908Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T21:05:46.908Z] ==> Jenkins CI detected. [2021-05-06T21:05:46.908Z] project root: . [2021-05-06T21:05:46.908Z] --> token set from env [2021-05-06T21:05:46.908Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T21:05:47.180Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T21:05:47.180Z] ==> Python coveragepy not found [2021-05-06T21:05:47.180Z] ==> Searching for coverage reports in: [2021-05-06T21:05:47.180Z] + . [2021-05-06T21:05:47.180Z] -> Found 1 reports [2021-05-06T21:05:47.180Z] ==> Detecting git/mercurial file structure [2021-05-06T21:05:47.180Z] ==> Reading reports [2021-05-06T21:05:47.180Z] + ./coverage.out bytes=33380 [2021-05-06T21:05:47.180Z] ==> Appending adjustments [2021-05-06T21:05:47.180Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T21:05:47.798Z] + Found adjustments [2021-05-06T21:05:47.798Z] ==> Gzipping contents [2021-05-06T21:05:47.798Z] 8.0K /tmp/codecov.WLQV9Y.gz [2021-05-06T21:05:47.798Z] ==> Uploading reports [2021-05-06T21:05:47.798Z] url: https://codecov.io [2021-05-06T21:05:47.798Z] query: branch=PR-225&commit=2f1cc20637afa1182bb727cb70e5f12ad6497de0&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-225%2F7%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=225&job=&cmd_args= [2021-05-06T21:05:47.798Z] -> Pinging Codecov [2021-05-06T21:05:47.798Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-225&commit=2f1cc20637afa1182bb727cb70e5f12ad6497de0&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-225%2F7%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=225&job=&cmd_args= [2021-05-06T21:05:48.387Z] -> Uploading to [2021-05-06T21:05:48.387Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/833815588EE85121546D348822E98E2E/2f1cc20637afa1182bb727cb70e5f12ad6497de0/e3be26f4-b0cb-44f4-9648-fc3e2a7ac0a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T210548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2af4e17beae1dc5708e90a5db15de0924d5a2a0b8c92f88d8725daa175d1ee60 [2021-05-06T21:05:48.387Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T21:05:48.387Z] Dload Upload Total Spent Left Speed [2021-05-06T21:05:48.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6225 0 0 100 6225 0 11218 --:--:-- --:--:-- --:--:-- 11216 [2021-05-06T21:05:48.921Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/2f1cc20637afa1182bb727cb70e5f12ad6497de0 [Pipeline] } [2021-05-06T21:05:48.937Z] 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-06T21:05:49.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T21:05:50.886Z] ---> package-listing.sh [2021-05-06T21:05:50.886Z] ++ facter osfamily [2021-05-06T21:05:50.886Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T21:05:51.154Z] + OS_FAMILY=redhat [2021-05-06T21:05:51.154Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-225 [2021-05-06T21:05:51.154Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T21:05:51.154Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T21:05:51.154Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T21:05:51.154Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T21:05:51.154Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-225 ']' [2021-05-06T21:05:51.154Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T21:05:51.154Z] + case "${OS_FAMILY}" in [2021-05-06T21:05:51.154Z] + rpm -qa [2021-05-06T21:05:51.154Z] + sort [2021-05-06T21:05:57.923Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T21:05:57.923Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T21:05:57.923Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T21:05:57.923Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-225 ']' [2021-05-06T21:05:57.923Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-225/archives/ [2021-05-06T21:05:57.923Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-225/archives/ [Pipeline] echo [2021-05-06T21:05:57.941Z] 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-225/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T21:05:58.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:05:59.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T21:05:59.429Z] [2021-05-06T21:05:59.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T21:05:59.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T21:06:00.199Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T21:06:00.199Z] df20fa9351a1: Pulling fs layer [2021-05-06T21:06:00.199Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T21:06:00.199Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T21:06:00.199Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T21:06:00.199Z] 93b61091891f: Pulling fs layer [2021-05-06T21:06:00.199Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T21:06:00.199Z] 5e14af77c1be: Pulling fs layer [2021-05-06T21:06:00.199Z] 01666e4c0597: Pulling fs layer [2021-05-06T21:06:00.199Z] aa168da1d23b: Pulling fs layer [2021-05-06T21:06:00.199Z] 93b61091891f: Waiting [2021-05-06T21:06:00.199Z] 93b9cdb0e59b: Waiting [2021-05-06T21:06:00.199Z] 5e14af77c1be: Waiting [2021-05-06T21:06:00.199Z] 01666e4c0597: Waiting [2021-05-06T21:06:00.199Z] aa168da1d23b: Waiting [2021-05-06T21:06:00.199Z] 46f8f816bc3b: Waiting [2021-05-06T21:06:00.199Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T21:06:00.199Z] 36b3adc4ff6f: Download complete [2021-05-06T21:06:00.199Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T21:06:00.199Z] 46f8f816bc3b: Download complete [2021-05-06T21:06:00.509Z] df20fa9351a1: Verifying Checksum [2021-05-06T21:06:00.509Z] df20fa9351a1: Download complete [2021-05-06T21:06:00.509Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T21:06:00.509Z] 93b9cdb0e59b: Download complete [2021-05-06T21:06:00.509Z] 5e14af77c1be: Verifying Checksum [2021-05-06T21:06:00.509Z] 5e14af77c1be: Download complete [2021-05-06T21:06:00.792Z] 93b61091891f: Verifying Checksum [2021-05-06T21:06:00.792Z] 93b61091891f: Download complete [2021-05-06T21:06:00.792Z] 01666e4c0597: Verifying Checksum [2021-05-06T21:06:00.792Z] 01666e4c0597: Download complete [2021-05-06T21:06:01.475Z] df20fa9351a1: Pull complete [2021-05-06T21:06:01.475Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T21:06:01.475Z] 8ad3a11d3b57: Download complete [2021-05-06T21:06:02.175Z] 36b3adc4ff6f: Pull complete [2021-05-06T21:06:06.271Z] 8ad3a11d3b57: Pull complete [2021-05-06T21:06:06.271Z] 46f8f816bc3b: Pull complete [2021-05-06T21:06:07.482Z] 93b61091891f: Pull complete [2021-05-06T21:06:08.278Z] 93b9cdb0e59b: Pull complete [2021-05-06T21:06:09.170Z] 5e14af77c1be: Pull complete [2021-05-06T21:06:09.678Z] 01666e4c0597: Pull complete [2021-05-06T21:06:09.678Z] aa168da1d23b: Verifying Checksum [2021-05-06T21:06:09.678Z] aa168da1d23b: Download complete [2021-05-06T21:06:28.387Z] aa168da1d23b: Pull complete [2021-05-06T21:06:28.387Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T21:06:28.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T21:06:28.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T21:06:28.991Z] prd-centos7-docker-4c-2g-3325 does not seem to be running inside a container [2021-05-06T21:06:29.176Z] $ 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-225/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-225 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-225:/w/workspace/xfoundry_go-mod-bootstrap_PR-225:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T21:06:33.566Z] $ docker top 34cc6146a71215646fd0849cb34df3747d159ef3b72fa2d4a0d96d48fd99595f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T21:06:34.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T21:06:35.210Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T21:06:35.566Z] + ls /var/log/sa-host [2021-05-06T21:06:35.566Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T21:06:35.603Z] file_magic: OK [2021-05-06T21:06:35.603Z] HZ: Using current value: 100 [2021-05-06T21:06:35.603Z] file_header: OK [2021-05-06T21:06:35.603Z] 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-06T21:06:35.603Z] Statistics: [2021-05-06T21:06:35.603Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T21:06:35.603Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T21:06:35.603Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T21:06:35.603Z] file_magic: OK [2021-05-06T21:06:35.603Z] HZ: Using current value: 100 [2021-05-06T21:06:35.603Z] file_header: OK [2021-05-06T21:06:35.603Z] 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-06T21:06:35.603Z] Statistics: [2021-05-06T21:06:35.603Z] Hnuu...uuuununununu... [2021-05-06T21:06:35.603Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T21:06:35.812Z] provisioning config files... [2021-05-06T21:06:35.838Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/config8878946741970444748tmp [Pipeline] { [Pipeline] echo [2021-05-06T21:06:35.896Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T21:06:36.622Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T21:06:36.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T21:06:36.663Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T21:06:37.365Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T21:06:37.384Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T21:06:37.738Z] ---> sudo-logs.sh [2021-05-06T21:06:37.738Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T21:06:38.161Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T21:06:38.598Z] ---> job-cost.sh [2021-05-06T21:06:38.884Z] lf-activate-venv: SKIPPING [2021-05-06T21:06:38.884Z] DEBUG: total: 0.20999999344348907 [2021-05-06T21:06:38.884Z] INFO: Retrieving Stack Cost... [2021-05-06T21:06:39.488Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T21:06:40.524Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T21:06:40.558Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T21:06:40.931Z] ---> logs-deploy.sh [2021-05-06T21:06:40.931Z] lf-activate-venv: SKIPPING [2021-05-06T21:06:40.932Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-225/7 [2021-05-06T21:06:40.932Z] INFO: archiving workspace using pattern(s): [2021-05-06T21:06:44.420Z] Archives upload complete. [2021-05-06T21:06:44.420Z] INFO: archiving logs to Nexus