Pull request #21 opened 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 jpwhitemn for edgexfoundry/go-mod-configuration Obtained Jenkinsfile from 48711f405dd217bae52423439aa3c7fdd20f7bfc+06ff85a8bc9e1bece7c11505525587a266084ad6 (bfb84ad6b01be0261f4c17891ec8ed88d492c8a2) Running in Durability level: MAX_SURVIVABILITY 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-21/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-21/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6374 in /w/workspace/undry_go-mod-configuration_PR-21 [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-21 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 06ff85a8bc9e1bece7c11505525587a266084ad6 into PR head commit 48711f405dd217bae52423439aa3c7fdd20f7bfc Merge succeeded, producing 48711f405dd217bae52423439aa3c7fdd20f7bfc Checking out Revision 48711f405dd217bae52423439aa3c7fdd20f7bfc (PR-21) > 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 --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/21/head:refs/remotes/origin/PR-21 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48711f405dd217bae52423439aa3c7fdd20f7bfc # 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 06ff85a8bc9e1bece7c11505525587a266084ad6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48711f405dd217bae52423439aa3c7fdd20f7bfc # timeout=10 Commit message: "fix: replace broken link in pull request template" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:46 ========================================================= 22:42:46 EdgeX Global Pipelines Version Info 22:42:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:48 ------------------- 22:42:48 stable info: 22:42:48 ------------------- 22:42:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:48 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 22:42:48 Message: update stable to v1.0.144 22:42:49 ------------------- 22:42:49 experimental info: 22:42:49 ------------------- 22:42:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:49 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 22:42:49 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:42:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 22:42:49 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-configuration [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-21 [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-21 [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-21 [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48711f405dd217bae52423439aa3c7fdd20f7bfc [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48711f4 [Pipeline] echo 22:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:54 + git log --format=format:%s -1 48711f405dd217bae52423439aa3c7fdd20f7bfc [Pipeline] echo 22:42:54 GIT_COMMIT: 48711f405dd217bae52423439aa3c7fdd20f7bfc, Commit Message: fix: replace broken link in pull request template [Pipeline] echo 22:42:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:55 22:42:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:56 latest: Pulling from edgex-devops/git-semver 22:42:56 31603596830f: Pulling fs layer 22:42:56 2a8b12db71e7: Pulling fs layer 22:42:56 6ca5941a6612: Pulling fs layer 22:42:56 ecc8261a40a4: Pulling fs layer 22:42:56 ecc8261a40a4: Waiting 22:42:56 2a8b12db71e7: Download complete 22:42:56 31603596830f: Download complete 22:42:56 ecc8261a40a4: Verifying Checksum 22:42:56 ecc8261a40a4: Download complete 22:42:56 6ca5941a6612: Verifying Checksum 22:42:56 6ca5941a6612: Download complete 22:42:56 31603596830f: Pull complete 22:42:56 2a8b12db71e7: Pull complete 22:42:57 6ca5941a6612: Pull complete 22:42:58 ecc8261a40a4: Pull complete 22:42:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:58 prd-centos7-docker-4c-2g-6374 does not seem to be running inside a container 22:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-21 -v /w/workspace/undry_go-mod-configuration_PR-21:/w/workspace/undry_go-mod-configuration_PR-21:rw,z -v /w/workspace/undry_go-mod-configuration_PR-21@tmp:/w/workspace/undry_go-mod-configuration_PR-21@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:43:00 $ docker top 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:01 [ssh-agent] Looking for ssh-agent implementation... 22:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:01 $ docker exec 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d ssh-agent 22:43:01 SSH_AUTH_SOCK=/tmp/ssh-fZTbKqBUCYjn/agent.12 22:43:01 SSH_AGENT_PID=18 22:43:01 Running ssh-add (command line suppressed) 22:43:01 Identity added: /w/workspace/undry_go-mod-configuration_PR-21@tmp/private_key_4257393672972347073.key (/w/workspace/undry_go-mod-configuration_PR-21@tmp/private_key_4257393672972347073.key) 22:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:02 + git tag --points-at HEAD [Pipeline] } 22:43:02 $ docker exec --env ******** --env ******** 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d ssh-agent -k 22:43:02 unset SSH_AUTH_SOCK; 22:43:02 unset SSH_AGENT_PID; 22:43:02 echo Agent pid 18 killed; 22:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:02 [ssh-agent] Looking for ssh-agent implementation... 22:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:03 $ docker exec 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d ssh-agent 22:43:03 SSH_AUTH_SOCK=/tmp/ssh-dyb9wpAKasos/agent.47 22:43:03 SSH_AGENT_PID=52 22:43:03 Running ssh-add (command line suppressed) 22:43:03 Identity added: /w/workspace/undry_go-mod-configuration_PR-21@tmp/private_key_4197799079164078127.key (/w/workspace/undry_go-mod-configuration_PR-21@tmp/private_key_4197799079164078127.key) 22:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:03 + git semver init 22:43:03 # -> Open(): unable to determine branch for HEAD 22:43:03 # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-21/.git 22:43:03 # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-21 22:43:03 # $SEMVER_REMOTE_NAME = origin 22:43:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:43:03 # $SEMVER_USER_NAME = edgex-jenkins 22:43:03 # $SEMVER_BRANCH = PR-21 22:43:03 # $SEMVER_TEMP = /tmp/semver-671863531 22:43:03 # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP 22:43:04 # '/tmp/semver-671863531' -> '/w/workspace/undry_go-mod-configuration_PR-21/.semver' 22:43:04 # -> Force: false 22:43:04 # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-21/.semver [Pipeline] } 22:43:04 $ docker exec --env ******** --env ******** 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d ssh-agent -k 22:43:04 unset SSH_AUTH_SOCK; 22:43:04 unset SSH_AGENT_PID; 22:43:04 echo Agent pid 52 killed; 22:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:43:05 + git semver [Pipeline] } 22:43:05 $ docker stop --time=1 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d 22:43:06 $ docker rm -f 3a0d0f25ec313e49ca820ee9c0bdc1e767e21c4d9e9c60d024cfd42f0f94000d [Pipeline] // withDockerContainer [Pipeline] sh 22:43:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:43:07 Stashed 1 file(s) [Pipeline] echo 22:43:07 [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:43:23 Still waiting to schedule task 22:43:23 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6375’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ 22:43:23 Still waiting to schedule task 22:43:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:43:43 Running on prd-centos7-docker-4c-2g-6375 in /w/workspace/undry_go-mod-configuration_PR-21 [Pipeline] { [Pipeline] ws 22:43:43 Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout 22:43:51 using credential edgex-jenkins-ssh 22:43:51 Cloning the remote Git repository 22:43:51 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:43:51 > git init /w/workspace/go-mod-configuration/1 # timeout=10 22:43:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:43:51 > git --version # timeout=10 22:43:51 > git --version # 'git version 2.16.5' 22:43:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:43:54 Merging remotes/origin/master commit 06ff85a8bc9e1bece7c11505525587a266084ad6 into PR head commit 48711f405dd217bae52423439aa3c7fdd20f7bfc 22:43:54 Merge succeeded, producing 48711f405dd217bae52423439aa3c7fdd20f7bfc 22:43:54 Checking out Revision 48711f405dd217bae52423439aa3c7fdd20f7bfc (PR-21) 22:43:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:43:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/21/head:refs/remotes/origin/PR-21 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:54 > git config core.sparsecheckout # timeout=10 22:43:54 > git checkout -f 48711f405dd217bae52423439aa3c7fdd20f7bfc # timeout=10 22:43:54 > git remote # timeout=10 22:43:54 > git config --get remote.origin.url # timeout=10 22:43:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:54 > git merge 06ff85a8bc9e1bece7c11505525587a266084ad6 # timeout=10 22:43:54 > git rev-parse HEAD^{commit} # timeout=10 22:43:54 > git config core.sparsecheckout # timeout=10 22:43:54 > git checkout -f 48711f405dd217bae52423439aa3c7fdd20f7bfc # timeout=10 22:43:58 Commit message: "fix: replace broken link in pull request template" 22:43:58 > git --version # timeout=10 22:43:58 > git --version # 'git version 2.16.5' 22:43:58 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:43:59 ========================================================= 22:43:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:43:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:00 + 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:44:01 Sending build context to Docker daemon 196.6kB 22:44:01 Step 1/7 : ARG BASE=golang:1.15-alpine 22:44:01 Step 2/7 : FROM ${BASE} 22:44:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:02 df20fa9351a1: Pulling fs layer 22:44:02 ed8968b2872e: Pulling fs layer 22:44:02 a92cc7c5fd73: Pulling fs layer 22:44:02 e871e8e8d7a9: Pulling fs layer 22:44:02 e73272ec9a57: Pulling fs layer 22:44:02 1e910a182e73: Pulling fs layer 22:44:02 4e634b169226: Pulling fs layer 22:44:02 e871e8e8d7a9: Waiting 22:44:02 e73272ec9a57: Waiting 22:44:02 1e910a182e73: Waiting 22:44:02 4e634b169226: Waiting 22:44:02 a92cc7c5fd73: Verifying Checksum 22:44:02 a92cc7c5fd73: Download complete 22:44:02 ed8968b2872e: Download complete 22:44:02 e73272ec9a57: Verifying Checksum 22:44:02 e73272ec9a57: Download complete 22:44:02 1e910a182e73: Verifying Checksum 22:44:02 1e910a182e73: Download complete 22:44:03 df20fa9351a1: Verifying Checksum 22:44:03 df20fa9351a1: Download complete 22:44:04 df20fa9351a1: Pull complete 22:44:04 ed8968b2872e: Pull complete 22:44:04 a92cc7c5fd73: Pull complete 22:44:10 4e634b169226: Verifying Checksum 22:44:10 4e634b169226: Download complete 22:44:11 e871e8e8d7a9: Verifying Checksum 22:44:11 e871e8e8d7a9: Download complete 22:44:19 e871e8e8d7a9: Pull complete 22:44:19 e73272ec9a57: Pull complete 22:44:19 1e910a182e73: Pull complete 22:44:25 4e634b169226: Pull complete 22:44:25 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 22:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:44:25 ---> f7629b54cfaa 22:44:25 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:25 ---> Running in 5e308f68e48a 22:44:25 Removing intermediate container 5e308f68e48a 22:44:25 ---> 89cdbdb45cae 22:44:25 Step 4/7 : RUN apk add --update bash 22:44:25 ---> Running in c7530451ef86 22:44:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:44:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:44:28 OK: 166 MiB in 39 packages 22:44:28 Removing intermediate container c7530451ef86 22:44:28 ---> bed5ea887808 22:44:28 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:44:28 ---> Running in ebe843bfd1aa 22:44:28 Removing intermediate container ebe843bfd1aa 22:44:28 ---> 182344de1851 22:44:28 Step 6/7 : COPY go.mod . 22:44:29 ---> 53d8fad4b774 22:44:29 Step 7/7 : RUN go mod download 22:44:29 ---> Running in 010d5f52ccd7 22:44:39 Removing intermediate container 010d5f52ccd7 22:44:39 ---> a495cb386953 22:44:39 Successfully built a495cb386953 22:44:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:44:40 + docker inspect -f . ci-base-image-x86_64 22:44:40 . [Pipeline] withDockerContainer 22:44:41 prd-centos7-docker-4c-2g-6375 does not seem to be running inside a container 22:44:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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 ******** ci-base-image-x86_64 cat 22:44:42 $ docker top af6acb8a8be1701d76fcffdd86e3ea369c490841f57ddf5720a37941f6318d74 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:43 + go version 22:44:43 go version go1.15.2 linux/amd64 [Pipeline] } 22:44:43 $ docker stop --time=1 af6acb8a8be1701d76fcffdd86e3ea369c490841f57ddf5720a37941f6318d74 22:44:45 $ docker rm -f af6acb8a8be1701d76fcffdd86e3ea369c490841f57ddf5720a37941f6318d74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:44:46 + docker inspect -f . ci-base-image-x86_64 22:44:46 . [Pipeline] withDockerContainer 22:44:46 prd-centos7-docker-4c-2g-6375 does not seem to be running inside a container 22:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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 ******** ci-base-image-x86_64 cat 22:44:47 $ docker top c977b78d692fa08455af3d92f19856f6847a2409768d886b88e6262ce78cc051 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:48 + make test 22:44:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:45:03 ok github.com/edgexfoundry/go-mod-configuration/configuration 0.025s coverage: 85.7% of statements 22:45:05 ok github.com/edgexfoundry/go-mod-configuration/internal/pkg/consul 3.645s coverage: 85.0% of statements 22:45:05 ok github.com/edgexfoundry/go-mod-configuration/pkg/types 0.018s coverage: 100.0% of statements 22:45:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:45:09 gofmt -l . 22:45:09 [ "`gofmt -l .`" = "" ] [Pipeline] stash 22:45:09 Stashed 1 file(s) [Pipeline] } 22:45:09 $ docker stop --time=1 c977b78d692fa08455af3d92f19856f6847a2409768d886b88e6262ce78cc051 22:45:11 $ docker rm -f c977b78d692fa08455af3d92f19856f6847a2409768d886b88e6262ce78cc051 [Pipeline] // withDockerContainer [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:47:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6379 in /w/workspace/undry_go-mod-configuration_PR-21 [Pipeline] { [Pipeline] ws 22:47:48 Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout 22:47:53 using credential edgex-jenkins-ssh 22:47:53 Cloning the remote Git repository 22:47:54 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:47:54 > git init /w/workspace/go-mod-configuration/1 # timeout=10 22:47:54 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:47:54 > git --version # timeout=10 22:47:54 > git --version # 'git version 2.17.1' 22:47:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:55 Merging remotes/origin/master commit 06ff85a8bc9e1bece7c11505525587a266084ad6 into PR head commit 48711f405dd217bae52423439aa3c7fdd20f7bfc 22:47:55 Merge succeeded, producing 48711f405dd217bae52423439aa3c7fdd20f7bfc 22:47:55 Checking out Revision 48711f405dd217bae52423439aa3c7fdd20f7bfc (PR-21) 22:47:54 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:47:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:55 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:47:55 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/21/head:refs/remotes/origin/PR-21 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:47:55 > git config core.sparsecheckout # timeout=10 22:47:55 > git checkout -f 48711f405dd217bae52423439aa3c7fdd20f7bfc # timeout=10 22:47:55 > git remote # timeout=10 22:47:55 > git config --get remote.origin.url # timeout=10 22:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:55 > git merge 06ff85a8bc9e1bece7c11505525587a266084ad6 # timeout=10 22:47:55 > git rev-parse HEAD^{commit} # timeout=10 22:47:55 > git config core.sparsecheckout # timeout=10 22:47:55 > git checkout -f 48711f405dd217bae52423439aa3c7fdd20f7bfc # timeout=10 22:48:00 Commit message: "fix: replace broken link in pull request template" 22:48:00 > git --version # timeout=10 22:48:00 > git --version # 'git version 2.17.1' 22:48:00 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:48:01 ========================================================= 22:48:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:48:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:48:02 + 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:48:03 Sending build context to Docker daemon 196.6kB 22:48:03 Step 1/7 : ARG BASE=golang:1.15-alpine 22:48:03 Step 2/7 : FROM ${BASE} 22:48:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:48:03 b538f80385f9: Pulling fs layer 22:48:03 74f711af9a0d: Pulling fs layer 22:48:03 99f96fe45779: Pulling fs layer 22:48:03 8529a6b9a6be: Pulling fs layer 22:48:03 45590311c82a: Pulling fs layer 22:48:03 69ca0ff8b7b3: Pulling fs layer 22:48:03 209524e5b208: Pulling fs layer 22:48:03 8529a6b9a6be: Waiting 22:48:03 45590311c82a: Waiting 22:48:03 69ca0ff8b7b3: Waiting 22:48:03 209524e5b208: Waiting 22:48:03 99f96fe45779: Download complete 22:48:03 74f711af9a0d: Verifying Checksum 22:48:03 74f711af9a0d: Download complete 22:48:04 45590311c82a: Verifying Checksum 22:48:04 45590311c82a: Download complete 22:48:04 69ca0ff8b7b3: Verifying Checksum 22:48:04 69ca0ff8b7b3: Download complete 22:48:04 b538f80385f9: Verifying Checksum 22:48:04 b538f80385f9: Download complete 22:48:05 b538f80385f9: Pull complete 22:48:05 74f711af9a0d: Pull complete 22:48:05 99f96fe45779: Pull complete 22:48:06 209524e5b208: Verifying Checksum 22:48:06 209524e5b208: Download complete 22:48:08 8529a6b9a6be: Download complete 22:48:19 8529a6b9a6be: Pull complete 22:48:19 45590311c82a: Pull complete 22:48:19 69ca0ff8b7b3: Pull complete 22:48:22 209524e5b208: Pull complete 22:48:22 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 22:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:48:22 ---> 5bddaf1c2fca 22:48:22 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:25 ---> Running in c9b03026d212 22:48:26 Removing intermediate container c9b03026d212 22:48:26 ---> 520404824605 22:48:26 Step 4/7 : RUN apk add --update bash 22:48:26 ---> Running in d672617d7638 22:48:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:48:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:48:44 OK: 142 MiB in 39 packages 22:48:45 Removing intermediate container d672617d7638 22:48:45 ---> 5a31f8f12b2e 22:48:45 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:48:45 ---> Running in 370178ec9bd1 22:48:45 Removing intermediate container 370178ec9bd1 22:48:45 ---> 25004abb76db 22:48:45 Step 6/7 : COPY go.mod . 22:48:46 ---> ea207c20a4f0 22:48:46 Step 7/7 : RUN go mod download 22:48:46 ---> Running in abd879683368 22:48:58 Removing intermediate container abd879683368 22:48:58 ---> 227e1027121c 22:48:58 Successfully built 227e1027121c 22:48:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:48:59 + docker inspect -f . ci-base-image-arm64 22:48:59 . [Pipeline] withDockerContainer 22:48:59 prd-ubuntu18.04-docker-arm64-4c-16g-6379 does not seem to be running inside a container 22:48:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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 ******** ci-base-image-arm64 cat 22:49:01 $ docker top f1f2fd11293957f3927a127d0ca4edaeddb7c911001a1e3aafd4a6c99afe954b -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:03 + go version 22:49:03 go version go1.15.2 linux/arm64 [Pipeline] } 22:49:03 $ docker stop --time=1 f1f2fd11293957f3927a127d0ca4edaeddb7c911001a1e3aafd4a6c99afe954b 22:49:05 $ docker rm -f f1f2fd11293957f3927a127d0ca4edaeddb7c911001a1e3aafd4a6c99afe954b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:49:06 + docker inspect -f . ci-base-image-arm64 22:49:06 . [Pipeline] withDockerContainer 22:49:06 prd-ubuntu18.04-docker-arm64-4c-16g-6379 does not seem to be running inside a container 22:49:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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 ******** ci-base-image-arm64 cat 22:49:08 $ docker top db45f88b49f914a4395811b40126615ba863638a9ed99927a04b06052eda0327 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:10 + make test 22:49:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:49:36 ok github.com/edgexfoundry/go-mod-configuration/configuration 0.014s coverage: 85.7% of statements 22:49:36 ok github.com/edgexfoundry/go-mod-configuration/internal/pkg/consul 2.625s coverage: 86.0% of statements 22:49:36 ok github.com/edgexfoundry/go-mod-configuration/pkg/types 0.025s coverage: 100.0% of statements 22:49:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:49:38 gofmt -l . 22:49:38 [ "`gofmt -l .`" = "" ] [Pipeline] stash 22:49:39 Warning: overwriting stash ‘coverage-report’ 22:49:40 Stashed 1 file(s) [Pipeline] } 22:49:40 $ docker stop --time=1 db45f88b49f914a4395811b40126615ba863638a9ed99927a04b06052eda0327 22:49:42 $ docker rm -f db45f88b49f914a4395811b40126615ba863638a9ed99927a04b06052eda0327 [Pipeline] // withDockerContainer [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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 22:49:45 provisioning config files... 22:49:45 copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-21@tmp/config4401182257575558901tmp [Pipeline] { [Pipeline] sh 22:49:46 + set +x 22:49:46 + curl -s https://codecov.io/bash 22:49:46 + bash -s -- 22:49:46 22:49:46 _____ _ 22:49:46 / ____| | | 22:49:46 | | ___ __| | ___ ___ _____ __ 22:49:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:49:46 | |___| (_) | (_| | __/ (_| (_) \ V / 22:49:46 \_____\___/ \__,_|\___|\___\___/ \_/ 22:49:46 Bash-20201009-048fee3 22:49:46 22:49:46 22:49:46 ==> Jenkins CI detected. 22:49:46 project root: . 22:49:46 --> token set from env 22:49:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:49:46 ==> Running gcov in . (disable via -X gcov) 22:49:46 ==> Python coveragepy not found 22:49:46 ==> Searching for coverage reports in: 22:49:46 + . 22:49:46 -> Found 1 reports 22:49:46 ==> Detecting git/mercurial file structure 22:49:46 ==> Reading reports 22:49:46 + ./coverage.out bytes=13052 22:49:46 ==> Appending adjustments 22:49:46 https://docs.codecov.io/docs/fixing-reports 22:49:46 + Found adjustments 22:49:46 ==> Gzipping contents 22:49:46 ==> Uploading reports 22:49:46 url: https://codecov.io 22:49:46 query: branch=PR-21&commit=48711f405dd217bae52423439aa3c7fdd20f7bfc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-21%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=21&job=&cmd_args= 22:49:46 -> Pinging Codecov 22:49:46 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-21&commit=48711f405dd217bae52423439aa3c7fdd20f7bfc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-21%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=21&job=&cmd_args= 22:49:46 -> Uploading to 22:49:46 22:49:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:46 Dload Upload Total Spent Left Speed 22:49:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 22:49:46 X> Failed to upload 22:49:46 ==> Uploading to Codecov 22:49:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:46 Dload Upload Total Spent Left Speed 22:49:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2606 100 117 100 2489 202 4315 --:--:-- --:--:-- --:--:-- 4321 22:49:47 View reports at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/48711f405dd217bae52423439aa3c7fdd20f7bfc [Pipeline] } 22:49:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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:49:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:49:51 ---> package-listing.sh 22:49:51 ++ facter osfamily 22:49:51 ++ tr '[:upper:]' '[:lower:]' 22:49:51 + OS_FAMILY=redhat 22:49:51 + workspace=/w/workspace/undry_go-mod-configuration_PR-21 22:49:51 + START_PACKAGES=/tmp/packages_start.txt 22:49:51 + END_PACKAGES=/tmp/packages_end.txt 22:49:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:49:51 + PACKAGES=/tmp/packages_start.txt 22:49:51 + '[' /w/workspace/undry_go-mod-configuration_PR-21 ']' 22:49:51 + PACKAGES=/tmp/packages_end.txt 22:49:51 + case "${OS_FAMILY}" in 22:49:51 + rpm -qa 22:49:51 + sort 22:49:56 + '[' -f /tmp/packages_start.txt ']' 22:49:56 + '[' -f /tmp/packages_end.txt ']' 22:49:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:49:56 + '[' /w/workspace/undry_go-mod-configuration_PR-21 ']' 22:49:56 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-21/archives/ 22:49:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-21/archives/ [Pipeline] echo 22:49:56 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-21/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:49:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:49:56 22:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:49:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:49:57 alpine: Pulling from edgex-lftools-log-publisher 22:49:57 df20fa9351a1: Pulling fs layer 22:49:57 36b3adc4ff6f: Pulling fs layer 22:49:57 8ad3a11d3b57: Pulling fs layer 22:49:57 46f8f816bc3b: Pulling fs layer 22:49:57 93b61091891f: Pulling fs layer 22:49:57 93b9cdb0e59b: Pulling fs layer 22:49:57 5e14af77c1be: Pulling fs layer 22:49:57 01666e4c0597: Pulling fs layer 22:49:57 aa168da1d23b: Pulling fs layer 22:49:57 46f8f816bc3b: Waiting 22:49:57 93b61091891f: Waiting 22:49:57 93b9cdb0e59b: Waiting 22:49:57 5e14af77c1be: Waiting 22:49:57 01666e4c0597: Waiting 22:49:57 aa168da1d23b: Waiting 22:49:57 36b3adc4ff6f: Verifying Checksum 22:49:57 36b3adc4ff6f: Download complete 22:49:57 46f8f816bc3b: Verifying Checksum 22:49:57 46f8f816bc3b: Download complete 22:49:57 df20fa9351a1: Verifying Checksum 22:49:57 df20fa9351a1: Download complete 22:49:57 93b9cdb0e59b: Verifying Checksum 22:49:57 93b9cdb0e59b: Download complete 22:49:57 5e14af77c1be: Verifying Checksum 22:49:57 5e14af77c1be: Download complete 22:49:57 93b61091891f: Verifying Checksum 22:49:57 93b61091891f: Download complete 22:49:57 01666e4c0597: Verifying Checksum 22:49:57 01666e4c0597: Download complete 22:49:57 df20fa9351a1: Pull complete 22:49:57 36b3adc4ff6f: Pull complete 22:49:57 8ad3a11d3b57: Verifying Checksum 22:49:57 8ad3a11d3b57: Download complete 22:49:58 8ad3a11d3b57: Pull complete 22:49:58 46f8f816bc3b: Pull complete 22:49:59 93b61091891f: Pull complete 22:49:59 93b9cdb0e59b: Pull complete 22:49:59 5e14af77c1be: Pull complete 22:50:00 01666e4c0597: Pull complete 22:50:00 aa168da1d23b: Verifying Checksum 22:50:00 aa168da1d23b: Download complete 22:50:07 aa168da1d23b: Pull complete 22:50:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:50:07 prd-centos7-docker-4c-2g-6374 does not seem to be running inside a container 22:50:07 $ 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-21/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-21 -v /w/workspace/undry_go-mod-configuration_PR-21:/w/workspace/undry_go-mod-configuration_PR-21:rw,z -v /w/workspace/undry_go-mod-configuration_PR-21@tmp:/w/workspace/undry_go-mod-configuration_PR-21@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:10003/edgex-lftools-log-publisher:alpine cat 22:50:11 $ docker top 9477d16aaa0265f46903353a03e16beac6c8497f610c8214ee6abae0d5f456b6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:12 + touch /tmp/pre-build-complete [Pipeline] sh 22:50:12 + mkdir -p /var/log/sa [Pipeline] sh 22:50:12 + ls /var/log/sa-host 22:50:12 + sadf -c /var/log/sa-host/sa05 22:50:12 file_magic: OK 22:50:12 HZ: Using current value: 100 22:50:12 file_header: OK 22:50:12 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:50:12 Statistics: 22:50:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:50:12 File successfully converted to sysstat format version 12.2.1 22:50:12 + sadf -c /var/log/sa-host/sa19 22:50:12 file_magic: OK 22:50:12 HZ: Using current value: 100 22:50:12 file_header: OK 22:50:12 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:50:12 Statistics: 22:50:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:50:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:13 provisioning config files... 22:50:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-21@tmp/config8721342565794682908tmp [Pipeline] { [Pipeline] echo 22:50:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:13 ---> create-netrc.sh [Pipeline] } 22:50:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:50:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:50:14 ---> python-tools-install.sh [Pipeline] echo 22:50:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:50:14 ---> sudo-logs.sh 22:50:14 Archiving 'sudo' log.. [Pipeline] echo 22:50:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:50:15 ---> job-cost.sh 22:50:15 lf-activate-venv: SKIPPING 22:50:15 INFO: No Stack... 22:50:15 INFO: Retrieving Pricing Info for: v1-standard-2 22:50:16 INFO: Archiving Costs [Pipeline] echo 22:50:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:50:16 ---> logs-deploy.sh 22:50:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-21/1 22:50:16 INFO: archiving workspace using pattern(s): 22:50:18 Archives upload complete. 22:50:18 INFO: archiving logs to Nexus