Pull request #27 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 96a6c204dcfdc404553b7fbbbc014a88dded8edf+6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 (bcb906b1495272866bd4030b15866a1e7815823c) 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-21335 in /w/workspace/undry_go-mod-configuration_PR-27 [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-27 # 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 Merging remotes/origin/master commit 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 into PR head commit 96a6c204dcfdc404553b7fbbbc014a88dded8edf Merge succeeded, producing 96a6c204dcfdc404553b7fbbbc014a88dded8edf Checking out Revision 96a6c204dcfdc404553b7fbbbc014a88dded8edf (PR-27) > 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/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96a6c204dcfdc404553b7fbbbc014a88dded8edf # 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 96a6c204dcfdc404553b7fbbbc014a88dded8edf # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.7.0" First time build. Skipping changelog. > git rev-list --no-walk 3e78cbd13949af4cd4bda97f358b79ec855c966e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:05:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:05:11 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 22:05:13 ------------------- 22:05:13 stable 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 stable to v1.0.179 22:05:14 ------------------- 22:05:14 experimental info: 22:05:14 ------------------- 22:05:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:05:14 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:05:14 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:05:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 22:05:14 [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:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:05:15 [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:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:05:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:05:16 [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:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-27 [Pipeline] echo 22:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-27 [Pipeline] echo 22:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-27 [Pipeline] echo 22:05:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96a6c204dcfdc404553b7fbbbc014a88dded8edf [Pipeline] echo 22:05:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96a6c20 [Pipeline] echo 22:05:17 [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:18 + git log --format=format:%s -1 96a6c204dcfdc404553b7fbbbc014a88dded8edf [Pipeline] echo 22:05:18 GIT_COMMIT: 96a6c204dcfdc404553b7fbbbc014a88dded8edf, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.7.0 [Pipeline] echo 22:05:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:05:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:19 22:05:19 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:20 31603596830f: Pull complete 22:05:20 2a8b12db71e7: Pull complete 22:05:21 6ca5941a6612: Pull complete 22:05:21 ecc8261a40a4: Pull complete 22:05:21 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:05:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:05:21 prd-centos7-docker-4c-2g-21335 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-27 -v /w/workspace/undry_go-mod-configuration_PR-27:/w/workspace/undry_go-mod-configuration_PR-27:rw,z -v /w/workspace/undry_go-mod-configuration_PR-27@tmp:/w/workspace/undry_go-mod-configuration_PR-27@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 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [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:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:24 $ docker exec 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 ssh-agent 22:05:24 SSH_AUTH_SOCK=/tmp/ssh-7iR25zea6WWr/agent.11 22:05:24 SSH_AGENT_PID=17 22:05:24 Running ssh-add (command line suppressed) 22:05:24 Identity added: /w/workspace/undry_go-mod-configuration_PR-27@tmp/private_key_1006964269968324027.key (/w/workspace/undry_go-mod-configuration_PR-27@tmp/private_key_1006964269968324027.key) 22:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:25 + git tag --points-at HEAD [Pipeline] } 22:05:25 $ docker exec --env ******** --env ******** 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 ssh-agent -k 22:05:25 unset SSH_AUTH_SOCK; 22:05:25 unset SSH_AGENT_PID; 22:05:25 echo Agent pid 17 killed; 22:05:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:25 [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 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 ssh-agent 22:05:25 SSH_AUTH_SOCK=/tmp/ssh-YLez9TYqzzxi/agent.45 22:05:25 SSH_AGENT_PID=50 22:05:25 Running ssh-add (command line suppressed) 22:05:25 Identity added: /w/workspace/undry_go-mod-configuration_PR-27@tmp/private_key_2372405095138260219.key (/w/workspace/undry_go-mod-configuration_PR-27@tmp/private_key_2372405095138260219.key) 22:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:26 + git semver init 22:05:26 # -> Open(): unable to determine branch for HEAD 22:05:26 # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-27/.git 22:05:26 # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-27 22:05:26 # $SEMVER_REMOTE_NAME = origin 22:05:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:05:26 # $SEMVER_USER_NAME = edgex-jenkins 22:05:26 # $SEMVER_BRANCH = PR-27 22:05:26 # $SEMVER_TEMP = /tmp/semver-496824251 22:05:26 # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP 22:05:26 # '/tmp/semver-496824251' -> '/w/workspace/undry_go-mod-configuration_PR-27/.semver' 22:05:26 # -> Force: false 22:05:26 # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-27/.semver [Pipeline] } 22:05:26 $ docker exec --env ******** --env ******** 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 ssh-agent -k 22:05:26 unset SSH_AUTH_SOCK; 22:05:26 unset SSH_AGENT_PID; 22:05:26 echo Agent pid 50 killed; 22:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:27 + git semver [Pipeline] } 22:05:27 $ docker stop --time=1 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 22:05:28 $ docker rm -f 0363d269f99999e304e8745d1f31cd58212bbd01d0af6d645346ff61f288f955 [Pipeline] // withDockerContainer [Pipeline] sh 22:05:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:05:29 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:45 Still waiting to schedule task 22:05:45 ‘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:45 Still waiting to schedule task 22:05:45 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:07:05 Running on prd-centos7-docker-4c-2g-21350 in /w/workspace/undry_go-mod-configuration_PR-27 [Pipeline] { [Pipeline] ws 22:07:05 Running in /w/workspace/go-mod-configuration/3 [Pipeline] { [Pipeline] checkout 22:07:10 using credential edgex-jenkins-ssh 22:07:10 Cloning the remote Git repository 22:07:10 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:07:10 > git init /w/workspace/go-mod-configuration/3 # timeout=10 22:07:10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:07:10 > git --version # timeout=10 22:07:10 > git --version # 'git version 2.24.3' 22:07:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:11 Merging remotes/origin/master commit 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 into PR head commit 96a6c204dcfdc404553b7fbbbc014a88dded8edf 22:07:11 Merge succeeded, producing 96a6c204dcfdc404553b7fbbbc014a88dded8edf 22:07:11 Checking out Revision 96a6c204dcfdc404553b7fbbbc014a88dded8edf (PR-27) 22:07:11 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:07:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:11 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:07:11 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:07:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:07:11 > git config core.sparsecheckout # timeout=10 22:07:11 > git checkout -f 96a6c204dcfdc404553b7fbbbc014a88dded8edf # timeout=10 22:07:11 > git remote # timeout=10 22:07:11 > git config --get remote.origin.url # timeout=10 22:07:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:11 > git merge 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 # timeout=10 22:07:11 > git rev-parse HEAD^{commit} # timeout=10 22:07:11 > git config core.sparsecheckout # timeout=10 22:07:11 > git checkout -f 96a6c204dcfdc404553b7fbbbc014a88dded8edf # timeout=10 22:07:15 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:07:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:07:17 + sudo service docker restart 22:07:17 + true 22:07:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:07:18 ========================================================= 22:07:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:07:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:07:19 + 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:07:19 Sending build context to Docker daemon 218.1kB 22:07:19 Step 1/7 : ARG BASE=golang:1.15-alpine 22:07:19 Step 2/7 : FROM ${BASE} 22:07:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:07:19 188c0c94c7c5: Pulling fs layer 22:07:19 0ef7d3d256c8: Pulling fs layer 22:07:19 de9db76c5a1d: Pulling fs layer 22:07:19 bca2f99d35d6: Pulling fs layer 22:07:19 93359f2a8cfa: Pulling fs layer 22:07:19 7c6f9722023f: Pulling fs layer 22:07:19 a35cf1a2eb13: Pulling fs layer 22:07:19 93359f2a8cfa: Waiting 22:07:19 7c6f9722023f: Waiting 22:07:19 a35cf1a2eb13: Waiting 22:07:19 bca2f99d35d6: Waiting 22:07:19 de9db76c5a1d: Verifying Checksum 22:07:19 de9db76c5a1d: Download complete 22:07:19 0ef7d3d256c8: Verifying Checksum 22:07:19 0ef7d3d256c8: Download complete 22:07:20 93359f2a8cfa: Verifying Checksum 22:07:20 93359f2a8cfa: Download complete 22:07:20 7c6f9722023f: Verifying Checksum 22:07:20 7c6f9722023f: Download complete 22:07:20 188c0c94c7c5: Verifying Checksum 22:07:20 188c0c94c7c5: Download complete 22:07:20 188c0c94c7c5: Pull complete 22:07:21 0ef7d3d256c8: Pull complete 22:07:21 de9db76c5a1d: Pull complete 22:07:23 a35cf1a2eb13: Verifying Checksum 22:07:23 a35cf1a2eb13: Download complete 22:07:24 bca2f99d35d6: Verifying Checksum 22:07:24 bca2f99d35d6: Download complete 22:07:31 bca2f99d35d6: Pull complete 22:07:31 93359f2a8cfa: Pull complete 22:07:31 7c6f9722023f: Pull complete 22:07:36 a35cf1a2eb13: Pull complete 22:07:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:07:36 ---> a62c8e92a672 22:07:36 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:07:36 ---> Running in 9c66b44363e0 22:07:36 Removing intermediate container 9c66b44363e0 22:07:36 ---> 5fc7379dd536 22:07:36 Step 4/7 : RUN apk add --update bash 22:07:36 ---> Running in bfc1aa41e0ed 22:07:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:07:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:07:40 OK: 166 MiB in 39 packages 22:07:40 Removing intermediate container bfc1aa41e0ed 22:07:40 ---> 08268f67edf8 22:07:40 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:07:40 ---> Running in 35c9b9148725 22:07:41 Removing intermediate container 35c9b9148725 22:07:41 ---> 937bce8547a5 22:07:41 Step 6/7 : COPY go.mod . 22:07:41 ---> 3614c9bc01ea 22:07:41 Step 7/7 : RUN go mod download 22:07:41 ---> Running in 2b8608a2bade 22:07:51 Removing intermediate container 2b8608a2bade 22:07:51 ---> 0d400012fa6d 22:07:51 Successfully built 0d400012fa6d 22:07:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:07:51 + docker inspect -f . ci-base-image-x86_64 22:07:51 . [Pipeline] withDockerContainer 22:07:52 prd-centos7-docker-4c-2g-21350 does not seem to be running inside a container 22:07:52 $ 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-x86_64 cat 22:07:53 $ docker top ab04521f6d77389746352f7bfcd59b5159b25a46f716a1be247c382830e137b4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:54 + go version 22:07:54 go version go1.15.5 linux/amd64 [Pipeline] } 22:07:54 $ docker stop --time=1 ab04521f6d77389746352f7bfcd59b5159b25a46f716a1be247c382830e137b4 22:07:55 $ docker rm -f ab04521f6d77389746352f7bfcd59b5159b25a46f716a1be247c382830e137b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:07:56 + docker inspect -f . ci-base-image-x86_64 22:07:56 . [Pipeline] withDockerContainer 22:07:56 prd-centos7-docker-4c-2g-21350 does not seem to be running inside a container 22:07:56 $ 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-x86_64 cat 22:07:57 $ docker top fb85262e08ded8e97ef364da89c1bc230437d6438c7e9478ba3583bc56d23c24 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:57 + make test 22:07:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:08:08 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.010s coverage: 85.7% of statements 22:08:09 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.548s coverage: 86.0% of statements 22:08:09 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.008s coverage: 100.0% of statements 22:08:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:08:10 gofmt -l . 22:08:10 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:08:10 $ docker stop --time=1 fb85262e08ded8e97ef364da89c1bc230437d6438c7e9478ba3583bc56d23c24 22:08:12 $ docker rm -f fb85262e08ded8e97ef364da89c1bc230437d6438c7e9478ba3583bc56d23c24 [Pipeline] // withDockerContainer [Pipeline] sh 22:08:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:08:13 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:15:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21362 in /w/workspace/undry_go-mod-configuration_PR-27 [Pipeline] { [Pipeline] ws 22:15:35 Running in /w/workspace/go-mod-configuration/3 [Pipeline] { [Pipeline] checkout 22:15:40 using credential edgex-jenkins-ssh 22:15:40 Cloning the remote Git repository 22:15:40 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:15:40 > git init /w/workspace/go-mod-configuration/3 # timeout=10 22:15:41 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:15:41 > git --version # timeout=10 22:15:41 > git --version # 'git version 2.17.1' 22:15:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:42 Merging remotes/origin/master commit 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 into PR head commit 96a6c204dcfdc404553b7fbbbc014a88dded8edf 22:15:42 Merge succeeded, producing 96a6c204dcfdc404553b7fbbbc014a88dded8edf 22:15:42 Checking out Revision 96a6c204dcfdc404553b7fbbbc014a88dded8edf (PR-27) 22:15:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:15:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:42 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:15:42 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:15:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:15:42 > git config core.sparsecheckout # timeout=10 22:15:42 > git checkout -f 96a6c204dcfdc404553b7fbbbc014a88dded8edf # timeout=10 22:15:42 > git remote # timeout=10 22:15:42 > git config --get remote.origin.url # timeout=10 22:15:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:42 > git merge 6d7cb676fc22de50de8bc8fbe5d5c469a2020e92 # timeout=10 22:15:42 > git rev-parse HEAD^{commit} # timeout=10 22:15:42 > git config core.sparsecheckout # timeout=10 22:15:42 > git checkout -f 96a6c204dcfdc404553b7fbbbc014a88dded8edf # timeout=10 22:15:47 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:15:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:15:49 + true 22:15:49 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:15:52 ========================================================= 22:15:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:15:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:15:52 + 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:15:53 Sending build context to Docker daemon 218.6kB 22:15:53 Step 1/7 : ARG BASE=golang:1.15-alpine 22:15:53 Step 2/7 : FROM ${BASE} 22:15:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:15:54 5f621e34cdf4: Pulling fs layer 22:15:54 a4357932f1b6: Pulling fs layer 22:15:54 18c013af1878: Pulling fs layer 22:15:54 00ac8860ef70: Pulling fs layer 22:15:54 63d7cb157983: Pulling fs layer 22:15:54 b116817d02f9: Pulling fs layer 22:15:54 745a02a5169b: Pulling fs layer 22:15:54 00ac8860ef70: Waiting 22:15:54 63d7cb157983: Waiting 22:15:54 745a02a5169b: Waiting 22:15:54 b116817d02f9: Waiting 22:15:54 18c013af1878: Verifying Checksum 22:15:54 18c013af1878: Download complete 22:15:54 a4357932f1b6: Download complete 22:15:54 63d7cb157983: Download complete 22:15:54 b116817d02f9: Download complete 22:15:55 5f621e34cdf4: Verifying Checksum 22:15:55 5f621e34cdf4: Download complete 22:15:56 5f621e34cdf4: Pull complete 22:15:57 a4357932f1b6: Pull complete 22:15:57 18c013af1878: Pull complete 22:15:57 745a02a5169b: Verifying Checksum 22:15:57 745a02a5169b: Download complete 22:16:03 00ac8860ef70: Verifying Checksum 22:16:03 00ac8860ef70: Download complete 22:16:11 00ac8860ef70: Pull complete 22:16:12 63d7cb157983: Pull complete 22:16:12 b116817d02f9: Pull complete 22:16:15 745a02a5169b: Pull complete 22:16:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:16:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:16:15 ---> b7e6874047d6 22:16:15 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:16:18 ---> Running in e8e18355e223 22:16:19 Removing intermediate container e8e18355e223 22:16:19 ---> 1665ee7e62ee 22:16:19 Step 4/7 : RUN apk add --update bash 22:16:19 ---> Running in b2fab3d6e5d9 22:16:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:16:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:16:24 OK: 142 MiB in 39 packages 22:16:25 Removing intermediate container b2fab3d6e5d9 22:16:25 ---> bf34693f4754 22:16:25 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:16:25 ---> Running in fdd3916c8dba 22:16:26 Removing intermediate container fdd3916c8dba 22:16:26 ---> bfa10aa8ff5d 22:16:26 Step 6/7 : COPY go.mod . 22:16:26 ---> 9d15de10005e 22:16:26 Step 7/7 : RUN go mod download 22:16:26 ---> Running in 147c4e3121c9 22:16:39 Removing intermediate container 147c4e3121c9 22:16:39 ---> 64d075228ee9 22:16:39 Successfully built 64d075228ee9 22:16:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:16:39 + docker inspect -f . ci-base-image-arm64 22:16:39 . [Pipeline] withDockerContainer 22:16:39 prd-ubuntu18.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container 22:16:39 $ 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:16:41 $ docker top eaf743f2c67bf1fbca09b4c1185058b621f2a9cbace724ac562bf81b73052e50 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:42 + go version 22:16:42 go version go1.15.5 linux/arm64 [Pipeline] } 22:16:42 $ docker stop --time=1 eaf743f2c67bf1fbca09b4c1185058b621f2a9cbace724ac562bf81b73052e50 22:16:44 $ docker rm -f eaf743f2c67bf1fbca09b4c1185058b621f2a9cbace724ac562bf81b73052e50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:16:45 + docker inspect -f . ci-base-image-arm64 22:16:45 . [Pipeline] withDockerContainer 22:16:45 prd-ubuntu18.04-docker-arm64-4c-16g-21362 does not seem to be running inside a container 22:16:45 $ 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:16:47 $ docker top 5a93cf0df9e139baa5391a0c5d2c38c1a31500ca1f2d25e1afb6e1370e48f752 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:48 + make test 22:16:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:17:15 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.013s coverage: 85.7% of statements 22:17:15 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.604s coverage: 86.0% of statements 22:17:15 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.052s coverage: 100.0% of statements 22:17:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:17:17 gofmt -l . 22:17:17 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:17:17 $ docker stop --time=1 5a93cf0df9e139baa5391a0c5d2c38c1a31500ca1f2d25e1afb6e1370e48f752 22:17:19 $ docker rm -f 5a93cf0df9e139baa5391a0c5d2c38c1a31500ca1f2d25e1afb6e1370e48f752 [Pipeline] // withDockerContainer [Pipeline] sh 22:17:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:17:20 Warning: overwriting stash ‘coverage-report’ 22:17:21 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:17:23 provisioning config files... 22:17:23 copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-27@tmp/config3676069032229356843tmp [Pipeline] { [Pipeline] sh 22:17:24 + set +x 22:17:24 + curl -s https://codecov.io/bash 22:17:24 + bash -s -- 22:17:24 22:17:24 _____ _ 22:17:24 / ____| | | 22:17:24 | | ___ __| | ___ ___ _____ __ 22:17:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:17:24 | |___| (_) | (_| | __/ (_| (_) \ V / 22:17:24 \_____\___/ \__,_|\___|\___\___/ \_/ 22:17:24 Bash-20210115-cec3c92 22:17:24 22:17:24 22:17:24 ==> git version 2.24.3 found 22:17:24 ==> 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:17:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:17:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:17:24 ==> Jenkins CI detected. 22:17:24 project root: . 22:17:24 --> token set from env 22:17:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:17:24 ==> Running gcov in . (disable via -X gcov) 22:17:24 ==> Python coveragepy not found 22:17:24 ==> Searching for coverage reports in: 22:17:24 + . 22:17:24 -> Found 1 reports 22:17:24 ==> Detecting git/mercurial file structure 22:17:24 ==> Reading reports 22:17:24 + ./coverage.out bytes=13475 22:17:24 ==> Appending adjustments 22:17:24 https://docs.codecov.io/docs/fixing-reports 22:17:24 + Found adjustments 22:17:24 ==> Gzipping contents 22:17:24 4.0K /tmp/codecov.ucMYC4.gz 22:17:24 ==> Uploading reports 22:17:24 url: https://codecov.io 22:17:24 query: branch=PR-27&commit=96a6c204dcfdc404553b7fbbbc014a88dded8edf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-27%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=27&job=&cmd_args= 22:17:24 -> Pinging Codecov 22:17:24 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-27&commit=96a6c204dcfdc404553b7fbbbc014a88dded8edf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-27%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=27&job=&cmd_args= 22:17:24 -> Uploading to 22:17:24 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/9F92B070CA9CA35F4914AC8684776953/96a6c204dcfdc404553b7fbbbc014a88dded8edf/1958d09d-de66-49e1-b835-167fdcfdb5d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T221724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed313475ab8aab8eafcb8bbb6ae50788a6685ffcdfe1c278230bed666fc2c2d8 22:17:24 % Total % Received % Xferd Average Speed Time Time Time Current 22:17:24 Dload Upload Total Spent Left Speed 22:17:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2491 0 0 100 2491 0 5371 --:--:-- --:--:-- --:--:-- 5380 22:17:25 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/96a6c204dcfdc404553b7fbbbc014a88dded8edf [Pipeline] } 22:17:25 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:17:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:17:28 ---> package-listing.sh 22:17:28 ++ facter osfamily 22:17:28 ++ tr '[:upper:]' '[:lower:]' 22:17:28 + OS_FAMILY=redhat 22:17:28 + workspace=/w/workspace/undry_go-mod-configuration_PR-27 22:17:28 + START_PACKAGES=/tmp/packages_start.txt 22:17:28 + END_PACKAGES=/tmp/packages_end.txt 22:17:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:17:28 + PACKAGES=/tmp/packages_start.txt 22:17:28 + '[' /w/workspace/undry_go-mod-configuration_PR-27 ']' 22:17:28 + PACKAGES=/tmp/packages_end.txt 22:17:28 + case "${OS_FAMILY}" in 22:17:28 + rpm -qa 22:17:28 + sort 22:17:33 + '[' -f /tmp/packages_start.txt ']' 22:17:33 + '[' -f /tmp/packages_end.txt ']' 22:17:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:17:33 + '[' /w/workspace/undry_go-mod-configuration_PR-27 ']' 22:17:33 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-27/archives/ 22:17:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-27/archives/ [Pipeline] echo 22:17:33 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-27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:17:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:17:34 22:17:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:17:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:17:34 alpine: Pulling from edgex-lftools-log-publisher 22:17:34 df20fa9351a1: Pulling fs layer 22:17:34 36b3adc4ff6f: Pulling fs layer 22:17:34 8ad3a11d3b57: Pulling fs layer 22:17:34 46f8f816bc3b: Pulling fs layer 22:17:34 93b61091891f: Pulling fs layer 22:17:34 93b9cdb0e59b: Pulling fs layer 22:17:34 5e14af77c1be: Pulling fs layer 22:17:34 01666e4c0597: Pulling fs layer 22:17:34 aa168da1d23b: Pulling fs layer 22:17:34 46f8f816bc3b: Waiting 22:17:34 93b61091891f: Waiting 22:17:34 93b9cdb0e59b: Waiting 22:17:34 5e14af77c1be: Waiting 22:17:34 01666e4c0597: Waiting 22:17:34 36b3adc4ff6f: Download complete 22:17:34 46f8f816bc3b: Verifying Checksum 22:17:34 46f8f816bc3b: Download complete 22:17:35 df20fa9351a1: Verifying Checksum 22:17:35 df20fa9351a1: Download complete 22:17:35 93b61091891f: Verifying Checksum 22:17:35 93b61091891f: Download complete 22:17:35 93b9cdb0e59b: Verifying Checksum 22:17:35 93b9cdb0e59b: Download complete 22:17:35 5e14af77c1be: Verifying Checksum 22:17:35 5e14af77c1be: Download complete 22:17:35 01666e4c0597: Verifying Checksum 22:17:35 01666e4c0597: Download complete 22:17:35 df20fa9351a1: Pull complete 22:17:35 36b3adc4ff6f: Pull complete 22:17:36 8ad3a11d3b57: Verifying Checksum 22:17:36 8ad3a11d3b57: Download complete 22:17:37 8ad3a11d3b57: Pull complete 22:17:37 46f8f816bc3b: Pull complete 22:17:37 93b61091891f: Pull complete 22:17:37 93b9cdb0e59b: Pull complete 22:17:37 5e14af77c1be: Pull complete 22:17:37 01666e4c0597: Pull complete 22:17:39 aa168da1d23b: Verifying Checksum 22:17:39 aa168da1d23b: Download complete 22:17:47 aa168da1d23b: Pull complete 22:17:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:17:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:17:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:17:48 prd-centos7-docker-4c-2g-21335 does not seem to be running inside a container 22:17:48 $ 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-27/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-27 -v /w/workspace/undry_go-mod-configuration_PR-27:/w/workspace/undry_go-mod-configuration_PR-27:rw,z -v /w/workspace/undry_go-mod-configuration_PR-27@tmp:/w/workspace/undry_go-mod-configuration_PR-27@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:17:51 $ docker top 584e2c2cd29b406e0eedc6e7ca4b9f8b20af4653f955e9a0390df52356d9cfb4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:51 + touch /tmp/pre-build-complete [Pipeline] sh 22:17:52 + mkdir -p /var/log/sa [Pipeline] sh 22:17:52 + ls /var/log/sa-host 22:17:52 + sadf -c /var/log/sa-host/sa19 22:17:52 file_magic: OK 22:17:52 HZ: Using current value: 100 22:17:52 file_header: OK 22:17:52 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:17:52 Statistics: 22:17:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:17:52 File successfully converted to sysstat format version 12.2.1 22:17:52 + sadf -c /var/log/sa-host/sa23 22:17:52 file_magic: OK 22:17:52 HZ: Using current value: 100 22:17:52 file_header: OK 22:17:52 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:17:52 Statistics: 22:17:52 Hnuu...uuuununununu... 22:17:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:52 provisioning config files... 22:17:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-27@tmp/config8307278406627550100tmp [Pipeline] { [Pipeline] echo 22:17:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:17:53 ---> create-netrc.sh [Pipeline] } 22:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:17:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:17:53 ---> python-tools-install.sh [Pipeline] echo 22:17:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:17:53 ---> sudo-logs.sh 22:17:53 Archiving 'sudo' log.. [Pipeline] echo 22:17:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:17:54 ---> job-cost.sh 22:17:54 lf-activate-venv: SKIPPING 22:17:54 INFO: No Stack... 22:17:55 INFO: Retrieving Pricing Info for: v1-standard-2 22:17:56 INFO: Archiving Costs [Pipeline] echo 22:17:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:17:56 ---> logs-deploy.sh 22:17:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-27/3 22:17:56 INFO: archiving workspace using pattern(s): 22:17:58 Archives upload complete. 22:17:58 INFO: archiving logs to Nexus