Pull request #226 opened 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 jpwhitemn for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd+66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 (167c433dc1ea0623e0409edf406cd1bfdc515de1) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-226/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-226/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3255 in /w/workspace/xfoundry_go-mod-bootstrap_PR-226 [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-226 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 into PR head commit 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd Merge succeeded, producing 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd Checking out Revision 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd (PR-226) > 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/226/head:refs/remotes/origin/PR-226 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd # 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 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd # timeout=10 Commit message: "build: upgrade Go lang to 1.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T18:56:21.272Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T18:56:21.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T18:56:21.585Z] ========================================================= [2021-05-06T18:56:21.585Z] EdgeX Global Pipelines Version Info [2021-05-06T18:56:21.585Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T18:56:23.649Z] ------------------- [2021-05-06T18:56:23.649Z] stable info: [2021-05-06T18:56:23.649Z] ------------------- [2021-05-06T18:56:23.649Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T18:56:23.649Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T18:56:23.649Z] Message: update stable to v1.0.191 [2021-05-06T18:56:24.230Z] ------------------- [2021-05-06T18:56:24.230Z] experimental info: [2021-05-06T18:56:24.230Z] ------------------- [2021-05-06T18:56:24.230Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T18:56:24.230Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T18:56:24.230Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T18:56:24.465Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2021-05-06T18:56:24.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2021-05-06T18:56:24.573Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T18:56:24.646Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T18:56:24.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T18:56:24.765Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T18:56:24.820Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T18:56:24.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T18:56:24.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T18:56:25.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T18:56:25.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T18:56:25.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2021-05-06T18:56:25.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T18:56:25.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T18:56:25.313Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:56:25.382Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:56:25.441Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:56:25.498Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T18:56:25.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T18:56:25.609Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T18:56:25.670Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T18:56:25.728Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T18:56:25.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T18:56:25.851Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T18:56:25.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-06T18:56:25.978Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T18:56:26.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-226 [Pipeline] echo [2021-05-06T18:56:26.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-226 [Pipeline] echo [2021-05-06T18:56:26.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-226 [Pipeline] echo [2021-05-06T18:56:26.238Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [Pipeline] echo [2021-05-06T18:56:26.300Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a3ddf5 [Pipeline] echo [2021-05-06T18:56:26.360Z] [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:56:27.051Z] + git log --format=format:%s -1 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [Pipeline] echo [2021-05-06T18:56:27.149Z] GIT_COMMIT: 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd, Commit Message: build: upgrade Go lang to 1.16 [Pipeline] echo [2021-05-06T18:56:27.189Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:56:27.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T18:56:28.211Z] [2021-05-06T18:56:28.211Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:56:28.577Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T18:56:28.577Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T18:56:28.578Z] 31603596830f: Pulling fs layer [2021-05-06T18:56:28.578Z] 54011a49482f: Pulling fs layer [2021-05-06T18:56:28.578Z] a6820b24f6d8: Pulling fs layer [2021-05-06T18:56:28.578Z] f581987b2513: Pulling fs layer [2021-05-06T18:56:28.578Z] f581987b2513: Waiting [2021-05-06T18:56:28.578Z] 54011a49482f: Verifying Checksum [2021-05-06T18:56:28.578Z] 54011a49482f: Download complete [2021-05-06T18:56:28.844Z] 31603596830f: Download complete [2021-05-06T18:56:28.844Z] f581987b2513: Verifying Checksum [2021-05-06T18:56:28.844Z] f581987b2513: Download complete [2021-05-06T18:56:28.844Z] a6820b24f6d8: Verifying Checksum [2021-05-06T18:56:28.844Z] a6820b24f6d8: Download complete [2021-05-06T18:56:29.107Z] 31603596830f: Pull complete [2021-05-06T18:56:29.370Z] 54011a49482f: Pull complete [2021-05-06T18:56:30.329Z] a6820b24f6d8: Pull complete [2021-05-06T18:56:30.592Z] f581987b2513: Pull complete [2021-05-06T18:56:30.593Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T18:56:30.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T18:56:30.593Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T18:56:30.718Z] prd-centos7-docker-4c-2g-3255 does not seem to be running inside a container [2021-05-06T18:56:30.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-226 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-226:/w/workspace/xfoundry_go-mod-bootstrap_PR-226:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T18:56:33.222Z] $ docker top 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T18:56:33.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T18:56:33.484Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T18:56:33.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T18:56:33.758Z] $ docker exec 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 ssh-agent [2021-05-06T18:56:33.937Z] SSH_AUTH_SOCK=/tmp/ssh-wILFJNzz4dKL/agent.11 [2021-05-06T18:56:33.937Z] SSH_AGENT_PID=17 [2021-05-06T18:56:33.947Z] Running ssh-add (command line suppressed) [2021-05-06T18:56:34.083Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp/private_key_482151965883128280.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp/private_key_482151965883128280.key) [2021-05-06T18:56:34.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T18:56:34.478Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T18:56:34.505Z] $ docker exec --env ******** --env ******** 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 ssh-agent -k [2021-05-06T18:56:34.618Z] unset SSH_AUTH_SOCK; [2021-05-06T18:56:34.618Z] unset SSH_AGENT_PID; [2021-05-06T18:56:34.618Z] echo Agent pid 17 killed; [2021-05-06T18:56:34.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T18:56:34.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T18:56:34.772Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T18:56:34.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T18:56:34.961Z] $ docker exec 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 ssh-agent [2021-05-06T18:56:35.125Z] SSH_AUTH_SOCK=/tmp/ssh-hqcg2h2GP8HX/agent.45 [2021-05-06T18:56:35.126Z] SSH_AGENT_PID=51 [2021-05-06T18:56:35.132Z] Running ssh-add (command line suppressed) [2021-05-06T18:56:35.256Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp/private_key_7702307117622027161.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp/private_key_7702307117622027161.key) [2021-05-06T18:56:35.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T18:56:35.682Z] + git semver init [2021-05-06T18:56:35.682Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T18:56:35.682Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-226/.git [2021-05-06T18:56:35.682Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-226 [2021-05-06T18:56:35.682Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T18:56:35.682Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T18:56:35.682Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T18:56:35.682Z] # $SEMVER_BRANCH = PR-226 [2021-05-06T18:56:35.682Z] # $SEMVER_TEMP = /tmp/semver-048662944 [2021-05-06T18:56:35.682Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2021-05-06T18:56:36.259Z] # '/tmp/semver-048662944' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-226/.semver' [2021-05-06T18:56:36.259Z] # -> Force: false [2021-05-06T18:56:36.259Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-226/.semver [Pipeline] } [2021-05-06T18:56:36.287Z] $ docker exec --env ******** --env ******** 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 ssh-agent -k [2021-05-06T18:56:36.410Z] unset SSH_AUTH_SOCK; [2021-05-06T18:56:36.411Z] unset SSH_AGENT_PID; [2021-05-06T18:56:36.411Z] echo Agent pid 51 killed; [2021-05-06T18:56:36.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T18:56:37.027Z] + git semver [Pipeline] } [2021-05-06T18:56:37.067Z] $ docker stop --time=1 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 [2021-05-06T18:56:38.804Z] $ docker rm -f 854023e891e71c97cc9551a0e867c80dd4e08e9de2f089b8d074d54650205007 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T18:56:39.327Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T18:56:39.795Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T18:56:39.818Z] [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:56:55.271Z] Still waiting to schedule task [2021-05-06T18:56:55.271Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3255’ [2021-05-06T18:56:55.299Z] Still waiting to schedule task [2021-05-06T18:56:55.300Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T18:58:40.750Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3256 in /w/workspace/xfoundry_go-mod-bootstrap_PR-226 [Pipeline] { [Pipeline] ws [2021-05-06T18:58:40.807Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2021-05-06T18:58:45.968Z] using credential edgex-jenkins-ssh [2021-05-06T18:58:45.992Z] Cloning the remote Git repository [2021-05-06T18:58:46.084Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:58:46.188Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2021-05-06T18:58:46.259Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:58:46.260Z] > git --version # timeout=10 [2021-05-06T18:58:46.287Z] > git --version # 'git version 2.17.1' [2021-05-06T18:58:46.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:58:46.344Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T18:58:47.974Z] Merging remotes/origin/master commit 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 into PR head commit 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [2021-05-06T18:58:48.158Z] Merge succeeded, producing 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [2021-05-06T18:58:48.158Z] Checking out Revision 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd (PR-226) [2021-05-06T18:58:47.207Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T18:58:47.231Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T18:58:47.258Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T18:58:47.287Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T18:58:47.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:58:47.300Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T18:58:47.995Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T18:58:48.010Z] > git checkout -f 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd # timeout=10 [2021-05-06T18:58:48.087Z] > git remote # timeout=10 [2021-05-06T18:58:48.103Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T18:58:48.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T18:58:48.124Z] > git merge 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 # timeout=10 [2021-05-06T18:58:48.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T18:58:48.166Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T18:58:48.183Z] > git checkout -f 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd # timeout=10 [2021-05-06T18:58:52.316Z] Commit message: "build: upgrade Go lang to 1.16" [2021-05-06T18:58:52.379Z] > git --version # timeout=10 [2021-05-06T18:58:52.393Z] > git --version # 'git version 2.17.1' [2021-05-06T18:58:52.411Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T18:58:54.203Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T18:58:54.632Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T18:58:54.992Z] + true [2021-05-06T18:58:54.992Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-05-06T18:58:57.274Z] ========================================================= [2021-05-06T18:58:57.274Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T18:58:57.274Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:58:57.680Z] + 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:58:58.663Z] Sending build context to Docker daemon 868.9kB [2021-05-06T18:58:58.663Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-06T18:58:58.663Z] Step 2/8 : FROM ${BASE} [2021-05-06T18:58:58.939Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T18:58:58.939Z] 595b0fe564bb: Pulling fs layer [2021-05-06T18:58:58.939Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T18:58:58.939Z] 316046926c0a: Pulling fs layer [2021-05-06T18:58:58.939Z] 4ebd0625c992: Pulling fs layer [2021-05-06T18:58:58.939Z] 207e8628e3a3: Pulling fs layer [2021-05-06T18:58:58.939Z] c791037a9be2: Pulling fs layer [2021-05-06T18:58:58.939Z] ffd874e62e21: Pulling fs layer [2021-05-06T18:58:58.939Z] 207e8628e3a3: Waiting [2021-05-06T18:58:58.939Z] 4ebd0625c992: Waiting [2021-05-06T18:58:58.939Z] c791037a9be2: Waiting [2021-05-06T18:58:58.939Z] ffd874e62e21: Waiting [2021-05-06T18:58:58.939Z] 316046926c0a: Verifying Checksum [2021-05-06T18:58:58.939Z] 316046926c0a: Download complete [2021-05-06T18:58:58.939Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T18:58:58.939Z] 7186ed65a4f7: Download complete [2021-05-06T18:58:58.939Z] 207e8628e3a3: Verifying Checksum [2021-05-06T18:58:58.939Z] 207e8628e3a3: Download complete [2021-05-06T18:58:59.214Z] 595b0fe564bb: Verifying Checksum [2021-05-06T18:58:59.214Z] 595b0fe564bb: Download complete [2021-05-06T18:58:59.214Z] c791037a9be2: Verifying Checksum [2021-05-06T18:58:59.214Z] c791037a9be2: Download complete [2021-05-06T18:58:59.814Z] 595b0fe564bb: Pull complete [2021-05-06T18:59:00.421Z] 7186ed65a4f7: Pull complete [2021-05-06T18:59:00.698Z] 316046926c0a: Pull complete [2021-05-06T18:59:01.684Z] ffd874e62e21: Verifying Checksum [2021-05-06T18:59:01.684Z] ffd874e62e21: Download complete [2021-05-06T18:59:02.666Z] 4ebd0625c992: Verifying Checksum [2021-05-06T18:59:02.666Z] 4ebd0625c992: Download complete [2021-05-06T18:59:15.097Z] 4ebd0625c992: Pull complete [2021-05-06T18:59:15.097Z] 207e8628e3a3: Pull complete [2021-05-06T18:59:15.097Z] c791037a9be2: Pull complete [2021-05-06T18:59:17.726Z] ffd874e62e21: Pull complete [2021-05-06T18:59:17.726Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T18:59:17.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T18:59:17.726Z] ---> cfc18b08335c [2021-05-06T18:59:17.726Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T18:59:20.352Z] ---> Running in 608fc1e32734 [2021-05-06T18:59:20.352Z] Removing intermediate container 608fc1e32734 [2021-05-06T18:59:20.352Z] ---> 81683cbfede1 [2021-05-06T18:59:20.352Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T18:59:20.352Z] ---> Running in 7476d7eb65c0 [2021-05-06T18:59:22.987Z] Removing intermediate container 7476d7eb65c0 [2021-05-06T18:59:22.987Z] ---> ffd946eaae2b [2021-05-06T18:59:22.987Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-06T18:59:22.987Z] ---> Running in 47ffbedc1fec [2021-05-06T18:59:23.589Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T18:59:25.021Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T18:59:25.619Z] OK: 138 MiB in 40 packages [2021-05-06T18:59:26.604Z] Removing intermediate container 47ffbedc1fec [2021-05-06T18:59:26.604Z] ---> 231cfd48db1e [2021-05-06T18:59:26.604Z] Step 6/8 : WORKDIR /build [2021-05-06T18:59:26.876Z] ---> Running in e84f64b80acf [2021-05-06T18:59:27.150Z] Removing intermediate container e84f64b80acf [2021-05-06T18:59:27.150Z] ---> 9839ac52983e [2021-05-06T18:59:27.150Z] Step 7/8 : COPY go.mod . [2021-05-06T18:59:28.126Z] ---> 8a985c4b2cef [2021-05-06T18:59:28.126Z] Step 8/8 : RUN go mod download [2021-05-06T18:59:28.126Z] ---> Running in 7b7e2f7bb7bb [2021-05-06T18:59:54.917Z] Removing intermediate container 7b7e2f7bb7bb [2021-05-06T18:59:54.917Z] ---> fe27c49f30ae [2021-05-06T18:59:54.917Z] Successfully built fe27c49f30ae [2021-05-06T18:59:54.917Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T18:59:55.289Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T18:59:55.290Z] . [Pipeline] withDockerContainer [2021-05-06T18:59:55.573Z] prd-ubuntu18.04-docker-arm64-4c-16g-3256 does not seem to be running inside a container [2021-05-06T18:59:55.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@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 ******** ci-base-image-arm64 cat [2021-05-06T18:59:57.036Z] $ docker top ea4ba2ba4d3bdf3b5cda939e411db84086e4d06145463101dc18f7f36c3cba4c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T18:59:58.057Z] + go version [2021-05-06T18:59:58.057Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T18:59:58.087Z] $ docker stop --time=1 ea4ba2ba4d3bdf3b5cda939e411db84086e4d06145463101dc18f7f36c3cba4c [2021-05-06T18:59:59.970Z] $ docker rm -f ea4ba2ba4d3bdf3b5cda939e411db84086e4d06145463101dc18f7f36c3cba4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:00:00.855Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T19:00:00.855Z] . [Pipeline] withDockerContainer [2021-05-06T19:00:01.137Z] prd-ubuntu18.04-docker-arm64-4c-16g-3256 does not seem to be running inside a container [2021-05-06T19:00:01.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@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 ******** ci-base-image-arm64 cat [2021-05-06T19:00:02.650Z] $ docker top 7102c5ce1cfc8b73f375ee09b4a8bb1b39f6cf0ddb10a39d7a5bbd76fbd9a47a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:00:03.646Z] + go mod tidy [Pipeline] sh [2021-05-06T19:00:04.917Z] + make test [2021-05-06T19:00:04.917Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T19:00:10.574Z] Running on prd-centos7-docker-4c-2g-3257 in /w/workspace/xfoundry_go-mod-bootstrap_PR-226 [Pipeline] { [Pipeline] ws [2021-05-06T19:00:10.647Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2021-05-06T19:00:16.459Z] using credential edgex-jenkins-ssh [2021-05-06T19:00:16.474Z] Cloning the remote Git repository [2021-05-06T19:00:16.617Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T19:00:16.780Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2021-05-06T19:00:16.952Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T19:00:16.953Z] > git --version # timeout=10 [2021-05-06T19:00:16.981Z] > git --version # 'git version 2.24.3' [2021-05-06T19:00:16.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:00:17.034Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T19:00:18.552Z] Merging remotes/origin/master commit 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 into PR head commit 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [2021-05-06T19:00:17.838Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T19:00:17.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T19:00:17.940Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2021-05-06T19:00:18.009Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2021-05-06T19:00:18.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:00:18.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T19:00:18.565Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T19:00:18.599Z] > git checkout -f 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd # timeout=10 [2021-05-06T19:00:18.739Z] Merge succeeded, producing 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [2021-05-06T19:00:18.740Z] Checking out Revision 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd (PR-226) [2021-05-06T19:00:18.655Z] > git remote # timeout=10 [2021-05-06T19:00:18.672Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T19:00:18.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:00:18.698Z] > git merge 66cc64d8822d4f81448e6f736d2f1e81dd6eadc3 # timeout=10 [2021-05-06T19:00:18.723Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T19:00:18.752Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T19:00:18.787Z] > git checkout -f 4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd # timeout=10 [2021-05-06T19:00:23.141Z] Commit message: "build: upgrade Go lang to 1.16" [2021-05-06T19:00:23.241Z] > git --version # timeout=10 [2021-05-06T19:00:23.304Z] > git --version # 'git version 2.24.3' [2021-05-06T19:00:23.332Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T19:00:25.500Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T19:00:25.959Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T19:00:26.357Z] + true [2021-05-06T19:00:26.358Z] + sudo service docker restart [2021-05-06T19:00:26.358Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-06T19:00:28.787Z] ========================================================= [2021-05-06T19:00:28.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T19:00:28.787Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:00:29.169Z] + 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-06T19:00:29.906Z] Sending build context to Docker daemon 869.4kB [2021-05-06T19:00:29.906Z] Step 1/8 : ARG BASE=golang:1.16-alpine [2021-05-06T19:00:29.906Z] Step 2/8 : FROM ${BASE} [2021-05-06T19:00:30.608Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T19:00:30.608Z] 540db60ca938: Pulling fs layer [2021-05-06T19:00:30.608Z] adcc1eea9eea: Pulling fs layer [2021-05-06T19:00:30.608Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T19:00:30.608Z] 0510c868ecb4: Pulling fs layer [2021-05-06T19:00:30.608Z] afea3b2eda06: Pulling fs layer [2021-05-06T19:00:30.608Z] 7809a108b3ef: Pulling fs layer [2021-05-06T19:00:30.608Z] f706445af74f: Pulling fs layer [2021-05-06T19:00:30.608Z] 0510c868ecb4: Waiting [2021-05-06T19:00:30.608Z] afea3b2eda06: Waiting [2021-05-06T19:00:30.608Z] 7809a108b3ef: Waiting [2021-05-06T19:00:30.608Z] f706445af74f: Waiting [2021-05-06T19:00:30.608Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T19:00:30.608Z] 4c4ab2625f07: Download complete [2021-05-06T19:00:30.608Z] adcc1eea9eea: Verifying Checksum [2021-05-06T19:00:30.608Z] adcc1eea9eea: Download complete [2021-05-06T19:00:30.608Z] afea3b2eda06: Verifying Checksum [2021-05-06T19:00:30.608Z] afea3b2eda06: Download complete [2021-05-06T19:00:30.608Z] 7809a108b3ef: Verifying Checksum [2021-05-06T19:00:30.608Z] 7809a108b3ef: Download complete [2021-05-06T19:00:30.608Z] 540db60ca938: Verifying Checksum [2021-05-06T19:00:30.608Z] 540db60ca938: Download complete [2021-05-06T19:00:31.378Z] 540db60ca938: Pull complete [2021-05-06T19:00:32.087Z] adcc1eea9eea: Pull complete [2021-05-06T19:00:32.394Z] 4c4ab2625f07: Pull complete [2021-05-06T19:00:35.144Z] f706445af74f: Verifying Checksum [2021-05-06T19:00:35.144Z] f706445af74f: Download complete [2021-05-06T19:00:37.213Z] 0510c868ecb4: Verifying Checksum [2021-05-06T19:00:37.213Z] 0510c868ecb4: Download complete [2021-05-06T19:00:43.985Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T19:00:43.985Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.037s coverage: 5.4% of statements [2021-05-06T19:00:43.986Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T19:00:43.986Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.035s coverage: 92.2% of statements [2021-05-06T19:00:43.986Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.015s coverage: 85.3% of statements [2021-05-06T19:00:44.595Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T19:00:44.595Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T19:00:45.205Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T19:00:45.808Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.040s coverage: 26.7% of statements [2021-05-06T19:00:47.424Z] 0510c868ecb4: Pull complete [2021-05-06T19:00:47.424Z] afea3b2eda06: Pull complete [2021-05-06T19:00:47.424Z] 7809a108b3ef: Pull complete [2021-05-06T19:00:51.245Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.044s coverage: 90.7% of statements [2021-05-06T19:00:51.245Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T19:00:51.245Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T19:00:51.245Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.022s coverage: 91.3% of statements [2021-05-06T19:00:51.245Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T19:00:51.245Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-06T19:00:52.992Z] f706445af74f: Pull complete [2021-05-06T19:00:52.992Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T19:00:52.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T19:00:52.992Z] ---> b068be0155e3 [2021-05-06T19:00:52.992Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T19:00:53.608Z] ---> Running in 047d96ce202b [2021-05-06T19:00:53.890Z] Removing intermediate container 047d96ce202b [2021-05-06T19:00:53.890Z] ---> 0c3c630972d1 [2021-05-06T19:00:53.890Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T19:00:53.890Z] ---> Running in 3b49837f0ce1 [2021-05-06T19:00:56.582Z] Removing intermediate container 3b49837f0ce1 [2021-05-06T19:00:56.582Z] ---> 6aaa1cab99dc [2021-05-06T19:00:56.582Z] Step 5/8 : RUN apk add --update --no-cache git make [2021-05-06T19:00:56.582Z] ---> Running in bae204cfb2dc [2021-05-06T19:00:56.878Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T19:00:57.959Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T19:00:58.237Z] OK: 149 MiB in 40 packages [2021-05-06T19:00:58.914Z] Removing intermediate container bae204cfb2dc [2021-05-06T19:00:58.914Z] ---> be5dad4de129 [2021-05-06T19:00:58.914Z] Step 6/8 : WORKDIR /build [2021-05-06T19:00:59.199Z] ---> Running in 7cc209dd248d [2021-05-06T19:00:59.987Z] Removing intermediate container 7cc209dd248d [2021-05-06T19:00:59.987Z] ---> e0b899b198c3 [2021-05-06T19:00:59.987Z] Step 7/8 : COPY go.mod . [2021-05-06T19:01:00.274Z] ---> 2e1671248fb8 [2021-05-06T19:01:00.274Z] Step 8/8 : RUN go mod download [2021-05-06T19:01:00.274Z] ---> Running in 60644ec8403c [2021-05-06T19:01:13.451Z] gofmt -l . [2021-05-06T19:01:13.451Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-06T19:01:13.481Z] $ docker stop --time=1 7102c5ce1cfc8b73f375ee09b4a8bb1b39f6cf0ddb10a39d7a5bbd76fbd9a47a [2021-05-06T19:01:15.672Z] $ docker rm -f 7102c5ce1cfc8b73f375ee09b4a8bb1b39f6cf0ddb10a39d7a5bbd76fbd9a47a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T19:01:16.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T19:01:17.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:01:18.664Z] ---> job-cost.sh [2021-05-06T19:01:18.664Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ulet [2021-05-06T19:01:33.625Z] Removing intermediate container 60644ec8403c [2021-05-06T19:01:33.625Z] ---> d42ef113389e [2021-05-06T19:01:33.625Z] Successfully built d42ef113389e [2021-05-06T19:01:33.625Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:01:34.112Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T19:01:34.112Z] . [Pipeline] withDockerContainer [2021-05-06T19:01:34.366Z] prd-centos7-docker-4c-2g-3257 does not seem to be running inside a container [2021-05-06T19:01:34.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T19:01:36.607Z] $ docker top 482b28d5b3fcf432fe66743e1eefa7bd6cb253765588021ba0ed59d91dd6e7ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:01:37.532Z] + go version [2021-05-06T19:01:37.532Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T19:01:37.582Z] $ docker stop --time=1 482b28d5b3fcf432fe66743e1eefa7bd6cb253765588021ba0ed59d91dd6e7ee [2021-05-06T19:01:39.215Z] $ docker rm -f 482b28d5b3fcf432fe66743e1eefa7bd6cb253765588021ba0ed59d91dd6e7ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:01:40.180Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T19:01:40.180Z] . [Pipeline] withDockerContainer [2021-05-06T19:01:40.413Z] prd-centos7-docker-4c-2g-3257 does not seem to be running inside a container [2021-05-06T19:01:40.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T19:01:41.672Z] $ docker top 29b9d439f42995cfc1479ff53dc628fb7f0ef12f6ef7818614b89d4c1714d531 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:01:42.298Z] + go mod tidy [Pipeline] sh [2021-05-06T19:01:43.306Z] + make test [2021-05-06T19:01:43.306Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T19:01:57.680Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T19:02:10.862Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2021-05-06T19:02:11.194Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.055s coverage: 5.4% of statements [2021-05-06T19:02:11.194Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2021-05-06T19:02:11.535Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.052s coverage: 92.2% of statements [2021-05-06T19:02:11.535Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.060s coverage: 85.3% of statements [2021-05-06T19:02:12.197Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers [no test files] [2021-05-06T19:02:12.197Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2021-05-06T19:02:12.480Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2021-05-06T19:02:13.105Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.025s coverage: 26.7% of statements [2021-05-06T19:02:17.428Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.085s coverage: 90.7% of statements [2021-05-06T19:02:17.428Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2021-05-06T19:02:17.428Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2021-05-06T19:02:17.428Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.037s coverage: 91.3% of statements [2021-05-06T19:02:17.428Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/v2/bootstrap/container [no test files] [2021-05-06T19:02:17.428Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-06T19:02:30.126Z] gofmt -l . [2021-05-06T19:02:30.396Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-06T19:02:30.455Z] $ docker stop --time=1 29b9d439f42995cfc1479ff53dc628fb7f0ef12f6ef7818614b89d4c1714d531 [2021-05-06T19:02:33.040Z] $ docker rm -f 29b9d439f42995cfc1479ff53dc628fb7f0ef12f6ef7818614b89d4c1714d531 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T19:02:33.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T19:02:33.835Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T19:02:34.614Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:02:35.606Z] ---> job-cost.sh [2021-05-06T19:02:35.606Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7FLH [2021-05-06T19:02:57.808Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T19:03:19.397Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ulet/bin to PATH [2021-05-06T19:03:19.397Z] INFO: No Stack... [2021-05-06T19:03:19.397Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T19:03:19.987Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T19:03:20.349Z] + cut -d, -f6 [2021-05-06T19:03:20.349Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [Pipeline] lock [2021-05-06T19:03:20.496Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] [2021-05-06T19:03:20.514Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] did not exist. Created. [2021-05-06T19:03:20.514Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T19:03:20.978Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T19:03:21.172Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T19:03:21.194Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T19:03:44.850Z] lf-activate-venv(): INFO: Adding /tmp/venv-7FLH/bin to PATH [2021-05-06T19:03:44.850Z] INFO: No Stack... [2021-05-06T19:03:44.850Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T19:03:44.850Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T19:03:45.284Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [2021-05-06T19:03:45.284Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T19:03:45.471Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] [2021-05-06T19:03:45.479Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] did not exist. Created. [2021-05-06T19:03:45.479Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T19:03:45.937Z] /w/workspace/go-mod-bootstrap/1@tmp/durable-a977a2ce/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-06T19:03:46.360Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T19:03:46.450Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T19:03:46.905Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T19:03:46.928Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-06T19:03:47.994Z] provisioning config files... [2021-05-06T19:03:48.011Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp/config2888256852548174498tmp [Pipeline] { [Pipeline] sh [2021-05-06T19:03:48.380Z] + set +x [2021-05-06T19:03:48.380Z] + curl -s https://codecov.io/bash [2021-05-06T19:03:48.380Z] + bash -s -- [2021-05-06T19:03:48.645Z] [2021-05-06T19:03:48.645Z] _____ _ [2021-05-06T19:03:48.645Z] / ____| | | [2021-05-06T19:03:48.645Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T19:03:48.645Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T19:03:48.645Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T19:03:48.645Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T19:03:48.645Z] Bash-1.0.2 [2021-05-06T19:03:48.645Z] [2021-05-06T19:03:48.645Z] [2021-05-06T19:03:48.645Z] ==> git version 2.24.3 found [2021-05-06T19:03:48.645Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-06T19:03:48.645Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T19:03:48.645Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T19:03:48.645Z] ==> Jenkins CI detected. [2021-05-06T19:03:48.645Z] project root: . [2021-05-06T19:03:48.645Z] --> token set from env [2021-05-06T19:03:48.645Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T19:03:48.645Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T19:03:48.645Z] ==> Python coveragepy not found [2021-05-06T19:03:48.645Z] ==> Searching for coverage reports in: [2021-05-06T19:03:48.645Z] + . [2021-05-06T19:03:48.645Z] -> Found 1 reports [2021-05-06T19:03:48.645Z] ==> Detecting git/mercurial file structure [2021-05-06T19:03:48.911Z] ==> Reading reports [2021-05-06T19:03:48.911Z] + ./coverage.out bytes=28856 [2021-05-06T19:03:48.911Z] ==> Appending adjustments [2021-05-06T19:03:48.911Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T19:03:48.911Z] + Found adjustments [2021-05-06T19:03:48.911Z] ==> Gzipping contents [2021-05-06T19:03:48.911Z] 8.0K /tmp/codecov.9hpIaN.gz [2021-05-06T19:03:48.911Z] ==> Uploading reports [2021-05-06T19:03:48.911Z] url: https://codecov.io [2021-05-06T19:03:48.911Z] query: branch=PR-226&commit=4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=226&job=&cmd_args= [2021-05-06T19:03:48.911Z] -> Pinging Codecov [2021-05-06T19:03:48.911Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-226&commit=4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=226&job=&cmd_args= [2021-05-06T19:03:49.861Z] -> Uploading to [2021-05-06T19:03:49.861Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/833815588EE85121546D348822E98E2E/4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd/94fccbf2-3cb9-4885-884b-b406ea28bd95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T190349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43bd4ae8bca73f08d1165d4896bfbeeb81ebc779b16d6c25244df05fae0512b0 [2021-05-06T19:03:49.861Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T19:03:49.861Z] Dload Upload Total Spent Left Speed [2021-05-06T19:03:50.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5502 0 0 100 5502 0 12732 --:--:-- --:--:-- --:--:-- 12765 [2021-05-06T19:03:50.132Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/4a3ddf59cc60f224189b7b9cf4632d43ed8bd8fd [Pipeline] } [2021-05-06T19:03:50.156Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:03:52.196Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:03:52.841Z] ---> package-listing.sh [2021-05-06T19:03:52.842Z] ++ facter osfamily [2021-05-06T19:03:52.842Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T19:03:52.842Z] + OS_FAMILY=redhat [2021-05-06T19:03:52.842Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-226 [2021-05-06T19:03:52.842Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T19:03:52.842Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T19:03:52.842Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T19:03:52.842Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T19:03:52.842Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-226 ']' [2021-05-06T19:03:52.842Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T19:03:52.842Z] + case "${OS_FAMILY}" in [2021-05-06T19:03:52.842Z] + rpm -qa [2021-05-06T19:03:52.842Z] + sort [2021-05-06T19:03:58.190Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T19:03:58.190Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T19:03:58.190Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T19:03:58.190Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-226 ']' [2021-05-06T19:03:58.190Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-226/archives/ [2021-05-06T19:03:58.190Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-226/archives/ [Pipeline] echo [2021-05-06T19:03:58.233Z] 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-226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T19:03:58.547Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:03:58.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T19:03:58.952Z] [2021-05-06T19:03:58.952Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:03:59.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T19:03:59.355Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T19:03:59.355Z] df20fa9351a1: Pulling fs layer [2021-05-06T19:03:59.355Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T19:03:59.355Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T19:03:59.355Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T19:03:59.355Z] 93b61091891f: Pulling fs layer [2021-05-06T19:03:59.355Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T19:03:59.355Z] 5e14af77c1be: Pulling fs layer [2021-05-06T19:03:59.355Z] 01666e4c0597: Pulling fs layer [2021-05-06T19:03:59.355Z] aa168da1d23b: Pulling fs layer [2021-05-06T19:03:59.355Z] 46f8f816bc3b: Waiting [2021-05-06T19:03:59.355Z] 93b61091891f: Waiting [2021-05-06T19:03:59.355Z] 93b9cdb0e59b: Waiting [2021-05-06T19:03:59.355Z] 5e14af77c1be: Waiting [2021-05-06T19:03:59.355Z] 01666e4c0597: Waiting [2021-05-06T19:03:59.355Z] 36b3adc4ff6f: Download complete [2021-05-06T19:03:59.355Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T19:03:59.355Z] 46f8f816bc3b: Download complete [2021-05-06T19:03:59.627Z] df20fa9351a1: Verifying Checksum [2021-05-06T19:03:59.627Z] df20fa9351a1: Download complete [2021-05-06T19:03:59.627Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T19:03:59.627Z] 93b9cdb0e59b: Download complete [2021-05-06T19:03:59.627Z] 5e14af77c1be: Verifying Checksum [2021-05-06T19:03:59.627Z] 5e14af77c1be: Download complete [2021-05-06T19:03:59.627Z] 01666e4c0597: Verifying Checksum [2021-05-06T19:03:59.627Z] 01666e4c0597: Download complete [2021-05-06T19:03:59.627Z] 93b61091891f: Verifying Checksum [2021-05-06T19:03:59.627Z] 93b61091891f: Download complete [2021-05-06T19:03:59.627Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T19:03:59.627Z] 8ad3a11d3b57: Download complete [2021-05-06T19:03:59.900Z] df20fa9351a1: Pull complete [2021-05-06T19:04:00.167Z] 36b3adc4ff6f: Pull complete [2021-05-06T19:04:01.149Z] 8ad3a11d3b57: Pull complete [2021-05-06T19:04:01.149Z] 46f8f816bc3b: Pull complete [2021-05-06T19:04:01.732Z] 93b61091891f: Pull complete [2021-05-06T19:04:01.995Z] 93b9cdb0e59b: Pull complete [2021-05-06T19:04:01.995Z] aa168da1d23b: Verifying Checksum [2021-05-06T19:04:01.995Z] aa168da1d23b: Download complete [2021-05-06T19:04:02.261Z] 5e14af77c1be: Pull complete [2021-05-06T19:04:02.261Z] 01666e4c0597: Pull complete [2021-05-06T19:04:10.471Z] aa168da1d23b: Pull complete [2021-05-06T19:04:10.471Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T19:04:10.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T19:04:10.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T19:04:10.725Z] prd-centos7-docker-4c-2g-3255 does not seem to be running inside a container [2021-05-06T19:04:10.780Z] $ 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-226/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-226 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-226:/w/workspace/xfoundry_go-mod-bootstrap_PR-226:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T19:04:13.896Z] $ docker top 734613b04b44cf690636dbbb33ec82ae72af94cda0282da12d73ca3f6dc7635d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:04:14.355Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T19:04:14.676Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T19:04:15.000Z] + ls /var/log/sa-host [2021-05-06T19:04:15.000Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T19:04:15.000Z] file_magic: OK [2021-05-06T19:04:15.000Z] HZ: Using current value: 100 [2021-05-06T19:04:15.000Z] file_header: OK [2021-05-06T19:04:15.000Z] 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-06T19:04:15.000Z] Statistics: [2021-05-06T19:04:15.000Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T19:04:15.000Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T19:04:15.000Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T19:04:15.000Z] file_magic: OK [2021-05-06T19:04:15.000Z] HZ: Using current value: 100 [2021-05-06T19:04:15.000Z] file_header: OK [2021-05-06T19:04:15.000Z] 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-06T19:04:15.000Z] Statistics: [2021-05-06T19:04:15.000Z] Hnuu...uuuununununu... [2021-05-06T19:04:15.000Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T19:04:15.665Z] provisioning config files... [2021-05-06T19:04:15.684Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-226@tmp/config5772789774647040880tmp [Pipeline] { [Pipeline] echo [2021-05-06T19:04:15.742Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:04:16.087Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T19:04:16.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T19:04:16.196Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:04:16.538Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T19:04:16.580Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:04:16.928Z] ---> sudo-logs.sh [2021-05-06T19:04:16.928Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T19:04:17.013Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:04:17.365Z] ---> job-cost.sh [2021-05-06T19:04:17.365Z] lf-activate-venv: SKIPPING [2021-05-06T19:04:17.365Z] DEBUG: total: 0.029999999329447746 [2021-05-06T19:04:17.365Z] INFO: Retrieving Stack Cost... [2021-05-06T19:04:18.313Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T19:04:18.888Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T19:04:18.922Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:04:19.258Z] ---> logs-deploy.sh [2021-05-06T19:04:19.258Z] lf-activate-venv: SKIPPING [2021-05-06T19:04:19.258Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-226/1 [2021-05-06T19:04:19.258Z] INFO: archiving workspace using pattern(s): [2021-05-06T19:04:21.186Z] Archives upload complete. [2021-05-06T19:04:21.186Z] INFO: archiving logs to Nexus