Pull request #349 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 andresrinivasan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 0355030adcc42d95c368338fb65d94e0ad2d76e0 rather than 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 Obtained Jenkinsfile from 0355030adcc42d95c368338fb65d94e0ad2d76e0 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-core-contracts/branches/PR-349/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-core-contracts/branches/PR-349/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-core-contracts, 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-core-contracts-settings PROJECT: go-mod-core-contracts 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-core-contracts 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-6101 in /w/workspace/dry_go-mod-core-contracts_PR-349 [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-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-349 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0355030adcc42d95c368338fb65d94e0ad2d76e0 into PR head commit 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 Merge succeeded, producing 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 Checking out Revision 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 (PR-349) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 # 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 0355030adcc42d95c368338fb65d94e0ad2d76e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 # timeout=10 Commit message: "Add constant for Redis bootstrap" 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 00:42:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:02 ========================================================= 00:42:02 EdgeX Global Pipelines Version Info 00:42:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:04 ------------------- 00:42:04 stable info: 00:42:04 ------------------- 00:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:04 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 00:42:04 Message: update stable to v1.0.144 00:42:05 ------------------- 00:42:05 experimental info: 00:42:05 ------------------- 00:42:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:05 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 00:42:05 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:42:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 00:42:06 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 00:42:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-349 [Pipeline] echo 00:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-349 [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-349 [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9df9f39 [Pipeline] echo 00:42:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:11 + git log --format=format:%s -1 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 [Pipeline] echo 00:42:11 GIT_COMMIT: 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4, Commit Message: Add constant for Redis bootstrap [Pipeline] echo 00:42:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:42:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:13 00:42:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:42:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:13 latest: Pulling from edgex-devops/git-semver 00:42:13 31603596830f: Pulling fs layer 00:42:13 2a8b12db71e7: Pulling fs layer 00:42:13 6ca5941a6612: Pulling fs layer 00:42:13 ecc8261a40a4: Pulling fs layer 00:42:13 ecc8261a40a4: Waiting 00:42:13 2a8b12db71e7: Download complete 00:42:13 31603596830f: Verifying Checksum 00:42:13 31603596830f: Download complete 00:42:13 ecc8261a40a4: Verifying Checksum 00:42:13 ecc8261a40a4: Download complete 00:42:13 6ca5941a6612: Verifying Checksum 00:42:13 6ca5941a6612: Download complete 00:42:13 31603596830f: Pull complete 00:42:14 2a8b12db71e7: Pull complete 00:42:14 6ca5941a6612: Pull complete 00:42:15 ecc8261a40a4: Pull complete 00:42:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:42:15 prd-centos7-docker-4c-2g-6101 does not seem to be running inside a container 00:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-349 -v /w/workspace/dry_go-mod-core-contracts_PR-349:/w/workspace/dry_go-mod-core-contracts_PR-349:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-349@tmp:/w/workspace/dry_go-mod-core-contracts_PR-349@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:42:17 $ docker top d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:17 [ssh-agent] Looking for ssh-agent implementation... 00:42:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:18 $ docker exec d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 ssh-agent 00:42:18 SSH_AUTH_SOCK=/tmp/ssh-gbf59U2mDR0M/agent.11 00:42:18 SSH_AGENT_PID=16 00:42:18 Running ssh-add (command line suppressed) 00:42:18 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-349@tmp/private_key_3509490097997258072.key (/w/workspace/dry_go-mod-core-contracts_PR-349@tmp/private_key_3509490097997258072.key) 00:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:18 + git tag --points-at HEAD [Pipeline] } 00:42:19 $ docker exec --env ******** --env ******** d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 ssh-agent -k 00:42:19 unset SSH_AUTH_SOCK; 00:42:19 unset SSH_AGENT_PID; 00:42:19 echo Agent pid 16 killed; 00:42:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:19 [ssh-agent] Looking for ssh-agent implementation... 00:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:19 $ docker exec d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 ssh-agent 00:42:19 SSH_AUTH_SOCK=/tmp/ssh-cZcT05lMAj5f/agent.44 00:42:19 SSH_AGENT_PID=50 00:42:19 Running ssh-add (command line suppressed) 00:42:19 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-349@tmp/private_key_793985839268879780.key (/w/workspace/dry_go-mod-core-contracts_PR-349@tmp/private_key_793985839268879780.key) 00:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:20 + git semver init 00:42:20 # -> Open(): unable to determine branch for HEAD 00:42:20 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-349/.git 00:42:20 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-349 00:42:20 # $SEMVER_REMOTE_NAME = origin 00:42:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:42:20 # $SEMVER_USER_NAME = edgex-jenkins 00:42:20 # $SEMVER_BRANCH = PR-349 00:42:20 # $SEMVER_TEMP = /tmp/semver-876413023 00:42:20 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 00:42:20 # '/tmp/semver-876413023' -> '/w/workspace/dry_go-mod-core-contracts_PR-349/.semver' 00:42:20 # -> Force: false 00:42:20 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-349/.semver [Pipeline] } 00:42:20 $ docker exec --env ******** --env ******** d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 ssh-agent -k 00:42:21 unset SSH_AUTH_SOCK; 00:42:21 unset SSH_AGENT_PID; 00:42:21 echo Agent pid 50 killed; 00:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:21 + git semver [Pipeline] } 00:42:21 $ docker stop --time=1 d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 00:42:23 $ docker rm -f d576f453f1369c5d254bcab1c1a7ed9ba5c94e118dd6be26b2b33db38e083004 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:24 Stashed 1 file(s) [Pipeline] echo 00:42:24 [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 00:42:40 Still waiting to schedule task 00:42:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:42:40 Still waiting to schedule task 00:42:40 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:45:22 Running on prd-centos7-docker-4c-2g-6102 in /w/workspace/dry_go-mod-core-contracts_PR-349 [Pipeline] { [Pipeline] ws 00:45:23 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 00:45:25 using credential edgex-jenkins-ssh 00:45:25 Cloning the remote Git repository 00:45:25 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:45:25 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 00:45:26 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:45:26 > git --version # timeout=10 00:45:26 > git --version # 'git version 2.16.5' 00:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:27 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:45:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:27 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:45:27 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:45:27 Merging remotes/origin/master commit 0355030adcc42d95c368338fb65d94e0ad2d76e0 into PR head commit 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:45:28 Failed in branch amd64 00:45:27 > git config core.sparsecheckout # timeout=10 00:45:27 > git checkout -f 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 # timeout=10 00:46:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6103 in /w/workspace/dry_go-mod-core-contracts_PR-349 [Pipeline] { [Pipeline] ws 00:46:18 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 00:46:24 using credential edgex-jenkins-ssh 00:46:24 Cloning the remote Git repository 00:46:24 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:24 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 00:46:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:24 > git --version # timeout=10 00:46:24 > git --version # 'git version 2.17.1' 00:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:25 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:46:26 Merging remotes/origin/master commit 0355030adcc42d95c368338fb65d94e0ad2d76e0 into PR head commit 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:27 Failed in branch arm64 00:46:26 > git config core.sparsecheckout # timeout=10 00:46:26 > git checkout -f 9df9f397bc9fd9898e5d281d9ff676e76c9dacc4 # timeout=10 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:46:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:46:33 ---> package-listing.sh 00:46:33 ++ facter osfamily 00:46:33 ++ tr '[:upper:]' '[:lower:]' 00:46:33 + OS_FAMILY=redhat 00:46:33 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-349 00:46:33 + START_PACKAGES=/tmp/packages_start.txt 00:46:33 + END_PACKAGES=/tmp/packages_end.txt 00:46:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:46:33 + PACKAGES=/tmp/packages_start.txt 00:46:33 + '[' /w/workspace/dry_go-mod-core-contracts_PR-349 ']' 00:46:33 + PACKAGES=/tmp/packages_end.txt 00:46:33 + case "${OS_FAMILY}" in 00:46:33 + rpm -qa 00:46:33 + sort 00:46:38 + '[' -f /tmp/packages_start.txt ']' 00:46:38 + '[' -f /tmp/packages_end.txt ']' 00:46:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:46:38 + '[' /w/workspace/dry_go-mod-core-contracts_PR-349 ']' 00:46:38 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-349/archives/ 00:46:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-349/archives/ [Pipeline] echo 00:46:38 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/dry_go-mod-core-contracts_PR-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:46:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:46:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:46:39 00:46:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:46:39 alpine: Pulling from edgex-lftools-log-publisher 00:46:39 df20fa9351a1: Pulling fs layer 00:46:39 36b3adc4ff6f: Pulling fs layer 00:46:39 8ad3a11d3b57: Pulling fs layer 00:46:39 46f8f816bc3b: Pulling fs layer 00:46:39 93b61091891f: Pulling fs layer 00:46:39 93b9cdb0e59b: Pulling fs layer 00:46:39 5e14af77c1be: Pulling fs layer 00:46:39 46f8f816bc3b: Waiting 00:46:39 93b61091891f: Waiting 00:46:39 93b9cdb0e59b: Waiting 00:46:39 01666e4c0597: Pulling fs layer 00:46:39 aa168da1d23b: Pulling fs layer 00:46:39 5e14af77c1be: Waiting 00:46:39 01666e4c0597: Waiting 00:46:39 aa168da1d23b: Waiting 00:46:39 36b3adc4ff6f: Verifying Checksum 00:46:39 36b3adc4ff6f: Download complete 00:46:39 46f8f816bc3b: Verifying Checksum 00:46:39 46f8f816bc3b: Download complete 00:46:39 df20fa9351a1: Verifying Checksum 00:46:39 93b9cdb0e59b: Verifying Checksum 00:46:39 93b9cdb0e59b: Download complete 00:46:39 5e14af77c1be: Verifying Checksum 00:46:39 5e14af77c1be: Download complete 00:46:39 01666e4c0597: Download complete 00:46:39 93b61091891f: Verifying Checksum 00:46:39 93b61091891f: Download complete 00:46:39 df20fa9351a1: Pull complete 00:46:39 36b3adc4ff6f: Pull complete 00:46:40 8ad3a11d3b57: Verifying Checksum 00:46:40 8ad3a11d3b57: Download complete 00:46:41 8ad3a11d3b57: Pull complete 00:46:41 46f8f816bc3b: Pull complete 00:46:41 93b61091891f: Pull complete 00:46:42 93b9cdb0e59b: Pull complete 00:46:42 5e14af77c1be: Pull complete 00:46:42 01666e4c0597: Pull complete 00:46:42 aa168da1d23b: Verifying Checksum 00:46:42 aa168da1d23b: Download complete 00:46:49 aa168da1d23b: Pull complete 00:46:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:46:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:46:50 prd-centos7-docker-4c-2g-6101 does not seem to be running inside a container 00:46:50 $ 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/dry_go-mod-core-contracts_PR-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-349 -v /w/workspace/dry_go-mod-core-contracts_PR-349:/w/workspace/dry_go-mod-core-contracts_PR-349:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-349@tmp:/w/workspace/dry_go-mod-core-contracts_PR-349@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:10003/edgex-lftools-log-publisher:alpine cat 00:46:53 $ docker top b3812511e2b2a138a9271ce841aecaa53f361f8729e7acccb4048549fa6c42a8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:54 + touch /tmp/pre-build-complete [Pipeline] sh 00:46:54 + mkdir -p /var/log/sa [Pipeline] sh 00:46:54 + ls /var/log/sa-host 00:46:54 + sadf -c /var/log/sa-host/sa05 00:46:54 file_magic: OK 00:46:54 HZ: Using current value: 100 00:46:54 file_header: OK 00:46:54 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 00:46:54 Statistics: 00:46:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:46:54 File successfully converted to sysstat format version 12.2.1 00:46:54 + sadf -c /var/log/sa-host/sa19 00:46:54 file_magic: OK 00:46:54 HZ: Using current value: 100 00:46:54 file_header: OK 00:46:54 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 00:46:54 Statistics: 00:46:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:46:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:55 provisioning config files... 00:46:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-349@tmp/config5657232462005020324tmp [Pipeline] { [Pipeline] echo 00:46:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:46:55 ---> create-netrc.sh [Pipeline] } 00:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:46:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:46:56 ---> python-tools-install.sh [Pipeline] echo 00:46:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:46:56 ---> sudo-logs.sh 00:46:56 Archiving 'sudo' log.. [Pipeline] echo 00:46:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:46:56 ---> job-cost.sh 00:46:56 lf-activate-venv: SKIPPING 00:46:56 INFO: No Stack... 00:46:58 INFO: Retrieving Pricing Info for: v1-standard-2 00:46:58 INFO: Archiving Costs [Pipeline] echo 00:46:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:46:58 ---> logs-deploy.sh 00:46:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-349/1 00:46:58 INFO: archiving workspace using pattern(s): 00:47:00 Archives upload complete. 00:47:00 INFO: archiving logs to Nexus