Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a72fef1fadd543c6d497a72fd3bc1600f6102b9f+a114c3c07fc215ea9a9fe04f5a17874b1416d58e (f741440a9e2f0d5b01f9630d435baab8c1a6fcd7) 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-ssh8663106220421902261.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-ssh1895528912559624099.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-43/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-43/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1637819597167914669.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-ssh5783152696171074926.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-43/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-43/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2844478406498476655.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-2141 in /w/workspace/undry_go-mod-configuration_PR-43 [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-43 # 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-43@tmp/jenkins-gitclient-ssh1464852133978870384.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-43@tmp/jenkins-gitclient-ssh4027637822383659804.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a114c3c07fc215ea9a9fe04f5a17874b1416d58e into PR head commit a72fef1fadd543c6d497a72fd3bc1600f6102b9f Merge succeeded, producing a72fef1fadd543c6d497a72fd3bc1600f6102b9f Checking out Revision a72fef1fadd543c6d497a72fd3bc1600f6102b9f (PR-43) > git config core.sparsecheckout # timeout=10 > git checkout -f a72fef1fadd543c6d497a72fd3bc1600f6102b9f # 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-43@tmp/jenkins-gitclient-ssh8104226268354577013.key > git merge a114c3c07fc215ea9a9fe04f5a17874b1416d58e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a72fef1fadd543c6d497a72fd3bc1600f6102b9f # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1" > git rev-list --no-walk a72fef1fadd543c6d497a72fd3bc1600f6102b9f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T21:46:39.744Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T21:46:39.838Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T21:46:39.869Z] ========================================================= [2021-07-07T21:46:39.870Z] EdgeX Global Pipelines Version Info [2021-07-07T21:46:39.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:46:41.292Z] ------------------- [2021-07-07T21:46:41.292Z] stable info: [2021-07-07T21:46:41.292Z] ------------------- [2021-07-07T21:46:41.292Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T21:46:41.292Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T21:46:41.292Z] Message: update stable to v1.0.196 [2021-07-07T21:46:41.867Z] ------------------- [2021-07-07T21:46:41.867Z] experimental info: [2021-07-07T21:46:41.867Z] ------------------- [2021-07-07T21:46:41.867Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T21:46:41.867Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T21:46:41.868Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T21:46:41.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo [2021-07-07T21:46:42.014Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo [2021-07-07T21:46:42.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T21:46:42.064Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T21:46:42.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T21:46:42.111Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T21:46:42.137Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T21:46:42.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T21:46:42.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-07T21:46:42.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T21:46:42.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T21:46:42.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo [2021-07-07T21:46:42.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T21:46:42.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T21:46:42.339Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:42.365Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:42.390Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:42.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T21:46:42.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T21:46:42.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T21:46:42.488Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-07T21:46:42.511Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-07T21:46:42.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-07T21:46:42.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-07T21:46:42.579Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-07T21:46:42.603Z] [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:42.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo [2021-07-07T21:46:42.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo [2021-07-07T21:46:42.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo [2021-07-07T21:46:42.738Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a72fef1fadd543c6d497a72fd3bc1600f6102b9f [Pipeline] echo [2021-07-07T21:46:42.761Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a72fef1 [Pipeline] echo [2021-07-07T21:46:42.785Z] [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:43.256Z] + git log --format=format:%s -1 a72fef1fadd543c6d497a72fd3bc1600f6102b9f [Pipeline] echo [2021-07-07T21:46:43.300Z] GIT_COMMIT: a72fef1fadd543c6d497a72fd3bc1600f6102b9f, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1 [Pipeline] echo [2021-07-07T21:46:43.314Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:46:43.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T21:46:43.891Z] [2021-07-07T21:46:43.891Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:46:44.222Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T21:46:44.222Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T21:46:44.222Z] 31603596830f: Pulling fs layer [2021-07-07T21:46:44.222Z] b6dc333f4379: Pulling fs layer [2021-07-07T21:46:44.222Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T21:46:44.222Z] fd332fbdc1db: Pulling fs layer [2021-07-07T21:46:44.222Z] fd332fbdc1db: Waiting [2021-07-07T21:46:44.222Z] b6dc333f4379: Download complete [2021-07-07T21:46:44.483Z] 31603596830f: Verifying Checksum [2021-07-07T21:46:44.483Z] 31603596830f: Download complete [2021-07-07T21:46:44.483Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T21:46:44.483Z] 3d9ef1400e77: Download complete [2021-07-07T21:46:44.483Z] fd332fbdc1db: Verifying Checksum [2021-07-07T21:46:44.483Z] fd332fbdc1db: Download complete [2021-07-07T21:46:44.753Z] 31603596830f: Pull complete [2021-07-07T21:46:44.753Z] b6dc333f4379: Pull complete [2021-07-07T21:46:45.338Z] 3d9ef1400e77: Pull complete [2021-07-07T21:46:45.608Z] fd332fbdc1db: Pull complete [2021-07-07T21:46:45.608Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T21:46:45.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T21:46:45.609Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T21:46:45.698Z] prd-centos7-docker-4c-2g-2141 does not seem to be running inside a container [2021-07-07T21:46:45.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-43 -v /w/workspace/undry_go-mod-configuration_PR-43:/w/workspace/undry_go-mod-configuration_PR-43:rw,z -v /w/workspace/undry_go-mod-configuration_PR-43@tmp:/w/workspace/undry_go-mod-configuration_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-07T21:46:46.733Z] $ docker top d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T21:46:46.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T21:46:46.896Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T21:46:47.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T21:46:47.021Z] $ docker exec d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 ssh-agent [2021-07-07T21:46:47.147Z] SSH_AUTH_SOCK=/tmp/ssh-0gZHEseZtSb6/agent.13 [2021-07-07T21:46:47.147Z] SSH_AGENT_PID=19 [2021-07-07T21:46:47.157Z] Running ssh-add (command line suppressed) [2021-07-07T21:46:47.258Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-43@tmp/private_key_7674705166569363257.key (/w/workspace/undry_go-mod-configuration_PR-43@tmp/private_key_7674705166569363257.key) [2021-07-07T21:46:47.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T21:46:47.583Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T21:46:47.603Z] $ docker exec --env ******** --env ******** d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 ssh-agent -k [2021-07-07T21:46:47.708Z] unset SSH_AUTH_SOCK; [2021-07-07T21:46:47.712Z] unset SSH_AGENT_PID; [2021-07-07T21:46:47.712Z] echo Agent pid 19 killed; [2021-07-07T21:46:47.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T21:46:47.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T21:46:47.826Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T21:46:47.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T21:46:47.950Z] $ docker exec d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 ssh-agent [2021-07-07T21:46:48.085Z] SSH_AUTH_SOCK=/tmp/ssh-bCynvxyptqLS/agent.52 [2021-07-07T21:46:48.085Z] SSH_AGENT_PID=58 [2021-07-07T21:46:48.090Z] Running ssh-add (command line suppressed) [2021-07-07T21:46:48.189Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-43@tmp/private_key_1973190593404843363.key (/w/workspace/undry_go-mod-configuration_PR-43@tmp/private_key_1973190593404843363.key) [2021-07-07T21:46:48.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T21:46:48.514Z] + git semver init [2021-07-07T21:46:48.514Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T21:46:48.514Z] # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-43/.git [2021-07-07T21:46:48.514Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-43 [2021-07-07T21:46:48.514Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T21:46:48.514Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T21:46:48.514Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T21:46:48.514Z] # $SEMVER_BRANCH = PR-43 [2021-07-07T21:46:48.514Z] # $SEMVER_TEMP = /tmp/semver-228314909 [2021-07-07T21:46:48.514Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP [2021-07-07T21:46:48.776Z] # '/tmp/semver-228314909' -> '/w/workspace/undry_go-mod-configuration_PR-43/.semver' [2021-07-07T21:46:48.776Z] # -> Force: false [2021-07-07T21:46:48.776Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-43/.semver [Pipeline] } [2021-07-07T21:46:48.785Z] $ docker exec --env ******** --env ******** d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 ssh-agent -k [2021-07-07T21:46:48.892Z] unset SSH_AUTH_SOCK; [2021-07-07T21:46:48.892Z] unset SSH_AGENT_PID; [2021-07-07T21:46:48.892Z] echo Agent pid 58 killed; [2021-07-07T21:46:48.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T21:46:49.258Z] + git semver [Pipeline] } [2021-07-07T21:46:49.272Z] $ docker stop --time=1 d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 [2021-07-07T21:46:50.522Z] $ docker rm -f d0f693431ef9db1bdd72404c16cdef82b0c34acdb5a37cbc17e7934dcc399159 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T21:46:50.908Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T21:46:51.164Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T21:46:51.168Z] [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:47:06.416Z] Still waiting to schedule task [2021-07-07T21:47:06.417Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-07T21:47:06.419Z] Still waiting to schedule task [2021-07-07T21:47:06.420Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-07T21:48:49.324Z] Running on prd-centos7-docker-4c-2g-2144 in /w/workspace/undry_go-mod-configuration_PR-43 [Pipeline] { [Pipeline] ws [2021-07-07T21:48:49.347Z] Running in /w/workspace/go-mod-configuration/2 [Pipeline] { [Pipeline] checkout [2021-07-07T21:48:49.456Z] Selected Git installation does not exist. Using Default [2021-07-07T21:48:49.456Z] The recommended git tool is: NONE [2021-07-07T21:48:51.708Z] using credential edgex-jenkins-ssh [2021-07-07T21:48:51.722Z] Cloning the remote Git repository [2021-07-07T21:48:51.740Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:51.806Z] > git init /w/workspace/go-mod-configuration/2 # timeout=10 [2021-07-07T21:48:51.838Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:51.838Z] > git --version # timeout=10 [2021-07-07T21:48:51.844Z] > git --version # 'git version 2.24.4' [2021-07-07T21:48:51.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:51.873Z] [INFO] Currently running in a labeled security context [2021-07-07T21:48:51.873Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T21:48:51.873Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/2@tmp/jenkins-gitclient-ssh988001242341325480.key [2021-07-07T21:48:51.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:48:52.366Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:48:52.378Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:48:52.389Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:48:52.407Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:48:52.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:52.408Z] [INFO] Currently running in a labeled security context [2021-07-07T21:48:52.408Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T21:48:52.408Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/2@tmp/jenkins-gitclient-ssh7580971641104982137.key [2021-07-07T21:48:52.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T21:48:52.819Z] Merging remotes/origin/main commit a114c3c07fc215ea9a9fe04f5a17874b1416d58e into PR head commit a72fef1fadd543c6d497a72fd3bc1600f6102b9f [2021-07-07T21:48:52.912Z] Merge succeeded, producing a72fef1fadd543c6d497a72fd3bc1600f6102b9f [2021-07-07T21:48:52.913Z] Checking out Revision a72fef1fadd543c6d497a72fd3bc1600f6102b9f (PR-43) [2021-07-07T21:48:52.820Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:48:52.827Z] > git checkout -f a72fef1fadd543c6d497a72fd3bc1600f6102b9f # timeout=10 [2021-07-07T21:48:52.853Z] > git remote # timeout=10 [2021-07-07T21:48:52.866Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T21:48:52.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:48:52.877Z] [INFO] Currently running in a labeled security context [2021-07-07T21:48:52.877Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T21:48:52.878Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/2@tmp/jenkins-gitclient-ssh2806815776461255798.key [2021-07-07T21:48:52.888Z] > git merge a114c3c07fc215ea9a9fe04f5a17874b1416d58e # timeout=10 [2021-07-07T21:48:52.898Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T21:48:52.910Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:48:52.923Z] > git checkout -f a72fef1fadd543c6d497a72fd3bc1600f6102b9f # timeout=10 [2021-07-07T21:48:56.501Z] Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T21:48:57.483Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:48:57.803Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:48:58.101Z] + sudo service docker restart [2021-07-07T21:48:58.101Z] + true [2021-07-07T21:48:58.101Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-07-07T21:49:16.400Z] ========================================================= [2021-07-07T21:49:16.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T21:49:16.400Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:16.714Z] + 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:49:16.983Z] Sending build context to Docker daemon 278.5kB [2021-07-07T21:49:16.983Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T21:49:16.983Z] Step 2/7 : FROM ${BASE} [2021-07-07T21:49:16.983Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T21:49:16.983Z] 540db60ca938: Pulling fs layer [2021-07-07T21:49:16.983Z] adcc1eea9eea: Pulling fs layer [2021-07-07T21:49:16.983Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T21:49:16.983Z] 0510c868ecb4: Pulling fs layer [2021-07-07T21:49:16.983Z] afea3b2eda06: Pulling fs layer [2021-07-07T21:49:16.983Z] 7809a108b3ef: Pulling fs layer [2021-07-07T21:49:16.983Z] f706445af74f: Pulling fs layer [2021-07-07T21:49:16.983Z] 0510c868ecb4: Waiting [2021-07-07T21:49:16.983Z] afea3b2eda06: Waiting [2021-07-07T21:49:16.983Z] 7809a108b3ef: Waiting [2021-07-07T21:49:16.983Z] f706445af74f: Waiting [2021-07-07T21:49:16.983Z] 4c4ab2625f07: Verifying Checksum [2021-07-07T21:49:16.983Z] 4c4ab2625f07: Download complete [2021-07-07T21:49:16.983Z] adcc1eea9eea: Verifying Checksum [2021-07-07T21:49:16.983Z] adcc1eea9eea: Download complete [2021-07-07T21:49:17.244Z] afea3b2eda06: Verifying Checksum [2021-07-07T21:49:17.244Z] afea3b2eda06: Download complete [2021-07-07T21:49:17.244Z] 7809a108b3ef: Verifying Checksum [2021-07-07T21:49:17.244Z] 7809a108b3ef: Download complete [2021-07-07T21:49:17.244Z] 540db60ca938: Verifying Checksum [2021-07-07T21:49:17.244Z] 540db60ca938: Download complete [2021-07-07T21:49:17.507Z] 540db60ca938: Pull complete [2021-07-07T21:49:17.507Z] adcc1eea9eea: Pull complete [2021-07-07T21:49:17.767Z] 4c4ab2625f07: Pull complete [2021-07-07T21:49:18.343Z] f706445af74f: Verifying Checksum [2021-07-07T21:49:18.343Z] f706445af74f: Download complete [2021-07-07T21:49:19.309Z] 0510c868ecb4: Verifying Checksum [2021-07-07T21:49:19.309Z] 0510c868ecb4: Download complete [2021-07-07T21:49:22.682Z] 0510c868ecb4: Pull complete [2021-07-07T21:49:22.682Z] afea3b2eda06: Pull complete [2021-07-07T21:49:22.682Z] 7809a108b3ef: Pull complete [2021-07-07T21:49:23.627Z] f706445af74f: Pull complete [2021-07-07T21:49:23.892Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T21:49:23.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T21:49:23.892Z] ---> b068be0155e3 [2021-07-07T21:49:23.892Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T21:49:27.231Z] ---> Running in 46321eb8a702 [2021-07-07T21:49:27.493Z] Removing intermediate container 46321eb8a702 [2021-07-07T21:49:27.493Z] ---> 79f10c964057 [2021-07-07T21:49:27.493Z] Step 4/7 : RUN apk add --update bash [2021-07-07T21:49:27.493Z] ---> Running in cee0728cde42 [2021-07-07T21:49:27.755Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T21:49:28.706Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T21:49:29.281Z] OK: 149 MiB in 40 packages [2021-07-07T21:49:29.541Z] Removing intermediate container cee0728cde42 [2021-07-07T21:49:29.541Z] ---> 96f64c0d25a9 [2021-07-07T21:49:29.541Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T21:49:29.541Z] ---> Running in 7f1f42b75269 [2021-07-07T21:49:29.541Z] Removing intermediate container 7f1f42b75269 [2021-07-07T21:49:29.541Z] ---> d4889bd2d631 [2021-07-07T21:49:29.541Z] Step 6/7 : COPY go.mod . [2021-07-07T21:49:29.811Z] ---> b614d600756e [2021-07-07T21:49:29.811Z] Step 7/7 : RUN go mod download [2021-07-07T21:49:29.811Z] ---> Running in 80ae8ef860fd [2021-07-07T21:49:37.973Z] Removing intermediate container 80ae8ef860fd [2021-07-07T21:49:37.973Z] ---> 52ab998629a0 [2021-07-07T21:49:37.973Z] Successfully built 52ab998629a0 [2021-07-07T21:49:37.973Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:38.275Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T21:49:38.275Z] . [Pipeline] withDockerContainer [2021-07-07T21:49:38.353Z] prd-centos7-docker-4c-2g-2144 does not seem to be running inside a container [2021-07-07T21:49:38.392Z] $ 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:38.761Z] $ docker top af64508b56c154011f9b0fe0538c77fa9135a27e0d37218f11aba2085e40f04a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:49:39.157Z] + go version [2021-07-07T21:49:39.157Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T21:49:39.167Z] $ docker stop --time=1 af64508b56c154011f9b0fe0538c77fa9135a27e0d37218f11aba2085e40f04a [2021-07-07T21:49:40.348Z] $ docker rm -f af64508b56c154011f9b0fe0538c77fa9135a27e0d37218f11aba2085e40f04a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:49:40.914Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T21:49:40.914Z] . [Pipeline] withDockerContainer [2021-07-07T21:49:40.989Z] prd-centos7-docker-4c-2g-2144 does not seem to be running inside a container [2021-07-07T21:49:41.028Z] $ 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:41.419Z] $ docker top 288dc52d031352bd206a0dd7d976d02f43cc7ab57c31abc3d6d85a2261e359fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:49:41.812Z] + go mod tidy [Pipeline] sh [2021-07-07T21:49:42.137Z] + make test [2021-07-07T21:49:42.137Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T21:49:52.230Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.004s coverage: 85.7% of statements [2021-07-07T21:49:54.154Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.531s coverage: 87.4% of statements [2021-07-07T21:49:54.154Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.014s coverage: 100.0% of statements [2021-07-07T21:49:54.154Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T21:49:58.417Z] gofmt -l . [2021-07-07T21:49:58.417Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T21:49:58.424Z] $ docker stop --time=1 288dc52d031352bd206a0dd7d976d02f43cc7ab57c31abc3d6d85a2261e359fc [2021-07-07T21:49:59.800Z] $ docker rm -f 288dc52d031352bd206a0dd7d976d02f43cc7ab57c31abc3d6d85a2261e359fc [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T21:50:00.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T21:50:00.404Z] 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:50:01.534Z] ---> job-cost.sh [2021-07-07T21:50:01.535Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ay7c [2021-07-07T21:50:02.144Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2145 in /w/workspace/undry_go-mod-configuration_PR-43 [Pipeline] { [Pipeline] ws [2021-07-07T21:50:02.167Z] Running in /w/workspace/go-mod-configuration/2 [Pipeline] { [Pipeline] checkout [2021-07-07T21:50:02.519Z] Selected Git installation does not exist. Using Default [2021-07-07T21:50:02.519Z] The recommended git tool is: NONE [2021-07-07T21:50:07.399Z] using credential edgex-jenkins-ssh [2021-07-07T21:50:07.418Z] Cloning the remote Git repository [2021-07-07T21:50:07.517Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:50:07.666Z] > git init /w/workspace/go-mod-configuration/2 # timeout=10 [2021-07-07T21:50:07.768Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:50:07.769Z] > git --version # timeout=10 [2021-07-07T21:50:07.784Z] > git --version # 'git version 2.17.1' [2021-07-07T21:50:07.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:50:07.887Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:50:08.576Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:50:08.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T21:50:09.163Z] Merging remotes/origin/main commit a114c3c07fc215ea9a9fe04f5a17874b1416d58e into PR head commit a72fef1fadd543c6d497a72fd3bc1600f6102b9f [2021-07-07T21:50:09.342Z] Merge succeeded, producing a72fef1fadd543c6d497a72fd3bc1600f6102b9f [2021-07-07T21:50:09.343Z] Checking out Revision a72fef1fadd543c6d497a72fd3bc1600f6102b9f (PR-43) [2021-07-07T21:50:08.623Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2021-07-07T21:50:08.669Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2021-07-07T21:50:08.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:50:08.682Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T21:50:09.179Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:50:09.193Z] > git checkout -f a72fef1fadd543c6d497a72fd3bc1600f6102b9f # timeout=10 [2021-07-07T21:50:09.265Z] > git remote # timeout=10 [2021-07-07T21:50:09.282Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T21:50:09.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T21:50:09.304Z] > git merge a114c3c07fc215ea9a9fe04f5a17874b1416d58e # timeout=10 [2021-07-07T21:50:09.324Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T21:50:09.345Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T21:50:09.360Z] > git checkout -f a72fef1fadd543c6d497a72fd3bc1600f6102b9f # timeout=10 [2021-07-07T21:50:11.551Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T21:50:13.559Z] Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1" [2021-07-07T21:50:13.865Z] [2021-07-07T21:50:13.865Z] GitHub has been notified of this commit’s build result [2021-07-07T21:50:13.865Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T21:50:14.833Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:50:15.264Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T21:50:15.610Z] + sudo service docker restart [2021-07-07T21:50:15.610Z] + true [2021-07-07T21:50:23.843Z] lf-activate-venv(): INFO: Adding /tmp/venv-ay7c/bin to PATH [2021-07-07T21:50:23.843Z] INFO: No Stack... [2021-07-07T21:50:24.107Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T21:50:24.679Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T21:50:24.987Z] + cat /w/workspace/go-mod-configuration/2/archives/cost.csv [2021-07-07T21:50:24.987Z] + cut -d, -f6 [Pipeline] lock [2021-07-07T21:50:25.022Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] [2021-07-07T21:50:25.054Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] did not exist. Created. [2021-07-07T21:50:25.054Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T21:50:25.387Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-07T21:50:25.454Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T21:50:25.466Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo [2021-07-07T21:50:34.184Z] ========================================================= [2021-07-07T21:50:34.184Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T21:50:34.184Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:50:34.529Z] + 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:50:35.126Z] Sending build context to Docker daemon 277.5kB [2021-07-07T21:50:35.404Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T21:50:35.404Z] Step 2/7 : FROM ${BASE} [2021-07-07T21:50:36.005Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T21:50:36.005Z] 595b0fe564bb: Pulling fs layer [2021-07-07T21:50:36.005Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T21:50:36.005Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T21:50:36.005Z] ba82ee9f976e: Pulling fs layer [2021-07-07T21:50:36.005Z] 506bd15cee9f: Pulling fs layer [2021-07-07T21:50:36.005Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T21:50:36.005Z] 618dc40b7e24: Pulling fs layer [2021-07-07T21:50:36.005Z] ba82ee9f976e: Waiting [2021-07-07T21:50:36.005Z] 506bd15cee9f: Waiting [2021-07-07T21:50:36.005Z] 75a0a4a0db45: Waiting [2021-07-07T21:50:36.005Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T21:50:36.005Z] 5b7225fbf94c: Download complete [2021-07-07T21:50:36.005Z] 3088b5b3c5c0: Download complete [2021-07-07T21:50:36.005Z] 506bd15cee9f: Verifying Checksum [2021-07-07T21:50:36.005Z] 506bd15cee9f: Download complete [2021-07-07T21:50:36.005Z] 75a0a4a0db45: Verifying Checksum [2021-07-07T21:50:36.005Z] 75a0a4a0db45: Download complete [2021-07-07T21:50:36.005Z] 595b0fe564bb: Verifying Checksum [2021-07-07T21:50:36.005Z] 595b0fe564bb: Download complete [2021-07-07T21:50:36.611Z] 595b0fe564bb: Pull complete [2021-07-07T21:50:37.223Z] 3088b5b3c5c0: Pull complete [2021-07-07T21:50:37.826Z] 5b7225fbf94c: Pull complete [2021-07-07T21:50:38.132Z] 618dc40b7e24: Verifying Checksum [2021-07-07T21:50:38.132Z] 618dc40b7e24: Download complete [2021-07-07T21:50:39.578Z] ba82ee9f976e: Verifying Checksum [2021-07-07T21:50:39.578Z] ba82ee9f976e: Download complete [2021-07-07T21:50:52.050Z] ba82ee9f976e: Pull complete [2021-07-07T21:50:52.050Z] 506bd15cee9f: Pull complete [2021-07-07T21:50:52.050Z] 75a0a4a0db45: Pull complete [2021-07-07T21:50:54.685Z] 618dc40b7e24: Pull complete [2021-07-07T21:50:54.960Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T21:50:54.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T21:50:54.960Z] ---> a36622ca3599 [2021-07-07T21:50:54.960Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T21:50:57.042Z] ---> Running in ec17fd2c5b0d [2021-07-07T21:50:57.639Z] Removing intermediate container ec17fd2c5b0d [2021-07-07T21:50:57.639Z] ---> f453f13ba755 [2021-07-07T21:50:57.639Z] Step 4/7 : RUN apk add --update bash [2021-07-07T21:50:57.639Z] ---> Running in fc77c0e45b88 [2021-07-07T21:50:59.077Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T21:51:00.071Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T21:51:01.499Z] OK: 138 MiB in 40 packages [2021-07-07T21:51:02.479Z] Removing intermediate container fc77c0e45b88 [2021-07-07T21:51:02.479Z] ---> 18f56a28c80c [2021-07-07T21:51:02.479Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T21:51:02.753Z] ---> Running in 383cc7eb127b [2021-07-07T21:51:03.379Z] Removing intermediate container 383cc7eb127b [2021-07-07T21:51:03.379Z] ---> 16b641959938 [2021-07-07T21:51:03.379Z] Step 6/7 : COPY go.mod . [2021-07-07T21:51:03.993Z] ---> fd3837aefb84 [2021-07-07T21:51:03.993Z] Step 7/7 : RUN go mod download [2021-07-07T21:51:04.295Z] ---> Running in 06731cea92d4 [2021-07-07T21:51:19.415Z] Removing intermediate container 06731cea92d4 [2021-07-07T21:51:19.415Z] ---> 9a038bbbdb4f [2021-07-07T21:51:19.415Z] Successfully built 9a038bbbdb4f [2021-07-07T21:51:19.415Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:51:19.768Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T21:51:19.768Z] . [Pipeline] withDockerContainer [2021-07-07T21:51:20.010Z] prd-ubuntu18.04-docker-arm64-4c-16g-2145 does not seem to be running inside a container [2021-07-07T21:51:20.123Z] $ 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:51:21.734Z] $ docker top c6b00116f60af89c4df4f9781cd684acfb2989181c8516ae08953b9a55df39d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:51:22.707Z] + go version [2021-07-07T21:51:22.707Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T21:51:22.753Z] $ docker stop --time=1 c6b00116f60af89c4df4f9781cd684acfb2989181c8516ae08953b9a55df39d2 [2021-07-07T21:51:24.546Z] $ docker rm -f c6b00116f60af89c4df4f9781cd684acfb2989181c8516ae08953b9a55df39d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:51:25.308Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T21:51:25.308Z] . [Pipeline] withDockerContainer [2021-07-07T21:51:25.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-2145 does not seem to be running inside a container [2021-07-07T21:51:25.675Z] $ 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:51:27.274Z] $ docker top 9fe948c4354871ef21e32260f32ff5332033a5e48e058d361b5605bfc4d3be1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:51:28.190Z] + go mod tidy [Pipeline] sh [2021-07-07T21:51:29.134Z] + make test [2021-07-07T21:51:29.134Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T21:52:01.521Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.019s coverage: 85.7% of statements [2021-07-07T21:52:01.521Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.624s coverage: 87.4% of statements [2021-07-07T21:52:01.521Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.021s coverage: 100.0% of statements [2021-07-07T21:52:01.521Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T21:52:19.878Z] gofmt -l . [2021-07-07T21:52:19.878Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T21:52:19.940Z] $ docker stop --time=1 9fe948c4354871ef21e32260f32ff5332033a5e48e058d361b5605bfc4d3be1e [2021-07-07T21:52:21.941Z] $ docker rm -f 9fe948c4354871ef21e32260f32ff5332033a5e48e058d361b5605bfc4d3be1e [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T21:52:22.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T21:52:22.710Z] Warning: overwriting stash ‘coverage-report’ [2021-07-07T21:52:23.186Z] 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:52:23.973Z] ---> job-cost.sh [2021-07-07T21:52:23.973Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VBE6 [2021-07-07T21:53:02.949Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T21:54:24.680Z] lf-activate-venv(): INFO: Adding /tmp/venv-VBE6/bin to PATH [2021-07-07T21:54:24.680Z] INFO: No Stack... [2021-07-07T21:54:24.680Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T21:54:24.680Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T21:54:25.028Z] + cat /w/workspace/go-mod-configuration/2/archives/cost.csv+ [2021-07-07T21:54:25.028Z] cut -d, -f6 [Pipeline] lock [2021-07-07T21:54:25.092Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] [2021-07-07T21:54:25.108Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] did not exist. Created. [2021-07-07T21:54:25.108Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-43-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T21:54:25.477Z] /w/workspace/go-mod-configuration/2@tmp/durable-504dec1a/script.sh: 1: /w/workspace/go-mod-configuration/2@tmp/durable-504dec1a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-07T21:54:25.824Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T21:54:25.844Z] Warning: overwriting stash ‘stack-cost’ [2021-07-07T21:54:25.989Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T21:54:26.002Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-43-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:54:26.605Z] provisioning config files... [2021-07-07T21:54:26.620Z] copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-43@tmp/config1889773786699574132tmp [Pipeline] { [Pipeline] sh [2021-07-07T21:54:26.944Z] + set +x [2021-07-07T21:54:26.944Z] + curl -s https://codecov.io/bash [2021-07-07T21:54:26.944Z] + bash -s -- [2021-07-07T21:54:26.944Z] [2021-07-07T21:54:26.944Z] _____ _ [2021-07-07T21:54:26.944Z] / ____| | | [2021-07-07T21:54:26.944Z] | | ___ __| | ___ ___ _____ __ [2021-07-07T21:54:26.944Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-07T21:54:26.944Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-07T21:54:26.944Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-07T21:54:26.944Z] Bash-1.0.3 [2021-07-07T21:54:26.944Z] [2021-07-07T21:54:26.944Z] [2021-07-07T21:54:26.944Z] ==> git version 2.24.4 found [2021-07-07T21:54:26.944Z] ==> 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:54:26.944Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-07T21:54:26.944Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-07T21:54:26.944Z] ==> Jenkins CI detected. [2021-07-07T21:54:26.944Z] project root: . [2021-07-07T21:54:26.944Z] --> token set from env [2021-07-07T21:54:26.944Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-07T21:54:27.209Z] ==> Running gcov in . (disable via -X gcov) [2021-07-07T21:54:27.209Z] ==> Python coveragepy not found [2021-07-07T21:54:27.209Z] ==> Searching for coverage reports in: [2021-07-07T21:54:27.209Z] + . [2021-07-07T21:54:27.209Z] -> Found 1 reports [2021-07-07T21:54:27.209Z] ==> Detecting git/mercurial file structure [2021-07-07T21:54:27.209Z] ==> Reading reports [2021-07-07T21:54:27.209Z] + ./coverage.out bytes=14452 [2021-07-07T21:54:27.209Z] ==> Appending adjustments [2021-07-07T21:54:27.209Z] https://docs.codecov.io/docs/fixing-reports [2021-07-07T21:54:27.209Z] + Found adjustments [2021-07-07T21:54:27.209Z] ==> Gzipping contents [2021-07-07T21:54:27.209Z] 4.0K /tmp/codecov.72rVsG.gz [2021-07-07T21:54:27.209Z] ==> Uploading reports [2021-07-07T21:54:27.209Z] url: https://codecov.io [2021-07-07T21:54:27.209Z] query: branch=PR-43&commit=a72fef1fadd543c6d497a72fd3bc1600f6102b9f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-43%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=43&job=&cmd_args= [2021-07-07T21:54:27.209Z] -> Pinging Codecov [2021-07-07T21:54:27.209Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-43&commit=a72fef1fadd543c6d497a72fd3bc1600f6102b9f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-43%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=43&job=&cmd_args= [2021-07-07T21:54:27.476Z] -> Uploading to [2021-07-07T21:54:27.476Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-07/9F92B070CA9CA35F4914AC8684776953/a72fef1fadd543c6d497a72fd3bc1600f6102b9f/a02de603-8e39-4bed-b778-6678938d03f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T215427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b84a4377bdf376c9e0565e62f7681dbecdf55fee4c27feca989ab4f039ae3f1f [2021-07-07T21:54:27.476Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-07T21:54:27.476Z] Dload Upload Total Spent Left Speed [2021-07-07T21:54:28.053Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2644 0 0 100 2644 0 8043 --:--:-- --:--:-- --:--:-- 8060 [2021-07-07T21:54:28.053Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/a72fef1fadd543c6d497a72fd3bc1600f6102b9f [Pipeline] } [2021-07-07T21:54:28.063Z] 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:54:29.697Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:54:30.272Z] ---> package-listing.sh [2021-07-07T21:54:30.272Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T21:54:30.272Z] ++ facter osfamily [2021-07-07T21:54:30.535Z] + OS_FAMILY=redhat [2021-07-07T21:54:30.535Z] + workspace=/w/workspace/undry_go-mod-configuration_PR-43 [2021-07-07T21:54:30.535Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T21:54:30.535Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T21:54:30.535Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T21:54:30.535Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T21:54:30.535Z] + '[' /w/workspace/undry_go-mod-configuration_PR-43 ']' [2021-07-07T21:54:30.535Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T21:54:30.535Z] + case "${OS_FAMILY}" in [2021-07-07T21:54:30.535Z] + rpm -qa [2021-07-07T21:54:30.535Z] + sort [2021-07-07T21:54:31.110Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T21:54:31.110Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T21:54:31.110Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T21:54:31.110Z] + '[' /w/workspace/undry_go-mod-configuration_PR-43 ']' [2021-07-07T21:54:31.110Z] + mkdir -p /w/workspace/undry_go-mod-configuration_PR-43/archives/ [2021-07-07T21:54:31.110Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-43/archives/ [Pipeline] echo [2021-07-07T21:54:31.125Z] 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-43/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:54:31.431Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:54:32.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T21:54:32.005Z] [2021-07-07T21:54:32.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T21:54:32.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T21:54:32.334Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T21:54:32.334Z] df20fa9351a1: Pulling fs layer [2021-07-07T21:54:32.334Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T21:54:32.334Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T21:54:32.334Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T21:54:32.334Z] 93b61091891f: Pulling fs layer [2021-07-07T21:54:32.334Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T21:54:32.334Z] 5e14af77c1be: Pulling fs layer [2021-07-07T21:54:32.334Z] 01666e4c0597: Pulling fs layer [2021-07-07T21:54:32.334Z] aa168da1d23b: Pulling fs layer [2021-07-07T21:54:32.334Z] 93b9cdb0e59b: Waiting [2021-07-07T21:54:32.334Z] 5e14af77c1be: Waiting [2021-07-07T21:54:32.334Z] 01666e4c0597: Waiting [2021-07-07T21:54:32.334Z] aa168da1d23b: Waiting [2021-07-07T21:54:32.334Z] 46f8f816bc3b: Waiting [2021-07-07T21:54:32.334Z] 93b61091891f: Waiting [2021-07-07T21:54:32.334Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T21:54:32.334Z] 36b3adc4ff6f: Download complete [2021-07-07T21:54:32.334Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T21:54:32.334Z] 46f8f816bc3b: Download complete [2021-07-07T21:54:32.599Z] df20fa9351a1: Verifying Checksum [2021-07-07T21:54:32.599Z] df20fa9351a1: Download complete [2021-07-07T21:54:32.599Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T21:54:32.599Z] 93b9cdb0e59b: Download complete [2021-07-07T21:54:32.599Z] 5e14af77c1be: Verifying Checksum [2021-07-07T21:54:32.599Z] 5e14af77c1be: Download complete [2021-07-07T21:54:32.599Z] 01666e4c0597: Verifying Checksum [2021-07-07T21:54:32.599Z] 01666e4c0597: Download complete [2021-07-07T21:54:32.599Z] 93b61091891f: Verifying Checksum [2021-07-07T21:54:32.599Z] 93b61091891f: Download complete [2021-07-07T21:54:32.863Z] df20fa9351a1: Pull complete [2021-07-07T21:54:32.863Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T21:54:32.863Z] 8ad3a11d3b57: Download complete [2021-07-07T21:54:32.863Z] 36b3adc4ff6f: Pull complete [2021-07-07T21:54:33.447Z] 8ad3a11d3b57: Pull complete [2021-07-07T21:54:33.718Z] 46f8f816bc3b: Pull complete [2021-07-07T21:54:33.985Z] 93b61091891f: Pull complete [2021-07-07T21:54:33.985Z] 93b9cdb0e59b: Pull complete [2021-07-07T21:54:34.253Z] 5e14af77c1be: Pull complete [2021-07-07T21:54:34.253Z] 01666e4c0597: Pull complete [2021-07-07T21:54:34.827Z] aa168da1d23b: Verifying Checksum [2021-07-07T21:54:34.827Z] aa168da1d23b: Download complete [2021-07-07T21:54:40.176Z] aa168da1d23b: Pull complete [2021-07-07T21:54:40.176Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T21:54:40.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T21:54:40.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T21:54:40.266Z] prd-centos7-docker-4c-2g-2141 does not seem to be running inside a container [2021-07-07T21:54:40.314Z] $ 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-43/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-43 -v /w/workspace/undry_go-mod-configuration_PR-43:/w/workspace/undry_go-mod-configuration_PR-43:rw,z -v /w/workspace/undry_go-mod-configuration_PR-43@tmp:/w/workspace/undry_go-mod-configuration_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-07T21:54:42.752Z] $ docker top 06abd269b10f8d2e73105006cd0bcae627b10c021f690a5519767a39837ffc9d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T21:54:43.150Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T21:54:43.450Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T21:54:43.749Z] + ls /var/log/sa-host [2021-07-07T21:54:43.749Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T21:54:43.749Z] file_magic: OK [2021-07-07T21:54:43.749Z] HZ: Using current value: 100 [2021-07-07T21:54:43.749Z] file_header: OK [2021-07-07T21:54:43.749Z] 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:54:43.749Z] Statistics: [2021-07-07T21:54:43.749Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T21:54:43.749Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T21:54:43.749Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T21:54:43.749Z] file_magic: OK [2021-07-07T21:54:43.749Z] HZ: Using current value: 100 [2021-07-07T21:54:43.749Z] file_header: OK [2021-07-07T21:54:43.749Z] 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:54:43.749Z] Statistics: [2021-07-07T21:54:43.749Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T21:54:43.749Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T21:54:43.955Z] provisioning config files... [2021-07-07T21:54:43.975Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-43@tmp/config4949582082539657148tmp [Pipeline] { [Pipeline] echo [2021-07-07T21:54:44.000Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:54:44.342Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T21:54:44.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:54:44.746Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T21:54:44.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:54:45.062Z] ---> sudo-logs.sh [2021-07-07T21:54:45.062Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T21:54:45.101Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:54:45.418Z] ---> job-cost.sh [2021-07-07T21:54:45.418Z] lf-activate-venv: SKIPPING [2021-07-07T21:54:45.418Z] DEBUG: total: 0.18000000715255737 [2021-07-07T21:54:45.418Z] INFO: Retrieving Stack Cost... [2021-07-07T21:54:46.367Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T21:54:46.941Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T21:54:46.956Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T21:54:47.263Z] ---> logs-deploy.sh [2021-07-07T21:54:47.263Z] lf-activate-venv: SKIPPING [2021-07-07T21:54:47.263Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-43/2 [2021-07-07T21:54:47.263Z] INFO: archiving workspace using pattern(s): [2021-07-07T21:54:48.209Z] Archives upload complete. [2021-07-07T21:54:48.209Z] INFO: archiving logs to Nexus