Pull request #26 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-configuration Obtained Jenkinsfile from 908f57289531b4b55a6ffb9701932ba8b71982c3+4f22236adecb4e20b3c94b97e4a096504ba2a497 (2b446c21236b25cce905ffe570974ffe7e64a035) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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:patch] ========================================================= [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: patch 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-20578 in /w/workspace/undry_go-mod-configuration_PR-26 [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-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4f22236adecb4e20b3c94b97e4a096504ba2a497 into PR head commit 908f57289531b4b55a6ffb9701932ba8b71982c3 Merge succeeded, producing 908f57289531b4b55a6ffb9701932ba8b71982c3 Checking out Revision 908f57289531b4b55a6ffb9701932ba8b71982c3 (PR-26) > git config core.sparsecheckout # timeout=10 > git checkout -f 908f57289531b4b55a6ffb9701932ba8b71982c3 # 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 4f22236adecb4e20b3c94b97e4a096504ba2a497 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 908f57289531b4b55a6ffb9701932ba8b71982c3 # timeout=10 Commit message: "refactor: Upgraded module to be a V2 module" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:52:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk c32360c944f687e532bad1bea64ecfc47ab8f366 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:52:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:52:00 ========================================================= 18:52:00 EdgeX Global Pipelines Version Info 18:52:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:52:02 ------------------- 18:52:02 stable info: 18:52:02 ------------------- 18:52:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:52:02 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 18:52:02 Message: update stable to v1.0.177 18:52:03 ------------------- 18:52:03 experimental info: 18:52:03 ------------------- 18:52:03 Commited By: **** collab-it+edgex@linuxfoundation.org 18:52:03 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 18:52:03 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-configuration [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:52:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-26 [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-26 [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-26 [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 908f57289531b4b55a6ffb9701932ba8b71982c3 [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 908f572 [Pipeline] echo 18:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:07 + git log --format=format:%s -1 908f57289531b4b55a6ffb9701932ba8b71982c3 [Pipeline] echo 18:52:07 GIT_COMMIT: 908f57289531b4b55a6ffb9701932ba8b71982c3, Commit Message: refactor: Upgraded module to be a V2 module [Pipeline] echo 18:52:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:52:08 18:52:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:52:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:52:08 latest: Pulling from edgex-devops/git-semver 18:52:08 31603596830f: Pulling fs layer 18:52:08 2a8b12db71e7: Pulling fs layer 18:52:08 6ca5941a6612: Pulling fs layer 18:52:08 ecc8261a40a4: Pulling fs layer 18:52:08 ecc8261a40a4: Waiting 18:52:08 2a8b12db71e7: Verifying Checksum 18:52:08 2a8b12db71e7: Download complete 18:52:09 31603596830f: Verifying Checksum 18:52:09 31603596830f: Download complete 18:52:09 ecc8261a40a4: Verifying Checksum 18:52:09 ecc8261a40a4: Download complete 18:52:09 6ca5941a6612: Download complete 18:52:09 31603596830f: Pull complete 18:52:09 2a8b12db71e7: Pull complete 18:52:10 6ca5941a6612: Pull complete 18:52:10 ecc8261a40a4: Pull complete 18:52:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:52:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:52:10 prd-centos7-docker-4c-2g-20578 does not seem to be running inside a container 18:52:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-26 -v /w/workspace/undry_go-mod-configuration_PR-26:/w/workspace/undry_go-mod-configuration_PR-26:rw,z -v /w/workspace/undry_go-mod-configuration_PR-26@tmp:/w/workspace/undry_go-mod-configuration_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:52:12 $ docker top 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:13 [ssh-agent] Looking for ssh-agent implementation... 18:52:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:13 $ docker exec 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f ssh-agent 18:52:13 SSH_AUTH_SOCK=/tmp/ssh-sd7ftOgfOuCk/agent.11 18:52:13 SSH_AGENT_PID=16 18:52:13 Running ssh-add (command line suppressed) 18:52:13 Identity added: /w/workspace/undry_go-mod-configuration_PR-26@tmp/private_key_1997031945326961568.key (/w/workspace/undry_go-mod-configuration_PR-26@tmp/private_key_1997031945326961568.key) 18:52:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:14 + git tag --points-at HEAD [Pipeline] } 18:52:14 $ docker exec --env ******** --env ******** 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f ssh-agent -k 18:52:14 unset SSH_AUTH_SOCK; 18:52:14 unset SSH_AGENT_PID; 18:52:14 echo Agent pid 16 killed; 18:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:52:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:14 [ssh-agent] Looking for ssh-agent implementation... 18:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:14 $ docker exec 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f ssh-agent 18:52:14 SSH_AUTH_SOCK=/tmp/ssh-ciroXHfVDJTw/agent.47 18:52:14 SSH_AGENT_PID=52 18:52:14 Running ssh-add (command line suppressed) 18:52:14 Identity added: /w/workspace/undry_go-mod-configuration_PR-26@tmp/private_key_988094691538772415.key (/w/workspace/undry_go-mod-configuration_PR-26@tmp/private_key_988094691538772415.key) 18:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:15 + git semver init 18:52:15 # -> Open(): unable to determine branch for HEAD 18:52:15 # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-26/.git 18:52:15 # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-26 18:52:15 # $SEMVER_REMOTE_NAME = origin 18:52:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:52:15 # $SEMVER_USER_NAME = edgex-jenkins 18:52:15 # $SEMVER_BRANCH = PR-26 18:52:15 # $SEMVER_TEMP = /tmp/semver-206313653 18:52:15 # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP 18:52:15 # '/tmp/semver-206313653' -> '/w/workspace/undry_go-mod-configuration_PR-26/.semver' 18:52:15 # -> Force: false 18:52:15 # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-26/.semver [Pipeline] } 18:52:15 $ docker exec --env ******** --env ******** 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f ssh-agent -k 18:52:15 unset SSH_AUTH_SOCK; 18:52:15 unset SSH_AGENT_PID; 18:52:15 echo Agent pid 52 killed; 18:52:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:16 + git semver [Pipeline] } 18:52:16 $ docker stop --time=1 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f 18:52:17 $ docker rm -f 73fa89cddf9fd03e7f9e8d0634648bac6b85edabb42cb60290f3b389fbd0a32f [Pipeline] // withDockerContainer [Pipeline] sh 18:52:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:52:18 Stashed 1 file(s) [Pipeline] echo 18:52:18 [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 18:52:34 Still waiting to schedule task 18:52:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:52:34 Still waiting to schedule task 18:52:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:53:37 Running on prd-centos7-docker-4c-2g-20579 in /w/workspace/undry_go-mod-configuration_PR-26 [Pipeline] { [Pipeline] ws 18:53:37 Running in /w/workspace/go-mod-configuration/2 [Pipeline] { [Pipeline] checkout 18:53:39 using credential edgex-jenkins-ssh 18:53:39 Cloning the remote Git repository 18:53:39 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 18:53:39 > git init /w/workspace/go-mod-configuration/2 # timeout=10 18:53:39 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 18:53:39 > git --version # timeout=10 18:53:39 > git --version # 'git version 2.24.3' 18:53:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 18:53:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 18:53:40 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 18:53:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:40 Merging remotes/origin/master commit 4f22236adecb4e20b3c94b97e4a096504ba2a497 into PR head commit 908f57289531b4b55a6ffb9701932ba8b71982c3 18:53:40 Merge succeeded, producing 908f57289531b4b55a6ffb9701932ba8b71982c3 18:53:40 Checking out Revision 908f57289531b4b55a6ffb9701932ba8b71982c3 (PR-26) 18:53:40 > git config core.sparsecheckout # timeout=10 18:53:40 > git checkout -f 908f57289531b4b55a6ffb9701932ba8b71982c3 # timeout=10 18:53:40 > git remote # timeout=10 18:53:40 > git config --get remote.origin.url # timeout=10 18:53:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:40 > git merge 4f22236adecb4e20b3c94b97e4a096504ba2a497 # timeout=10 18:53:40 > git rev-parse HEAD^{commit} # timeout=10 18:53:40 > git config core.sparsecheckout # timeout=10 18:53:40 > git checkout -f 908f57289531b4b55a6ffb9701932ba8b71982c3 # timeout=10 18:53:44 Commit message: "refactor: Upgraded module to be a V2 module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:53:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:53:46 + sudo service docker restart 18:53:46 + true 18:53:46 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 18:53:47 ========================================================= 18:53:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:53:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:53:48 + 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 . 18:53:48 Sending build context to Docker daemon 228.4kB 18:53:48 Step 1/7 : ARG BASE=golang:1.15-alpine 18:53:48 Step 2/7 : FROM ${BASE} 18:53:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:48 188c0c94c7c5: Pulling fs layer 18:53:48 0ef7d3d256c8: Pulling fs layer 18:53:48 de9db76c5a1d: Pulling fs layer 18:53:48 bca2f99d35d6: Pulling fs layer 18:53:48 93359f2a8cfa: Pulling fs layer 18:53:48 7c6f9722023f: Pulling fs layer 18:53:48 a35cf1a2eb13: Pulling fs layer 18:53:48 bca2f99d35d6: Waiting 18:53:48 93359f2a8cfa: Waiting 18:53:48 7c6f9722023f: Waiting 18:53:48 a35cf1a2eb13: Waiting 18:53:48 de9db76c5a1d: Verifying Checksum 18:53:48 de9db76c5a1d: Download complete 18:53:48 0ef7d3d256c8: Verifying Checksum 18:53:48 0ef7d3d256c8: Download complete 18:53:48 93359f2a8cfa: Verifying Checksum 18:53:48 93359f2a8cfa: Download complete 18:53:49 7c6f9722023f: Download complete 18:53:49 188c0c94c7c5: Verifying Checksum 18:53:49 188c0c94c7c5: Download complete 18:53:49 188c0c94c7c5: Pull complete 18:53:49 0ef7d3d256c8: Pull complete 18:53:50 de9db76c5a1d: Pull complete 18:53:51 a35cf1a2eb13: Verifying Checksum 18:53:51 a35cf1a2eb13: Download complete 18:53:51 bca2f99d35d6: Verifying Checksum 18:53:51 bca2f99d35d6: Download complete 18:53:57 bca2f99d35d6: Pull complete 18:53:57 93359f2a8cfa: Pull complete 18:53:57 7c6f9722023f: Pull complete 18:54:01 a35cf1a2eb13: Pull complete 18:54:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:54:02 ---> a62c8e92a672 18:54:02 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:54:02 ---> Running in c684908abbe3 18:54:03 Removing intermediate container c684908abbe3 18:54:03 ---> d28a70b266ef 18:54:03 Step 4/7 : RUN apk add --update bash 18:54:03 ---> Running in 21db6d5bbac7 18:54:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:54:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:54:05 OK: 166 MiB in 39 packages 18:54:05 Removing intermediate container 21db6d5bbac7 18:54:05 ---> 0f3a52abd91f 18:54:05 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 18:54:05 ---> Running in b22ad49f906f 18:54:05 Removing intermediate container b22ad49f906f 18:54:05 ---> 736372091c0e 18:54:05 Step 6/7 : COPY go.mod . 18:54:06 ---> a2690a6aa324 18:54:06 Step 7/7 : RUN go mod download 18:54:06 ---> Running in b70afb258aa6 18:54:16 Removing intermediate container b70afb258aa6 18:54:16 ---> 5c2aa8d4f341 18:54:16 Successfully built 5c2aa8d4f341 18:54:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:54:16 + docker inspect -f . ci-base-image-x86_64 18:54:16 . [Pipeline] withDockerContainer 18:54:16 prd-centos7-docker-4c-2g-20579 does not seem to be running inside a container 18:54:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:17 $ docker top 3890a57717cebc0ed6863dbc9713e22a53a508aa622c46e29302131253124ec9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:18 + go version 18:54:18 go version go1.15.5 linux/amd64 [Pipeline] } 18:54:18 $ docker stop --time=1 3890a57717cebc0ed6863dbc9713e22a53a508aa622c46e29302131253124ec9 18:54:19 $ docker rm -f 3890a57717cebc0ed6863dbc9713e22a53a508aa622c46e29302131253124ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:54:20 + docker inspect -f . ci-base-image-x86_64 18:54:20 . [Pipeline] withDockerContainer 18:54:20 prd-centos7-docker-4c-2g-20579 does not seem to be running inside a container 18:54:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:21 $ docker top 7a2d6ea9e57777758e936f2ac238fa1ab38db53770496ba006c0f2ccaa3cc430 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:22 + make test 18:54:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:54:30 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.007s coverage: 85.7% of statements 18:54:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20580 in /w/workspace/undry_go-mod-configuration_PR-26 [Pipeline] { [Pipeline] ws 18:54:32 Running in /w/workspace/go-mod-configuration/2 [Pipeline] { [Pipeline] checkout 18:54:33 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.550s coverage: 86.0% of statements 18:54:33 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.005s coverage: 100.0% of statements 18:54:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:54:34 gofmt -l . 18:54:34 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:54:34 $ docker stop --time=1 7a2d6ea9e57777758e936f2ac238fa1ab38db53770496ba006c0f2ccaa3cc430 18:54:36 $ docker rm -f 7a2d6ea9e57777758e936f2ac238fa1ab38db53770496ba006c0f2ccaa3cc430 [Pipeline] // withDockerContainer [Pipeline] sh 18:54:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:37 using credential edgex-jenkins-ssh 18:54:37 Stashed 1 file(s) [Pipeline] } 18:54:37 Cloning the remote Git repository [Pipeline] // script [Pipeline] } 18:54:37 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [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] } 18:54:37 > git init /w/workspace/go-mod-configuration/2 # timeout=10 18:54:37 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 18:54:37 > git --version # timeout=10 18:54:37 > git --version # 'git version 2.17.1' 18:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:54:38 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 18:54:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:54:38 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 18:54:38 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 18:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:54:38 Merging remotes/origin/master commit 4f22236adecb4e20b3c94b97e4a096504ba2a497 into PR head commit 908f57289531b4b55a6ffb9701932ba8b71982c3 18:54:39 Merge succeeded, producing 908f57289531b4b55a6ffb9701932ba8b71982c3 18:54:39 Checking out Revision 908f57289531b4b55a6ffb9701932ba8b71982c3 (PR-26) 18:54:38 > git config core.sparsecheckout # timeout=10 18:54:38 > git checkout -f 908f57289531b4b55a6ffb9701932ba8b71982c3 # timeout=10 18:54:38 > git remote # timeout=10 18:54:39 > git config --get remote.origin.url # timeout=10 18:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:39 > git merge 4f22236adecb4e20b3c94b97e4a096504ba2a497 # timeout=10 18:54:39 > git rev-parse HEAD^{commit} # timeout=10 18:54:39 > git config core.sparsecheckout # timeout=10 18:54:39 > git checkout -f 908f57289531b4b55a6ffb9701932ba8b71982c3 # timeout=10 18:54:43 Commit message: "refactor: Upgraded module to be a V2 module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:54:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:54:45 + sudo service docker restart 18:54:45 + true [Pipeline] unstash [Pipeline] echo 18:54:48 ========================================================= 18:54:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:54:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:54:48 + 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 . 18:54:49 Sending build context to Docker daemon 227.3kB 18:54:49 Step 1/7 : ARG BASE=golang:1.15-alpine 18:54:49 Step 2/7 : FROM ${BASE} 18:54:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:54:50 5f621e34cdf4: Pulling fs layer 18:54:50 a4357932f1b6: Pulling fs layer 18:54:50 18c013af1878: Pulling fs layer 18:54:50 00ac8860ef70: Pulling fs layer 18:54:50 63d7cb157983: Pulling fs layer 18:54:50 b116817d02f9: Pulling fs layer 18:54:50 745a02a5169b: Pulling fs layer 18:54:50 00ac8860ef70: Waiting 18:54:50 b116817d02f9: Waiting 18:54:50 63d7cb157983: Waiting 18:54:50 745a02a5169b: Waiting 18:54:50 18c013af1878: Download complete 18:54:50 63d7cb157983: Download complete 18:54:50 b116817d02f9: Verifying Checksum 18:54:50 b116817d02f9: Download complete 18:54:50 5f621e34cdf4: Download complete 18:54:51 5f621e34cdf4: Pull complete 18:54:51 a4357932f1b6: Pull complete 18:54:52 18c013af1878: Pull complete 18:54:52 745a02a5169b: Verifying Checksum 18:54:52 745a02a5169b: Download complete 18:54:53 00ac8860ef70: Verifying Checksum 18:54:53 00ac8860ef70: Download complete 18:55:06 00ac8860ef70: Pull complete 18:55:06 63d7cb157983: Pull complete 18:55:06 b116817d02f9: Pull complete 18:55:08 745a02a5169b: Pull complete 18:55:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:55:08 ---> b7e6874047d6 18:55:08 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:55:12 ---> Running in 7acc322b3903 18:55:12 Removing intermediate container 7acc322b3903 18:55:12 ---> 6a38eb302376 18:55:12 Step 4/7 : RUN apk add --update bash 18:55:12 ---> Running in 5e606fabb31e 18:55:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:55:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:55:15 OK: 142 MiB in 39 packages 18:55:16 Removing intermediate container 5e606fabb31e 18:55:16 ---> 8e0ed197f7e3 18:55:16 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 18:55:16 ---> Running in 637abf179dd7 18:55:17 Removing intermediate container 637abf179dd7 18:55:17 ---> 2f273ab9bf98 18:55:17 Step 6/7 : COPY go.mod . 18:55:18 ---> 4f55eb9d0ae4 18:55:18 Step 7/7 : RUN go mod download 18:55:18 ---> Running in b587dc357d27 18:55:28 Removing intermediate container b587dc357d27 18:55:28 ---> 39e5d9668695 18:55:28 Successfully built 39e5d9668695 18:55:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:55:28 + docker inspect -f . ci-base-image-arm64 18:55:28 . [Pipeline] withDockerContainer 18:55:28 prd-ubuntu18.04-docker-arm64-4c-16g-20580 does not seem to be running inside a container 18:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:55:30 $ docker top 40647872f9d228fc4c883f79e2d4c5fae1c8740212e70f0fa9b46ebc2c6cd796 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:31 + go version 18:55:31 go version go1.15.5 linux/arm64 [Pipeline] } 18:55:31 $ docker stop --time=1 40647872f9d228fc4c883f79e2d4c5fae1c8740212e70f0fa9b46ebc2c6cd796 18:55:33 $ docker rm -f 40647872f9d228fc4c883f79e2d4c5fae1c8740212e70f0fa9b46ebc2c6cd796 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:55:34 + docker inspect -f . ci-base-image-arm64 18:55:34 . [Pipeline] withDockerContainer 18:55:34 prd-ubuntu18.04-docker-arm64-4c-16g-20580 does not seem to be running inside a container 18:55:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/2 -v /w/workspace/go-mod-configuration/2:/w/workspace/go-mod-configuration/2:rw,z -v /w/workspace/go-mod-configuration/2@tmp:/w/workspace/go-mod-configuration/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:55:35 $ docker top 53483724e4fe9c6af43b2a658c5f4011c7ba153bc3aad9e11d144abf4d52bfc1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:36 + make test 18:55:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:56:03 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.015s coverage: 85.7% of statements 18:56:03 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 2.621s coverage: 86.0% of statements 18:56:03 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.012s coverage: 100.0% of statements 18:56:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:56:05 gofmt -l . 18:56:05 [ "`gofmt -l .`" = "" ] [Pipeline] } 18:56:06 $ docker stop --time=1 53483724e4fe9c6af43b2a658c5f4011c7ba153bc3aad9e11d144abf4d52bfc1 18:56:08 $ docker rm -f 53483724e4fe9c6af43b2a658c5f4011c7ba153bc3aad9e11d144abf4d52bfc1 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:56:08 Warning: overwriting stash ‘coverage-report’ 18:56:09 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 18:56:11 provisioning config files... 18:56:11 copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-26@tmp/config796313012899505968tmp [Pipeline] { [Pipeline] sh 18:56:12 + set +x 18:56:12 + curl -s https://codecov.io/bash 18:56:12 + bash -s -- 18:56:12 18:56:12 _____ _ 18:56:12 / ____| | | 18:56:12 | | ___ __| | ___ ___ _____ __ 18:56:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:12 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:12 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:12 Bash-20210115-cec3c92 18:56:12 18:56:12 18:56:12 ==> git version 2.24.3 found 18:56:12 ==> 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 18:56:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:56:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:56:12 ==> Jenkins CI detected. 18:56:12 project root: . 18:56:12 --> token set from env 18:56:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:12 ==> Running gcov in . (disable via -X gcov) 18:56:12 ==> Python coveragepy not found 18:56:12 ==> Searching for coverage reports in: 18:56:12 + . 18:56:12 -> Found 1 reports 18:56:12 ==> Detecting git/mercurial file structure 18:56:12 ==> Reading reports 18:56:12 + ./coverage.out bytes=13475 18:56:12 ==> Appending adjustments 18:56:12 https://docs.codecov.io/docs/fixing-reports 18:56:12 + Found adjustments 18:56:12 ==> Gzipping contents 18:56:12 4.0K /tmp/codecov.6ne2ml.gz 18:56:12 ==> Uploading reports 18:56:12 url: https://codecov.io 18:56:12 query: branch=PR-26&commit=908f57289531b4b55a6ffb9701932ba8b71982c3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-26%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=26&job=&cmd_args= 18:56:12 -> Pinging Codecov 18:56:12 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-26&commit=908f57289531b4b55a6ffb9701932ba8b71982c3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-26%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=26&job=&cmd_args= 18:56:12 -> Uploading to 18:56:12 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/9F92B070CA9CA35F4914AC8684776953/908f57289531b4b55a6ffb9701932ba8b71982c3/166256bb-ea5b-4b7a-94e6-63cb9e64bd83.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T185612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=419d064ab211954beab514f21f32d3505d7c6863885196c7c1ab76b1d3681c45 18:56:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:12 Dload Upload Total Spent Left Speed 18:56:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2491 0 0 100 2491 0 5203 --:--:-- --:--:-- --:--:-- 5211 18:56:13 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/908f57289531b4b55a6ffb9701932ba8b71982c3 [Pipeline] } 18:56:13 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 18:56:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:16 ---> package-listing.sh 18:56:16 ++ facter osfamily 18:56:16 ++ tr '[:upper:]' '[:lower:]' 18:56:16 + OS_FAMILY=redhat 18:56:16 + workspace=/w/workspace/undry_go-mod-configuration_PR-26 18:56:16 + START_PACKAGES=/tmp/packages_start.txt 18:56:16 + END_PACKAGES=/tmp/packages_end.txt 18:56:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:16 + PACKAGES=/tmp/packages_start.txt 18:56:16 + '[' /w/workspace/undry_go-mod-configuration_PR-26 ']' 18:56:16 + PACKAGES=/tmp/packages_end.txt 18:56:16 + case "${OS_FAMILY}" in 18:56:16 + rpm -qa 18:56:16 + sort 18:56:21 + '[' -f /tmp/packages_start.txt ']' 18:56:21 + '[' -f /tmp/packages_end.txt ']' 18:56:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:21 + '[' /w/workspace/undry_go-mod-configuration_PR-26 ']' 18:56:21 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-26/archives/ 18:56:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-26/archives/ [Pipeline] echo 18:56:21 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-26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:56:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:56:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:56:22 18:56:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:56:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:56:22 alpine: Pulling from edgex-lftools-log-publisher 18:56:22 df20fa9351a1: Pulling fs layer 18:56:22 36b3adc4ff6f: Pulling fs layer 18:56:22 8ad3a11d3b57: Pulling fs layer 18:56:22 46f8f816bc3b: Pulling fs layer 18:56:22 93b61091891f: Pulling fs layer 18:56:22 93b9cdb0e59b: Pulling fs layer 18:56:22 5e14af77c1be: Pulling fs layer 18:56:22 01666e4c0597: Pulling fs layer 18:56:22 aa168da1d23b: Pulling fs layer 18:56:22 93b9cdb0e59b: Waiting 18:56:22 01666e4c0597: Waiting 18:56:22 5e14af77c1be: Waiting 18:56:22 aa168da1d23b: Waiting 18:56:22 93b61091891f: Waiting 18:56:22 46f8f816bc3b: Waiting 18:56:22 36b3adc4ff6f: Verifying Checksum 18:56:22 36b3adc4ff6f: Download complete 18:56:22 46f8f816bc3b: Verifying Checksum 18:56:23 df20fa9351a1: Verifying Checksum 18:56:23 df20fa9351a1: Download complete 18:56:23 93b61091891f: Verifying Checksum 18:56:23 93b61091891f: Download complete 18:56:23 93b9cdb0e59b: Download complete 18:56:23 5e14af77c1be: Verifying Checksum 18:56:23 5e14af77c1be: Download complete 18:56:23 01666e4c0597: Verifying Checksum 18:56:23 01666e4c0597: Download complete 18:56:23 df20fa9351a1: Pull complete 18:56:23 36b3adc4ff6f: Pull complete 18:56:23 8ad3a11d3b57: Verifying Checksum 18:56:23 8ad3a11d3b57: Download complete 18:56:24 8ad3a11d3b57: Pull complete 18:56:24 46f8f816bc3b: Pull complete 18:56:25 aa168da1d23b: Verifying Checksum 18:56:25 aa168da1d23b: Download complete 18:56:26 93b61091891f: Pull complete 18:56:26 93b9cdb0e59b: Pull complete 18:56:26 5e14af77c1be: Pull complete 18:56:26 01666e4c0597: Pull complete 18:56:34 aa168da1d23b: Pull complete 18:56:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:56:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:56:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:56:35 prd-centos7-docker-4c-2g-20578 does not seem to be running inside a container 18:56:35 $ 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-26/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-26 -v /w/workspace/undry_go-mod-configuration_PR-26:/w/workspace/undry_go-mod-configuration_PR-26:rw,z -v /w/workspace/undry_go-mod-configuration_PR-26@tmp:/w/workspace/undry_go-mod-configuration_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:56:38 $ docker top 5f82c8a05cfd2a1e6989dec43eddfe47dd8eb842a047b364e0e7d44de98b0d41 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:39 + mkdir -p /var/log/sa [Pipeline] sh 18:56:39 + ls /var/log/sa-host 18:56:39 + sadf -c /var/log/sa-host/sa15 18:56:39 file_magic: OK 18:56:39 HZ: Using current value: 100 18:56:39 file_header: OK 18:56:39 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 18:56:39 Statistics: 18:56:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:39 File successfully converted to sysstat format version 12.2.1 18:56:39 + sadf -c /var/log/sa-host/sa23 18:56:39 file_magic: OK 18:56:39 HZ: Using current value: 100 18:56:39 file_header: OK 18:56:39 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 18:56:39 Statistics: 18:56:39 Hnuu...uuuununununu... 18:56:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:39 provisioning config files... 18:56:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-26@tmp/config2489381718146252657tmp [Pipeline] { [Pipeline] echo 18:56:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:40 ---> create-netrc.sh [Pipeline] } 18:56:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:56:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:56:40 ---> python-tools-install.sh [Pipeline] echo 18:56:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:41 ---> sudo-logs.sh 18:56:41 Archiving 'sudo' log.. [Pipeline] echo 18:56:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:41 ---> job-cost.sh 18:56:41 lf-activate-venv: SKIPPING 18:56:41 INFO: No Stack... 18:56:42 INFO: Retrieving Pricing Info for: v1-standard-2 18:56:43 INFO: Archiving Costs [Pipeline] echo 18:56:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:43 ---> logs-deploy.sh 18:56:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-26/2 18:56:43 INFO: archiving workspace using pattern(s): 18:56:45 Archives upload complete. 18:56:45 INFO: archiving logs to Nexus