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 839b122e053da4190b918b996e3b02994c6063db+66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 (0d435a9ae2e185a280150e4c0b3fe39c896f8ecb) 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-3252 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 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 into PR head commit 839b122e053da4190b918b996e3b02994c6063db Merge succeeded, producing 839b122e053da4190b918b996e3b02994c6063db Checking out Revision 839b122e053da4190b918b996e3b02994c6063db (PR-225) > git config core.sparsecheckout # timeout=10 > git checkout -f 839b122e053da4190b918b996e3b02994c6063db # 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 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 839b122e053da4190b918b996e3b02994c6063db # 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-06T18:45:15.789Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T18:45:15.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T18:45:15.922Z] ========================================================= [2021-05-06T18:45:15.922Z] EdgeX Global Pipelines Version Info [2021-05-06T18:45:15.922Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2345ebcfb3cedcb60a3bb7e633467e92c70e1f8a # timeout=10 [2021-05-06T18:45:17.456Z] ------------------- [2021-05-06T18:45:17.456Z] stable info: [2021-05-06T18:45:17.456Z] ------------------- [2021-05-06T18:45:17.456Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T18:45:17.456Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T18:45:17.456Z] Message: update stable to v1.0.191 [2021-05-06T18:45:18.409Z] ------------------- [2021-05-06T18:45:18.410Z] experimental info: [2021-05-06T18:45:18.410Z] ------------------- [2021-05-06T18:45:18.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T18:45:18.410Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T18:45:18.410Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T18:45:18.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-06T18:45:18.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-06T18:45:18.617Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T18:45:18.641Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T18:45:18.666Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T18:45:18.689Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T18:45:18.713Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T18:45:18.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T18:45:18.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T18:45:18.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T18:45:18.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T18:45:18.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-06T18:45:18.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T18:45:18.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T18:45:18.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:45:18.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:45:18.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:45:18.978Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:45:19.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T18:45:19.030Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T18:45:19.058Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T18:45:19.084Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T18:45:19.110Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T18:45:19.136Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T18:45:19.233Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-06T18:45:19.258Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T18:45:19.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-225 [Pipeline] echo [2021-05-06T18:45:19.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-225 [Pipeline] echo [2021-05-06T18:45:19.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-225 [Pipeline] echo [2021-05-06T18:45:19.363Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 839b122e053da4190b918b996e3b02994c6063db [Pipeline] echo [2021-05-06T18:45:19.389Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 839b122 [Pipeline] echo [2021-05-06T18:45:19.416Z] [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-06T18:45:19.849Z] + git log --format=format:%s -1 839b122e053da4190b918b996e3b02994c6063db [Pipeline] echo [2021-05-06T18:45:19.947Z] GIT_COMMIT: 839b122e053da4190b918b996e3b02994c6063db, Commit Message: feat: Addressed Jim W. PR Feedback [Pipeline] echo [2021-05-06T18:45:19.960Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:45:21.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T18:45:21.427Z] [2021-05-06T18:45:21.427Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:45:21.745Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T18:45:21.745Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T18:45:21.745Z] 31603596830f: Pulling fs layer [2021-05-06T18:45:21.745Z] 54011a49482f: Pulling fs layer [2021-05-06T18:45:21.745Z] a6820b24f6d8: Pulling fs layer [2021-05-06T18:45:21.745Z] f581987b2513: Pulling fs layer [2021-05-06T18:45:21.745Z] f581987b2513: Waiting [2021-05-06T18:45:21.745Z] 54011a49482f: Verifying Checksum [2021-05-06T18:45:21.745Z] 54011a49482f: Download complete [2021-05-06T18:45:22.006Z] 31603596830f: Verifying Checksum [2021-05-06T18:45:22.006Z] 31603596830f: Download complete [2021-05-06T18:45:22.006Z] a6820b24f6d8: Verifying Checksum [2021-05-06T18:45:22.006Z] a6820b24f6d8: Download complete [2021-05-06T18:45:22.270Z] f581987b2513: Verifying Checksum [2021-05-06T18:45:22.270Z] f581987b2513: Download complete [2021-05-06T18:45:22.270Z] 31603596830f: Pull complete [2021-05-06T18:45:22.533Z] 54011a49482f: Pull complete [2021-05-06T18:45:23.483Z] a6820b24f6d8: Pull complete [2021-05-06T18:45:23.483Z] f581987b2513: Pull complete [2021-05-06T18:45:23.483Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T18:45:23.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T18:45:23.746Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T18:45:23.851Z] prd-centos7-docker-4c-2g-3252 does not seem to be running inside a container [2021-05-06T18:45:23.900Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T18:45:26.235Z] $ docker top d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T18:45:26.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T18:45:26.519Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T18:45:26.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T18:45:26.781Z] $ docker exec d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 ssh-agent [2021-05-06T18:45:26.968Z] SSH_AUTH_SOCK=/tmp/ssh-kCbmdj57xZLH/agent.11 [2021-05-06T18:45:26.968Z] SSH_AGENT_PID=16 [2021-05-06T18:45:26.984Z] Running ssh-add (command line suppressed) [2021-05-06T18:45:27.108Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_1125289790922869702.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_1125289790922869702.key) [2021-05-06T18:45:27.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T18:45:27.485Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T18:45:27.506Z] $ docker exec --env ******** --env ******** d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 ssh-agent -k [2021-05-06T18:45:27.635Z] unset SSH_AUTH_SOCK; [2021-05-06T18:45:27.635Z] unset SSH_AGENT_PID; [2021-05-06T18:45:27.635Z] echo Agent pid 16 killed; [2021-05-06T18:45:27.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T18:45:27.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T18:45:27.774Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T18:45:27.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T18:45:27.962Z] $ docker exec d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 ssh-agent [2021-05-06T18:45:28.165Z] SSH_AUTH_SOCK=/tmp/ssh-Eml8mpG3r1xW/agent.45 [2021-05-06T18:45:28.165Z] SSH_AGENT_PID=50 [2021-05-06T18:45:28.173Z] Running ssh-add (command line suppressed) [2021-05-06T18:45:28.311Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_8324725819111273946.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/private_key_8324725819111273946.key) [2021-05-06T18:45:28.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T18:45:28.686Z] + git semver init [2021-05-06T18:45:28.686Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T18:45:28.686Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-225/.git [2021-05-06T18:45:28.686Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [2021-05-06T18:45:28.686Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T18:45:28.686Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T18:45:28.686Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T18:45:28.686Z] # $SEMVER_BRANCH = PR-225 [2021-05-06T18:45:28.686Z] # $SEMVER_TEMP = /tmp/semver-267719530 [2021-05-06T18:45:28.686Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-06T18:45:29.263Z] # '/tmp/semver-267719530' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-225/.semver' [2021-05-06T18:45:29.263Z] # -> Force: false [2021-05-06T18:45:29.263Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-225/.semver [Pipeline] } [2021-05-06T18:45:29.275Z] $ docker exec --env ******** --env ******** d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 ssh-agent -k [2021-05-06T18:45:29.404Z] unset SSH_AUTH_SOCK; [2021-05-06T18:45:29.404Z] unset SSH_AGENT_PID; [2021-05-06T18:45:29.404Z] echo Agent pid 50 killed; [2021-05-06T18:45:29.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T18:45:29.799Z] + git semver [Pipeline] } [2021-05-06T18:45:29.817Z] $ docker stop --time=1 d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 [2021-05-06T18:45:31.962Z] $ docker rm -f d715969adee274da3c794bbe63fade2b979b917aaaaf5e5bc1b5154b7c64d9f8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T18:45:32.388Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T18:45:32.773Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T18:45:32.778Z] [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-06T18:45:47.998Z] Still waiting to schedule task [2021-05-06T18:45:47.999Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-06T18:45:48.001Z] Still waiting to schedule task [2021-05-06T18:45:48.001Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-06T18:47:50.699Z] Running on prd-centos7-docker-4c-2g-3253 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [Pipeline] { [Pipeline] ws [2021-05-06T18:47:50.719Z] Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout [2021-05-06T18:47:54.682Z] using credential edgex-jenkins-ssh [2021-05-06T18:47:54.706Z] Cloning the remote Git repository [2021-05-06T18:47:54.736Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:47:54.812Z] > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 [2021-05-06T18:47:54.882Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:47:54.883Z] > git --version # timeout=10 [2021-05-06T18:47:54.889Z] > git --version # 'git version 2.24.3' [2021-05-06T18:47:54.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:47:54.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T18:47:55.573Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T18:47:55.606Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T18:47:55.653Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T18:47:55.669Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:47:55.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:47:55.677Z] > 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-06T18:47:56.222Z] Merging remotes/origin/master commit 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 into PR head commit 839b122e053da4190b918b996e3b02994c6063db [2021-05-06T18:47:56.436Z] Merge succeeded, producing 839b122e053da4190b918b996e3b02994c6063db [2021-05-06T18:47:56.436Z] Checking out Revision 839b122e053da4190b918b996e3b02994c6063db (PR-225) [2021-05-06T18:47:56.233Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T18:47:56.244Z] > git checkout -f 839b122e053da4190b918b996e3b02994c6063db # timeout=10 [2021-05-06T18:47:56.336Z] > git remote # timeout=10 [2021-05-06T18:47:56.372Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T18:47:56.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:47:56.388Z] > git merge 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 # timeout=10 [2021-05-06T18:47:56.412Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T18:47:56.441Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T18:47:56.470Z] > git checkout -f 839b122e053da4190b918b996e3b02994c6063db # timeout=10 [2021-05-06T18:48:00.381Z] 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-06T18:48:01.767Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T18:48:02.126Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T18:48:02.435Z] + sudo service docker restart [2021-05-06T18:48:02.435Z] + true [2021-05-06T18:48:02.435Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-06T18:48:03.578Z] ========================================================= [2021-05-06T18:48:03.578Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T18:48:03.578Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:48:03.919Z] + 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-06T18:48:04.504Z] Sending build context to Docker daemon 966.1kB [2021-05-06T18:48:04.504Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-05-06T18:48:04.504Z] Step 2/8 : FROM ${BASE} [2021-05-06T18:48:04.504Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T18:48:04.504Z] 540db60ca938: Pulling fs layer [2021-05-06T18:48:04.504Z] adcc1eea9eea: Pulling fs layer [2021-05-06T18:48:04.504Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T18:48:04.504Z] 0510c868ecb4: Pulling fs layer [2021-05-06T18:48:04.504Z] afea3b2eda06: Pulling fs layer [2021-05-06T18:48:04.504Z] 7809a108b3ef: Pulling fs layer [2021-05-06T18:48:04.504Z] f706445af74f: Pulling fs layer [2021-05-06T18:48:04.504Z] 0510c868ecb4: Waiting [2021-05-06T18:48:04.504Z] afea3b2eda06: Waiting [2021-05-06T18:48:04.504Z] 7809a108b3ef: Waiting [2021-05-06T18:48:04.504Z] f706445af74f: Waiting [2021-05-06T18:48:04.504Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T18:48:04.504Z] 4c4ab2625f07: Download complete [2021-05-06T18:48:04.778Z] adcc1eea9eea: Download complete [2021-05-06T18:48:04.778Z] afea3b2eda06: Verifying Checksum [2021-05-06T18:48:04.778Z] afea3b2eda06: Download complete [2021-05-06T18:48:04.778Z] 7809a108b3ef: Download complete [2021-05-06T18:48:04.778Z] 540db60ca938: Verifying Checksum [2021-05-06T18:48:04.778Z] 540db60ca938: Download complete [2021-05-06T18:48:05.364Z] 540db60ca938: Pull complete [2021-05-06T18:48:05.632Z] adcc1eea9eea: Pull complete [2021-05-06T18:48:05.632Z] 4c4ab2625f07: Pull complete [2021-05-06T18:48:06.590Z] f706445af74f: Verifying Checksum [2021-05-06T18:48:06.590Z] f706445af74f: Download complete [2021-05-06T18:48:07.546Z] 0510c868ecb4: Verifying Checksum [2021-05-06T18:48:07.546Z] 0510c868ecb4: Download complete [2021-05-06T18:48:14.205Z] 0510c868ecb4: Pull complete [2021-05-06T18:48:14.205Z] afea3b2eda06: Pull complete [2021-05-06T18:48:14.205Z] 7809a108b3ef: Pull complete [2021-05-06T18:48:19.554Z] f706445af74f: Pull complete [2021-05-06T18:48:19.554Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T18:48:19.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T18:48:19.554Z] ---> b068be0155e3 [2021-05-06T18:48:19.554Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T18:48:19.554Z] ---> Running in bf49fc1b535a [2021-05-06T18:48:19.554Z] Removing intermediate container bf49fc1b535a [2021-05-06T18:48:19.554Z] ---> 3e03497fddb5 [2021-05-06T18:48:19.554Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T18:48:19.554Z] ---> Running in 4f0581bf77c5 [2021-05-06T18:48:21.006Z] Removing intermediate container 4f0581bf77c5 [2021-05-06T18:48:21.006Z] ---> 3d7327297963 [2021-05-06T18:48:21.006Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-06T18:48:21.006Z] ---> Running in 38e4cb037bab [2021-05-06T18:48:22.009Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T18:48:22.979Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T18:48:23.242Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-06T18:48:23.506Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-06T18:48:23.506Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-06T18:48:23.506Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-06T18:48:23.772Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-06T18:48:23.772Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T18:48:23.772Z] OK: 150 MiB in 45 packages [2021-05-06T18:48:24.728Z] Removing intermediate container 38e4cb037bab [2021-05-06T18:48:24.728Z] ---> dd753c7e2f3a [2021-05-06T18:48:24.728Z] Step 6/8 : WORKDIR /build [2021-05-06T18:48:24.728Z] ---> Running in 3d1eec4f9335 [2021-05-06T18:48:24.728Z] Removing intermediate container 3d1eec4f9335 [2021-05-06T18:48:24.728Z] ---> b012f6ea44eb [2021-05-06T18:48:24.728Z] Step 7/8 : COPY go.mod . [2021-05-06T18:48:24.994Z] ---> d666494952ed [2021-05-06T18:48:24.994Z] Step 8/8 : RUN go mod download [2021-05-06T18:48:24.994Z] ---> Running in 78e1018ae4e4 [2021-05-06T18:48:47.078Z] Removing intermediate container 78e1018ae4e4 [2021-05-06T18:48:47.078Z] ---> eb43ed6e6ba6 [2021-05-06T18:48:47.078Z] Successfully built eb43ed6e6ba6 [2021-05-06T18:48:47.078Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:48:47.424Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T18:48:47.424Z] . [Pipeline] withDockerContainer [2021-05-06T18:48:47.549Z] prd-centos7-docker-4c-2g-3253 does not seem to be running inside a container [2021-05-06T18:48:47.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T18:48:48.578Z] $ docker top 48a2c325c6b916b205d1f57cbe3d8046ce7ab960ab7083c2e00c1cdf2e12afed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T18:48:49.004Z] + go version [2021-05-06T18:48:49.005Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T18:48:49.021Z] $ docker stop --time=1 48a2c325c6b916b205d1f57cbe3d8046ce7ab960ab7083c2e00c1cdf2e12afed [2021-05-06T18:48:50.375Z] $ docker rm -f 48a2c325c6b916b205d1f57cbe3d8046ce7ab960ab7083c2e00c1cdf2e12afed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:48:50.866Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T18:48:50.866Z] . [Pipeline] withDockerContainer [2021-05-06T18:48:50.960Z] prd-centos7-docker-4c-2g-3253 does not seem to be running inside a container [2021-05-06T18:48:51.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T18:48:51.599Z] $ docker top b95a6f98151783d23d11781638cb6b5bc6c34ac0a5a33876d0c08b989a5b164e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T18:48:52.012Z] + go mod tidy [Pipeline] sh [2021-05-06T18:48:52.583Z] + make test [2021-05-06T18:48:52.583Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T18:49:10.893Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3254 in /w/workspace/xfoundry_go-mod-bootstrap_PR-225 [Pipeline] { [Pipeline] ws [2021-05-06T18:49:10.920Z] Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout [2021-05-06T18:49:10.986Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T18:49:12.484Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.043s coverage: 5.4% of statements [2021-05-06T18:49:12.484Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T18:49:12.484Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.026s coverage: 92.2% of statements [2021-05-06T18:49:12.484Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.009s coverage: 85.3% of statements [2021-05-06T18:49:13.097Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T18:49:13.097Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T18:49:13.097Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T18:49:15.967Z] --- FAIL: TestValidateSecrets (0.00s) [2021-05-06T18:49:15.967Z] --- FAIL: TestValidateSecrets/Invalid_AuthMode (0.00s) [2021-05-06T18:49:15.967Z] messaging_test.go:201: [2021-05-06T18:49:15.967Z] Error Trace: messaging_test.go:201 [2021-05-06T18:49:15.967Z] Error: Not equal: [2021-05-06T18:49:15.967Z] expected: "Invalid AuthMode selected" [2021-05-06T18:49:15.967Z] actual : "Invalid AuthMode of 'BadAuthMode' selected" [2021-05-06T18:49:15.967Z] [2021-05-06T18:49:15.967Z] Diff: [2021-05-06T18:49:15.967Z] --- Expected [2021-05-06T18:49:15.967Z] +++ Actual [2021-05-06T18:49:15.967Z] @@ -1 +1 @@ [2021-05-06T18:49:15.967Z] -Invalid AuthMode selected [2021-05-06T18:49:15.967Z] +Invalid AuthMode of 'BadAuthMode' selected [2021-05-06T18:49:15.967Z] Test: TestValidateSecrets/Invalid_AuthMode [2021-05-06T18:49:15.967Z] FAIL [2021-05-06T18:49:15.967Z] coverage: 92.9% of statements [2021-05-06T18:49:15.967Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.018s [2021-05-06T18:49:15.967Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.027s coverage: 26.7% of statements [2021-05-06T18:49:16.925Z] using credential edgex-jenkins-ssh [2021-05-06T18:49:16.944Z] Cloning the remote Git repository [2021-05-06T18:49:17.002Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:49:17.118Z] > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 [2021-05-06T18:49:17.215Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:49:17.216Z] > git --version # timeout=10 [2021-05-06T18:49:17.232Z] > git --version # 'git version 2.17.1' [2021-05-06T18:49:17.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:49:17.297Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T18:49:18.537Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.026s coverage: 90.7% of statements [2021-05-06T18:49:18.537Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T18:49:18.537Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T18:49:18.537Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.005s coverage: 91.3% of statements [2021-05-06T18:49:18.537Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T18:49:18.537Z] FAIL [2021-05-06T18:49:18.537Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-05-06T18:49:18.556Z] $ docker stop --time=1 b95a6f98151783d23d11781638cb6b5bc6c34ac0a5a33876d0c08b989a5b164e [2021-05-06T18:49:18.277Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T18:49:18.298Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T18:49:18.320Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T18:49:18.350Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:49:18.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:49:18.362Z] > 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-06T18:49:18.970Z] Merging remotes/origin/master commit 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 into PR head commit 839b122e053da4190b918b996e3b02994c6063db [2021-05-06T18:49:19.174Z] Merge succeeded, producing 839b122e053da4190b918b996e3b02994c6063db [2021-05-06T18:49:19.174Z] Checking out Revision 839b122e053da4190b918b996e3b02994c6063db (PR-225) [2021-05-06T18:49:19.000Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T18:49:19.019Z] > git checkout -f 839b122e053da4190b918b996e3b02994c6063db # timeout=10 [2021-05-06T18:49:19.102Z] > git remote # timeout=10 [2021-05-06T18:49:19.120Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T18:49:19.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:49:19.147Z] > git merge 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 # timeout=10 [2021-05-06T18:49:19.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T18:49:19.191Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T18:49:19.200Z] > git checkout -f 839b122e053da4190b918b996e3b02994c6063db # timeout=10 [2021-05-06T18:49:20.375Z] $ docker rm -f b95a6f98151783d23d11781638cb6b5bc6c34ac0a5a33876d0c08b989a5b164e [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:49:21.222Z] ---> job-cost.sh [2021-05-06T18:49:21.222Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yRo1 [2021-05-06T18:49:23.416Z] Commit message: "feat: Addressed Jim W. PR Feedback" [2021-05-06T18:49:23.649Z] [2021-05-06T18:49:23.649Z] GitHub has been notified of this commit’s build result [2021-05-06T18:49:23.649Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T18:49:24.788Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T18:49:25.195Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T18:49:25.546Z] + sudo service docker restart [2021-05-06T18:49:25.546Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-06T18:49:28.440Z] ========================================================= [2021-05-06T18:49:28.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T18:49:28.440Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:49:28.790Z] + 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-06T18:49:29.769Z] Sending build context to Docker daemon 965.1kB [2021-05-06T18:49:29.769Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-05-06T18:49:29.769Z] Step 2/8 : FROM ${BASE} [2021-05-06T18:49:30.044Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T18:49:30.044Z] 595b0fe564bb: Pulling fs layer [2021-05-06T18:49:30.044Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T18:49:30.044Z] 316046926c0a: Pulling fs layer [2021-05-06T18:49:30.044Z] 4ebd0625c992: Pulling fs layer [2021-05-06T18:49:30.044Z] 207e8628e3a3: Pulling fs layer [2021-05-06T18:49:30.044Z] c791037a9be2: Pulling fs layer [2021-05-06T18:49:30.044Z] ffd874e62e21: Pulling fs layer [2021-05-06T18:49:30.044Z] 4ebd0625c992: Waiting [2021-05-06T18:49:30.044Z] 207e8628e3a3: Waiting [2021-05-06T18:49:30.044Z] c791037a9be2: Waiting [2021-05-06T18:49:30.044Z] ffd874e62e21: Waiting [2021-05-06T18:49:30.044Z] 316046926c0a: Download complete [2021-05-06T18:49:30.044Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T18:49:30.044Z] 7186ed65a4f7: Download complete [2021-05-06T18:49:30.044Z] 207e8628e3a3: Download complete [2021-05-06T18:49:30.044Z] c791037a9be2: Verifying Checksum [2021-05-06T18:49:30.044Z] c791037a9be2: Download complete [2021-05-06T18:49:30.044Z] 595b0fe564bb: Verifying Checksum [2021-05-06T18:49:30.044Z] 595b0fe564bb: Download complete [2021-05-06T18:49:31.030Z] 595b0fe564bb: Pull complete [2021-05-06T18:49:31.631Z] 7186ed65a4f7: Pull complete [2021-05-06T18:49:31.906Z] 316046926c0a: Pull complete [2021-05-06T18:49:32.181Z] ffd874e62e21: Verifying Checksum [2021-05-06T18:49:32.181Z] ffd874e62e21: Download complete [2021-05-06T18:49:34.146Z] 4ebd0625c992: Verifying Checksum [2021-05-06T18:49:34.146Z] 4ebd0625c992: Download complete [2021-05-06T18:49:43.332Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T18:49:44.336Z] 4ebd0625c992: Pull complete [2021-05-06T18:49:44.336Z] 207e8628e3a3: Pull complete [2021-05-06T18:49:44.608Z] c791037a9be2: Pull complete [2021-05-06T18:49:48.011Z] ffd874e62e21: Pull complete [2021-05-06T18:49:48.011Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T18:49:48.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T18:49:48.011Z] ---> cfc18b08335c [2021-05-06T18:49:48.011Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T18:49:51.406Z] ---> Running in 1b9afbe8885b [2021-05-06T18:49:51.406Z] Removing intermediate container 1b9afbe8885b [2021-05-06T18:49:51.406Z] ---> 342664981344 [2021-05-06T18:49:51.406Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T18:49:51.677Z] ---> Running in 13d0c7d3d225 [2021-05-06T18:49:54.354Z] Removing intermediate container 13d0c7d3d225 [2021-05-06T18:49:54.354Z] ---> c4c7dd88f512 [2021-05-06T18:49:54.354Z] Step 5/8 : RUN apk add --update --no-cache git make zeromq-dev [2021-05-06T18:49:54.354Z] ---> Running in 6004c858387b [2021-05-06T18:49:55.341Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T18:49:56.319Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T18:49:57.307Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-06T18:49:57.307Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-06T18:49:57.577Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-06T18:49:57.577Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-06T18:49:57.853Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-06T18:49:57.853Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T18:49:57.853Z] OK: 139 MiB in 45 packages [2021-05-06T18:49:59.286Z] Removing intermediate container 6004c858387b [2021-05-06T18:49:59.286Z] ---> 0012c09fa2ad [2021-05-06T18:49:59.286Z] Step 6/8 : WORKDIR /build [2021-05-06T18:49:59.286Z] ---> Running in c33c09ce2c96 [2021-05-06T18:49:59.883Z] Removing intermediate container c33c09ce2c96 [2021-05-06T18:49:59.883Z] ---> 44d817ead51e [2021-05-06T18:49:59.883Z] Step 7/8 : COPY go.mod . [2021-05-06T18:50:00.870Z] ---> 687ef1a8bc9c [2021-05-06T18:50:00.870Z] Step 8/8 : RUN go mod download [2021-05-06T18:50:00.870Z] ---> Running in 5b5bb8024d7e [2021-05-06T18:50:15.723Z] lf-activate-venv(): INFO: Adding /tmp/venv-yRo1/bin to PATH [2021-05-06T18:50:15.723Z] INFO: No Stack... [2021-05-06T18:50:15.723Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T18:50:15.723Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T18:50:16.066Z] + cat /w/workspace/go-mod-bootstrap/5/archives/cost.csv [2021-05-06T18:50:16.066Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T18:50:16.155Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] [2021-05-06T18:50:16.164Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] did not exist. Created. [2021-05-06T18:50:16.164Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T18:50:16.508Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T18:50:16.933Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T18:50:16.948Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T18:50:17.102Z] Failed in branch amd64 [2021-05-06T18:50:27.663Z] Removing intermediate container 5b5bb8024d7e [2021-05-06T18:50:27.663Z] ---> 5e0ca0a846cf [2021-05-06T18:50:27.663Z] Successfully built 5e0ca0a846cf [2021-05-06T18:50:27.663Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:50:28.005Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T18:50:28.005Z] . [Pipeline] withDockerContainer [2021-05-06T18:50:28.250Z] prd-ubuntu18.04-docker-arm64-4c-16g-3254 does not seem to be running inside a container [2021-05-06T18:50:28.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T18:50:29.829Z] $ docker top ac5d642cab8821d9753814e8a8b9d7a762dde635dbacac3a59c709cfb321b9a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T18:50:30.748Z] + go version [2021-05-06T18:50:30.748Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T18:50:30.783Z] $ docker stop --time=1 ac5d642cab8821d9753814e8a8b9d7a762dde635dbacac3a59c709cfb321b9a7 [2021-05-06T18:50:32.659Z] $ docker rm -f ac5d642cab8821d9753814e8a8b9d7a762dde635dbacac3a59c709cfb321b9a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:50:33.365Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T18:50:33.365Z] . [Pipeline] withDockerContainer [2021-05-06T18:50:33.624Z] prd-ubuntu18.04-docker-arm64-4c-16g-3254 does not seem to be running inside a container [2021-05-06T18:50:33.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T18:50:35.229Z] $ docker top c35ca92ab903dedd030bf61ca92fd1af3c35f89ac433689c5e9394886f3afde7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T18:50:36.169Z] + go mod tidy [Pipeline] sh [2021-05-06T18:50:37.423Z] + make test [2021-05-06T18:50:37.424Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T18:51:24.443Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T18:51:24.443Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.068s coverage: 5.4% of statements [2021-05-06T18:51:24.443Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T18:51:24.443Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.046s coverage: 92.2% of statements [2021-05-06T18:51:24.443Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.014s coverage: 85.3% of statements [2021-05-06T18:51:24.443Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T18:51:24.443Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T18:51:24.443Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T18:51:28.797Z] --- FAIL: TestValidateSecrets (0.00s) [2021-05-06T18:51:28.797Z] --- FAIL: TestValidateSecrets/Invalid_AuthMode (0.00s) [2021-05-06T18:51:28.797Z] messaging_test.go:201: [2021-05-06T18:51:28.797Z] Error Trace: messaging_test.go:201 [2021-05-06T18:51:28.797Z] Error: Not equal: [2021-05-06T18:51:28.797Z] expected: "Invalid AuthMode selected" [2021-05-06T18:51:28.797Z] actual : "Invalid AuthMode of 'BadAuthMode' selected" [2021-05-06T18:51:28.797Z] [2021-05-06T18:51:28.797Z] Diff: [2021-05-06T18:51:28.797Z] --- Expected [2021-05-06T18:51:28.797Z] +++ Actual [2021-05-06T18:51:28.797Z] @@ -1 +1 @@ [2021-05-06T18:51:28.797Z] -Invalid AuthMode selected [2021-05-06T18:51:28.797Z] +Invalid AuthMode of 'BadAuthMode' selected [2021-05-06T18:51:28.797Z] Test: TestValidateSecrets/Invalid_AuthMode [2021-05-06T18:51:28.797Z] FAIL [2021-05-06T18:51:28.797Z] coverage: 92.9% of statements [2021-05-06T18:51:28.797Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 1.078s [2021-05-06T18:51:28.797Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.040s coverage: 26.7% of statements [2021-05-06T18:51:31.402Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.068s coverage: 90.7% of statements [2021-05-06T18:51:31.402Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T18:51:31.402Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T18:51:31.402Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.027s coverage: 91.3% of statements [2021-05-06T18:51:31.402Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T18:51:31.402Z] FAIL [2021-05-06T18:51:31.673Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-05-06T18:51:31.713Z] $ docker stop --time=1 c35ca92ab903dedd030bf61ca92fd1af3c35f89ac433689c5e9394886f3afde7 [2021-05-06T18:51:33.843Z] $ docker rm -f c35ca92ab903dedd030bf61ca92fd1af3c35f89ac433689c5e9394886f3afde7 [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-06T18:51:34.753Z] ---> job-cost.sh [2021-05-06T18:51:34.753Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kh85 [2021-05-06T18:52:13.723Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T18:53:35.721Z] lf-activate-venv(): INFO: Adding /tmp/venv-kh85/bin to PATH [2021-05-06T18:53:35.721Z] INFO: No Stack... [2021-05-06T18:53:35.721Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T18:53:35.721Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T18:53:36.062Z] + + catcut /w/workspace/go-mod-bootstrap/5/archives/cost.csv -d, [2021-05-06T18:53:36.062Z] -f6 [Pipeline] lock [2021-05-06T18:53:36.396Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] [2021-05-06T18:53:36.404Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] did not exist. Created. [2021-05-06T18:53:36.404Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T18:53:36.931Z] /w/workspace/go-mod-bootstrap/5@tmp/durable-f1c56ff0/script.sh: 1: /w/workspace/go-mod-bootstrap/5@tmp/durable-f1c56ff0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T18:53:37.314Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T18:53:37.342Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T18:53:38.573Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T18:53:38.595Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-225-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T18:53:38.746Z] 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-06T18:53:40.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:53:41.330Z] ---> package-listing.sh [2021-05-06T18:53:41.330Z] ++ facter osfamily [2021-05-06T18:53:41.330Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T18:53:41.330Z] + OS_FAMILY=redhat [2021-05-06T18:53:41.330Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-225 [2021-05-06T18:53:41.330Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T18:53:41.330Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T18:53:41.330Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T18:53:41.330Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T18:53:41.330Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-225 ']' [2021-05-06T18:53:41.330Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T18:53:41.330Z] + case "${OS_FAMILY}" in [2021-05-06T18:53:41.330Z] + rpm -qa [2021-05-06T18:53:41.330Z] + sort [2021-05-06T18:53:46.660Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T18:53:46.660Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T18:53:46.660Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T18:53:46.660Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-225 ']' [2021-05-06T18:53:46.660Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-225/archives/ [2021-05-06T18:53:46.660Z] + 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-06T18:53:46.676Z] 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-06T18:53:46.971Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:53:47.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T18:53:47.286Z] [2021-05-06T18:53:47.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:53:47.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T18:53:47.610Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T18:53:47.610Z] df20fa9351a1: Pulling fs layer [2021-05-06T18:53:47.610Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T18:53:47.610Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T18:53:47.610Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T18:53:47.610Z] 93b61091891f: Pulling fs layer [2021-05-06T18:53:47.610Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T18:53:47.610Z] 5e14af77c1be: Pulling fs layer [2021-05-06T18:53:47.610Z] 01666e4c0597: Pulling fs layer [2021-05-06T18:53:47.610Z] aa168da1d23b: Pulling fs layer [2021-05-06T18:53:47.610Z] 93b9cdb0e59b: Waiting [2021-05-06T18:53:47.610Z] 93b61091891f: Waiting [2021-05-06T18:53:47.610Z] 46f8f816bc3b: Waiting [2021-05-06T18:53:47.610Z] 5e14af77c1be: Waiting [2021-05-06T18:53:47.610Z] 01666e4c0597: Waiting [2021-05-06T18:53:47.610Z] aa168da1d23b: Waiting [2021-05-06T18:53:47.610Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T18:53:47.610Z] 36b3adc4ff6f: Download complete [2021-05-06T18:53:47.610Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T18:53:47.610Z] 46f8f816bc3b: Download complete [2021-05-06T18:53:47.882Z] df20fa9351a1: Verifying Checksum [2021-05-06T18:53:47.882Z] df20fa9351a1: Download complete [2021-05-06T18:53:47.882Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T18:53:47.882Z] 93b9cdb0e59b: Download complete [2021-05-06T18:53:47.882Z] 5e14af77c1be: Download complete [2021-05-06T18:53:47.882Z] 93b61091891f: Download complete [2021-05-06T18:53:47.882Z] 01666e4c0597: Download complete [2021-05-06T18:53:48.152Z] df20fa9351a1: Pull complete [2021-05-06T18:53:48.420Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T18:53:48.420Z] 8ad3a11d3b57: Download complete [2021-05-06T18:53:48.420Z] 36b3adc4ff6f: Pull complete [2021-05-06T18:53:49.375Z] 8ad3a11d3b57: Pull complete [2021-05-06T18:53:49.375Z] 46f8f816bc3b: Pull complete [2021-05-06T18:53:49.641Z] 93b61091891f: Pull complete [2021-05-06T18:53:50.678Z] 93b9cdb0e59b: Pull complete [2021-05-06T18:53:50.678Z] aa168da1d23b: Verifying Checksum [2021-05-06T18:53:50.678Z] aa168da1d23b: Download complete [2021-05-06T18:53:50.678Z] 5e14af77c1be: Pull complete [2021-05-06T18:53:50.949Z] 01666e4c0597: Pull complete [2021-05-06T18:53:59.176Z] aa168da1d23b: Pull complete [2021-05-06T18:53:59.176Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T18:53:59.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T18:53:59.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T18:53:59.428Z] prd-centos7-docker-4c-2g-3252 does not seem to be running inside a container [2021-05-06T18:53:59.480Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T18:54:03.390Z] $ docker top 83c7037d56f47eec09709535ef5992d752453d09a75943122941b7c8cab1f87a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T18:54:03.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T18:54:04.209Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T18:54:04.518Z] + ls /var/log/sa-host [2021-05-06T18:54:04.518Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T18:54:04.518Z] file_magic: OK [2021-05-06T18:54:04.518Z] HZ: Using current value: 100 [2021-05-06T18:54:04.518Z] file_header: OK [2021-05-06T18:54:04.518Z] 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-06T18:54:04.518Z] Statistics: [2021-05-06T18:54:04.518Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T18:54:04.518Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T18:54:04.518Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T18:54:04.518Z] file_magic: OK [2021-05-06T18:54:04.518Z] HZ: Using current value: 100 [2021-05-06T18:54:04.518Z] file_header: OK [2021-05-06T18:54:04.518Z] 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-06T18:54:04.518Z] Statistics: [2021-05-06T18:54:04.518Z] Hnuu...uuuununununu... [2021-05-06T18:54:04.519Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T18:54:04.697Z] provisioning config files... [2021-05-06T18:54:04.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-225@tmp/config6647713889536403501tmp [Pipeline] { [Pipeline] echo [2021-05-06T18:54:04.746Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:54:05.045Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T18:54:05.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T18:54:05.083Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:54:05.384Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T18:54:05.398Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:54:05.702Z] ---> sudo-logs.sh [2021-05-06T18:54:05.702Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T18:54:05.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:54:06.073Z] ---> job-cost.sh [2021-05-06T18:54:06.073Z] lf-activate-venv: SKIPPING [2021-05-06T18:54:06.073Z] DEBUG: total: 0.20999999344348907 [2021-05-06T18:54:06.073Z] INFO: Retrieving Stack Cost... [2021-05-06T18:54:07.466Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T18:54:07.728Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T18:54:07.744Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:54:08.045Z] ---> logs-deploy.sh [2021-05-06T18:54:08.045Z] lf-activate-venv: SKIPPING [2021-05-06T18:54:08.045Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-225/5 [2021-05-06T18:54:08.045Z] INFO: archiving workspace using pattern(s): [2021-05-06T18:54:09.991Z] Archives upload complete. [2021-05-06T18:54:09.991Z] INFO: archiving logs to Nexus