Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 46be54db7f748eeb69772261eda72bf9d7931ded+a114c3c07fc215ea9a9fe04f5a17874b1416d58e (7eee2cd99e1d4c25b5b59e7a16a572fa6c8b2de2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5614574583233031991.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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-ssh318967265976167820.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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-41/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-41/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6546364742707428009.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh7716436263180280798.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-41/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-41/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3212957341210369401.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2140 in /w/workspace/undry_go-mod-configuration_PR-41 [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-41 # 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-41@tmp/jenkins-gitclient-ssh1141858611575710097.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-41@tmp/jenkins-gitclient-ssh4975081635588995566.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a114c3c07fc215ea9a9fe04f5a17874b1416d58e into PR head commit 46be54db7f748eeb69772261eda72bf9d7931ded Merge succeeded, producing 46be54db7f748eeb69772261eda72bf9d7931ded Checking out Revision 46be54db7f748eeb69772261eda72bf9d7931ded (PR-41) > git config core.sparsecheckout # timeout=10 > git checkout -f 46be54db7f748eeb69772261eda72bf9d7931ded # 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-41@tmp/jenkins-gitclient-ssh2915582861735544070.key > git merge a114c3c07fc215ea9a9fe04f5a17874b1416d58e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46be54db7f748eeb69772261eda72bf9d7931ded # timeout=10 Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" > git rev-list --no-walk 46be54db7f748eeb69772261eda72bf9d7931ded # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T21:45:58.527Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T21:45:58.629Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T21:45:58.659Z] ========================================================= [2021-07-07T21:45:58.659Z] EdgeX Global Pipelines Version Info [2021-07-07T21:45:58.659Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:46:00.131Z] ------------------- [2021-07-07T21:46:00.131Z] stable info: [2021-07-07T21:46:00.131Z] ------------------- [2021-07-07T21:46:00.132Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T21:46:00.132Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T21:46:00.132Z] Message: update stable to v1.0.196 [2021-07-07T21:46:00.705Z] ------------------- [2021-07-07T21:46:00.705Z] experimental info: [2021-07-07T21:46:00.705Z] ------------------- [2021-07-07T21:46:00.705Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T21:46:00.705Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T21:46:00.705Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T21:46:00.833Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo [2021-07-07T21:46:00.860Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo [2021-07-07T21:46:00.885Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T21:46:00.912Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T21:46:00.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T21:46:00.964Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T21:46:00.990Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T21:46:01.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T21:46:01.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-07T21:46:01.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T21:46:01.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T21:46:01.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo [2021-07-07T21:46:01.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T21:46:01.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T21:46:01.199Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:01.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:01.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:01.290Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:01.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T21:46:01.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T21:46:01.377Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-07T21:46:01.407Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-07T21:46:01.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-07T21:46:01.459Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-07T21:46:01.486Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-07T21:46:01.514Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T21:46:01.545Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-41 [Pipeline] echo [2021-07-07T21:46:01.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-41 [Pipeline] echo [2021-07-07T21:46:01.596Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-41 [Pipeline] echo [2021-07-07T21:46:01.621Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46be54db7f748eeb69772261eda72bf9d7931ded [Pipeline] echo [2021-07-07T21:46:01.648Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46be54d [Pipeline] echo [2021-07-07T21:46:01.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T21:46:02.258Z] + git log --format=format:%s -1 46be54db7f748eeb69772261eda72bf9d7931ded [Pipeline] echo [2021-07-07T21:46:02.296Z] GIT_COMMIT: 46be54db7f748eeb69772261eda72bf9d7931ded, Commit Message: build(deps): Bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-07-07T21:46:02.311Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:46:03.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T21:46:03.298Z] [2021-07-07T21:46:03.298Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:46:03.624Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T21:46:03.624Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T21:46:03.624Z] 31603596830f: Pulling fs layer [2021-07-07T21:46:03.624Z] b6dc333f4379: Pulling fs layer [2021-07-07T21:46:03.624Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T21:46:03.624Z] fd332fbdc1db: Pulling fs layer [2021-07-07T21:46:03.624Z] fd332fbdc1db: Waiting [2021-07-07T21:46:03.888Z] b6dc333f4379: Download complete [2021-07-07T21:46:03.888Z] 31603596830f: Verifying Checksum [2021-07-07T21:46:03.888Z] 31603596830f: Download complete [2021-07-07T21:46:04.149Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T21:46:04.149Z] 3d9ef1400e77: Download complete [2021-07-07T21:46:04.149Z] fd332fbdc1db: Verifying Checksum [2021-07-07T21:46:04.149Z] fd332fbdc1db: Download complete [2021-07-07T21:46:04.149Z] 31603596830f: Pull complete [2021-07-07T21:46:04.149Z] b6dc333f4379: Pull complete [2021-07-07T21:46:04.733Z] 3d9ef1400e77: Pull complete [2021-07-07T21:46:04.999Z] fd332fbdc1db: Pull complete [2021-07-07T21:46:04.999Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T21:46:04.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T21:46:04.999Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T21:46:05.082Z] prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container [2021-07-07T21:46:05.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-41 -v /w/workspace/undry_go-mod-configuration_PR-41:/w/workspace/undry_go-mod-configuration_PR-41:rw,z -v /w/workspace/undry_go-mod-configuration_PR-41@tmp:/w/workspace/undry_go-mod-configuration_PR-41@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-07T21:46:06.090Z] $ docker top 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T21:46:06.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T21:46:06.223Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T21:46:06.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T21:46:06.346Z] $ docker exec 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b ssh-agent [2021-07-07T21:46:06.464Z] SSH_AUTH_SOCK=/tmp/ssh-dNLGmdwVEV8h/agent.14 [2021-07-07T21:46:06.464Z] SSH_AGENT_PID=20 [2021-07-07T21:46:06.474Z] Running ssh-add (command line suppressed) [2021-07-07T21:46:06.566Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-41@tmp/private_key_5245297018837118558.key (/w/workspace/undry_go-mod-configuration_PR-41@tmp/private_key_5245297018837118558.key) [2021-07-07T21:46:06.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T21:46:06.893Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T21:46:06.905Z] $ docker exec --env ******** --env ******** 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b ssh-agent -k [2021-07-07T21:46:06.996Z] unset SSH_AUTH_SOCK; [2021-07-07T21:46:06.997Z] unset SSH_AGENT_PID; [2021-07-07T21:46:06.997Z] echo Agent pid 20 killed; [2021-07-07T21:46:07.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T21:46:07.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T21:46:07.054Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T21:46:07.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T21:46:07.159Z] $ docker exec 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b ssh-agent [2021-07-07T21:46:07.270Z] SSH_AUTH_SOCK=/tmp/ssh-xKvWzqA26m9z/agent.53 [2021-07-07T21:46:07.270Z] SSH_AGENT_PID=60 [2021-07-07T21:46:07.275Z] Running ssh-add (command line suppressed) [2021-07-07T21:46:07.365Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-41@tmp/private_key_731502431202002049.key (/w/workspace/undry_go-mod-configuration_PR-41@tmp/private_key_731502431202002049.key) [2021-07-07T21:46:07.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T21:46:07.689Z] + git semver init [2021-07-07T21:46:07.689Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T21:46:07.689Z] # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-41/.git [2021-07-07T21:46:07.689Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-41 [2021-07-07T21:46:07.689Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T21:46:07.689Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T21:46:07.689Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T21:46:07.689Z] # $SEMVER_BRANCH = PR-41 [2021-07-07T21:46:07.689Z] # $SEMVER_TEMP = /tmp/semver-764619734 [2021-07-07T21:46:07.689Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP [2021-07-07T21:46:07.952Z] # '/tmp/semver-764619734' -> '/w/workspace/undry_go-mod-configuration_PR-41/.semver' [2021-07-07T21:46:07.952Z] # -> Force: false [2021-07-07T21:46:07.952Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-41/.semver [Pipeline] } [2021-07-07T21:46:07.959Z] $ docker exec --env ******** --env ******** 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b ssh-agent -k [2021-07-07T21:46:08.054Z] unset SSH_AUTH_SOCK; [2021-07-07T21:46:08.055Z] unset SSH_AGENT_PID; [2021-07-07T21:46:08.055Z] echo Agent pid 60 killed; [2021-07-07T21:46:08.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T21:46:08.415Z] + git semver [Pipeline] } [2021-07-07T21:46:08.426Z] $ docker stop --time=1 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b [2021-07-07T21:46:09.659Z] $ docker rm -f 4cdac71d79fece535d9e5b5e2a7b787840c53603200ae4c2cf5b7e7c924a406b [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T21:46:10.035Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T21:46:10.315Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T21:46:10.321Z] [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-07-07T21:46:26.097Z] Still waiting to schedule task [2021-07-07T21:46:26.098Z] ‘prd-centos7-docker-4c-2g-2141’ is offline [2021-07-07T21:46:26.098Z] ‘prd-ubuntu18.04-docker-8c-8g-2132’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-07T21:46:26.100Z] Still waiting to schedule task [2021-07-07T21:46:26.101Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-07T21:48:05.835Z] Running on prd-centos7-docker-4c-2g-2143 in /w/workspace/undry_go-mod-configuration_PR-41 [Pipeline] { [Pipeline] ws [2021-07-07T21:48:05.855Z] Running in /w/workspace/go-mod-configuration/2 [Pipeline] { [Pipeline] checkout [2021-07-07T21:48:05.973Z] Selected Git installation does not exist. Using Default [2021-07-07T21:48:05.973Z] The recommended git tool is: NONE [2021-07-07T21:48:08.238Z] using credential edgex-jenkins-ssh [2021-07-07T21:48:08.253Z] Cloning the remote Git repository [2021-07-07T21:48:08.073Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:08.143Z] > git init /w/workspace/go-mod-configuration/2 # timeout=10 [2021-07-07T21:48:08.185Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:08.186Z] > git --version # timeout=10 [2021-07-07T21:48:08.197Z] > git --version # 'git version 2.24.4' [2021-07-07T21:48:08.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:08.222Z] [INFO] Currently running in a labeled security context [2021-07-07T21:48:08.222Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T21:48:08.222Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/2@tmp/jenkins-gitclient-ssh583564372061285310.key [2021-07-07T21:48:08.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:48:08.796Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:48:08.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:48:08.819Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:48:08.834Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:08.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:08.836Z] [INFO] Currently running in a labeled security context [2021-07-07T21:48:08.836Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T21:48:08.836Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/2@tmp/jenkins-gitclient-ssh1457631223867918091.key [2021-07-07T21:48:08.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T21:48:09.390Z] Merging remotes/origin/main commit a114c3c07fc215ea9a9fe04f5a17874b1416d58e into PR head commit 46be54db7f748eeb69772261eda72bf9d7931ded [2021-07-07T21:48:09.479Z] Merge succeeded, producing 46be54db7f748eeb69772261eda72bf9d7931ded [2021-07-07T21:48:09.479Z] Checking out Revision 46be54db7f748eeb69772261eda72bf9d7931ded (PR-41) [2021-07-07T21:48:09.279Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:48:09.285Z] > git checkout -f 46be54db7f748eeb69772261eda72bf9d7931ded # timeout=10 [2021-07-07T21:48:09.320Z] > git remote # timeout=10 [2021-07-07T21:48:09.330Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T21:48:09.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:09.341Z] [INFO] Currently running in a labeled security context [2021-07-07T21:48:09.341Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T21:48:09.341Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/2@tmp/jenkins-gitclient-ssh4611724570770263169.key [2021-07-07T21:48:09.346Z] > git merge a114c3c07fc215ea9a9fe04f5a17874b1416d58e # timeout=10 [2021-07-07T21:48:09.357Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T21:48:09.368Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:48:09.382Z] > git checkout -f 46be54db7f748eeb69772261eda72bf9d7931ded # timeout=10 [2021-07-07T21:48:13.108Z] Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T21:48:13.971Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:48:14.318Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:48:14.631Z] + sudo service docker restart [2021-07-07T21:48:14.631Z] + true [2021-07-07T21:48:14.631Z] Redirecting to /bin/systemctl restart docker.service [2021-07-07T21:48:31.986Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2142 in /w/workspace/undry_go-mod-configuration_PR-41 [Pipeline] { [Pipeline] ws [2021-07-07T21:48:32.010Z] Running in /w/workspace/go-mod-configuration/2 [Pipeline] { [Pipeline] checkout [2021-07-07T21:48:32.224Z] Selected Git installation does not exist. Using Default [2021-07-07T21:48:32.224Z] The recommended git tool is: NONE [Pipeline] unstash [Pipeline] echo [2021-07-07T21:48:35.466Z] ========================================================= [2021-07-07T21:48:35.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T21:48:35.467Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:48:35.811Z] + 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-07-07T21:48:35.811Z] Sending build context to Docker daemon 278.5kB [2021-07-07T21:48:35.811Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T21:48:35.811Z] Step 2/7 : FROM ${BASE} [2021-07-07T21:48:36.074Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T21:48:36.074Z] 540db60ca938: Pulling fs layer [2021-07-07T21:48:36.074Z] adcc1eea9eea: Pulling fs layer [2021-07-07T21:48:36.074Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T21:48:36.074Z] 0510c868ecb4: Pulling fs layer [2021-07-07T21:48:36.074Z] afea3b2eda06: Pulling fs layer [2021-07-07T21:48:36.074Z] 7809a108b3ef: Pulling fs layer [2021-07-07T21:48:36.074Z] f706445af74f: Pulling fs layer [2021-07-07T21:48:36.074Z] 0510c868ecb4: Waiting [2021-07-07T21:48:36.074Z] afea3b2eda06: Waiting [2021-07-07T21:48:36.074Z] 7809a108b3ef: Waiting [2021-07-07T21:48:36.074Z] f706445af74f: Waiting [2021-07-07T21:48:36.074Z] 4c4ab2625f07: Verifying Checksum [2021-07-07T21:48:36.074Z] 4c4ab2625f07: Download complete [2021-07-07T21:48:36.074Z] adcc1eea9eea: Verifying Checksum [2021-07-07T21:48:36.074Z] adcc1eea9eea: Download complete [2021-07-07T21:48:36.074Z] afea3b2eda06: Verifying Checksum [2021-07-07T21:48:36.074Z] afea3b2eda06: Download complete [2021-07-07T21:48:36.074Z] 7809a108b3ef: Verifying Checksum [2021-07-07T21:48:36.074Z] 7809a108b3ef: Download complete [2021-07-07T21:48:36.074Z] 540db60ca938: Verifying Checksum [2021-07-07T21:48:36.074Z] 540db60ca938: Download complete [2021-07-07T21:48:36.336Z] 540db60ca938: Pull complete [2021-07-07T21:48:36.600Z] adcc1eea9eea: Pull complete [2021-07-07T21:48:36.600Z] 4c4ab2625f07: Pull complete [2021-07-07T21:48:37.995Z] f706445af74f: Verifying Checksum [2021-07-07T21:48:37.995Z] f706445af74f: Download complete [2021-07-07T21:48:38.572Z] 0510c868ecb4: Verifying Checksum [2021-07-07T21:48:38.572Z] 0510c868ecb4: Download complete [2021-07-07T21:48:39.895Z] using credential edgex-jenkins-ssh [2021-07-07T21:48:39.959Z] Cloning the remote Git repository [2021-07-07T21:48:40.039Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:40.199Z] > git init /w/workspace/go-mod-configuration/2 # timeout=10 [2021-07-07T21:48:40.264Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:40.265Z] > git --version # timeout=10 [2021-07-07T21:48:40.286Z] > git --version # 'git version 2.17.1' [2021-07-07T21:48:40.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:40.372Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:48:41.181Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:48:41.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:48:41.223Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:48:41.726Z] Merging remotes/origin/main commit a114c3c07fc215ea9a9fe04f5a17874b1416d58e into PR head commit 46be54db7f748eeb69772261eda72bf9d7931ded [2021-07-07T21:48:41.922Z] Merge succeeded, producing 46be54db7f748eeb69772261eda72bf9d7931ded [2021-07-07T21:48:41.923Z] Checking out Revision 46be54db7f748eeb69772261eda72bf9d7931ded (PR-41) [2021-07-07T21:48:41.251Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:41.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:41.265Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T21:48:41.742Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:48:41.762Z] > git checkout -f 46be54db7f748eeb69772261eda72bf9d7931ded # timeout=10 [2021-07-07T21:48:41.833Z] > git remote # timeout=10 [2021-07-07T21:48:41.853Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T21:48:41.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:41.878Z] > git merge a114c3c07fc215ea9a9fe04f5a17874b1416d58e # timeout=10 [2021-07-07T21:48:41.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T21:48:41.925Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:48:41.935Z] > git checkout -f 46be54db7f748eeb69772261eda72bf9d7931ded # timeout=10 [2021-07-07T21:48:42.825Z] 0510c868ecb4: Pull complete [2021-07-07T21:48:42.825Z] afea3b2eda06: Pull complete [2021-07-07T21:48:42.825Z] 7809a108b3ef: Pull complete [2021-07-07T21:48:44.224Z] f706445af74f: Pull complete [2021-07-07T21:48:44.224Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T21:48:44.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T21:48:44.224Z] ---> b068be0155e3 [2021-07-07T21:48:44.224Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T21:48:46.137Z] Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T21:48:47.420Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-07-07T21:48:47.556Z] ---> Running in 5d7bb5a72279 [2021-07-07T21:48:47.557Z] Removing intermediate container 5d7bb5a72279 [2021-07-07T21:48:47.557Z] ---> ce2cce52870e [2021-07-07T21:48:47.557Z] Step 4/7 : RUN apk add --update bash [2021-07-07T21:48:47.557Z] ---> Running in 30e0111a3c75 [Pipeline] sh [2021-07-07T21:48:47.829Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T21:48:47.893Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:48:48.244Z] + sudo service docker restart [2021-07-07T21:48:48.244Z] + true [2021-07-07T21:48:48.778Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T21:48:49.359Z] OK: 149 MiB in 40 packages [2021-07-07T21:48:49.630Z] Removing intermediate container 30e0111a3c75 [2021-07-07T21:48:49.630Z] ---> ead6e5232a00 [2021-07-07T21:48:49.630Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T21:48:49.630Z] ---> Running in a34b3520c3a4 [2021-07-07T21:48:49.898Z] Removing intermediate container a34b3520c3a4 [2021-07-07T21:48:49.898Z] ---> b908cf469c3a [2021-07-07T21:48:49.898Z] Step 6/7 : COPY go.mod . [2021-07-07T21:48:50.167Z] ---> 0b351da71b27 [2021-07-07T21:48:50.167Z] Step 7/7 : RUN go mod download [2021-07-07T21:48:50.167Z] ---> Running in 54ed5c1b5bd3 [2021-07-07T21:49:00.234Z] Removing intermediate container 54ed5c1b5bd3 [2021-07-07T21:49:00.234Z] ---> e2f7341addf6 [2021-07-07T21:49:00.234Z] Successfully built e2f7341addf6 [2021-07-07T21:49:00.234Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:00.541Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T21:49:00.541Z] . [Pipeline] withDockerContainer [2021-07-07T21:49:00.627Z] prd-centos7-docker-4c-2g-2143 does not seem to be running inside a container [2021-07-07T21:49:00.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@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-x86_64 cat [2021-07-07T21:49:01.093Z] $ docker top f2d945eb4fbc47f7dac0c8125f8d810e518132bee18198c6b059d7b4e2700ff3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:49:01.504Z] + go version [2021-07-07T21:49:01.504Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T21:49:01.515Z] $ docker stop --time=1 f2d945eb4fbc47f7dac0c8125f8d810e518132bee18198c6b059d7b4e2700ff3 [2021-07-07T21:49:02.714Z] $ docker rm -f f2d945eb4fbc47f7dac0c8125f8d810e518132bee18198c6b059d7b4e2700ff3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:03.322Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T21:49:03.322Z] . [Pipeline] withDockerContainer [2021-07-07T21:49:03.408Z] prd-centos7-docker-4c-2g-2143 does not seem to be running inside a container [2021-07-07T21:49:03.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@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-x86_64 cat [2021-07-07T21:49:03.893Z] $ docker top 4408af2fcea7d5f314b5182ad0d524e655a411141a20ace3a9f1b54cb0f94986 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:49:04.286Z] + go mod tidy [Pipeline] sh [2021-07-07T21:49:04.881Z] + make test [2021-07-07T21:49:04.881Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] unstash [Pipeline] echo [2021-07-07T21:49:06.820Z] ========================================================= [2021-07-07T21:49:06.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T21:49:06.820Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:07.170Z] + 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-07-07T21:49:07.771Z] Sending build context to Docker daemon 277.5kB [2021-07-07T21:49:08.045Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T21:49:08.045Z] Step 2/7 : FROM ${BASE} [2021-07-07T21:49:08.641Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T21:49:08.641Z] 595b0fe564bb: Pulling fs layer [2021-07-07T21:49:08.641Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T21:49:08.641Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T21:49:08.641Z] ba82ee9f976e: Pulling fs layer [2021-07-07T21:49:08.641Z] 506bd15cee9f: Pulling fs layer [2021-07-07T21:49:08.641Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T21:49:08.641Z] 618dc40b7e24: Pulling fs layer [2021-07-07T21:49:08.641Z] ba82ee9f976e: Waiting [2021-07-07T21:49:08.641Z] 506bd15cee9f: Waiting [2021-07-07T21:49:08.641Z] 75a0a4a0db45: Waiting [2021-07-07T21:49:08.641Z] 618dc40b7e24: Waiting [2021-07-07T21:49:08.641Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T21:49:08.641Z] 5b7225fbf94c: Download complete [2021-07-07T21:49:08.923Z] 3088b5b3c5c0: Download complete [2021-07-07T21:49:08.923Z] 506bd15cee9f: Download complete [2021-07-07T21:49:08.923Z] 595b0fe564bb: Verifying Checksum [2021-07-07T21:49:08.923Z] 595b0fe564bb: Download complete [2021-07-07T21:49:08.923Z] 75a0a4a0db45: Verifying Checksum [2021-07-07T21:49:08.923Z] 75a0a4a0db45: Download complete [2021-07-07T21:49:09.532Z] 595b0fe564bb: Pull complete [2021-07-07T21:49:10.524Z] 3088b5b3c5c0: Pull complete [2021-07-07T21:49:10.806Z] 5b7225fbf94c: Pull complete [2021-07-07T21:49:11.088Z] 618dc40b7e24: Verifying Checksum [2021-07-07T21:49:11.088Z] 618dc40b7e24: Download complete [2021-07-07T21:49:12.537Z] ba82ee9f976e: Verifying Checksum [2021-07-07T21:49:12.537Z] ba82ee9f976e: Download complete [2021-07-07T21:49:15.036Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.008s coverage: 85.7% of statements [2021-07-07T21:49:17.590Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.537s coverage: 87.4% of statements [2021-07-07T21:49:17.590Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.006s coverage: 100.0% of statements [2021-07-07T21:49:17.590Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T21:49:22.731Z] ba82ee9f976e: Pull complete [2021-07-07T21:49:22.731Z] 506bd15cee9f: Pull complete [2021-07-07T21:49:22.926Z] gofmt -l . [2021-07-07T21:49:22.927Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T21:49:22.936Z] $ docker stop --time=1 4408af2fcea7d5f314b5182ad0d524e655a411141a20ace3a9f1b54cb0f94986 [2021-07-07T21:49:23.004Z] 75a0a4a0db45: Pull complete [2021-07-07T21:49:24.306Z] $ docker rm -f 4408af2fcea7d5f314b5182ad0d524e655a411141a20ace3a9f1b54cb0f94986 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T21:49:24.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T21:49:24.934Z] 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-07-07T21:49:26.131Z] ---> job-cost.sh [2021-07-07T21:49:26.132Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8DJj [2021-07-07T21:49:27.331Z] 618dc40b7e24: Pull complete [2021-07-07T21:49:27.331Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T21:49:27.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T21:49:27.331Z] ---> a36622ca3599 [2021-07-07T21:49:27.331Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T21:49:28.758Z] ---> Running in 41212b64609f [2021-07-07T21:49:29.349Z] Removing intermediate container 41212b64609f [2021-07-07T21:49:29.349Z] ---> e91f46c0eba7 [2021-07-07T21:49:29.349Z] Step 4/7 : RUN apk add --update bash [2021-07-07T21:49:29.349Z] ---> Running in 4af589e6f45e [2021-07-07T21:49:30.785Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T21:49:31.768Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T21:49:32.748Z] OK: 138 MiB in 40 packages [2021-07-07T21:49:33.740Z] Removing intermediate container 4af589e6f45e [2021-07-07T21:49:33.740Z] ---> 88c5eab6a50b [2021-07-07T21:49:33.740Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T21:49:33.740Z] ---> Running in 752019a844b1 [2021-07-07T21:49:34.371Z] Removing intermediate container 752019a844b1 [2021-07-07T21:49:34.371Z] ---> 92b5a4368180 [2021-07-07T21:49:34.371Z] Step 6/7 : COPY go.mod . [2021-07-07T21:49:35.372Z] ---> f49f6b214537 [2021-07-07T21:49:35.372Z] Step 7/7 : RUN go mod download [2021-07-07T21:49:35.372Z] ---> Running in d0cfa0a1ea4a [2021-07-07T21:49:36.171Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T21:49:48.426Z] lf-activate-venv(): INFO: Adding /tmp/venv-8DJj/bin to PATH [2021-07-07T21:49:48.426Z] INFO: No Stack... [2021-07-07T21:49:49.387Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T21:49:49.649Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T21:49:49.951Z] + cut -d, -f6 [2021-07-07T21:49:49.951Z] + cat /w/workspace/go-mod-configuration/2/archives/cost.csv [Pipeline] lock [2021-07-07T21:49:49.985Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] [2021-07-07T21:49:49.999Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] did not exist. Created. [2021-07-07T21:49:49.999Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T21:49:50.336Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-07T21:49:50.411Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T21:49:50.423Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-07T21:49:53.719Z] Removing intermediate container d0cfa0a1ea4a [2021-07-07T21:49:53.720Z] ---> 008a8e57e9b6 [2021-07-07T21:49:53.720Z] Successfully built 008a8e57e9b6 [2021-07-07T21:49:53.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:54.063Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T21:49:54.063Z] . [Pipeline] withDockerContainer [2021-07-07T21:49:54.327Z] prd-ubuntu18.04-docker-arm64-4c-16g-2142 does not seem to be running inside a container [2021-07-07T21:49:54.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T21:49:56.014Z] $ docker top 98a60b224f0ee98867065fcd46998000a753c5bf662ca4778fec4735d1ed0ceb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:49:56.972Z] + go version [2021-07-07T21:49:56.972Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T21:49:56.996Z] $ docker stop --time=1 98a60b224f0ee98867065fcd46998000a753c5bf662ca4778fec4735d1ed0ceb [2021-07-07T21:49:58.856Z] $ docker rm -f 98a60b224f0ee98867065fcd46998000a753c5bf662ca4778fec4735d1ed0ceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:59.673Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T21:49:59.673Z] . [Pipeline] withDockerContainer [2021-07-07T21:49:59.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-2142 does not seem to be running inside a container [2021-07-07T21:50:00.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-07T21:50:01.676Z] $ docker top 11610c1c93a33893ee21ca70463ca544e9d88090a1da7f6dd0c6899431640b56 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:50:02.605Z] + go mod tidy [Pipeline] sh [2021-07-07T21:50:03.550Z] + make test [2021-07-07T21:50:03.551Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T21:50:35.969Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.031s coverage: 85.7% of statements [2021-07-07T21:50:35.969Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.628s coverage: 87.4% of statements [2021-07-07T21:50:35.969Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.025s coverage: 100.0% of statements [2021-07-07T21:50:35.969Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T21:50:54.385Z] gofmt -l . [2021-07-07T21:50:54.385Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T21:50:54.407Z] $ docker stop --time=1 11610c1c93a33893ee21ca70463ca544e9d88090a1da7f6dd0c6899431640b56 [2021-07-07T21:50:56.371Z] $ docker rm -f 11610c1c93a33893ee21ca70463ca544e9d88090a1da7f6dd0c6899431640b56 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T21:50:57.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T21:50:57.186Z] Warning: overwriting stash ‘coverage-report’ [2021-07-07T21:50:57.709Z] 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-07-07T21:50:58.445Z] ---> job-cost.sh [2021-07-07T21:50:58.445Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fDn4 [2021-07-07T21:51:37.405Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T21:52:59.171Z] lf-activate-venv(): INFO: Adding /tmp/venv-fDn4/bin to PATH [2021-07-07T21:52:59.171Z] INFO: No Stack... [2021-07-07T21:52:59.171Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T21:52:59.447Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T21:52:59.794Z] + cat /w/workspace/go-mod-configuration/2/archives/cost.csv [2021-07-07T21:52:59.794Z] + cut -d, -f6 [Pipeline] lock [2021-07-07T21:52:59.860Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] [2021-07-07T21:52:59.870Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] did not exist. Created. [2021-07-07T21:52:59.871Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T21:53:00.256Z] /w/workspace/go-mod-configuration/2@tmp/durable-bfc3f55a/script.sh: 1: /w/workspace/go-mod-configuration/2@tmp/durable-bfc3f55a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-07T21:53:00.603Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T21:53:00.639Z] Warning: overwriting stash ‘stack-cost’ [2021-07-07T21:53:00.802Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T21:53:00.818Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-41-2-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-07-07T21:53:01.775Z] provisioning config files... [2021-07-07T21:53:01.788Z] copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-41@tmp/config565636360336234790tmp [Pipeline] { [Pipeline] sh [2021-07-07T21:53:02.170Z] + set +x [2021-07-07T21:53:02.170Z] + curl -s https://codecov.io/bash [2021-07-07T21:53:02.170Z] + bash -s -- [2021-07-07T21:53:04.082Z] [2021-07-07T21:53:04.082Z] _____ _ [2021-07-07T21:53:04.082Z] / ____| | | [2021-07-07T21:53:04.082Z] | | ___ __| | ___ ___ _____ __ [2021-07-07T21:53:04.082Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-07T21:53:04.082Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-07T21:53:04.082Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-07T21:53:04.082Z] Bash-1.0.3 [2021-07-07T21:53:04.082Z] [2021-07-07T21:53:04.082Z] [2021-07-07T21:53:04.082Z] ==> git version 2.24.4 found [2021-07-07T21:53:04.082Z] ==> 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-07-07T21:53:04.082Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-07T21:53:04.082Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-07T21:53:04.082Z] ==> Jenkins CI detected. [2021-07-07T21:53:04.082Z] project root: . [2021-07-07T21:53:04.082Z] --> token set from env [2021-07-07T21:53:04.082Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-07T21:53:04.082Z] ==> Running gcov in . (disable via -X gcov) [2021-07-07T21:53:04.082Z] ==> Python coveragepy not found [2021-07-07T21:53:04.082Z] ==> Searching for coverage reports in: [2021-07-07T21:53:04.082Z] + . [2021-07-07T21:53:04.082Z] -> Found 1 reports [2021-07-07T21:53:04.082Z] ==> Detecting git/mercurial file structure [2021-07-07T21:53:04.082Z] ==> Reading reports [2021-07-07T21:53:04.082Z] + ./coverage.out bytes=14452 [2021-07-07T21:53:04.082Z] ==> Appending adjustments [2021-07-07T21:53:04.082Z] https://docs.codecov.io/docs/fixing-reports [2021-07-07T21:53:04.082Z] + Found adjustments [2021-07-07T21:53:04.082Z] ==> Gzipping contents [2021-07-07T21:53:04.082Z] 4.0K /tmp/codecov.NxPolX.gz [2021-07-07T21:53:04.082Z] ==> Uploading reports [2021-07-07T21:53:04.082Z] url: https://codecov.io [2021-07-07T21:53:04.082Z] query: branch=PR-41&commit=46be54db7f748eeb69772261eda72bf9d7931ded&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-41%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=41&job=&cmd_args= [2021-07-07T21:53:04.082Z] -> Pinging Codecov [2021-07-07T21:53:04.082Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-41&commit=46be54db7f748eeb69772261eda72bf9d7931ded&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-41%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=41&job=&cmd_args= [2021-07-07T21:53:04.344Z] -> Uploading to [2021-07-07T21:53:04.344Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-07/9F92B070CA9CA35F4914AC8684776953/46be54db7f748eeb69772261eda72bf9d7931ded/4ee7283a-baf1-44c8-a85c-bd735114225e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T215304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=368d7d7e86e2ad50f9051b19797243bd4e291a57c35a784f581070e6c033b372 [2021-07-07T21:53:04.344Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-07T21:53:04.344Z] Dload Upload Total Spent Left Speed [2021-07-07T21:53:04.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2644 0 0 100 2644 0 7140 --:--:-- --:--:-- --:--:-- 7126 100 2644 0 0 100 2644 0 7137 --:--:-- --:--:-- --:--:-- 7126 [2021-07-07T21:53:04.606Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/46be54db7f748eeb69772261eda72bf9d7931ded [Pipeline] } [2021-07-07T21:53:04.614Z] 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-07-07T21:53:06.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:53:06.940Z] ---> package-listing.sh [2021-07-07T21:53:06.940Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T21:53:06.940Z] ++ facter osfamily [2021-07-07T21:53:07.201Z] + OS_FAMILY=redhat [2021-07-07T21:53:07.201Z] + workspace=/w/workspace/undry_go-mod-configuration_PR-41 [2021-07-07T21:53:07.201Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T21:53:07.201Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T21:53:07.201Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T21:53:07.201Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T21:53:07.201Z] + '[' /w/workspace/undry_go-mod-configuration_PR-41 ']' [2021-07-07T21:53:07.201Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T21:53:07.201Z] + case "${OS_FAMILY}" in [2021-07-07T21:53:07.201Z] + rpm -qa [2021-07-07T21:53:07.201Z] + sort [2021-07-07T21:53:07.785Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T21:53:07.785Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T21:53:07.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T21:53:07.785Z] + '[' /w/workspace/undry_go-mod-configuration_PR-41 ']' [2021-07-07T21:53:07.785Z] + mkdir -p /w/workspace/undry_go-mod-configuration_PR-41/archives/ [2021-07-07T21:53:07.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-41/archives/ [Pipeline] echo [2021-07-07T21:53:07.799Z] 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-41/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T21:53:08.090Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:53:08.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T21:53:08.674Z] [2021-07-07T21:53:08.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:53:09.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T21:53:09.008Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T21:53:09.008Z] df20fa9351a1: Pulling fs layer [2021-07-07T21:53:09.008Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T21:53:09.008Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T21:53:09.008Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T21:53:09.008Z] 93b61091891f: Pulling fs layer [2021-07-07T21:53:09.008Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T21:53:09.008Z] 5e14af77c1be: Pulling fs layer [2021-07-07T21:53:09.008Z] 01666e4c0597: Pulling fs layer [2021-07-07T21:53:09.008Z] aa168da1d23b: Pulling fs layer [2021-07-07T21:53:09.008Z] 93b61091891f: Waiting [2021-07-07T21:53:09.008Z] 93b9cdb0e59b: Waiting [2021-07-07T21:53:09.008Z] 5e14af77c1be: Waiting [2021-07-07T21:53:09.008Z] 01666e4c0597: Waiting [2021-07-07T21:53:09.008Z] aa168da1d23b: Waiting [2021-07-07T21:53:09.008Z] 46f8f816bc3b: Waiting [2021-07-07T21:53:09.008Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T21:53:09.008Z] 36b3adc4ff6f: Download complete [2021-07-07T21:53:09.008Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T21:53:09.008Z] 46f8f816bc3b: Download complete [2021-07-07T21:53:09.008Z] df20fa9351a1: Verifying Checksum [2021-07-07T21:53:09.008Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T21:53:09.008Z] 93b9cdb0e59b: Download complete [2021-07-07T21:53:09.273Z] 5e14af77c1be: Verifying Checksum [2021-07-07T21:53:09.273Z] 5e14af77c1be: Download complete [2021-07-07T21:53:09.273Z] 93b61091891f: Verifying Checksum [2021-07-07T21:53:09.273Z] 93b61091891f: Download complete [2021-07-07T21:53:09.273Z] 01666e4c0597: Verifying Checksum [2021-07-07T21:53:09.273Z] 01666e4c0597: Download complete [2021-07-07T21:53:09.273Z] df20fa9351a1: Pull complete [2021-07-07T21:53:09.273Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T21:53:09.273Z] 8ad3a11d3b57: Download complete [2021-07-07T21:53:09.542Z] 36b3adc4ff6f: Pull complete [2021-07-07T21:53:10.116Z] 8ad3a11d3b57: Pull complete [2021-07-07T21:53:10.116Z] 46f8f816bc3b: Pull complete [2021-07-07T21:53:10.383Z] 93b61091891f: Pull complete [2021-07-07T21:53:10.383Z] 93b9cdb0e59b: Pull complete [2021-07-07T21:53:10.645Z] 5e14af77c1be: Pull complete [2021-07-07T21:53:10.645Z] 01666e4c0597: Pull complete [2021-07-07T21:53:11.222Z] aa168da1d23b: Verifying Checksum [2021-07-07T21:53:11.222Z] aa168da1d23b: Download complete [2021-07-07T21:53:15.460Z] aa168da1d23b: Pull complete [2021-07-07T21:53:15.460Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T21:53:15.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T21:53:15.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T21:53:15.542Z] prd-centos7-docker-4c-2g-2140 does not seem to be running inside a container [2021-07-07T21:53:15.593Z] $ 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-41/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-41 -v /w/workspace/undry_go-mod-configuration_PR-41:/w/workspace/undry_go-mod-configuration_PR-41:rw,z -v /w/workspace/undry_go-mod-configuration_PR-41@tmp:/w/workspace/undry_go-mod-configuration_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-07T21:53:17.692Z] $ docker top 8d3ab5b32a750114fc885a45297fd424a5cc8284d245bb3b17c581c28a2841ac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:53:18.074Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T21:53:18.375Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T21:53:18.677Z] + ls /var/log/sa-host [2021-07-07T21:53:18.677Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T21:53:18.677Z] file_magic: OK [2021-07-07T21:53:18.677Z] HZ: Using current value: 100 [2021-07-07T21:53:18.677Z] file_header: OK [2021-07-07T21:53:18.677Z] 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-07-07T21:53:18.677Z] Statistics: [2021-07-07T21:53:18.677Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T21:53:18.677Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T21:53:18.677Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T21:53:18.677Z] file_magic: OK [2021-07-07T21:53:18.677Z] HZ: Using current value: 100 [2021-07-07T21:53:18.677Z] file_header: OK [2021-07-07T21:53:18.677Z] 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-07-07T21:53:18.677Z] Statistics: [2021-07-07T21:53:18.677Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T21:53:18.677Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T21:53:19.296Z] provisioning config files... [2021-07-07T21:53:19.313Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-41@tmp/config6463931029281997825tmp [Pipeline] { [Pipeline] echo [2021-07-07T21:53:19.336Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:53:19.654Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T21:53:19.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:53:20.063Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T21:53:20.074Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:53:20.373Z] ---> sudo-logs.sh [2021-07-07T21:53:20.374Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T21:53:20.409Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:53:20.716Z] ---> job-cost.sh [2021-07-07T21:53:20.716Z] lf-activate-venv: SKIPPING [2021-07-07T21:53:20.716Z] DEBUG: total: 0.18000000715255737 [2021-07-07T21:53:20.716Z] INFO: Retrieving Stack Cost... [2021-07-07T21:53:22.106Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T21:53:22.373Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T21:53:22.388Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:53:22.699Z] ---> logs-deploy.sh [2021-07-07T21:53:22.699Z] lf-activate-venv: SKIPPING [2021-07-07T21:53:22.699Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-41/2 [2021-07-07T21:53:22.699Z] INFO: archiving workspace using pattern(s): [2021-07-07T21:53:23.647Z] Archives upload complete. [2021-07-07T21:53:23.647Z] INFO: archiving logs to Nexus