Pull request #39 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b446702c29a8b61052e5553257eb075df29d2937+d309ec7296c53c870d4179e78840241d64a612c5 (14a79db68fc830e83c5e8d2b8a2d37141079c11b) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6061782864334315490.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6582087025457744430.key > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git 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-configuration/branches/PR-39/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-39/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh422752912204968874.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-39/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh363805840794803544.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh910456710349222122.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE 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-configuration/branches/PR-39/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-39/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5808649005796600285.key > 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 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-configuration, 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-configuration-settings PROJECT: go-mod-configuration 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: go-mod-configuration 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-728 in /w/workspace/undry_go-mod-configuration_PR-39 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-39 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/undry_go-mod-configuration_PR-39@tmp/jenkins-gitclient-ssh1993580937674180813.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.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-configuration.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/undry_go-mod-configuration_PR-39@tmp/jenkins-gitclient-ssh5094390867901218555.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d309ec7296c53c870d4179e78840241d64a612c5 into PR head commit b446702c29a8b61052e5553257eb075df29d2937 Merge succeeded, producing b446702c29a8b61052e5553257eb075df29d2937 Checking out Revision b446702c29a8b61052e5553257eb075df29d2937 (PR-39) > git config core.sparsecheckout # timeout=10 > git checkout -f b446702c29a8b61052e5553257eb075df29d2937 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/undry_go-mod-configuration_PR-39@tmp/jenkins-gitclient-ssh1352562836191152581.key > git merge d309ec7296c53c870d4179e78840241d64a612c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b446702c29a8b61052e5553257eb075df29d2937 # timeout=10 Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-07T05:45:12.477Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-07T05:45:12.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-07T05:45:12.828Z] ========================================================= [2021-06-07T05:45:12.828Z] EdgeX Global Pipelines Version Info [2021-06-07T05:45:12.828Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:45:14.385Z] ------------------- [2021-06-07T05:45:14.385Z] stable info: [2021-06-07T05:45:14.385Z] ------------------- [2021-06-07T05:45:14.385Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-07T05:45:14.385Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-07T05:45:14.385Z] Message: update stable to v1.0.193 [2021-06-07T05:45:14.970Z] ------------------- [2021-06-07T05:45:14.970Z] experimental info: [2021-06-07T05:45:14.970Z] ------------------- [2021-06-07T05:45:14.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-07T05:45:14.970Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-07T05:45:14.970Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-07T05:45:15.199Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo [2021-06-07T05:45:15.256Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo [2021-06-07T05:45:15.315Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-07T05:45:15.372Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-07T05:45:15.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-07T05:45:15.487Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-07T05:45:15.544Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-07T05:45:15.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-07T05:45:15.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-07T05:45:15.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-07T05:45:15.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-07T05:45:15.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo [2021-06-07T05:45:15.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-07T05:45:15.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-07T05:45:16.006Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-07T05:45:16.074Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-07T05:45:16.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-07T05:45:16.206Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-07T05:45:16.264Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-07T05:45:16.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-07T05:45:16.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-07T05:45:16.441Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-07T05:45:16.500Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-07T05:45:16.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-07T05:45:16.618Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-07T05:45:16.683Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-07T05:45:16.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-39 [Pipeline] echo [2021-06-07T05:45:16.814Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-39 [Pipeline] echo [2021-06-07T05:45:16.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-39 [Pipeline] echo [2021-06-07T05:45:16.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b446702c29a8b61052e5553257eb075df29d2937 [Pipeline] echo [2021-06-07T05:45:16.999Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b446702 [Pipeline] echo [2021-06-07T05:45:17.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-07T05:45:17.778Z] + git log --format=format:%s -1 b446702c29a8b61052e5553257eb075df29d2937 [Pipeline] echo [2021-06-07T05:45:17.880Z] GIT_COMMIT: b446702c29a8b61052e5553257eb075df29d2937, Commit Message: build(deps): Bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2 [Pipeline] echo [2021-06-07T05:45:17.918Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:45:18.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-07T05:45:19.103Z] [2021-06-07T05:45:19.103Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:45:19.459Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-07T05:45:19.728Z] latest: Pulling from edgex-devops/git-semver [2021-06-07T05:45:19.728Z] 31603596830f: Pulling fs layer [2021-06-07T05:45:19.728Z] 54011a49482f: Pulling fs layer [2021-06-07T05:45:19.728Z] a6820b24f6d8: Pulling fs layer [2021-06-07T05:45:19.728Z] f581987b2513: Pulling fs layer [2021-06-07T05:45:19.728Z] f581987b2513: Waiting [2021-06-07T05:45:19.728Z] 54011a49482f: Verifying Checksum [2021-06-07T05:45:19.728Z] 54011a49482f: Download complete [2021-06-07T05:45:19.728Z] 31603596830f: Verifying Checksum [2021-06-07T05:45:19.728Z] 31603596830f: Download complete [2021-06-07T05:45:19.728Z] f581987b2513: Verifying Checksum [2021-06-07T05:45:19.728Z] f581987b2513: Download complete [2021-06-07T05:45:19.999Z] a6820b24f6d8: Verifying Checksum [2021-06-07T05:45:19.999Z] a6820b24f6d8: Download complete [2021-06-07T05:45:19.999Z] 31603596830f: Pull complete [2021-06-07T05:45:19.999Z] 54011a49482f: Pull complete [2021-06-07T05:45:20.571Z] a6820b24f6d8: Pull complete [2021-06-07T05:45:20.832Z] f581987b2513: Pull complete [2021-06-07T05:45:20.832Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-07T05:45:20.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-07T05:45:20.832Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-07T05:45:20.934Z] prd-centos7-docker-4c-2g-728 does not seem to be running inside a container [2021-06-07T05:45:20.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-39 -v /w/workspace/undry_go-mod-configuration_PR-39:/w/workspace/undry_go-mod-configuration_PR-39:rw,z -v /w/workspace/undry_go-mod-configuration_PR-39@tmp:/w/workspace/undry_go-mod-configuration_PR-39@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-07T05:45:22.069Z] $ docker top 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-07T05:45:22.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-07T05:45:22.281Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-07T05:45:22.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-07T05:45:22.404Z] $ docker exec 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 ssh-agent [2021-06-07T05:45:22.534Z] SSH_AUTH_SOCK=/tmp/ssh-5XYy3bjboVES/agent.14 [2021-06-07T05:45:22.534Z] SSH_AGENT_PID=20 [2021-06-07T05:45:22.551Z] Running ssh-add (command line suppressed) [2021-06-07T05:45:22.649Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-39@tmp/private_key_3827675294873679341.key (/w/workspace/undry_go-mod-configuration_PR-39@tmp/private_key_3827675294873679341.key) [2021-06-07T05:45:22.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-07T05:45:23.011Z] + git tag --points-at HEAD [Pipeline] } [2021-06-07T05:45:23.027Z] $ docker exec --env ******** --env ******** 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 ssh-agent -k [2021-06-07T05:45:23.146Z] unset SSH_AUTH_SOCK; [2021-06-07T05:45:23.146Z] unset SSH_AGENT_PID; [2021-06-07T05:45:23.147Z] echo Agent pid 20 killed; [2021-06-07T05:45:23.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-07T05:45:23.260Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-07T05:45:23.260Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-07T05:45:23.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-07T05:45:23.375Z] $ docker exec 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 ssh-agent [2021-06-07T05:45:23.503Z] SSH_AUTH_SOCK=/tmp/ssh-GBvbstcjBzEX/agent.52 [2021-06-07T05:45:23.503Z] SSH_AGENT_PID=58 [2021-06-07T05:45:23.508Z] Running ssh-add (command line suppressed) [2021-06-07T05:45:23.614Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-39@tmp/private_key_1167468707511178426.key (/w/workspace/undry_go-mod-configuration_PR-39@tmp/private_key_1167468707511178426.key) [2021-06-07T05:45:23.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-07T05:45:23.989Z] + git semver init [2021-06-07T05:45:23.989Z] # -> Open(): unable to determine branch for HEAD [2021-06-07T05:45:23.989Z] # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-39/.git [2021-06-07T05:45:23.989Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-39 [2021-06-07T05:45:23.989Z] # $SEMVER_REMOTE_NAME = origin [2021-06-07T05:45:23.989Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-07T05:45:23.989Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-07T05:45:23.989Z] # $SEMVER_BRANCH = PR-39 [2021-06-07T05:45:23.989Z] # $SEMVER_TEMP = /tmp/semver-852958621 [2021-06-07T05:45:23.989Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP [2021-06-07T05:45:24.280Z] # '/tmp/semver-852958621' -> '/w/workspace/undry_go-mod-configuration_PR-39/.semver' [2021-06-07T05:45:24.280Z] # -> Force: false [2021-06-07T05:45:24.280Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-39/.semver [Pipeline] } [2021-06-07T05:45:24.296Z] $ docker exec --env ******** --env ******** 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 ssh-agent -k [2021-06-07T05:45:24.423Z] unset SSH_AUTH_SOCK; [2021-06-07T05:45:24.425Z] unset SSH_AGENT_PID; [2021-06-07T05:45:24.425Z] echo Agent pid 58 killed; [2021-06-07T05:45:24.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-07T05:45:24.890Z] + git semver [Pipeline] } [2021-06-07T05:45:24.943Z] $ docker stop --time=1 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 [2021-06-07T05:45:26.208Z] $ docker rm -f 2f708c8e0b3f67ea73608c5b92894f166f93de6d1242b47bbe89e9c731aebd26 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-07T05:45:26.637Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-07T05:45:26.988Z] Stashed 1 file(s) [Pipeline] echo [2021-06-07T05:45:27.011Z] [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-06-07T05:45:42.560Z] Still waiting to schedule task [2021-06-07T05:45:42.560Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-07T05:45:42.599Z] Still waiting to schedule task [2021-06-07T05:45:42.599Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-724’ [2021-06-07T05:48:19.365Z] Running on prd-centos7-docker-4c-2g-734 in /w/workspace/undry_go-mod-configuration_PR-39 [Pipeline] { [Pipeline] ws [2021-06-07T05:48:19.470Z] Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout [2021-06-07T05:48:19.618Z] Selected Git installation does not exist. Using Default [2021-06-07T05:48:19.618Z] The recommended git tool is: NONE [2021-06-07T05:48:22.561Z] using credential edgex-jenkins-ssh [2021-06-07T05:48:22.574Z] Cloning the remote Git repository [2021-06-07T05:48:22.594Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2021-06-07T05:48:22.656Z] > git init /w/workspace/go-mod-configuration/1 # timeout=10 [2021-06-07T05:48:22.687Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-06-07T05:48:22.687Z] > git --version # timeout=10 [2021-06-07T05:48:22.692Z] > git --version # 'git version 2.24.4' [2021-06-07T05:48:22.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-07T05:48:22.865Z] [INFO] Currently running in a labeled security context [2021-06-07T05:48:22.865Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-07T05:48:22.865Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh2474215726814886290.key [2021-06-07T05:48:22.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-07T05:48:27.162Z] Merging remotes/origin/master commit d309ec7296c53c870d4179e78840241d64a612c5 into PR head commit b446702c29a8b61052e5553257eb075df29d2937 [2021-06-07T05:48:27.243Z] Merge succeeded, producing b446702c29a8b61052e5553257eb075df29d2937 [2021-06-07T05:48:27.244Z] Checking out Revision b446702c29a8b61052e5553257eb075df29d2937 (PR-39) [2021-06-07T05:48:26.732Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-06-07T05:48:26.741Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-07T05:48:26.750Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-06-07T05:48:26.763Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-06-07T05:48:26.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-07T05:48:26.763Z] [INFO] Currently running in a labeled security context [2021-06-07T05:48:26.764Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-07T05:48:26.764Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh2395830829848344705.key [2021-06-07T05:48:26.770Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-07T05:48:27.166Z] > git config core.sparsecheckout # timeout=10 [2021-06-07T05:48:27.178Z] > git checkout -f b446702c29a8b61052e5553257eb075df29d2937 # timeout=10 [2021-06-07T05:48:27.205Z] > git remote # timeout=10 [2021-06-07T05:48:27.210Z] > git config --get remote.origin.url # timeout=10 [2021-06-07T05:48:27.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-07T05:48:27.217Z] [INFO] Currently running in a labeled security context [2021-06-07T05:48:27.217Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-07T05:48:27.217Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh8607234744834592250.key [2021-06-07T05:48:27.223Z] > git merge d309ec7296c53c870d4179e78840241d64a612c5 # timeout=10 [2021-06-07T05:48:27.233Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-07T05:48:27.243Z] > git config core.sparsecheckout # timeout=10 [2021-06-07T05:48:27.249Z] > git checkout -f b446702c29a8b61052e5553257eb075df29d2937 # timeout=10 [2021-06-07T05:48:30.928Z] Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" [2021-06-07T05:48:30.954Z] > git --version # timeout=10 [2021-06-07T05:48:30.967Z] > git --version # 'git version 2.24.4' [2021-06-07T05:48:30.974Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-07T05:48:35.623Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-07T05:48:36.261Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-07T05:48:36.583Z] + sudo service docker restart [2021-06-07T05:48:36.583Z] + true [2021-06-07T05:48:37.579Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-07T05:48:55.914Z] ========================================================= [2021-06-07T05:48:55.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-07T05:48:55.914Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:48:56.297Z] + 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-06-07T05:48:56.879Z] Sending build context to Docker daemon 261.1kB [2021-06-07T05:48:56.879Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-06-07T05:48:56.879Z] Step 2/7 : FROM ${BASE} [2021-06-07T05:48:56.879Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-07T05:48:56.879Z] 540db60ca938: Pulling fs layer [2021-06-07T05:48:56.879Z] adcc1eea9eea: Pulling fs layer [2021-06-07T05:48:56.879Z] 4c4ab2625f07: Pulling fs layer [2021-06-07T05:48:56.879Z] 0510c868ecb4: Pulling fs layer [2021-06-07T05:48:56.879Z] afea3b2eda06: Pulling fs layer [2021-06-07T05:48:56.879Z] 7809a108b3ef: Pulling fs layer [2021-06-07T05:48:56.879Z] f706445af74f: Pulling fs layer [2021-06-07T05:48:56.879Z] 0510c868ecb4: Waiting [2021-06-07T05:48:56.879Z] afea3b2eda06: Waiting [2021-06-07T05:48:56.879Z] 7809a108b3ef: Waiting [2021-06-07T05:48:56.879Z] f706445af74f: Waiting [2021-06-07T05:48:56.879Z] 4c4ab2625f07: Verifying Checksum [2021-06-07T05:48:56.879Z] 4c4ab2625f07: Download complete [2021-06-07T05:48:56.879Z] adcc1eea9eea: Verifying Checksum [2021-06-07T05:48:56.879Z] adcc1eea9eea: Download complete [2021-06-07T05:48:56.879Z] afea3b2eda06: Verifying Checksum [2021-06-07T05:48:56.879Z] afea3b2eda06: Download complete [2021-06-07T05:48:56.879Z] 7809a108b3ef: Verifying Checksum [2021-06-07T05:48:56.879Z] 7809a108b3ef: Download complete [2021-06-07T05:48:56.879Z] 540db60ca938: Verifying Checksum [2021-06-07T05:48:56.879Z] 540db60ca938: Download complete [2021-06-07T05:48:57.463Z] 540db60ca938: Pull complete [2021-06-07T05:48:57.463Z] adcc1eea9eea: Pull complete [2021-06-07T05:48:57.728Z] 4c4ab2625f07: Pull complete [2021-06-07T05:48:58.683Z] f706445af74f: Verifying Checksum [2021-06-07T05:48:58.684Z] f706445af74f: Download complete [2021-06-07T05:48:58.949Z] 0510c868ecb4: Verifying Checksum [2021-06-07T05:48:58.949Z] 0510c868ecb4: Download complete [2021-06-07T05:49:03.865Z] 0510c868ecb4: Pull complete [2021-06-07T05:49:03.865Z] afea3b2eda06: Pull complete [2021-06-07T05:49:03.865Z] 7809a108b3ef: Pull complete [2021-06-07T05:49:05.797Z] f706445af74f: Pull complete [2021-06-07T05:49:05.797Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-07T05:49:05.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-07T05:49:05.797Z] ---> b068be0155e3 [2021-06-07T05:49:05.797Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-07T05:49:10.457Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-737 in /w/workspace/undry_go-mod-configuration_PR-39 [Pipeline] { [Pipeline] ws [2021-06-07T05:49:10.539Z] Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout [2021-06-07T05:49:10.853Z] Selected Git installation does not exist. Using Default [2021-06-07T05:49:10.853Z] The recommended git tool is: NONE [2021-06-07T05:49:14.007Z] ---> Running in 7f2ec195a5c8 [2021-06-07T05:49:14.007Z] Removing intermediate container 7f2ec195a5c8 [2021-06-07T05:49:14.007Z] ---> a482f7e67947 [2021-06-07T05:49:14.007Z] Step 4/7 : RUN apk add --update bash [2021-06-07T05:49:14.007Z] ---> Running in 6d742f350630 [2021-06-07T05:49:14.007Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-07T05:49:14.291Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-07T05:49:14.887Z] OK: 149 MiB in 40 packages [2021-06-07T05:49:15.511Z] Removing intermediate container 6d742f350630 [2021-06-07T05:49:15.511Z] ---> 5746c43c666d [2021-06-07T05:49:15.511Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-06-07T05:49:15.780Z] ---> Running in 018ce5c4fa81 [2021-06-07T05:49:15.780Z] Removing intermediate container 018ce5c4fa81 [2021-06-07T05:49:15.780Z] ---> 941599fb77d7 [2021-06-07T05:49:15.780Z] Step 6/7 : COPY go.mod . [2021-06-07T05:49:16.061Z] ---> 50def6a701f8 [2021-06-07T05:49:16.061Z] Step 7/7 : RUN go mod download [2021-06-07T05:49:16.119Z] using credential edgex-jenkins-ssh [2021-06-07T05:49:16.144Z] Cloning the remote Git repository [2021-06-07T05:49:16.349Z] ---> Running in 0d9a308f73ad [2021-06-07T05:49:16.196Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2021-06-07T05:49:16.384Z] > git init /w/workspace/go-mod-configuration/1 # timeout=10 [2021-06-07T05:49:16.486Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-06-07T05:49:16.487Z] > git --version # timeout=10 [2021-06-07T05:49:16.501Z] > git --version # 'git version 2.17.1' [2021-06-07T05:49:16.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-07T05:49:16.576Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-07T05:49:17.809Z] Merging remotes/origin/master commit d309ec7296c53c870d4179e78840241d64a612c5 into PR head commit b446702c29a8b61052e5553257eb075df29d2937 [2021-06-07T05:49:17.991Z] Merge succeeded, producing b446702c29a8b61052e5553257eb075df29d2937 [2021-06-07T05:49:17.991Z] Checking out Revision b446702c29a8b61052e5553257eb075df29d2937 (PR-39) [2021-06-07T05:49:17.268Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-06-07T05:49:17.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-07T05:49:17.308Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-06-07T05:49:17.343Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-06-07T05:49:17.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-07T05:49:17.361Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-07T05:49:17.828Z] > git config core.sparsecheckout # timeout=10 [2021-06-07T05:49:17.840Z] > git checkout -f b446702c29a8b61052e5553257eb075df29d2937 # timeout=10 [2021-06-07T05:49:17.910Z] > git remote # timeout=10 [2021-06-07T05:49:17.924Z] > git config --get remote.origin.url # timeout=10 [2021-06-07T05:49:17.947Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-07T05:49:17.958Z] > git merge d309ec7296c53c870d4179e78840241d64a612c5 # timeout=10 [2021-06-07T05:49:17.978Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-07T05:49:17.997Z] > git config core.sparsecheckout # timeout=10 [2021-06-07T05:49:18.007Z] > git checkout -f b446702c29a8b61052e5553257eb075df29d2937 # timeout=10 [2021-06-07T05:49:22.233Z] Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" [2021-06-07T05:49:22.285Z] > git --version # timeout=10 [2021-06-07T05:49:22.294Z] > git --version # 'git version 2.17.1' [2021-06-07T05:49:22.321Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-07T05:49:23.941Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-07T05:49:24.382Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-07T05:49:24.759Z] + sudo service docker restart [2021-06-07T05:49:24.759Z] + true [2021-06-07T05:49:31.281Z] Removing intermediate container 0d9a308f73ad [2021-06-07T05:49:31.281Z] ---> 5cc9812fbeac [2021-06-07T05:49:31.281Z] Successfully built 5cc9812fbeac [2021-06-07T05:49:31.281Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:49:31.633Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-07T05:49:31.633Z] . [Pipeline] withDockerContainer [2021-06-07T05:49:31.737Z] prd-centos7-docker-4c-2g-734 does not seem to be running inside a container [2021-06-07T05:49:31.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-x86_64 cat [2021-06-07T05:49:32.351Z] $ docker top d03a157cc2dc51c34139e8f7ab416d44131e1e8fad75e42ae7c7e50b59ec32e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-07T05:49:32.794Z] + go version [2021-06-07T05:49:32.794Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-07T05:49:32.822Z] $ docker stop --time=1 d03a157cc2dc51c34139e8f7ab416d44131e1e8fad75e42ae7c7e50b59ec32e2 [2021-06-07T05:49:40.052Z] $ docker rm -f d03a157cc2dc51c34139e8f7ab416d44131e1e8fad75e42ae7c7e50b59ec32e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:49:40.966Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-07T05:49:40.966Z] . [Pipeline] withDockerContainer [2021-06-07T05:49:41.072Z] prd-centos7-docker-4c-2g-734 does not seem to be running inside a container [2021-06-07T05:49:41.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-x86_64 cat [2021-06-07T05:49:46.156Z] $ docker top 02829c072aceaa97f29beccbc83c541c12120bc799a2debd2ac822535ac333cd -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-07T05:49:46.647Z] + go mod tidy [Pipeline] sh [Pipeline] echo [2021-06-07T05:49:46.804Z] ========================================================= [2021-06-07T05:49:46.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-07T05:49:46.804Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:49:46.987Z] + make test [2021-06-07T05:49:46.987Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-07T05:49:47.306Z] + 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-06-07T05:49:47.907Z] Sending build context to Docker daemon 260.1kB [2021-06-07T05:49:48.181Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-06-07T05:49:48.181Z] Step 2/7 : FROM ${BASE} [2021-06-07T05:49:48.777Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-07T05:49:48.777Z] 595b0fe564bb: Pulling fs layer [2021-06-07T05:49:48.777Z] 7186ed65a4f7: Pulling fs layer [2021-06-07T05:49:48.777Z] 316046926c0a: Pulling fs layer [2021-06-07T05:49:48.777Z] 4ebd0625c992: Pulling fs layer [2021-06-07T05:49:48.777Z] 207e8628e3a3: Pulling fs layer [2021-06-07T05:49:48.777Z] c791037a9be2: Pulling fs layer [2021-06-07T05:49:48.777Z] ffd874e62e21: Pulling fs layer [2021-06-07T05:49:48.777Z] 207e8628e3a3: Waiting [2021-06-07T05:49:48.777Z] c791037a9be2: Waiting [2021-06-07T05:49:48.777Z] ffd874e62e21: Waiting [2021-06-07T05:49:48.777Z] 4ebd0625c992: Waiting [2021-06-07T05:49:48.777Z] 316046926c0a: Download complete [2021-06-07T05:49:48.777Z] 7186ed65a4f7: Verifying Checksum [2021-06-07T05:49:48.777Z] 7186ed65a4f7: Download complete [2021-06-07T05:49:48.777Z] 207e8628e3a3: Download complete [2021-06-07T05:49:48.777Z] c791037a9be2: Verifying Checksum [2021-06-07T05:49:48.777Z] c791037a9be2: Download complete [2021-06-07T05:49:48.777Z] 595b0fe564bb: Verifying Checksum [2021-06-07T05:49:48.777Z] 595b0fe564bb: Download complete [2021-06-07T05:49:49.388Z] 595b0fe564bb: Pull complete [2021-06-07T05:49:50.375Z] 7186ed65a4f7: Pull complete [2021-06-07T05:49:50.375Z] ffd874e62e21: Download complete [2021-06-07T05:49:50.651Z] 316046926c0a: Pull complete [2021-06-07T05:49:52.096Z] 4ebd0625c992: Download complete [2021-06-07T05:50:02.315Z] 4ebd0625c992: Pull complete [2021-06-07T05:50:02.315Z] 207e8628e3a3: Pull complete [2021-06-07T05:50:02.315Z] c791037a9be2: Pull complete [2021-06-07T05:50:05.243Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.008s coverage: 85.7% of statements [2021-06-07T05:50:05.503Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.537s coverage: 87.4% of statements [2021-06-07T05:50:05.716Z] ffd874e62e21: Pull complete [2021-06-07T05:50:05.995Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-07T05:50:05.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-07T05:50:05.995Z] ---> cfc18b08335c [2021-06-07T05:50:05.996Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-07T05:50:06.447Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.005s coverage: 100.0% of statements [2021-06-07T05:50:07.985Z] ---> Running in 1770921c2b4a [2021-06-07T05:50:08.586Z] Removing intermediate container 1770921c2b4a [2021-06-07T05:50:08.586Z] ---> 529074aacaaa [2021-06-07T05:50:08.586Z] Step 4/7 : RUN apk add --update bash [2021-06-07T05:50:08.586Z] ---> Running in ecdb342ec6f9 [2021-06-07T05:50:09.017Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-06-07T05:50:10.019Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-07T05:50:10.999Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-07T05:50:12.436Z] OK: 138 MiB in 40 packages [2021-06-07T05:50:13.266Z] gofmt -l . [2021-06-07T05:50:13.267Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-07T05:50:13.294Z] $ docker stop --time=1 02829c072aceaa97f29beccbc83c541c12120bc799a2debd2ac822535ac333cd [2021-06-07T05:50:13.419Z] Removing intermediate container ecdb342ec6f9 [2021-06-07T05:50:13.419Z] ---> 2bc602a17226 [2021-06-07T05:50:13.419Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-06-07T05:50:13.419Z] ---> Running in 187c29cbee9e [2021-06-07T05:50:14.019Z] Removing intermediate container 187c29cbee9e [2021-06-07T05:50:14.019Z] ---> a8ca113c44ec [2021-06-07T05:50:14.019Z] Step 6/7 : COPY go.mod . [2021-06-07T05:50:14.628Z] ---> 193227949df1 [2021-06-07T05:50:14.628Z] Step 7/7 : RUN go mod download [2021-06-07T05:50:14.628Z] ---> Running in d056a0c3fc82 [2021-06-07T05:50:18.811Z] $ docker rm -f 02829c072aceaa97f29beccbc83c541c12120bc799a2debd2ac822535ac333cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-07T05:50:19.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-07T05:50:19.532Z] 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-06-07T05:50:20.992Z] ---> job-cost.sh [2021-06-07T05:50:20.992Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qWNv [2021-06-07T05:50:32.945Z] Removing intermediate container d056a0c3fc82 [2021-06-07T05:50:32.945Z] ---> 1a5f491c4323 [2021-06-07T05:50:32.945Z] Successfully built 1a5f491c4323 [2021-06-07T05:50:32.945Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:50:33.262Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-07T05:50:33.329Z] + docker inspect -f . ci-base-image-arm64 [2021-06-07T05:50:33.329Z] . [Pipeline] withDockerContainer [2021-06-07T05:50:33.619Z] prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container [2021-06-07T05:50:33.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-arm64 cat [2021-06-07T05:50:35.330Z] $ docker top f87ed3805eaf9e2f8f947f0b4c155c4680aaaa4559e77f2b6cfc10509f042581 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-07T05:50:36.378Z] + go version [2021-06-07T05:50:36.378Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-07T05:50:36.415Z] $ docker stop --time=1 f87ed3805eaf9e2f8f947f0b4c155c4680aaaa4559e77f2b6cfc10509f042581 [2021-06-07T05:50:38.293Z] $ docker rm -f f87ed3805eaf9e2f8f947f0b4c155c4680aaaa4559e77f2b6cfc10509f042581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:50:39.351Z] + docker inspect -f . ci-base-image-arm64 [2021-06-07T05:50:39.351Z] . [Pipeline] withDockerContainer [2021-06-07T05:50:39.645Z] prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container [2021-06-07T05:50:39.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-arm64 cat [2021-06-07T05:50:41.379Z] $ docker top 0e6761750700d5a6dfc0f61b3b113006920a85528c18a36035efdb5bca1647d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-07T05:50:42.478Z] + go mod tidy [Pipeline] sh [2021-06-07T05:50:43.444Z] + make test [2021-06-07T05:50:43.444Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-07T05:50:51.419Z] lf-activate-venv(): INFO: Adding /tmp/venv-qWNv/bin to PATH [2021-06-07T05:50:51.419Z] INFO: No Stack... [2021-06-07T05:50:51.419Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-07T05:50:51.682Z] INFO: Archiving Costs [Pipeline] sh [2021-06-07T05:50:52.006Z] + cat /w/workspace/go-mod-configuration/1/archives/cost.csv [2021-06-07T05:50:52.007Z] + cut -d, -f6 [Pipeline] lock [2021-06-07T05:50:52.062Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] [2021-06-07T05:50:52.069Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] did not exist. Created. [2021-06-07T05:50:52.069Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-07T05:50:52.485Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-07T05:50:52.622Z] Stashed 1 file(s) [Pipeline] } [2021-06-07T05:50:52.646Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-07T05:51:15.873Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.034s coverage: 85.7% of statements [2021-06-07T05:51:15.873Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.618s coverage: 87.4% of statements [2021-06-07T05:51:15.873Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.022s coverage: 100.0% of statements [2021-06-07T05:51:15.873Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-06-07T05:51:38.098Z] gofmt -l . [2021-06-07T05:51:38.098Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-07T05:51:38.137Z] $ docker stop --time=1 0e6761750700d5a6dfc0f61b3b113006920a85528c18a36035efdb5bca1647d3 [2021-06-07T05:51:40.006Z] $ docker rm -f 0e6761750700d5a6dfc0f61b3b113006920a85528c18a36035efdb5bca1647d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-07T05:51:40.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-07T05:51:40.901Z] Warning: overwriting stash ‘coverage-report’ [2021-06-07T05:51:41.380Z] 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-06-07T05:51:42.389Z] ---> job-cost.sh [2021-06-07T05:51:42.389Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZAqS [2021-06-07T05:52:21.425Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-07T05:53:43.224Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZAqS/bin to PATH [2021-06-07T05:53:43.224Z] INFO: No Stack... [2021-06-07T05:53:43.494Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-07T05:53:44.083Z] INFO: Archiving Costs [Pipeline] sh [2021-06-07T05:53:44.446Z] + cat /w/workspace/go-mod-configuration/1/archives/cost.csv [2021-06-07T05:53:44.447Z] + cut -d, -f6 [Pipeline] lock [2021-06-07T05:53:44.537Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] [2021-06-07T05:53:44.545Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] did not exist. Created. [2021-06-07T05:53:44.545Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-39-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-07T05:53:45.020Z] /w/workspace/go-mod-configuration/1@tmp/durable-4fccf11c/script.sh: 1: /w/workspace/go-mod-configuration/1@tmp/durable-4fccf11c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-07T05:53:45.398Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-07T05:53:45.438Z] Warning: overwriting stash ‘stack-cost’ [2021-06-07T05:53:45.583Z] Stashed 1 file(s) [Pipeline] } [2021-06-07T05:53:45.604Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-39-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] configFileProvider [2021-06-07T05:53:46.668Z] provisioning config files... [2021-06-07T05:53:46.680Z] copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-39@tmp/config4158257094386321885tmp [Pipeline] { [Pipeline] sh [2021-06-07T05:53:47.187Z] + set +x [2021-06-07T05:53:47.188Z] + curl -s https://codecov.io/bash [2021-06-07T05:53:47.188Z] + bash -s -- [2021-06-07T05:53:47.188Z] [2021-06-07T05:53:47.188Z] _____ _ [2021-06-07T05:53:47.188Z] / ____| | | [2021-06-07T05:53:47.188Z] | | ___ __| | ___ ___ _____ __ [2021-06-07T05:53:47.188Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-07T05:53:47.188Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-07T05:53:47.188Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-07T05:53:47.188Z] Bash-1.0.3 [2021-06-07T05:53:47.188Z] [2021-06-07T05:53:47.188Z] [2021-06-07T05:53:47.188Z] ==> git version 2.24.4 found [2021-06-07T05:53:47.188Z] ==> 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-06-07T05:53:47.188Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-07T05:53:47.188Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-07T05:53:47.188Z] ==> Jenkins CI detected. [2021-06-07T05:53:47.188Z] project root: . [2021-06-07T05:53:47.188Z] --> token set from env [2021-06-07T05:53:47.188Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-07T05:53:47.188Z] ==> Running gcov in . (disable via -X gcov) [2021-06-07T05:53:47.188Z] ==> Python coveragepy not found [2021-06-07T05:53:47.188Z] ==> Searching for coverage reports in: [2021-06-07T05:53:47.188Z] + . [2021-06-07T05:53:47.188Z] -> Found 1 reports [2021-06-07T05:53:47.188Z] ==> Detecting git/mercurial file structure [2021-06-07T05:53:47.188Z] ==> Reading reports [2021-06-07T05:53:47.188Z] + ./coverage.out bytes=14452 [2021-06-07T05:53:47.188Z] ==> Appending adjustments [2021-06-07T05:53:47.188Z] https://docs.codecov.io/docs/fixing-reports [2021-06-07T05:53:47.188Z] + Found adjustments [2021-06-07T05:53:47.188Z] ==> Gzipping contents [2021-06-07T05:53:47.188Z] 4.0K /tmp/codecov.7mZ8nf.gz [2021-06-07T05:53:47.188Z] ==> Uploading reports [2021-06-07T05:53:47.188Z] url: https://codecov.io [2021-06-07T05:53:47.188Z] query: branch=PR-39&commit=b446702c29a8b61052e5553257eb075df29d2937&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-39%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=39&job=&cmd_args= [2021-06-07T05:53:47.188Z] -> Pinging Codecov [2021-06-07T05:53:47.188Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-39&commit=b446702c29a8b61052e5553257eb075df29d2937&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-39%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=39&job=&cmd_args= [2021-06-07T05:53:47.768Z] -> Uploading to [2021-06-07T05:53:47.768Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-07/9F92B070CA9CA35F4914AC8684776953/b446702c29a8b61052e5553257eb075df29d2937/998fd760-5f06-4117-8a6f-09614cf3fa77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210607T055347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60f2410eaf63ed83823afcb1b25c6cc2639a9dbee6fbf4dc40a2fd533ba83029 [2021-06-07T05:53:47.768Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-07T05:53:47.768Z] Dload Upload Total Spent Left Speed [2021-06-07T05:53:48.033Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2644 0 0 100 2644 0 5902 --:--:-- --:--:-- --:--:-- 5914 [2021-06-07T05:53:48.033Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/b446702c29a8b61052e5553257eb075df29d2937 [Pipeline] } [2021-06-07T05:53:48.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [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-06-07T05:53:50.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:53:51.074Z] ---> package-listing.sh [2021-06-07T05:53:51.074Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-07T05:53:51.074Z] ++ facter osfamily [2021-06-07T05:53:51.337Z] + OS_FAMILY=redhat [2021-06-07T05:53:51.337Z] + workspace=/w/workspace/undry_go-mod-configuration_PR-39 [2021-06-07T05:53:51.337Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-07T05:53:51.337Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-07T05:53:51.337Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-07T05:53:51.337Z] + PACKAGES=/tmp/packages_start.txt [2021-06-07T05:53:51.337Z] + '[' /w/workspace/undry_go-mod-configuration_PR-39 ']' [2021-06-07T05:53:51.337Z] + PACKAGES=/tmp/packages_end.txt [2021-06-07T05:53:51.337Z] + case "${OS_FAMILY}" in [2021-06-07T05:53:51.337Z] + sort [2021-06-07T05:53:51.337Z] + rpm -qa [2021-06-07T05:53:51.914Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-07T05:53:51.914Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-07T05:53:51.914Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-07T05:53:51.914Z] + '[' /w/workspace/undry_go-mod-configuration_PR-39 ']' [2021-06-07T05:53:51.914Z] + mkdir -p /w/workspace/undry_go-mod-configuration_PR-39/archives/ [2021-06-07T05:53:51.914Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-39/archives/ [Pipeline] echo [2021-06-07T05:53:51.947Z] 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/undry_go-mod-configuration_PR-39/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-07T05:53:52.346Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:53:52.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-07T05:53:52.955Z] [2021-06-07T05:53:52.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-07T05:53:53.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-07T05:53:53.306Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-07T05:53:53.306Z] df20fa9351a1: Pulling fs layer [2021-06-07T05:53:53.306Z] 36b3adc4ff6f: Pulling fs layer [2021-06-07T05:53:53.306Z] 8ad3a11d3b57: Pulling fs layer [2021-06-07T05:53:53.306Z] 46f8f816bc3b: Pulling fs layer [2021-06-07T05:53:53.306Z] 93b61091891f: Pulling fs layer [2021-06-07T05:53:53.306Z] 93b9cdb0e59b: Pulling fs layer [2021-06-07T05:53:53.306Z] 5e14af77c1be: Pulling fs layer [2021-06-07T05:53:53.306Z] 01666e4c0597: Pulling fs layer [2021-06-07T05:53:53.306Z] aa168da1d23b: Pulling fs layer [2021-06-07T05:53:53.306Z] 93b9cdb0e59b: Waiting [2021-06-07T05:53:53.306Z] 5e14af77c1be: Waiting [2021-06-07T05:53:53.306Z] 01666e4c0597: Waiting [2021-06-07T05:53:53.306Z] aa168da1d23b: Waiting [2021-06-07T05:53:53.306Z] 46f8f816bc3b: Waiting [2021-06-07T05:53:53.306Z] 93b61091891f: Waiting [2021-06-07T05:53:53.306Z] 36b3adc4ff6f: Download complete [2021-06-07T05:53:53.306Z] 46f8f816bc3b: Verifying Checksum [2021-06-07T05:53:53.306Z] 46f8f816bc3b: Download complete [2021-06-07T05:53:53.306Z] df20fa9351a1: Verifying Checksum [2021-06-07T05:53:53.306Z] df20fa9351a1: Download complete [2021-06-07T05:53:53.569Z] 93b9cdb0e59b: Verifying Checksum [2021-06-07T05:53:53.569Z] 93b9cdb0e59b: Download complete [2021-06-07T05:53:53.569Z] 5e14af77c1be: Verifying Checksum [2021-06-07T05:53:53.569Z] 5e14af77c1be: Download complete [2021-06-07T05:53:53.569Z] 01666e4c0597: Verifying Checksum [2021-06-07T05:53:53.569Z] 01666e4c0597: Download complete [2021-06-07T05:53:53.569Z] 93b61091891f: Verifying Checksum [2021-06-07T05:53:53.569Z] 93b61091891f: Download complete [2021-06-07T05:53:53.569Z] df20fa9351a1: Pull complete [2021-06-07T05:53:53.842Z] 8ad3a11d3b57: Verifying Checksum [2021-06-07T05:53:53.843Z] 8ad3a11d3b57: Download complete [2021-06-07T05:53:53.843Z] 36b3adc4ff6f: Pull complete [2021-06-07T05:53:54.417Z] 8ad3a11d3b57: Pull complete [2021-06-07T05:53:54.417Z] 46f8f816bc3b: Pull complete [2021-06-07T05:53:54.679Z] 93b61091891f: Pull complete [2021-06-07T05:53:54.941Z] 93b9cdb0e59b: Pull complete [2021-06-07T05:53:54.941Z] 5e14af77c1be: Pull complete [2021-06-07T05:53:54.941Z] 01666e4c0597: Pull complete [2021-06-07T05:53:55.521Z] aa168da1d23b: Verifying Checksum [2021-06-07T05:53:55.521Z] aa168da1d23b: Download complete [2021-06-07T05:53:59.762Z] aa168da1d23b: Pull complete [2021-06-07T05:53:59.762Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-07T05:53:59.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-07T05:53:59.762Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-07T05:53:59.858Z] prd-centos7-docker-4c-2g-728 does not seem to be running inside a container [2021-06-07T05:53:59.890Z] $ 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/undry_go-mod-configuration_PR-39/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-39 -v /w/workspace/undry_go-mod-configuration_PR-39:/w/workspace/undry_go-mod-configuration_PR-39:rw,z -v /w/workspace/undry_go-mod-configuration_PR-39@tmp:/w/workspace/undry_go-mod-configuration_PR-39@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:10003/edgex-lftools-log-publisher:alpine cat [2021-06-07T05:54:02.865Z] $ docker top 9e87b5d4d4324fceef7fd8ef0202e6d16000626558a4bb0f24af7a7988a66bdb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-07T05:54:03.322Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-07T05:54:03.645Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-07T05:54:03.971Z] + ls /var/log/sa-host [2021-06-07T05:54:03.971Z] + sadf -c /var/log/sa-host/sa05 [2021-06-07T05:54:03.971Z] file_magic: OK [2021-06-07T05:54:03.971Z] HZ: Using current value: 100 [2021-06-07T05:54:03.971Z] file_header: OK [2021-06-07T05:54:03.971Z] 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-06-07T05:54:03.971Z] Statistics: [2021-06-07T05:54:03.971Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-07T05:54:03.971Z] File successfully converted to sysstat format version 12.2.1 [2021-06-07T05:54:03.971Z] + sadf -c /var/log/sa-host/sa07 [2021-06-07T05:54:03.971Z] file_magic: OK [2021-06-07T05:54:03.971Z] HZ: Using current value: 100 [2021-06-07T05:54:03.971Z] file_header: OK [2021-06-07T05:54:03.971Z] 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-06-07T05:54:03.971Z] Statistics: [2021-06-07T05:54:03.971Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-07T05:54:03.971Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-07T05:54:04.208Z] provisioning config files... [2021-06-07T05:54:04.220Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-39@tmp/config1075745503962569685tmp [Pipeline] { [Pipeline] echo [2021-06-07T05:54:04.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:54:04.612Z] ---> create-netrc.sh [Pipeline] } [2021-06-07T05:54:04.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:54:05.102Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-07T05:54:05.141Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:54:05.484Z] ---> sudo-logs.sh [2021-06-07T05:54:05.485Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-07T05:54:05.568Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:54:05.913Z] ---> job-cost.sh [2021-06-07T05:54:05.913Z] lf-activate-venv: SKIPPING [2021-06-07T05:54:05.913Z] DEBUG: total: 0.18000000715255737 [2021-06-07T05:54:05.913Z] INFO: Retrieving Stack Cost... [2021-06-07T05:54:06.860Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-07T05:54:07.121Z] INFO: Archiving Costs [Pipeline] echo [2021-06-07T05:54:07.153Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-07T05:54:07.487Z] ---> logs-deploy.sh [2021-06-07T05:54:07.487Z] lf-activate-venv: SKIPPING [2021-06-07T05:54:07.487Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-39/1 [2021-06-07T05:54:07.487Z] INFO: archiving workspace using pattern(s): [2021-06-07T05:54:08.445Z] Archives upload complete. [2021-06-07T05:54:08.445Z] INFO: archiving logs to Nexus