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 91e0787fc127cba0b0d40e85fb503041cea8ea2e+1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 (1498f4c1c9e03cec08a66995b69dde3b0f75bb95) 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-3286 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 Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit 91e0787fc127cba0b0d40e85fb503041cea8ea2e Merge succeeded, producing 91e0787fc127cba0b0d40e85fb503041cea8ea2e Checking out Revision 91e0787fc127cba0b0d40e85fb503041cea8ea2e (PR-225) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 91e0787fc127cba0b0d40e85fb503041cea8ea2e # 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 91e0787fc127cba0b0d40e85fb503041cea8ea2e # timeout=10 Commit message: "feat: Addressed Jim W. PR Feedback" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T20:28:09.681Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T20:28:09.775Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T20:28:09.803Z] ========================================================= [2021-05-06T20:28:09.803Z] EdgeX Global Pipelines Version Info [2021-05-06T20:28:09.803Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 839b122e053da4190b918b996e3b02994c6063db # timeout=10 [2021-05-06T20:28:12.565Z] ------------------- [2021-05-06T20:28:12.565Z] stable info: [2021-05-06T20:28:12.565Z] ------------------- [2021-05-06T20:28:12.565Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T20:28:12.565Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T20:28:12.565Z] Message: update stable to v1.0.191 [2021-05-06T20:28:13.593Z] ------------------- [2021-05-06T20:28:13.593Z] experimental info: [2021-05-06T20:28:13.593Z] ------------------- [2021-05-06T20:28:13.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T20:28:13.593Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T20:28:13.593Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T20:28:13.817Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-06T20:28:13.839Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-06T20:28:13.861Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T20:28:13.882Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T20:28:13.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T20:28:13.929Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T20:28:13.952Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T20:28:13.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T20:28:13.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T20:28:14.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T20:28:14.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T20:28:14.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-06T20:28:14.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T20:28:14.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T20:28:14.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:28:14.164Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:28:14.188Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:28:14.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T20:28:14.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T20:28:14.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T20:28:14.283Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T20:28:14.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T20:28:14.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T20:28:14.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T20:28:14.377Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-06T20:28:14.400Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T20:28:14.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-225 [Pipeline] echo [2021-05-06T20:28:14.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-225 [Pipeline] echo [2021-05-06T20:28:14.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-225 [Pipeline] echo [2021-05-06T20:28:14.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91e0787fc127cba0b0d40e85fb503041cea8ea2e [Pipeline] echo [2021-05-06T20:28:14.521Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91e0787 [Pipeline] echo [2021-05-06T20:28:14.546Z] [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:28:15.000Z] + git log --format=format:%s -1 91e0787fc127cba0b0d40e85fb503041cea8ea2e [Pipeline] echo [2021-05-06T20:28:15.192Z] GIT_COMMIT: 91e0787fc127cba0b0d40e85fb503041cea8ea2e, Commit Message: feat: Addressed Jim W. PR Feedback [Pipeline] echo [2021-05-06T20:28:15.207Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:28:15.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T20:28:16.502Z] [2021-05-06T20:28:16.502Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:28:16.961Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T20:28:16.961Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T20:28:16.961Z] 31603596830f: Pulling fs layer [2021-05-06T20:28:16.961Z] 54011a49482f: Pulling fs layer [2021-05-06T20:28:16.961Z] a6820b24f6d8: Pulling fs layer [2021-05-06T20:28:16.961Z] f581987b2513: Pulling fs layer [2021-05-06T20:28:16.961Z] f581987b2513: Waiting [2021-05-06T20:28:17.280Z] 54011a49482f: Verifying Checksum [2021-05-06T20:28:17.280Z] 54011a49482f: Download complete [2021-05-06T20:28:17.600Z] 31603596830f: Verifying Checksum [2021-05-06T20:28:17.600Z] 31603596830f: Download complete [2021-05-06T20:28:17.876Z] f581987b2513: Verifying Checksum [2021-05-06T20:28:17.876Z] f581987b2513: Download complete [2021-05-06T20:28:17.876Z] a6820b24f6d8: Verifying Checksum [2021-05-06T20:28:17.876Z] a6820b24f6d8: Download complete [2021-05-06T20:28:18.156Z] 31603596830f: Pull complete [2021-05-06T20:28:18.444Z] 54011a49482f: Pull complete [2021-05-06T20:28:20.566Z] a6820b24f6d8: Pull complete [2021-05-06T20:28:21.650Z] f581987b2513: Pull complete [2021-05-06T20:28:21.650Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T20:28:21.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T20:28:21.650Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T20:28:22.182Z] prd-centos7-docker-4c-2g-3286 does not seem to be running inside a container [2021-05-06T20:28:22.321Z] $ 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:28:24.539Z] $ docker top e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T20:28:24.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T20:28:24.747Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T20:28:25.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T20:28:25.252Z] $ docker exec e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 ssh-agent [2021-05-06T20:28:25.543Z] SSH_AUTH_SOCK=/tmp/ssh-pXvsXZi4b1Ai/agent.13 [2021-05-06T20:28:25.543Z] SSH_AGENT_PID=18 [2021-05-06T20:28:25.615Z] Running ssh-add (command line suppressed) [2021-05-06T20:28:25.949Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_5791825606833695907.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_5791825606833695907.key) [2021-05-06T20:28:26.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T20:28:26.484Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T20:28:26.552Z] $ docker exec --env ******** --env ******** e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 ssh-agent -k [2021-05-06T20:28:26.721Z] unset SSH_AUTH_SOCK; [2021-05-06T20:28:26.721Z] unset SSH_AGENT_PID; [2021-05-06T20:28:26.722Z] echo Agent pid 18 killed; [2021-05-06T20:28:26.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T20:28:26.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T20:28:26.846Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T20:28:27.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T20:28:27.150Z] $ docker exec e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 ssh-agent [2021-05-06T20:28:27.647Z] SSH_AUTH_SOCK=/tmp/ssh-sHom37NnKele/agent.49 [2021-05-06T20:28:27.647Z] SSH_AGENT_PID=55 [2021-05-06T20:28:27.672Z] Running ssh-add (command line suppressed) [2021-05-06T20:28:27.882Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_7231322045770189049.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_7231322045770189049.key) [2021-05-06T20:28:28.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T20:28:28.470Z] + git semver init [2021-05-06T20:28:28.471Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T20:28:28.471Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-225/.git [2021-05-06T20:28:28.471Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [2021-05-06T20:28:28.471Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T20:28:28.471Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T20:28:28.471Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T20:28:28.471Z] # $SEMVER_BRANCH = PR-225 [2021-05-06T20:28:28.471Z] # $SEMVER_TEMP = /tmp/semver-339782535 [2021-05-06T20:28:28.471Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-06T20:28:29.466Z] # '/tmp/semver-339782535' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-225/.semver' [2021-05-06T20:28:29.466Z] # -> Force: false [2021-05-06T20:28:29.466Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-225/.semver [Pipeline] } [2021-05-06T20:28:29.491Z] $ docker exec --env ******** --env ******** e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 ssh-agent -k [2021-05-06T20:28:29.722Z] unset SSH_AUTH_SOCK; [2021-05-06T20:28:29.722Z] unset SSH_AGENT_PID; [2021-05-06T20:28:29.723Z] echo Agent pid 55 killed; [2021-05-06T20:28:29.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T20:28:30.194Z] + git semver [Pipeline] } [2021-05-06T20:28:30.259Z] $ docker stop --time=1 e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 [2021-05-06T20:28:32.222Z] $ docker rm -f e9430b58325639496339121a048f5872d03661985d58a7323d73147b187823a1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T20:28:32.786Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T20:28:33.397Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T20:28:33.400Z] [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:28:48.584Z] Still waiting to schedule task [2021-05-06T20:28:48.585Z] ‘prd-centos7-docker-4c-2g-3288’ is offline; ‘prd-centos7-docker-4c-2g-3289’ is offline [2021-05-06T20:28:48.587Z] Still waiting to schedule task [2021-05-06T20:28:48.587Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3285’ [2021-05-06T20:30:12.828Z] Running on prd-centos7-docker-4c-2g-3291 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [Pipeline] { [Pipeline] ws [2021-05-06T20:30:12.851Z] Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout [2021-05-06T20:30:17.535Z] using credential edgex-jenkins-ssh [2021-05-06T20:30:17.560Z] Cloning the remote Git repository [2021-05-06T20:30:17.589Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:30:17.657Z] > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 [2021-05-06T20:30:17.729Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:30:17.729Z] > git --version # timeout=10 [2021-05-06T20:30:17.735Z] > git --version # 'git version 2.24.3' [2021-05-06T20:30:17.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:30:17.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T20:30:18.400Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T20:30:18.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T20:30:18.960Z] Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit 91e0787fc127cba0b0d40e85fb503041cea8ea2e [2021-05-06T20:30:19.047Z] Merge succeeded, producing 91e0787fc127cba0b0d40e85fb503041cea8ea2e [2021-05-06T20:30:19.047Z] Checking out Revision 91e0787fc127cba0b0d40e85fb503041cea8ea2e (PR-225) [2021-05-06T20:30:18.450Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T20:30:18.494Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:30:18.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:30:18.499Z] > 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:30:18.971Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T20:30:18.977Z] > git checkout -f 91e0787fc127cba0b0d40e85fb503041cea8ea2e # timeout=10 [2021-05-06T20:30:19.017Z] > git remote # timeout=10 [2021-05-06T20:30:19.023Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T20:30:19.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:30:19.032Z] > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 [2021-05-06T20:30:19.042Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T20:30:19.053Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T20:30:19.061Z] > git checkout -f 91e0787fc127cba0b0d40e85fb503041cea8ea2e # timeout=10 [2021-05-06T20:30:22.902Z] Commit message: "feat: Addressed Jim W. PR Feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T20:30:24.067Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T20:30:24.424Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T20:30:24.750Z] + sudo service docker restart [2021-05-06T20:30:24.751Z] + true [2021-05-06T20:30:24.751Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-06T20:30:26.384Z] ========================================================= [2021-05-06T20:30:26.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T20:30:26.384Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:30:26.727Z] + 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-06T20:30:26.993Z] Sending build context to Docker daemon 968.7kB [2021-05-06T20:30:26.993Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-06T20:30:26.993Z] Step 2/8 : FROM ${BASE} [2021-05-06T20:30:27.265Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T20:30:27.265Z] 540db60ca938: Pulling fs layer [2021-05-06T20:30:27.265Z] adcc1eea9eea: Pulling fs layer [2021-05-06T20:30:27.265Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T20:30:27.265Z] 0510c868ecb4: Pulling fs layer [2021-05-06T20:30:27.265Z] afea3b2eda06: Pulling fs layer [2021-05-06T20:30:27.265Z] 7809a108b3ef: Pulling fs layer [2021-05-06T20:30:27.265Z] f706445af74f: Pulling fs layer [2021-05-06T20:30:27.265Z] 0510c868ecb4: Waiting [2021-05-06T20:30:27.265Z] 7809a108b3ef: Waiting [2021-05-06T20:30:27.265Z] f706445af74f: Waiting [2021-05-06T20:30:27.265Z] afea3b2eda06: Waiting [2021-05-06T20:30:27.265Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T20:30:27.265Z] 4c4ab2625f07: Download complete [2021-05-06T20:30:27.265Z] adcc1eea9eea: Verifying Checksum [2021-05-06T20:30:27.265Z] adcc1eea9eea: Download complete [2021-05-06T20:30:27.265Z] afea3b2eda06: Verifying Checksum [2021-05-06T20:30:27.265Z] afea3b2eda06: Download complete [2021-05-06T20:30:27.265Z] 7809a108b3ef: Verifying Checksum [2021-05-06T20:30:27.265Z] 7809a108b3ef: Download complete [2021-05-06T20:30:27.265Z] 540db60ca938: Verifying Checksum [2021-05-06T20:30:27.265Z] 540db60ca938: Download complete [2021-05-06T20:30:27.543Z] 540db60ca938: Pull complete [2021-05-06T20:30:27.814Z] adcc1eea9eea: Pull complete [2021-05-06T20:30:28.084Z] 4c4ab2625f07: Pull complete [2021-05-06T20:30:29.024Z] f706445af74f: Verifying Checksum [2021-05-06T20:30:29.024Z] f706445af74f: Download complete [2021-05-06T20:30:30.460Z] 0510c868ecb4: Verifying Checksum [2021-05-06T20:30:30.460Z] 0510c868ecb4: Download complete [2021-05-06T20:30:38.778Z] 0510c868ecb4: Pull complete [2021-05-06T20:30:38.778Z] afea3b2eda06: Pull complete [2021-05-06T20:30:38.778Z] 7809a108b3ef: Pull complete [2021-05-06T20:30:43.054Z] f706445af74f: Pull complete [2021-05-06T20:30:43.054Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T20:30:43.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T20:30:43.054Z] ---> b068be0155e3 [2021-05-06T20:30:43.054Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T20:30:44.028Z] ---> Running in 9387229dd4e1 [2021-05-06T20:30:44.301Z] Removing intermediate container 9387229dd4e1 [2021-05-06T20:30:44.301Z] ---> dc6bc41a5e24 [2021-05-06T20:30:44.301Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T20:30:44.301Z] ---> Running in 13ea8d804944 [2021-05-06T20:30:46.290Z] Removing intermediate container 13ea8d804944 [2021-05-06T20:30:46.290Z] ---> dc7ef0bc677d [2021-05-06T20:30:46.290Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-06T20:30:46.290Z] ---> Running in 9d62b7142953 [2021-05-06T20:30:46.909Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T20:30:47.883Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T20:30:48.152Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-06T20:30:48.419Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-06T20:30:48.419Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-06T20:30:48.419Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-06T20:30:48.696Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-06T20:30:48.696Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T20:30:48.696Z] OK: 150 MiB in 45 packages [2021-05-06T20:30:49.668Z] Removing intermediate container 9d62b7142953 [2021-05-06T20:30:49.668Z] ---> fe960050d920 [2021-05-06T20:30:49.668Z] Step 6/8 : WORKDIR /build [2021-05-06T20:30:49.957Z] ---> Running in cb56b0ed0c38 [2021-05-06T20:30:50.227Z] Removing intermediate container cb56b0ed0c38 [2021-05-06T20:30:50.227Z] ---> 31d088694a59 [2021-05-06T20:30:50.227Z] Step 7/8 : COPY go.mod . [2021-05-06T20:30:50.495Z] ---> 46b532e93314 [2021-05-06T20:30:50.495Z] Step 8/8 : RUN go mod download [2021-05-06T20:30:50.768Z] ---> Running in be0e5767afb3 [2021-05-06T20:31:17.560Z] Removing intermediate container be0e5767afb3 [2021-05-06T20:31:17.560Z] ---> 1b3b217a7290 [2021-05-06T20:31:17.560Z] Successfully built 1b3b217a7290 [2021-05-06T20:31:17.560Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:31:17.900Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T20:31:17.900Z] . [Pipeline] withDockerContainer [2021-05-06T20:31:18.037Z] prd-centos7-docker-4c-2g-3291 does not seem to be running inside a container [2021-05-06T20:31:18.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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-x86_64 cat [2021-05-06T20:31:18.991Z] $ docker top cd546b70e7438882af5fe38df3b0b47dc82f3470b5c6b84b219442a304c9e167 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T20:31:19.488Z] + go version [2021-05-06T20:31:19.488Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T20:31:19.528Z] $ docker stop --time=1 cd546b70e7438882af5fe38df3b0b47dc82f3470b5c6b84b219442a304c9e167 [2021-05-06T20:31:20.919Z] $ docker rm -f cd546b70e7438882af5fe38df3b0b47dc82f3470b5c6b84b219442a304c9e167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:31:21.443Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T20:31:21.443Z] . [Pipeline] withDockerContainer [2021-05-06T20:31:21.581Z] prd-centos7-docker-4c-2g-3291 does not seem to be running inside a container [2021-05-06T20:31:21.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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-x86_64 cat [2021-05-06T20:31:23.049Z] $ docker top 220531414c9a0562126faad1a915658269a88963a320e7521c9c9e615c57cf8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T20:31:23.558Z] + go mod tidy [Pipeline] sh [2021-05-06T20:31:24.476Z] + make test [2021-05-06T20:31:24.476Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T20:31:51.736Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T20:31:52.790Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.034s coverage: 5.4% of statements [2021-05-06T20:31:52.790Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T20:31:52.790Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.015s coverage: 92.2% of statements [2021-05-06T20:31:52.790Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.040s coverage: 85.3% of statements [2021-05-06T20:31:52.790Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T20:31:52.790Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T20:31:52.790Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T20:31:53.428Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3297 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [Pipeline] { [Pipeline] ws [2021-05-06T20:31:53.450Z] Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout [2021-05-06T20:31:55.436Z] --- FAIL: TestValidateSecrets (0.00s) [2021-05-06T20:31:55.436Z] --- FAIL: TestValidateSecrets/Invalid_AuthMode (0.00s) [2021-05-06T20:31:55.436Z] messaging_test.go:201: [2021-05-06T20:31:55.436Z] Error Trace: messaging_test.go:201 [2021-05-06T20:31:55.436Z] Error: Not equal: [2021-05-06T20:31:55.436Z] expected: "Invalid AuthMode selected" [2021-05-06T20:31:55.436Z] actual : "Invalid AuthMode of 'BadAuthMode' selected" [2021-05-06T20:31:55.436Z] [2021-05-06T20:31:55.436Z] Diff: [2021-05-06T20:31:55.436Z] --- Expected [2021-05-06T20:31:55.436Z] +++ Actual [2021-05-06T20:31:55.436Z] @@ -1 +1 @@ [2021-05-06T20:31:55.436Z] -Invalid AuthMode selected [2021-05-06T20:31:55.436Z] +Invalid AuthMode of 'BadAuthMode' selected [2021-05-06T20:31:55.436Z] Test: TestValidateSecrets/Invalid_AuthMode [2021-05-06T20:31:55.437Z] FAIL [2021-05-06T20:31:55.437Z] coverage: 92.9% of statements [2021-05-06T20:31:55.437Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.029s [2021-05-06T20:31:55.437Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.033s coverage: 26.7% of statements [2021-05-06T20:31:58.086Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.031s coverage: 90.7% of statements [2021-05-06T20:31:58.086Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T20:31:58.086Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T20:31:58.086Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.014s coverage: 91.3% of statements [2021-05-06T20:31:58.086Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T20:31:58.086Z] FAIL [2021-05-06T20:31:58.376Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-05-06T20:31:58.466Z] $ docker stop --time=1 220531414c9a0562126faad1a915658269a88963a320e7521c9c9e615c57cf8e [2021-05-06T20:31:59.370Z] using credential edgex-jenkins-ssh [2021-05-06T20:31:59.405Z] Cloning the remote Git repository [2021-05-06T20:31:59.457Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:31:59.560Z] > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 [2021-05-06T20:31:59.687Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:31:59.688Z] > git --version # timeout=10 [2021-05-06T20:31:59.703Z] > git --version # 'git version 2.17.1' [2021-05-06T20:31:59.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:31:59.751Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T20:32:00.929Z] $ docker rm -f 220531414c9a0562126faad1a915658269a88963a320e7521c9c9e615c57cf8e [2021-05-06T20:32:00.576Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T20:32:00.594Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T20:32:00.617Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T20:32:00.651Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T20:32:00.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:32:00.661Z] > 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-06T20:32:01.549Z] Merging remotes/origin/master commit 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 into PR head commit 91e0787fc127cba0b0d40e85fb503041cea8ea2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [2021-05-06T20:32:01.794Z] Merge succeeded, producing 91e0787fc127cba0b0d40e85fb503041cea8ea2e [2021-05-06T20:32:01.794Z] Checking out Revision 91e0787fc127cba0b0d40e85fb503041cea8ea2e (PR-225) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:32:02.382Z] ---> job-cost.sh [2021-05-06T20:32:02.382Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-88ww [2021-05-06T20:32:01.559Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T20:32:01.585Z] > git checkout -f 91e0787fc127cba0b0d40e85fb503041cea8ea2e # timeout=10 [2021-05-06T20:32:01.690Z] > git remote # timeout=10 [2021-05-06T20:32:01.704Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T20:32:01.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T20:32:01.737Z] > git merge 1c1a0463e3af4e5b5449273aed4a1ca7f76669e5 # timeout=10 [2021-05-06T20:32:01.773Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T20:32:01.802Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T20:32:01.825Z] > git checkout -f 91e0787fc127cba0b0d40e85fb503041cea8ea2e # timeout=10 [2021-05-06T20:32:06.066Z] Commit message: "feat: Addressed Jim W. PR Feedback" [2021-05-06T20:32:06.391Z] [2021-05-06T20:32:06.391Z] GitHub has been notified of this commit’s build result [2021-05-06T20:32:06.391Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T20:32:08.082Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T20:32:08.497Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T20:32:08.841Z] + sudo service docker restart [2021-05-06T20:32:08.841Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-06T20:32:11.781Z] ========================================================= [2021-05-06T20:32:11.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T20:32:11.781Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:32:12.136Z] + 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-06T20:32:13.135Z] Sending build context to Docker daemon 967.7kB [2021-05-06T20:32:13.135Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-06T20:32:13.135Z] Step 2/8 : FROM ${BASE} [2021-05-06T20:32:13.422Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T20:32:13.422Z] 595b0fe564bb: Pulling fs layer [2021-05-06T20:32:13.422Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T20:32:13.422Z] 316046926c0a: Pulling fs layer [2021-05-06T20:32:13.422Z] 4ebd0625c992: Pulling fs layer [2021-05-06T20:32:13.422Z] 207e8628e3a3: Pulling fs layer [2021-05-06T20:32:13.422Z] c791037a9be2: Pulling fs layer [2021-05-06T20:32:13.422Z] ffd874e62e21: Pulling fs layer [2021-05-06T20:32:13.422Z] 4ebd0625c992: Waiting [2021-05-06T20:32:13.422Z] 207e8628e3a3: Waiting [2021-05-06T20:32:13.422Z] c791037a9be2: Waiting [2021-05-06T20:32:13.422Z] ffd874e62e21: Waiting [2021-05-06T20:32:13.422Z] 316046926c0a: Verifying Checksum [2021-05-06T20:32:13.422Z] 316046926c0a: Download complete [2021-05-06T20:32:13.422Z] 7186ed65a4f7: Download complete [2021-05-06T20:32:13.422Z] 207e8628e3a3: Verifying Checksum [2021-05-06T20:32:13.422Z] 207e8628e3a3: Download complete [2021-05-06T20:32:13.710Z] c791037a9be2: Verifying Checksum [2021-05-06T20:32:13.710Z] c791037a9be2: Download complete [2021-05-06T20:32:13.710Z] 595b0fe564bb: Verifying Checksum [2021-05-06T20:32:13.710Z] 595b0fe564bb: Download complete [2021-05-06T20:32:14.324Z] 595b0fe564bb: Pull complete [2021-05-06T20:32:14.941Z] 7186ed65a4f7: Pull complete [2021-05-06T20:32:15.224Z] 316046926c0a: Pull complete [2021-05-06T20:32:15.821Z] ffd874e62e21: Verifying Checksum [2021-05-06T20:32:15.821Z] ffd874e62e21: Download complete [2021-05-06T20:32:18.454Z] 4ebd0625c992: Verifying Checksum [2021-05-06T20:32:18.454Z] 4ebd0625c992: Download complete [2021-05-06T20:32:28.655Z] 4ebd0625c992: Pull complete [2021-05-06T20:32:28.935Z] 207e8628e3a3: Pull complete [2021-05-06T20:32:29.516Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T20:32:29.536Z] c791037a9be2: Pull complete [2021-05-06T20:32:32.982Z] ffd874e62e21: Pull complete [2021-05-06T20:32:32.982Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T20:32:33.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T20:32:33.257Z] ---> cfc18b08335c [2021-05-06T20:32:33.257Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T20:32:35.906Z] ---> Running in 5f932238de82 [2021-05-06T20:32:36.506Z] Removing intermediate container 5f932238de82 [2021-05-06T20:32:36.506Z] ---> 0f21337cf565 [2021-05-06T20:32:36.506Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T20:32:36.506Z] ---> Running in 75bcd47c9aea [2021-05-06T20:32:39.182Z] Removing intermediate container 75bcd47c9aea [2021-05-06T20:32:39.182Z] ---> 13581f9aae17 [2021-05-06T20:32:39.182Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-06T20:32:39.182Z] ---> Running in 31de411c1095 [2021-05-06T20:32:40.165Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T20:32:41.141Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T20:32:42.135Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-06T20:32:42.407Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-06T20:32:42.679Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-06T20:32:42.679Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-06T20:32:42.954Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-06T20:32:42.954Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T20:32:42.954Z] OK: 139 MiB in 45 packages [2021-05-06T20:32:44.398Z] Removing intermediate container 31de411c1095 [2021-05-06T20:32:44.398Z] ---> b31b67679333 [2021-05-06T20:32:44.398Z] Step 6/8 : WORKDIR /build [2021-05-06T20:32:44.398Z] ---> Running in c9d52dd6bc80 [2021-05-06T20:32:44.994Z] Removing intermediate container c9d52dd6bc80 [2021-05-06T20:32:44.994Z] ---> 4608d28bdfeb [2021-05-06T20:32:44.994Z] Step 7/8 : COPY go.mod . [2021-05-06T20:32:45.602Z] ---> f480579ff1a2 [2021-05-06T20:32:45.602Z] Step 8/8 : RUN go mod download [2021-05-06T20:32:45.888Z] ---> Running in 19e21dc7a31e [2021-05-06T20:33:01.905Z] lf-activate-venv(): INFO: Adding /tmp/venv-88ww/bin to PATH [2021-05-06T20:33:01.905Z] INFO: No Stack... [2021-05-06T20:33:01.905Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T20:33:03.312Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T20:33:03.645Z] + cut -d, -f6 [2021-05-06T20:33:03.645Z] + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv [Pipeline] lock [2021-05-06T20:33:03.788Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] [2021-05-06T20:33:03.802Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] did not exist. Created. [2021-05-06T20:33:03.802Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T20:33:04.154Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T20:33:04.904Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T20:33:04.919Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T20:33:05.075Z] Failed in branch amd64 [2021-05-06T20:33:12.690Z] Removing intermediate container 19e21dc7a31e [2021-05-06T20:33:12.690Z] ---> 835ae276574b [2021-05-06T20:33:12.690Z] Successfully built 835ae276574b [2021-05-06T20:33:12.690Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:33:13.038Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T20:33:13.038Z] . [Pipeline] withDockerContainer [2021-05-06T20:33:13.306Z] prd-ubuntu18.04-docker-arm64-4c-16g-3297 does not seem to be running inside a container [2021-05-06T20:33:13.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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-06T20:33:14.968Z] $ docker top ba1ceb39963803b820e1d5587213fa81fde084be4a2d0e871721233d1aef3576 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T20:33:15.937Z] + go version [2021-05-06T20:33:15.937Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T20:33:15.965Z] $ docker stop --time=1 ba1ceb39963803b820e1d5587213fa81fde084be4a2d0e871721233d1aef3576 [2021-05-06T20:33:17.927Z] $ docker rm -f ba1ceb39963803b820e1d5587213fa81fde084be4a2d0e871721233d1aef3576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:33:18.646Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T20:33:18.646Z] . [Pipeline] withDockerContainer [2021-05-06T20:33:18.902Z] prd-ubuntu18.04-docker-arm64-4c-16g-3297 does not seem to be running inside a container [2021-05-06T20:33:18.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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-06T20:33:20.493Z] $ docker top c99ecead648087a37edc1281290b50176d05c7503c849694936cdaa7f9eae985 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T20:33:21.468Z] + go mod tidy [Pipeline] sh [2021-05-06T20:33:22.731Z] + make test [2021-05-06T20:33:22.731Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T20:34:09.785Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T20:34:09.785Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.058s coverage: 5.4% of statements [2021-05-06T20:34:09.785Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T20:34:09.785Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.085s coverage: 92.2% of statements [2021-05-06T20:34:09.785Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.036s coverage: 85.3% of statements [2021-05-06T20:34:09.785Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T20:34:09.785Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T20:34:10.060Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T20:34:15.496Z] --- FAIL: TestValidateSecrets (0.00s) [2021-05-06T20:34:15.496Z] --- FAIL: TestValidateSecrets/Invalid_AuthMode (0.00s) [2021-05-06T20:34:15.496Z] messaging_test.go:201: [2021-05-06T20:34:15.496Z] Error Trace: messaging_test.go:201 [2021-05-06T20:34:15.496Z] Error: Not equal: [2021-05-06T20:34:15.496Z] expected: "Invalid AuthMode selected" [2021-05-06T20:34:15.496Z] actual : "Invalid AuthMode of 'BadAuthMode' selected" [2021-05-06T20:34:15.496Z] [2021-05-06T20:34:15.496Z] Diff: [2021-05-06T20:34:15.496Z] --- Expected [2021-05-06T20:34:15.496Z] +++ Actual [2021-05-06T20:34:15.496Z] @@ -1 +1 @@ [2021-05-06T20:34:15.496Z] -Invalid AuthMode selected [2021-05-06T20:34:15.496Z] +Invalid AuthMode of 'BadAuthMode' selected [2021-05-06T20:34:15.496Z] Test: TestValidateSecrets/Invalid_AuthMode [2021-05-06T20:34:15.496Z] FAIL [2021-05-06T20:34:15.496Z] coverage: 92.9% of statements [2021-05-06T20:34:15.496Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.056s [2021-05-06T20:34:15.496Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.054s coverage: 26.7% of statements [2021-05-06T20:34:18.124Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.055s coverage: 90.7% of statements [2021-05-06T20:34:18.124Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T20:34:18.124Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T20:34:18.124Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.034s coverage: 91.3% of statements [2021-05-06T20:34:18.124Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T20:34:18.124Z] FAIL [2021-05-06T20:34:18.402Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-05-06T20:34:18.431Z] $ docker stop --time=1 c99ecead648087a37edc1281290b50176d05c7503c849694936cdaa7f9eae985 [2021-05-06T20:34:20.695Z] $ docker rm -f c99ecead648087a37edc1281290b50176d05c7503c849694936cdaa7f9eae985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:34:21.662Z] ---> job-cost.sh [2021-05-06T20:34:21.662Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aoBP [2021-05-06T20:35:00.633Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T20:36:22.478Z] lf-activate-venv(): INFO: Adding /tmp/venv-aoBP/bin to PATH [2021-05-06T20:36:22.478Z] INFO: No Stack... [2021-05-06T20:36:22.478Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T20:36:22.478Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T20:36:22.817Z] + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv [2021-05-06T20:36:22.817Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T20:36:23.158Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] [2021-05-06T20:36:23.172Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] did not exist. Created. [2021-05-06T20:36:23.172Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T20:36:23.578Z] /w/workspace/go-mod-bootstrap/6@tmp/durable-ab744dfd/script.sh: 1: /w/workspace/go-mod-bootstrap/6@tmp/durable-ab744dfd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T20:36:23.987Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T20:36:24.142Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T20:36:25.161Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T20:36:25.179Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T20:36:25.348Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-06T20:36:26.438Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:36:27.899Z] ---> package-listing.sh [2021-05-06T20:36:27.899Z] ++ facter osfamily [2021-05-06T20:36:27.899Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T20:36:27.899Z] + OS_FAMILY=redhat [2021-05-06T20:36:27.899Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-225 [2021-05-06T20:36:27.899Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T20:36:27.899Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T20:36:27.899Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T20:36:27.899Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T20:36:27.899Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-225 ']' [2021-05-06T20:36:27.899Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T20:36:27.899Z] + case "${OS_FAMILY}" in [2021-05-06T20:36:27.899Z] + sort [2021-05-06T20:36:27.899Z] + rpm -qa [2021-05-06T20:36:36.582Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T20:36:36.582Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T20:36:36.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T20:36:36.582Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-225 ']' [2021-05-06T20:36:36.582Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-225/archives/ [2021-05-06T20:36:36.582Z] + 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-06T20:36:36.624Z] 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-06T20:36:37.019Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:36:38.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T20:36:38.719Z] [2021-05-06T20:36:38.719Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T20:36:39.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T20:36:39.595Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T20:36:39.595Z] df20fa9351a1: Pulling fs layer [2021-05-06T20:36:39.595Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T20:36:39.595Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T20:36:39.595Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T20:36:39.595Z] 93b61091891f: Pulling fs layer [2021-05-06T20:36:39.595Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T20:36:39.595Z] 5e14af77c1be: Pulling fs layer [2021-05-06T20:36:39.595Z] 01666e4c0597: Pulling fs layer [2021-05-06T20:36:39.595Z] aa168da1d23b: Pulling fs layer [2021-05-06T20:36:39.595Z] 93b61091891f: Waiting [2021-05-06T20:36:39.595Z] 93b9cdb0e59b: Waiting [2021-05-06T20:36:39.595Z] 5e14af77c1be: Waiting [2021-05-06T20:36:39.595Z] 01666e4c0597: Waiting [2021-05-06T20:36:39.595Z] aa168da1d23b: Waiting [2021-05-06T20:36:39.595Z] 46f8f816bc3b: Waiting [2021-05-06T20:36:39.595Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T20:36:39.595Z] 36b3adc4ff6f: Download complete [2021-05-06T20:36:39.595Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T20:36:39.595Z] 46f8f816bc3b: Download complete [2021-05-06T20:36:39.950Z] df20fa9351a1: Verifying Checksum [2021-05-06T20:36:39.951Z] df20fa9351a1: Download complete [2021-05-06T20:36:39.951Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T20:36:39.951Z] 93b9cdb0e59b: Download complete [2021-05-06T20:36:40.248Z] 5e14af77c1be: Verifying Checksum [2021-05-06T20:36:40.248Z] 5e14af77c1be: Download complete [2021-05-06T20:36:40.248Z] 93b61091891f: Verifying Checksum [2021-05-06T20:36:40.248Z] 93b61091891f: Download complete [2021-05-06T20:36:40.248Z] 01666e4c0597: Verifying Checksum [2021-05-06T20:36:40.248Z] 01666e4c0597: Download complete [2021-05-06T20:36:41.507Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T20:36:41.507Z] 8ad3a11d3b57: Download complete [2021-05-06T20:36:41.838Z] df20fa9351a1: Pull complete [2021-05-06T20:36:42.986Z] 36b3adc4ff6f: Pull complete [2021-05-06T20:36:45.854Z] 8ad3a11d3b57: Pull complete [2021-05-06T20:36:45.854Z] 46f8f816bc3b: Pull complete [2021-05-06T20:36:47.621Z] 93b61091891f: Pull complete [2021-05-06T20:36:48.017Z] 93b9cdb0e59b: Pull complete [2021-05-06T20:36:48.321Z] 5e14af77c1be: Pull complete [2021-05-06T20:36:48.621Z] 01666e4c0597: Pull complete [2021-05-06T20:36:50.142Z] aa168da1d23b: Verifying Checksum [2021-05-06T20:36:50.142Z] aa168da1d23b: Download complete [2021-05-06T20:37:12.843Z] aa168da1d23b: Pull complete [2021-05-06T20:37:12.843Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T20:37:12.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T20:37:12.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T20:37:13.727Z] prd-centos7-docker-4c-2g-3286 does not seem to be running inside a container [2021-05-06T20:37:13.941Z] $ 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-06T20:37:16.874Z] $ docker top 0d280d02bc182e45d06f8a936287b189233cdeddd5796d0faecdce50c02dd56b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T20:37:18.198Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T20:37:18.957Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T20:37:19.326Z] + ls /var/log/sa-host [2021-05-06T20:37:19.326Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T20:37:19.326Z] file_magic: OK [2021-05-06T20:37:19.326Z] HZ: Using current value: 100 [2021-05-06T20:37:19.326Z] file_header: OK [2021-05-06T20:37:19.326Z] 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-06T20:37:19.326Z] Statistics: [2021-05-06T20:37:19.326Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T20:37:19.326Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T20:37:19.326Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T20:37:19.326Z] file_magic: OK [2021-05-06T20:37:19.326Z] HZ: Using current value: 100 [2021-05-06T20:37:19.326Z] file_header: OK [2021-05-06T20:37:19.326Z] 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-06T20:37:19.326Z] Statistics: [2021-05-06T20:37:19.326Z] Hnuu...uuuununununu... [2021-05-06T20:37:19.326Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T20:37:19.522Z] provisioning config files... [2021-05-06T20:37:19.560Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/config1448189807031896028tmp [Pipeline] { [Pipeline] echo [2021-05-06T20:37:19.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:37:20.417Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T20:37:20.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T20:37:20.766Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:37:21.489Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T20:37:21.535Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:37:22.255Z] ---> sudo-logs.sh [2021-05-06T20:37:22.255Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T20:37:22.632Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:37:23.358Z] ---> job-cost.sh [2021-05-06T20:37:23.358Z] lf-activate-venv: SKIPPING [2021-05-06T20:37:23.358Z] DEBUG: total: 0.20999999344348907 [2021-05-06T20:37:23.358Z] INFO: Retrieving Stack Cost... [2021-05-06T20:37:24.814Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T20:37:25.443Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T20:37:25.467Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T20:37:26.231Z] ---> logs-deploy.sh [2021-05-06T20:37:26.231Z] lf-activate-venv: SKIPPING [2021-05-06T20:37:26.231Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-225/6 [2021-05-06T20:37:26.231Z] INFO: archiving workspace using pattern(s): [2021-05-06T20:37:28.872Z] Archives upload complete. [2021-05-06T20:37:28.872Z] INFO: archiving logs to Nexus [2021-05-06T20:37:31.596Z] ---> uname -a: [2021-05-06T20:37:31.596Z] Linux prd-centos7-docker-4c-2g-3286.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-06T20:37:31.596Z] [2021-05-06T20:37:31.596Z] [2021-05-06T20:37:31.596Z] ---> lscpu: [2021-05-06T20:37:31.596Z] Architecture: x86_64 [2021-05-06T20:37:31.596Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-06T20:37:31.596Z] Byte Order: Little Endian [2021-05-06T20:37:31.596Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-06T20:37:31.596Z] CPU(s): 4 [2021-05-06T20:37:31.596Z] On-line CPU(s) list: 0-3 [2021-05-06T20:37:31.596Z] Thread(s) per core: 1 [2021-05-06T20:37:31.596Z] Core(s) per socket: 1 [2021-05-06T20:37:31.596Z] Socket(s): 4 [2021-05-06T20:37:31.596Z] NUMA node(s): 1 [2021-05-06T20:37:31.596Z] Vendor ID: GenuineIntel [2021-05-06T20:37:31.596Z] CPU family: 6 [2021-05-06T20:37:31.596Z] Model: 44 [2021-05-06T20:37:31.596Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-06T20:37:31.596Z] Stepping: 1 [2021-05-06T20:37:31.596Z] CPU MHz: 2933.438 [2021-05-06T20:37:31.596Z] BogoMIPS: 5866.87 [2021-05-06T20:37:31.596Z] Virtualization: VT-x [2021-05-06T20:37:31.596Z] Hypervisor vendor: KVM [2021-05-06T20:37:31.596Z] Virtualization type: full [2021-05-06T20:37:31.596Z] L1d cache: 128 KiB [2021-05-06T20:37:31.596Z] L1i cache: 128 KiB [2021-05-06T20:37:31.596Z] L2 cache: 16 MiB [2021-05-06T20:37:31.596Z] L3 cache: 64 MiB [2021-05-06T20:37:31.596Z] NUMA node0 CPU(s): 0-3 [2021-05-06T20:37:31.596Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-06T20:37:31.596Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-06T20:37:31.596Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-06T20:37:31.596Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-06T20:37:31.596Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-06T20:37:31.596Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-06T20:37:31.596Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-06T20:37:31.596Z] Vulnerability Srbds: Not affected [2021-05-06T20:37:31.596Z] Vulnerability Tsx async abort: Not affected [2021-05-06T20:37:31.596Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-06T20:37:31.596Z] [2021-05-06T20:37:31.596Z]