Pull request #24 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 11268cc21c3fbd0bda9ae035b786da1a83894672+6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 (1e012610ad4990c18b17a32fb4060b95fe1b09f9) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21336 in /w/workspace/undry_go-mod-configuration_PR-24 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-24 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 into PR head commit 11268cc21c3fbd0bda9ae035b786da1a83894672 Merge succeeded, producing 11268cc21c3fbd0bda9ae035b786da1a83894672 Checking out Revision 11268cc21c3fbd0bda9ae035b786da1a83894672 (PR-24) > git config core.sparsecheckout # timeout=10 > git checkout -f 11268cc21c3fbd0bda9ae035b786da1a83894672 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11268cc21c3fbd0bda9ae035b786da1a83894672 # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.1.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:05:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:05:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:05:11 ========================================================= 22:05:11 EdgeX Global Pipelines Version Info 22:05:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 396dcaed79b98d54f946236ec6c0e7e31fa39406 # timeout=10 22:05:12 ------------------- 22:05:12 stable info: 22:05:12 ------------------- 22:05:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:05:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:05:12 Message: update stable to v1.0.179 22:05:13 ------------------- 22:05:13 experimental info: 22:05:13 ------------------- 22:05:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:05:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:05:13 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:05:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 22:05:13 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-configuration [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11268cc21c3fbd0bda9ae035b786da1a83894672 [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11268cc [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:17 + git log --format=format:%s -1 11268cc21c3fbd0bda9ae035b786da1a83894672 [Pipeline] echo 22:05:17 GIT_COMMIT: 11268cc21c3fbd0bda9ae035b786da1a83894672, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.1.0 to 1.8.1 [Pipeline] echo 22:05:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:18 22:05:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:05:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:19 latest: Pulling from edgex-devops/git-semver 22:05:19 31603596830f: Pulling fs layer 22:05:19 2a8b12db71e7: Pulling fs layer 22:05:19 6ca5941a6612: Pulling fs layer 22:05:19 ecc8261a40a4: Pulling fs layer 22:05:19 ecc8261a40a4: Waiting 22:05:19 2a8b12db71e7: Download complete 22:05:19 31603596830f: Verifying Checksum 22:05:19 31603596830f: Download complete 22:05:19 ecc8261a40a4: Verifying Checksum 22:05:19 ecc8261a40a4: Download complete 22:05:19 6ca5941a6612: Verifying Checksum 22:05:19 6ca5941a6612: Download complete 22:05:19 31603596830f: Pull complete 22:05:19 2a8b12db71e7: Pull complete 22:05:20 6ca5941a6612: Pull complete 22:05:20 ecc8261a40a4: Pull complete 22:05:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:05:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:05:20 prd-centos7-docker-4c-2g-21336 does not seem to be running inside a container 22:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-24 -v /w/workspace/undry_go-mod-configuration_PR-24:/w/workspace/undry_go-mod-configuration_PR-24:rw,z -v /w/workspace/undry_go-mod-configuration_PR-24@tmp:/w/workspace/undry_go-mod-configuration_PR-24@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 22:05:23 $ docker top d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:23 [ssh-agent] Looking for ssh-agent implementation... 22:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:23 $ docker exec d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d ssh-agent 22:05:24 SSH_AUTH_SOCK=/tmp/ssh-gOLkjrd6CR2A/agent.13 22:05:24 SSH_AGENT_PID=18 22:05:24 Running ssh-add (command line suppressed) 22:05:24 Identity added: /w/workspace/undry_go-mod-configuration_PR-24@tmp/private_key_6335089067227139045.key (/w/workspace/undry_go-mod-configuration_PR-24@tmp/private_key_6335089067227139045.key) 22:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:24 + git tag --points-at HEAD [Pipeline] } 22:05:24 $ docker exec --env ******** --env ******** d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d ssh-agent -k 22:05:24 unset SSH_AUTH_SOCK; 22:05:24 unset SSH_AGENT_PID; 22:05:24 echo Agent pid 18 killed; 22:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:05:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:24 [ssh-agent] Looking for ssh-agent implementation... 22:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:25 $ docker exec d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d ssh-agent 22:05:25 SSH_AUTH_SOCK=/tmp/ssh-36c1XBXjLb10/agent.48 22:05:25 SSH_AGENT_PID=54 22:05:25 Running ssh-add (command line suppressed) 22:05:25 Identity added: /w/workspace/undry_go-mod-configuration_PR-24@tmp/private_key_1798408606027196687.key (/w/workspace/undry_go-mod-configuration_PR-24@tmp/private_key_1798408606027196687.key) 22:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:25 + git semver init 22:05:25 # -> Open(): unable to determine branch for HEAD 22:05:25 # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-24/.git 22:05:25 # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-24 22:05:25 # $SEMVER_REMOTE_NAME = origin 22:05:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:05:25 # $SEMVER_USER_NAME = edgex-jenkins 22:05:25 # $SEMVER_BRANCH = PR-24 22:05:25 # $SEMVER_TEMP = /tmp/semver-231581833 22:05:25 # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP 22:05:26 # '/tmp/semver-231581833' -> '/w/workspace/undry_go-mod-configuration_PR-24/.semver' 22:05:26 # -> Force: false 22:05:26 # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-24/.semver [Pipeline] } 22:05:26 $ docker exec --env ******** --env ******** d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d ssh-agent -k 22:05:26 unset SSH_AUTH_SOCK; 22:05:26 unset SSH_AGENT_PID; 22:05:26 echo Agent pid 54 killed; 22:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:26 + git semver [Pipeline] } 22:05:26 $ docker stop --time=1 d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d 22:05:28 $ docker rm -f d313a2e3ed9c5433fc1436868df94499ac52f65f5ab92a5b3e0847eef3631a5d [Pipeline] // withDockerContainer [Pipeline] sh 22:05:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:05:28 Stashed 1 file(s) [Pipeline] echo 22:05:29 [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 22:05:44 Still waiting to schedule task 22:05:44 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21326’ is offline; ‘prd-centos7-docker-4c-2g-21327’ is offline; ‘prd-centos7-docker-4c-2g-21330’ is offline; ‘prd-centos7-docker-4c-2g-21333’ is offline; ‘prd-centos7-docker-4c-2g-21334’ is offline; ‘prd-centos7-docker-4c-2g-21343’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 22:05:44 Still waiting to schedule task 22:05:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:06:46 Running on prd-centos7-docker-4c-2g-21349 in /w/workspace/undry_go-mod-configuration_PR-24 [Pipeline] { [Pipeline] ws 22:06:47 Running in /w/workspace/go-mod-configuration/3 [Pipeline] { [Pipeline] checkout 22:06:50 using credential edgex-jenkins-ssh 22:06:50 Cloning the remote Git repository 22:06:50 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:06:50 > git init /w/workspace/go-mod-configuration/3 # timeout=10 22:06:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:06:50 > git --version # timeout=10 22:06:50 > git --version # 'git version 2.24.3' 22:06:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:51 Merging remotes/origin/master commit 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 into PR head commit 11268cc21c3fbd0bda9ae035b786da1a83894672 22:06:51 Merge succeeded, producing 11268cc21c3fbd0bda9ae035b786da1a83894672 22:06:51 Checking out Revision 11268cc21c3fbd0bda9ae035b786da1a83894672 (PR-24) 22:06:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:06:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:51 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:06:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:06:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:06:51 > git config core.sparsecheckout # timeout=10 22:06:51 > git checkout -f 11268cc21c3fbd0bda9ae035b786da1a83894672 # timeout=10 22:06:51 > git remote # timeout=10 22:06:51 > git config --get remote.origin.url # timeout=10 22:06:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:51 > git merge 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 # timeout=10 22:06:51 > git rev-parse HEAD^{commit} # timeout=10 22:06:51 > git config core.sparsecheckout # timeout=10 22:06:51 > git checkout -f 11268cc21c3fbd0bda9ae035b786da1a83894672 # timeout=10 22:06:55 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.1.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:06:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:06:57 + sudo service docker restart 22:06:57 + true 22:06:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:06:58 ========================================================= 22:06:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:06:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:06:58 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 22:06:58 Sending build context to Docker daemon 218.1kB 22:06:59 Step 1/7 : ARG BASE=golang:1.15-alpine 22:06:59 Step 2/7 : FROM ${BASE} 22:06:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:06:59 188c0c94c7c5: Pulling fs layer 22:06:59 0ef7d3d256c8: Pulling fs layer 22:06:59 de9db76c5a1d: Pulling fs layer 22:06:59 bca2f99d35d6: Pulling fs layer 22:06:59 93359f2a8cfa: Pulling fs layer 22:06:59 7c6f9722023f: Pulling fs layer 22:06:59 a35cf1a2eb13: Pulling fs layer 22:06:59 93359f2a8cfa: Waiting 22:06:59 7c6f9722023f: Waiting 22:06:59 a35cf1a2eb13: Waiting 22:06:59 bca2f99d35d6: Waiting 22:06:59 de9db76c5a1d: Verifying Checksum 22:06:59 de9db76c5a1d: Download complete 22:06:59 0ef7d3d256c8: Verifying Checksum 22:06:59 0ef7d3d256c8: Download complete 22:06:59 93359f2a8cfa: Verifying Checksum 22:06:59 93359f2a8cfa: Download complete 22:06:59 7c6f9722023f: Verifying Checksum 22:06:59 7c6f9722023f: Download complete 22:06:59 188c0c94c7c5: Download complete 22:06:59 188c0c94c7c5: Pull complete 22:07:00 0ef7d3d256c8: Pull complete 22:07:00 de9db76c5a1d: Pull complete 22:07:03 a35cf1a2eb13: Verifying Checksum 22:07:03 a35cf1a2eb13: Download complete 22:07:04 bca2f99d35d6: Verifying Checksum 22:07:04 bca2f99d35d6: Download complete 22:07:11 bca2f99d35d6: Pull complete 22:07:11 93359f2a8cfa: Pull complete 22:07:11 7c6f9722023f: Pull complete 22:07:17 a35cf1a2eb13: Pull complete 22:07:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:07:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:07:17 ---> a62c8e92a672 22:07:17 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:07:17 ---> Running in 716e828b94ea 22:07:17 Removing intermediate container 716e828b94ea 22:07:17 ---> 961bf7a99ffc 22:07:17 Step 4/7 : RUN apk add --update bash 22:07:17 ---> Running in 42957d03acf3 22:07:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:07:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:07:19 OK: 166 MiB in 39 packages 22:07:20 Removing intermediate container 42957d03acf3 22:07:20 ---> 48bfdac6f285 22:07:20 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:07:20 ---> Running in d8e11edc9f63 22:07:20 Removing intermediate container d8e11edc9f63 22:07:20 ---> f8752056360b 22:07:20 Step 6/7 : COPY go.mod . 22:07:20 ---> 68d24748f2a4 22:07:20 Step 7/7 : RUN go mod download 22:07:20 ---> Running in 9ab067225260 22:07:35 Removing intermediate container 9ab067225260 22:07:35 ---> 15d13d4d6f80 22:07:35 Successfully built 15d13d4d6f80 22:07:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:07:36 + docker inspect -f . ci-base-image-x86_64 22:07:36 . [Pipeline] withDockerContainer 22:07:36 prd-centos7-docker-4c-2g-21349 does not seem to be running inside a container 22:07:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/3 -v /w/workspace/go-mod-configuration/3:/w/workspace/go-mod-configuration/3:rw,z -v /w/workspace/go-mod-configuration/3@tmp:/w/workspace/go-mod-configuration/3@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 22:07:36 $ docker top 713f6cdc5242d776cfac7dffdda88a80f234d3b6867eaa5ebd16a4b6c8ee208d -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:37 + go version 22:07:37 go version go1.15.5 linux/amd64 [Pipeline] } 22:07:37 $ docker stop --time=1 713f6cdc5242d776cfac7dffdda88a80f234d3b6867eaa5ebd16a4b6c8ee208d 22:07:39 $ docker rm -f 713f6cdc5242d776cfac7dffdda88a80f234d3b6867eaa5ebd16a4b6c8ee208d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:07:40 + docker inspect -f . ci-base-image-x86_64 22:07:40 . [Pipeline] withDockerContainer 22:07:40 prd-centos7-docker-4c-2g-21349 does not seem to be running inside a container 22:07:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/3 -v /w/workspace/go-mod-configuration/3:/w/workspace/go-mod-configuration/3:rw,z -v /w/workspace/go-mod-configuration/3@tmp:/w/workspace/go-mod-configuration/3@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 22:07:41 $ docker top 797dee81e58244fcd39c278ba64801c55b97356c2eaa6a980a46018b2388ac7a -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:41 + make test 22:07:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:07:50 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.011s coverage: 85.7% of statements 22:07:53 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.555s coverage: 86.0% of statements 22:07:53 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.006s coverage: 100.0% of statements 22:07:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:07:54 gofmt -l . 22:07:54 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:07:54 $ docker stop --time=1 797dee81e58244fcd39c278ba64801c55b97356c2eaa6a980a46018b2388ac7a 22:07:56 $ docker rm -f 797dee81e58244fcd39c278ba64801c55b97356c2eaa6a980a46018b2388ac7a [Pipeline] // withDockerContainer [Pipeline] sh 22:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:07:57 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:08:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21356 in /w/workspace/undry_go-mod-configuration_PR-24 [Pipeline] { [Pipeline] ws 22:08:21 Running in /w/workspace/go-mod-configuration/3 [Pipeline] { [Pipeline] checkout 22:08:26 using credential edgex-jenkins-ssh 22:08:27 Cloning the remote Git repository 22:08:27 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:08:27 > git init /w/workspace/go-mod-configuration/3 # timeout=10 22:08:27 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:08:27 > git --version # timeout=10 22:08:27 > git --version # 'git version 2.17.1' 22:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:28 Merging remotes/origin/master commit 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 into PR head commit 11268cc21c3fbd0bda9ae035b786da1a83894672 22:08:28 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:08:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:28 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:08:28 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:08:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:08:28 > git config core.sparsecheckout # timeout=10 22:08:28 > git checkout -f 11268cc21c3fbd0bda9ae035b786da1a83894672 # timeout=10 22:08:28 > git remote # timeout=10 22:08:29 > git config --get remote.origin.url # timeout=10 22:08:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:29 > git merge 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 # timeout=10 22:08:29 > git rev-parse HEAD^{commit} # timeout=10 22:08:29 Merge succeeded, producing 11268cc21c3fbd0bda9ae035b786da1a83894672 22:08:29 Checking out Revision 11268cc21c3fbd0bda9ae035b786da1a83894672 (PR-24) 22:08:29 > git config core.sparsecheckout # timeout=10 22:08:29 > git checkout -f 11268cc21c3fbd0bda9ae035b786da1a83894672 # timeout=10 22:08:33 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.1.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:08:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:08:36 + true 22:08:36 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:08:39 ========================================================= 22:08:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:08:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:08:39 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 22:08:40 Sending build context to Docker daemon 217.1kB 22:08:40 Step 1/7 : ARG BASE=golang:1.15-alpine 22:08:40 Step 2/7 : FROM ${BASE} 22:08:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:41 5f621e34cdf4: Pulling fs layer 22:08:41 a4357932f1b6: Pulling fs layer 22:08:41 18c013af1878: Pulling fs layer 22:08:41 00ac8860ef70: Pulling fs layer 22:08:41 00ac8860ef70: Waiting 22:08:41 63d7cb157983: Pulling fs layer 22:08:41 b116817d02f9: Pulling fs layer 22:08:41 63d7cb157983: Waiting 22:08:41 745a02a5169b: Pulling fs layer 22:08:41 b116817d02f9: Waiting 22:08:41 745a02a5169b: Waiting 22:08:41 18c013af1878: Verifying Checksum 22:08:41 18c013af1878: Download complete 22:08:41 a4357932f1b6: Verifying Checksum 22:08:41 a4357932f1b6: Download complete 22:08:41 63d7cb157983: Verifying Checksum 22:08:41 63d7cb157983: Download complete 22:08:41 b116817d02f9: Verifying Checksum 22:08:41 b116817d02f9: Download complete 22:08:41 5f621e34cdf4: Verifying Checksum 22:08:41 5f621e34cdf4: Download complete 22:08:42 5f621e34cdf4: Pull complete 22:08:42 a4357932f1b6: Pull complete 22:08:43 18c013af1878: Pull complete 22:08:43 745a02a5169b: Verifying Checksum 22:08:43 745a02a5169b: Download complete 22:08:45 00ac8860ef70: Verifying Checksum 22:08:45 00ac8860ef70: Download complete 22:08:55 00ac8860ef70: Pull complete 22:08:55 63d7cb157983: Pull complete 22:08:55 b116817d02f9: Pull complete 22:08:59 745a02a5169b: Pull complete 22:08:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:08:59 ---> b7e6874047d6 22:08:59 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:09:02 ---> Running in 63546dd29dd4 22:09:02 Removing intermediate container 63546dd29dd4 22:09:02 ---> 25d6fe5b6d27 22:09:02 Step 4/7 : RUN apk add --update bash 22:09:02 ---> Running in 611b6c499ffa 22:09:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:09:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:09:07 OK: 142 MiB in 39 packages 22:09:09 Removing intermediate container 611b6c499ffa 22:09:09 ---> cbac2127bb50 22:09:09 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:09:09 ---> Running in 08fa383fbacb 22:09:09 Removing intermediate container 08fa383fbacb 22:09:09 ---> 57917617690d 22:09:09 Step 6/7 : COPY go.mod . 22:09:10 ---> 895da15716f7 22:09:10 Step 7/7 : RUN go mod download 22:09:10 ---> Running in 6fce6f937b7a 22:09:28 Removing intermediate container 6fce6f937b7a 22:09:28 ---> a41b2655471e 22:09:28 Successfully built a41b2655471e 22:09:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:09:29 + docker inspect -f . ci-base-image-arm64 22:09:29 . [Pipeline] withDockerContainer 22:09:29 prd-ubuntu18.04-docker-arm64-4c-16g-21356 does not seem to be running inside a container 22:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/3 -v /w/workspace/go-mod-configuration/3:/w/workspace/go-mod-configuration/3:rw,z -v /w/workspace/go-mod-configuration/3@tmp:/w/workspace/go-mod-configuration/3@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 22:09:32 $ docker top 50dcbd189658c2fdafeab9bede048a055a8370891283fec88c2f83ee8219235d -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:33 + go version 22:09:33 go version go1.15.5 linux/arm64 [Pipeline] } 22:09:33 $ docker stop --time=1 50dcbd189658c2fdafeab9bede048a055a8370891283fec88c2f83ee8219235d 22:09:35 $ docker rm -f 50dcbd189658c2fdafeab9bede048a055a8370891283fec88c2f83ee8219235d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:09:36 + docker inspect -f . ci-base-image-arm64 22:09:36 . [Pipeline] withDockerContainer 22:09:36 prd-ubuntu18.04-docker-arm64-4c-16g-21356 does not seem to be running inside a container 22:09:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/3 -v /w/workspace/go-mod-configuration/3:/w/workspace/go-mod-configuration/3:rw,z -v /w/workspace/go-mod-configuration/3@tmp:/w/workspace/go-mod-configuration/3@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 22:09:38 $ docker top ba81fd0845605326b734aa11ef5edd971df418fdbcf0ad59225d8b5c8715d3b4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:39 + make test 22:09:39 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:10:06 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.016s coverage: 85.7% of statements 22:10:09 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.636s coverage: 86.0% of statements 22:10:09 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.025s coverage: 100.0% of statements 22:10:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:10:13 gofmt -l . 22:10:13 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:10:13 $ docker stop --time=1 ba81fd0845605326b734aa11ef5edd971df418fdbcf0ad59225d8b5c8715d3b4 22:10:15 $ docker rm -f ba81fd0845605326b734aa11ef5edd971df418fdbcf0ad59225d8b5c8715d3b4 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:10:16 Warning: overwriting stash ‘coverage-report’ 22:10:16 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 22:10:18 provisioning config files... 22:10:18 copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-24@tmp/config1868442139484047300tmp [Pipeline] { [Pipeline] sh 22:10:19 + set +x 22:10:19 + curl -s https://codecov.io/bash 22:10:19 + bash -s -- 22:10:19 22:10:19 _____ _ 22:10:19 / ____| | | 22:10:19 | | ___ __| | ___ ___ _____ __ 22:10:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:10:19 | |___| (_) | (_| | __/ (_| (_) \ V / 22:10:19 \_____\___/ \__,_|\___|\___\___/ \_/ 22:10:19 Bash-20210115-cec3c92 22:10:19 22:10:19 22:10:19 ==> git version 2.24.3 found 22:10:19 ==> 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 22:10:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:10:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:10:19 ==> Jenkins CI detected. 22:10:19 project root: . 22:10:19 --> token set from env 22:10:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:10:19 ==> Running gcov in . (disable via -X gcov) 22:10:19 ==> Python coveragepy not found 22:10:19 ==> Searching for coverage reports in: 22:10:19 + . 22:10:19 -> Found 1 reports 22:10:19 ==> Detecting git/mercurial file structure 22:10:19 ==> Reading reports 22:10:19 + ./coverage.out bytes=13475 22:10:19 ==> Appending adjustments 22:10:19 https://docs.codecov.io/docs/fixing-reports 22:10:19 + Found adjustments 22:10:19 ==> Gzipping contents 22:10:19 4.0K /tmp/codecov.mqmpRU.gz 22:10:19 ==> Uploading reports 22:10:19 url: https://codecov.io 22:10:19 query: branch=PR-24&commit=11268cc21c3fbd0bda9ae035b786da1a83894672&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-24%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=24&job=&cmd_args= 22:10:19 -> Pinging Codecov 22:10:19 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-24&commit=11268cc21c3fbd0bda9ae035b786da1a83894672&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-24%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=24&job=&cmd_args= 22:10:20 -> Uploading to 22:10:20 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/9F92B070CA9CA35F4914AC8684776953/11268cc21c3fbd0bda9ae035b786da1a83894672/d0c0ca57-b141-443a-bcb5-1b8bb2f8f157.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T221019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b75b59aba94c1cfc0d7f02ef228ea0e1d5b298250aedc8776504d9d813b6408f 22:10:20 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:20 Dload Upload Total Spent Left Speed 22:10:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2491 0 0 100 2491 0 5217 --:--:-- --:--:-- --:--:-- 5222 22:10:20 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/11268cc21c3fbd0bda9ae035b786da1a83894672 [Pipeline] } 22:10:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 22:10:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:23 ---> package-listing.sh 22:10:23 ++ facter osfamily 22:10:23 ++ tr '[:upper:]' '[:lower:]' 22:10:24 + OS_FAMILY=redhat 22:10:24 + workspace=/w/workspace/undry_go-mod-configuration_PR-24 22:10:24 + START_PACKAGES=/tmp/packages_start.txt 22:10:24 + END_PACKAGES=/tmp/packages_end.txt 22:10:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:24 + PACKAGES=/tmp/packages_start.txt 22:10:24 + '[' /w/workspace/undry_go-mod-configuration_PR-24 ']' 22:10:24 + PACKAGES=/tmp/packages_end.txt 22:10:24 + case "${OS_FAMILY}" in 22:10:24 + rpm -qa 22:10:24 + sort 22:10:29 + '[' -f /tmp/packages_start.txt ']' 22:10:29 + '[' -f /tmp/packages_end.txt ']' 22:10:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:29 + '[' /w/workspace/undry_go-mod-configuration_PR-24 ']' 22:10:29 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-24/archives/ 22:10:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-24/archives/ [Pipeline] echo 22:10:29 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-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:10:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:10:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:10:30 22:10:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:10:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:10:30 alpine: Pulling from edgex-lftools-log-publisher 22:10:30 df20fa9351a1: Pulling fs layer 22:10:30 36b3adc4ff6f: Pulling fs layer 22:10:30 8ad3a11d3b57: Pulling fs layer 22:10:30 46f8f816bc3b: Pulling fs layer 22:10:30 93b61091891f: Pulling fs layer 22:10:30 93b9cdb0e59b: Pulling fs layer 22:10:30 5e14af77c1be: Pulling fs layer 22:10:30 01666e4c0597: Pulling fs layer 22:10:30 aa168da1d23b: Pulling fs layer 22:10:30 46f8f816bc3b: Waiting 22:10:30 01666e4c0597: Waiting 22:10:30 93b61091891f: Waiting 22:10:30 aa168da1d23b: Waiting 22:10:30 93b9cdb0e59b: Waiting 22:10:30 36b3adc4ff6f: Verifying Checksum 22:10:30 36b3adc4ff6f: Download complete 22:10:30 46f8f816bc3b: Verifying Checksum 22:10:30 46f8f816bc3b: Download complete 22:10:30 df20fa9351a1: Verifying Checksum 22:10:30 df20fa9351a1: Download complete 22:10:30 93b61091891f: Verifying Checksum 22:10:30 93b61091891f: Download complete 22:10:30 93b9cdb0e59b: Verifying Checksum 22:10:30 93b9cdb0e59b: Download complete 22:10:30 5e14af77c1be: Verifying Checksum 22:10:30 5e14af77c1be: Download complete 22:10:30 01666e4c0597: Verifying Checksum 22:10:30 01666e4c0597: Download complete 22:10:31 8ad3a11d3b57: Verifying Checksum 22:10:31 8ad3a11d3b57: Download complete 22:10:31 df20fa9351a1: Pull complete 22:10:31 36b3adc4ff6f: Pull complete 22:10:32 8ad3a11d3b57: Pull complete 22:10:33 46f8f816bc3b: Pull complete 22:10:33 aa168da1d23b: Verifying Checksum 22:10:33 aa168da1d23b: Download complete 22:10:33 93b61091891f: Pull complete 22:10:33 93b9cdb0e59b: Pull complete 22:10:34 5e14af77c1be: Pull complete 22:10:34 01666e4c0597: Pull complete 22:10:42 aa168da1d23b: Pull complete 22:10:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:10:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:10:42 prd-centos7-docker-4c-2g-21336 does not seem to be running inside a container 22:10:42 $ 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-24/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-24 -v /w/workspace/undry_go-mod-configuration_PR-24:/w/workspace/undry_go-mod-configuration_PR-24:rw,z -v /w/workspace/undry_go-mod-configuration_PR-24@tmp:/w/workspace/undry_go-mod-configuration_PR-24@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 22:10:46 $ docker top 883188829d04c56db086944704ac32731e2363f7148a82818ac1cacc64bd7873 -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:47 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:47 + mkdir -p /var/log/sa [Pipeline] sh 22:10:48 + ls /var/log/sa-host 22:10:48 + sadf -c /var/log/sa-host/sa19 22:10:48 file_magic: OK 22:10:48 HZ: Using current value: 100 22:10:48 file_header: OK 22:10:48 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 22:10:48 Statistics: 22:10:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:10:48 File successfully converted to sysstat format version 12.2.1 22:10:48 + sadf -c /var/log/sa-host/sa23 22:10:48 file_magic: OK 22:10:48 HZ: Using current value: 100 22:10:48 file_header: OK 22:10:48 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 22:10:48 Statistics: 22:10:48 Hnuu...uuuununununu... 22:10:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:48 provisioning config files... 22:10:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-24@tmp/config2752607329681300043tmp [Pipeline] { [Pipeline] echo 22:10:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:48 ---> create-netrc.sh [Pipeline] } 22:10:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:10:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:10:49 ---> python-tools-install.sh [Pipeline] echo 22:10:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:49 ---> sudo-logs.sh 22:10:49 Archiving 'sudo' log.. [Pipeline] echo 22:10:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:10:49 ---> job-cost.sh 22:10:49 lf-activate-venv: SKIPPING 22:10:49 INFO: No Stack... 22:10:50 INFO: Retrieving Pricing Info for: v1-standard-2 22:10:50 INFO: Archiving Costs [Pipeline] echo 22:10:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:10:51 ---> logs-deploy.sh 22:10:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-24/3 22:10:51 INFO: archiving workspace using pattern(s): 22:10:53 Archives upload complete. 22:10:53 INFO: archiving logs to Nexus