Pull request #74 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-registry Obtained Jenkinsfile from 75c4a90b42cb175f7a183e68f424d84bb19ef271+188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 (ad58a1727f98fed2af1cbacdd7718227c74d417a) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3402584578921668477.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh198286514801399256.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git 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-registry/branches/PR-74/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-74/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6644877634029443757.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-74/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5480910042737629806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5770693869115159832.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE 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-registry/branches/PR-74/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-74/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5759947763271607424.key > 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 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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-registry, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: go-mod-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-305 in /w/workspace/gexfoundry_go-mod-registry_PR-74 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-74 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/jenkins-gitclient-ssh1477978044248666582.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.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-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/jenkins-gitclient-ssh4745126705131122170.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 into PR head commit 75c4a90b42cb175f7a183e68f424d84bb19ef271 Merge succeeded, producing 75c4a90b42cb175f7a183e68f424d84bb19ef271 Checking out Revision 75c4a90b42cb175f7a183e68f424d84bb19ef271 (PR-74) > git config core.sparsecheckout # timeout=10 > git checkout -f 75c4a90b42cb175f7a183e68f424d84bb19ef271 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/jenkins-gitclient-ssh4916392493719793817.key > git merge 188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75c4a90b42cb175f7a183e68f424d84bb19ef271 # timeout=10 Commit message: "docs: add Changelog for Ireland release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T20:22:06.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T20:22:06.333Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T20:22:06.482Z] ========================================================= [2021-06-10T20:22:06.482Z] EdgeX Global Pipelines Version Info [2021-06-10T20:22:06.482Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:22:07.996Z] ------------------- [2021-06-10T20:22:07.996Z] stable info: [2021-06-10T20:22:07.996Z] ------------------- [2021-06-10T20:22:07.996Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T20:22:07.996Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T20:22:07.996Z] Message: update stable to v1.0.195 [2021-06-10T20:22:08.593Z] ------------------- [2021-06-10T20:22:08.593Z] experimental info: [2021-06-10T20:22:08.593Z] ------------------- [2021-06-10T20:22:08.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T20:22:08.593Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T20:22:08.593Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T20:22:08.964Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-06-10T20:22:09.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-06-10T20:22:09.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T20:22:09.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T20:22:09.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T20:22:09.308Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T20:22:09.378Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T20:22:09.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T20:22:09.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-10T20:22:09.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T20:22:09.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T20:22:09.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2021-06-10T20:22:09.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T20:22:09.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T20:22:09.957Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T20:22:10.025Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T20:22:10.093Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T20:22:10.155Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T20:22:10.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T20:22:10.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T20:22:10.340Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-10T20:22:10.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-10T20:22:10.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T20:22:10.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T20:22:10.593Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-10T20:22:10.654Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T20:22:10.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo [2021-06-10T20:22:10.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo [2021-06-10T20:22:10.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo [2021-06-10T20:22:10.922Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75c4a90b42cb175f7a183e68f424d84bb19ef271 [Pipeline] echo [2021-06-10T20:22:10.988Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75c4a90 [Pipeline] echo [2021-06-10T20:22:11.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T20:22:11.805Z] + git log --format=format:%s -1 75c4a90b42cb175f7a183e68f424d84bb19ef271 [Pipeline] echo [2021-06-10T20:22:11.868Z] GIT_COMMIT: 75c4a90b42cb175f7a183e68f424d84bb19ef271, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-10T20:22:11.913Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:22:13.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T20:22:13.226Z] [2021-06-10T20:22:13.226Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:22:13.598Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T20:22:13.598Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T20:22:13.598Z] 31603596830f: Pulling fs layer [2021-06-10T20:22:13.598Z] 54011a49482f: Pulling fs layer [2021-06-10T20:22:13.598Z] a6820b24f6d8: Pulling fs layer [2021-06-10T20:22:13.598Z] f581987b2513: Pulling fs layer [2021-06-10T20:22:13.598Z] f581987b2513: Waiting [2021-06-10T20:22:13.860Z] 54011a49482f: Verifying Checksum [2021-06-10T20:22:13.860Z] 54011a49482f: Download complete [2021-06-10T20:22:13.860Z] 31603596830f: Verifying Checksum [2021-06-10T20:22:13.860Z] 31603596830f: Download complete [2021-06-10T20:22:14.125Z] f581987b2513: Verifying Checksum [2021-06-10T20:22:14.125Z] f581987b2513: Download complete [2021-06-10T20:22:14.125Z] a6820b24f6d8: Verifying Checksum [2021-06-10T20:22:14.125Z] a6820b24f6d8: Download complete [2021-06-10T20:22:14.125Z] 31603596830f: Pull complete [2021-06-10T20:22:14.125Z] 54011a49482f: Pull complete [2021-06-10T20:22:14.707Z] a6820b24f6d8: Pull complete [2021-06-10T20:22:14.977Z] f581987b2513: Pull complete [2021-06-10T20:22:14.977Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T20:22:14.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T20:22:14.977Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T20:22:15.084Z] prd-centos7-docker-4c-2g-305 does not seem to be running inside a container [2021-06-10T20:22:15.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-74 -v /w/workspace/gexfoundry_go-mod-registry_PR-74:/w/workspace/gexfoundry_go-mod-registry_PR-74:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-10T20:22:16.201Z] $ docker top 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T20:22:16.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T20:22:16.451Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T20:22:16.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T20:22:16.581Z] $ docker exec 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 ssh-agent [2021-06-10T20:22:16.692Z] SSH_AUTH_SOCK=/tmp/ssh-5IA776dEWmrk/agent.13 [2021-06-10T20:22:16.692Z] SSH_AGENT_PID=19 [2021-06-10T20:22:16.701Z] Running ssh-add (command line suppressed) [2021-06-10T20:22:16.801Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/private_key_166285173818649050.key (/w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/private_key_166285173818649050.key) [2021-06-10T20:22:16.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T20:22:17.196Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T20:22:17.218Z] $ docker exec --env ******** --env ******** 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 ssh-agent -k [2021-06-10T20:22:17.322Z] unset SSH_AUTH_SOCK; [2021-06-10T20:22:17.322Z] unset SSH_AGENT_PID; [2021-06-10T20:22:17.322Z] echo Agent pid 19 killed; [2021-06-10T20:22:17.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T20:22:17.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T20:22:17.441Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T20:22:17.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T20:22:17.569Z] $ docker exec 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 ssh-agent [2021-06-10T20:22:17.679Z] SSH_AUTH_SOCK=/tmp/ssh-dURr5w7GpK31/agent.54 [2021-06-10T20:22:17.679Z] SSH_AGENT_PID=61 [2021-06-10T20:22:17.685Z] Running ssh-add (command line suppressed) [2021-06-10T20:22:17.785Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/private_key_3775943593150319271.key (/w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/private_key_3775943593150319271.key) [2021-06-10T20:22:17.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T20:22:18.178Z] + git semver init [2021-06-10T20:22:18.178Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T20:22:18.178Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-74/.git [2021-06-10T20:22:18.178Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-74 [2021-06-10T20:22:18.178Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T20:22:18.178Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T20:22:18.178Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T20:22:18.178Z] # $SEMVER_BRANCH = PR-74 [2021-06-10T20:22:18.178Z] # $SEMVER_TEMP = /tmp/semver-227787985 [2021-06-10T20:22:18.178Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-06-10T20:22:19.127Z] # '/tmp/semver-227787985' -> '/w/workspace/gexfoundry_go-mod-registry_PR-74/.semver' [2021-06-10T20:22:19.127Z] # -> Force: false [2021-06-10T20:22:19.127Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-74/.semver [Pipeline] } [2021-06-10T20:22:19.144Z] $ docker exec --env ******** --env ******** 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 ssh-agent -k [2021-06-10T20:22:19.246Z] unset SSH_AUTH_SOCK; [2021-06-10T20:22:19.246Z] unset SSH_AGENT_PID; [2021-06-10T20:22:19.246Z] echo Agent pid 61 killed; [2021-06-10T20:22:19.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T20:22:19.717Z] + git semver [Pipeline] } [2021-06-10T20:22:19.747Z] $ docker stop --time=1 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 [2021-06-10T20:22:20.999Z] $ docker rm -f 6d1e04abbbf2e926eb9a2cd1e22d856baa3ba95c9d34cd7ab034cc54c130b3e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T20:22:21.435Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T20:22:21.785Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T20:22:21.816Z] [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 [2021-06-10T20:22:37.482Z] Still waiting to schedule task [2021-06-10T20:22:37.483Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-305’ [2021-06-10T20:22:37.515Z] Still waiting to schedule task [2021-06-10T20:22:37.515Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-10T20:24:43.302Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-306 in /w/workspace/gexfoundry_go-mod-registry_PR-74 [Pipeline] { [Pipeline] ws [2021-06-10T20:24:43.373Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-06-10T20:24:43.638Z] Selected Git installation does not exist. Using Default [2021-06-10T20:24:43.638Z] The recommended git tool is: NONE [2021-06-10T20:24:49.115Z] using credential edgex-jenkins-ssh [2021-06-10T20:24:49.138Z] Cloning the remote Git repository [2021-06-10T20:24:49.188Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-06-10T20:24:49.298Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-06-10T20:24:49.452Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-06-10T20:24:49.453Z] > git --version # timeout=10 [2021-06-10T20:24:49.478Z] > git --version # 'git version 2.17.1' [2021-06-10T20:24:49.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T20:24:49.597Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T20:24:50.994Z] Merging remotes/origin/master commit 188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 into PR head commit 75c4a90b42cb175f7a183e68f424d84bb19ef271 [2021-06-10T20:24:50.348Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-06-10T20:24:50.370Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T20:24:50.394Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-06-10T20:24:50.430Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-06-10T20:24:50.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T20:24:50.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T20:24:51.200Z] Merge succeeded, producing 75c4a90b42cb175f7a183e68f424d84bb19ef271 [2021-06-10T20:24:51.201Z] Checking out Revision 75c4a90b42cb175f7a183e68f424d84bb19ef271 (PR-74) [2021-06-10T20:24:51.013Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T20:24:51.027Z] > git checkout -f 75c4a90b42cb175f7a183e68f424d84bb19ef271 # timeout=10 [2021-06-10T20:24:51.100Z] > git remote # timeout=10 [2021-06-10T20:24:51.117Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T20:24:51.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T20:24:51.139Z] > git merge 188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 # timeout=10 [2021-06-10T20:24:51.179Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T20:24:51.208Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T20:24:51.232Z] > git checkout -f 75c4a90b42cb175f7a183e68f424d84bb19ef271 # timeout=10 [2021-06-10T20:24:55.423Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-10T20:24:55.476Z] > git --version # timeout=10 [2021-06-10T20:24:55.494Z] > git --version # 'git version 2.17.1' [2021-06-10T20:24:55.504Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T20:24:57.139Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T20:24:57.665Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T20:24:58.045Z] + + sudo service docker restart [2021-06-10T20:24:58.045Z] true [2021-06-10T20:25:13.095Z] Running on prd-centos7-docker-4c-2g-307 in /w/workspace/gexfoundry_go-mod-registry_PR-74 [Pipeline] { [Pipeline] ws [2021-06-10T20:25:13.161Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-06-10T20:25:13.345Z] Selected Git installation does not exist. Using Default [2021-06-10T20:25:13.345Z] The recommended git tool is: NONE [2021-06-10T20:25:15.622Z] using credential edgex-jenkins-ssh [2021-06-10T20:25:15.635Z] Cloning the remote Git repository [2021-06-10T20:25:15.855Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [Pipeline] unstash [2021-06-10T20:25:16.819Z] Merging remotes/origin/master commit 188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 into PR head commit 75c4a90b42cb175f7a183e68f424d84bb19ef271 [Pipeline] echo [2021-06-10T20:25:15.924Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-06-10T20:25:15.963Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-06-10T20:25:15.963Z] > git --version # timeout=10 [2021-06-10T20:25:15.976Z] > git --version # 'git version 2.24.4' [2021-06-10T20:25:15.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T20:25:16.003Z] [INFO] Currently running in a labeled security context [2021-06-10T20:25:16.003Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T20:25:16.003Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh5351438384245137876.key [2021-06-10T20:25:16.023Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T20:25:16.532Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-06-10T20:25:16.543Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T20:25:16.556Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-06-10T20:25:16.566Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-06-10T20:25:16.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T20:25:16.567Z] [INFO] Currently running in a labeled security context [2021-06-10T20:25:16.567Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T20:25:16.568Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh9029278328003799263.key [2021-06-10T20:25:16.575Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T20:25:16.969Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T20:25:16.980Z] > git checkout -f 75c4a90b42cb175f7a183e68f424d84bb19ef271 # timeout=10 [2021-06-10T20:25:16.856Z] ========================================================= [2021-06-10T20:25:16.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T20:25:16.856Z] ========================================================= [Pipeline] isUnix [2021-06-10T20:25:16.925Z] Merge succeeded, producing 75c4a90b42cb175f7a183e68f424d84bb19ef271 [2021-06-10T20:25:16.925Z] Checking out Revision 75c4a90b42cb175f7a183e68f424d84bb19ef271 (PR-74) [Pipeline] sh [2021-06-10T20:25:17.304Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-10T20:25:17.011Z] > git remote # timeout=10 [2021-06-10T20:25:17.016Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T20:25:17.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T20:25:17.023Z] [INFO] Currently running in a labeled security context [2021-06-10T20:25:17.023Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T20:25:17.023Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh612101690219965284.key [2021-06-10T20:25:17.030Z] > git merge 188f4cd6af1fc33a1ea6e0c1bd63feccdc9f6ea4 # timeout=10 [2021-06-10T20:25:17.046Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T20:25:17.060Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T20:25:17.066Z] > git checkout -f 75c4a90b42cb175f7a183e68f424d84bb19ef271 # timeout=10 [2021-06-10T20:25:18.298Z] Sending build context to Docker daemon 321.5kB [2021-06-10T20:25:18.298Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-06-10T20:25:18.298Z] Step 2/7 : FROM ${BASE} [2021-06-10T20:25:18.898Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T20:25:18.898Z] 595b0fe564bb: Pulling fs layer [2021-06-10T20:25:18.898Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T20:25:18.898Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T20:25:18.898Z] ba82ee9f976e: Pulling fs layer [2021-06-10T20:25:18.898Z] 506bd15cee9f: Pulling fs layer [2021-06-10T20:25:18.898Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T20:25:18.898Z] 618dc40b7e24: Pulling fs layer [2021-06-10T20:25:18.898Z] 506bd15cee9f: Waiting [2021-06-10T20:25:18.898Z] 618dc40b7e24: Waiting [2021-06-10T20:25:18.898Z] 75a0a4a0db45: Waiting [2021-06-10T20:25:18.898Z] ba82ee9f976e: Waiting [2021-06-10T20:25:18.898Z] 5b7225fbf94c: Download complete [2021-06-10T20:25:18.898Z] 3088b5b3c5c0: Download complete [2021-06-10T20:25:18.898Z] 506bd15cee9f: Verifying Checksum [2021-06-10T20:25:18.898Z] 506bd15cee9f: Download complete [2021-06-10T20:25:18.898Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T20:25:18.898Z] 75a0a4a0db45: Download complete [2021-06-10T20:25:18.898Z] 595b0fe564bb: Verifying Checksum [2021-06-10T20:25:18.898Z] 595b0fe564bb: Download complete [2021-06-10T20:25:19.503Z] 595b0fe564bb: Pull complete [2021-06-10T20:25:20.107Z] 3088b5b3c5c0: Pull complete [2021-06-10T20:25:20.680Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-10T20:25:20.711Z] 5b7225fbf94c: Pull complete [2021-06-10T20:25:20.705Z] > git --version # timeout=10 [2021-06-10T20:25:20.710Z] > git --version # 'git version 2.24.4' [2021-06-10T20:25:20.716Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-06-10T20:25:21.320Z] 618dc40b7e24: Download complete [Pipeline] sh [2021-06-10T20:25:21.938Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T20:25:22.299Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T20:25:22.634Z] + sudo service docker restart [2021-06-10T20:25:22.634Z] + true [2021-06-10T20:25:22.634Z] Redirecting to /bin/systemctl restart docker.service [2021-06-10T20:25:22.761Z] ba82ee9f976e: Verifying Checksum [2021-06-10T20:25:35.213Z] ba82ee9f976e: Pull complete [2021-06-10T20:25:35.213Z] 506bd15cee9f: Pull complete [2021-06-10T20:25:35.213Z] 75a0a4a0db45: Pull complete [2021-06-10T20:25:37.849Z] 618dc40b7e24: Pull complete [2021-06-10T20:25:37.849Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T20:25:37.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T20:25:37.849Z] ---> a36622ca3599 [2021-06-10T20:25:37.849Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T20:25:39.844Z] ---> Running in 0aa3f4e11bd0 [2021-06-10T20:25:40.445Z] Removing intermediate container 0aa3f4e11bd0 [2021-06-10T20:25:40.445Z] ---> 24d8da8adeb1 [2021-06-10T20:25:40.445Z] Step 4/7 : RUN apk add --update bash [2021-06-10T20:25:40.445Z] ---> Running in 56aeb41ce36b [Pipeline] unstash [Pipeline] echo [2021-06-10T20:25:40.974Z] ========================================================= [2021-06-10T20:25:40.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T20:25:40.974Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:25:41.349Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-10T20:25:41.618Z] Sending build context to Docker daemon 322.6kB [2021-06-10T20:25:41.618Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-06-10T20:25:41.618Z] Step 2/7 : FROM ${BASE} [2021-06-10T20:25:41.618Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T20:25:41.618Z] 540db60ca938: Pulling fs layer [2021-06-10T20:25:41.618Z] adcc1eea9eea: Pulling fs layer [2021-06-10T20:25:41.618Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T20:25:41.618Z] 0510c868ecb4: Pulling fs layer [2021-06-10T20:25:41.618Z] afea3b2eda06: Pulling fs layer [2021-06-10T20:25:41.618Z] 7809a108b3ef: Pulling fs layer [2021-06-10T20:25:41.618Z] f706445af74f: Pulling fs layer [2021-06-10T20:25:41.618Z] afea3b2eda06: Waiting [2021-06-10T20:25:41.618Z] 7809a108b3ef: Waiting [2021-06-10T20:25:41.618Z] f706445af74f: Waiting [2021-06-10T20:25:41.618Z] 0510c868ecb4: Waiting [2021-06-10T20:25:41.881Z] 4c4ab2625f07: Verifying Checksum [2021-06-10T20:25:41.881Z] 4c4ab2625f07: Download complete [2021-06-10T20:25:41.881Z] adcc1eea9eea: Verifying Checksum [2021-06-10T20:25:41.881Z] adcc1eea9eea: Download complete [2021-06-10T20:25:41.881Z] afea3b2eda06: Verifying Checksum [2021-06-10T20:25:41.881Z] afea3b2eda06: Download complete [2021-06-10T20:25:41.881Z] 7809a108b3ef: Verifying Checksum [2021-06-10T20:25:41.881Z] 7809a108b3ef: Download complete [2021-06-10T20:25:41.881Z] 540db60ca938: Verifying Checksum [2021-06-10T20:25:41.881Z] 540db60ca938: Download complete [2021-06-10T20:25:41.895Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T20:25:42.143Z] 540db60ca938: Pull complete [2021-06-10T20:25:42.143Z] adcc1eea9eea: Pull complete [2021-06-10T20:25:42.143Z] 4c4ab2625f07: Pull complete [2021-06-10T20:25:43.093Z] f706445af74f: Verifying Checksum [2021-06-10T20:25:43.093Z] f706445af74f: Download complete [2021-06-10T20:25:43.326Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T20:25:43.669Z] 0510c868ecb4: Verifying Checksum [2021-06-10T20:25:43.669Z] 0510c868ecb4: Download complete [2021-06-10T20:25:45.314Z] OK: 138 MiB in 40 packages [2021-06-10T20:25:46.749Z] Removing intermediate container 56aeb41ce36b [2021-06-10T20:25:46.749Z] ---> fe1c53efeb2f [2021-06-10T20:25:46.749Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-06-10T20:25:46.749Z] ---> Running in cf26170239a1 [2021-06-10T20:25:46.990Z] 0510c868ecb4: Pull complete [2021-06-10T20:25:46.990Z] afea3b2eda06: Pull complete [2021-06-10T20:25:46.990Z] 7809a108b3ef: Pull complete [2021-06-10T20:25:47.347Z] Removing intermediate container cf26170239a1 [2021-06-10T20:25:47.347Z] ---> 48e3dfb2462b [2021-06-10T20:25:47.347Z] Step 6/7 : COPY go.mod . [2021-06-10T20:25:47.944Z] ---> 3c21abfad456 [2021-06-10T20:25:47.944Z] Step 7/7 : RUN go mod download [2021-06-10T20:25:48.221Z] ---> Running in 314c0dd18bc4 [2021-06-10T20:25:48.387Z] f706445af74f: Pull complete [2021-06-10T20:25:48.387Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T20:25:48.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T20:25:48.387Z] ---> b068be0155e3 [2021-06-10T20:25:48.387Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T20:25:52.613Z] ---> Running in 8f765d99fa36 [2021-06-10T20:25:52.613Z] Removing intermediate container 8f765d99fa36 [2021-06-10T20:25:52.613Z] ---> 3b903cca2644 [2021-06-10T20:25:52.613Z] Step 4/7 : RUN apk add --update bash [2021-06-10T20:25:52.613Z] ---> Running in 8787612b5b00 [2021-06-10T20:25:52.613Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T20:25:54.004Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T20:25:54.274Z] OK: 149 MiB in 40 packages [2021-06-10T20:25:54.537Z] Removing intermediate container 8787612b5b00 [2021-06-10T20:25:54.537Z] ---> f9cbfa247a68 [2021-06-10T20:25:54.537Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-06-10T20:25:54.537Z] ---> Running in 90eb417c9cf8 [2021-06-10T20:25:54.537Z] Removing intermediate container 90eb417c9cf8 [2021-06-10T20:25:54.537Z] ---> fe081f67a489 [2021-06-10T20:25:54.537Z] Step 6/7 : COPY go.mod . [2021-06-10T20:25:54.801Z] ---> 0a37d2833927 [2021-06-10T20:25:54.801Z] Step 7/7 : RUN go mod download [2021-06-10T20:25:54.801Z] ---> Running in 4c7336206958 [2021-06-10T20:26:02.971Z] Removing intermediate container 4c7336206958 [2021-06-10T20:26:02.971Z] ---> 9ca25b8ebd9d [2021-06-10T20:26:02.971Z] Successfully built 9ca25b8ebd9d [2021-06-10T20:26:02.971Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:26:03.326Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T20:26:03.326Z] . [Pipeline] withDockerContainer [2021-06-10T20:26:03.453Z] prd-centos7-docker-4c-2g-307 does not seem to be running inside a container [2021-06-10T20:26:03.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-10T20:26:03.860Z] $ docker top 6edbb86a3e9f3751b192e7864789304a9ebed145bdba8679ddd947a599582fb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T20:26:04.335Z] + go version [2021-06-10T20:26:04.335Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T20:26:04.363Z] $ docker stop --time=1 6edbb86a3e9f3751b192e7864789304a9ebed145bdba8679ddd947a599582fb7 [2021-06-10T20:26:05.538Z] $ docker rm -f 6edbb86a3e9f3751b192e7864789304a9ebed145bdba8679ddd947a599582fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:26:06.452Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T20:26:06.452Z] . [Pipeline] withDockerContainer [2021-06-10T20:26:06.557Z] prd-centos7-docker-4c-2g-307 does not seem to be running inside a container [2021-06-10T20:26:06.570Z] Removing intermediate container 314c0dd18bc4 [2021-06-10T20:26:06.570Z] ---> 9e9fd314f724 [2021-06-10T20:26:06.570Z] Successfully built 9e9fd314f724 [2021-06-10T20:26:06.570Z] Successfully tagged ci-base-image-arm64:latest [2021-06-10T20:26:06.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-10T20:26:06.979Z] $ docker top 5ee53e2a9907e0f803b31cacd670a099f6499dbe68338c57e871a630c608fc01 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:26:07.440Z] + go mod tidy [Pipeline] sh [2021-06-10T20:26:07.569Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T20:26:07.569Z] . [Pipeline] withDockerContainer [2021-06-10T20:26:07.772Z] + make test [2021-06-10T20:26:07.772Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-10T20:26:07.862Z] prd-ubuntu18.04-docker-arm64-4c-16g-306 does not seem to be running inside a container [2021-06-10T20:26:07.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-10T20:26:09.639Z] $ docker top 83edced7fde993addc454ed0a20eb38ecacef436ad52c98646a0182c6564bbf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T20:26:10.698Z] + go version [2021-06-10T20:26:10.698Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T20:26:10.734Z] $ docker stop --time=1 83edced7fde993addc454ed0a20eb38ecacef436ad52c98646a0182c6564bbf5 [2021-06-10T20:26:12.609Z] $ docker rm -f 83edced7fde993addc454ed0a20eb38ecacef436ad52c98646a0182c6564bbf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:26:13.684Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T20:26:13.684Z] . [Pipeline] withDockerContainer [2021-06-10T20:26:13.969Z] prd-ubuntu18.04-docker-arm64-4c-16g-306 does not seem to be running inside a container [2021-06-10T20:26:14.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-10T20:26:15.572Z] $ docker top 6b73b34a2a65a4f975090bbec2361f7a6fae5603fa6a9bc6f78b3cc5de9901a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T20:26:16.562Z] + go mod tidy [Pipeline] sh [2021-06-10T20:26:17.533Z] + make test [2021-06-10T20:26:17.533Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-10T20:26:20.147Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.024s coverage: 88.8% of statements [2021-06-10T20:26:20.147Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-06-10T20:26:20.147Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.005s coverage: 85.7% of statements [2021-06-10T20:26:20.147Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-06-10T20:26:20.147Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-06-10T20:26:22.737Z] gofmt -l . [2021-06-10T20:26:22.737Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-10T20:26:22.767Z] $ docker stop --time=1 5ee53e2a9907e0f803b31cacd670a099f6499dbe68338c57e871a630c608fc01 [2021-06-10T20:26:24.173Z] $ docker rm -f 5ee53e2a9907e0f803b31cacd670a099f6499dbe68338c57e871a630c608fc01 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T20:26:24.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T20:26:25.130Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:26:26.547Z] ---> job-cost.sh [2021-06-10T20:26:26.547Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jZMe [2021-06-10T20:26:36.587Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T20:26:48.859Z] lf-activate-venv(): INFO: Adding /tmp/venv-jZMe/bin to PATH [2021-06-10T20:26:48.859Z] INFO: No Stack... [2021-06-10T20:26:49.121Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T20:26:49.704Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T20:26:49.940Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.088s coverage: 88.8% of statements [2021-06-10T20:26:49.940Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-06-10T20:26:49.940Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.016s coverage: 85.7% of statements [2021-06-10T20:26:49.940Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-06-10T20:26:49.940Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-06-10T20:26:50.034Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2021-06-10T20:26:50.034Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T20:26:50.102Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] [2021-06-10T20:26:50.109Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] did not exist. Created. [2021-06-10T20:26:50.109Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T20:26:50.549Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T20:26:50.657Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T20:26:50.679Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T20:27:08.317Z] gofmt -l . [2021-06-10T20:27:08.317Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-10T20:27:08.356Z] $ docker stop --time=1 6b73b34a2a65a4f975090bbec2361f7a6fae5603fa6a9bc6f78b3cc5de9901a8 [2021-06-10T20:27:10.401Z] $ docker rm -f 6b73b34a2a65a4f975090bbec2361f7a6fae5603fa6a9bc6f78b3cc5de9901a8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T20:27:11.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T20:27:11.283Z] Warning: overwriting stash ‘coverage-report’ [2021-06-10T20:27:11.767Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:27:12.825Z] ---> job-cost.sh [2021-06-10T20:27:12.825Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5UTH [2021-06-10T20:27:51.799Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T20:29:13.540Z] lf-activate-venv(): INFO: Adding /tmp/venv-5UTH/bin to PATH [2021-06-10T20:29:13.540Z] INFO: No Stack... [2021-06-10T20:29:13.540Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T20:29:13.540Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T20:29:13.902Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2021-06-10T20:29:13.902Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T20:29:13.995Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] [2021-06-10T20:29:14.001Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] did not exist. Created. [2021-06-10T20:29:14.001Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T20:29:14.481Z] /w/workspace/go-mod-registry/1@tmp/durable-b05085f0/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-b05085f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T20:29:14.856Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T20:29:14.898Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T20:29:15.050Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T20:29:15.070Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-74-1-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-06-10T20:29:16.266Z] provisioning config files... [2021-06-10T20:29:16.289Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/config1338042879236916935tmp [Pipeline] { [Pipeline] sh [2021-06-10T20:29:16.643Z] + set +x [2021-06-10T20:29:16.644Z] + curl -s https://codecov.io/bash [2021-06-10T20:29:16.644Z] + bash -s -- [2021-06-10T20:29:16.644Z] [2021-06-10T20:29:16.644Z] _____ _ [2021-06-10T20:29:16.644Z] / ____| | | [2021-06-10T20:29:16.644Z] | | ___ __| | ___ ___ _____ __ [2021-06-10T20:29:16.644Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-10T20:29:16.644Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-10T20:29:16.644Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-10T20:29:16.644Z] Bash-1.0.3 [2021-06-10T20:29:16.644Z] [2021-06-10T20:29:16.644Z] [2021-06-10T20:29:16.644Z] ==> git version 2.24.4 found [2021-06-10T20:29:16.644Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-10T20:29:16.644Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-10T20:29:16.644Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-10T20:29:16.644Z] ==> Jenkins CI detected. [2021-06-10T20:29:16.644Z] project root: . [2021-06-10T20:29:16.644Z] --> token set from env [2021-06-10T20:29:16.644Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-10T20:29:16.906Z] ==> Running gcov in . (disable via -X gcov) [2021-06-10T20:29:16.906Z] ==> Python coveragepy not found [2021-06-10T20:29:16.906Z] ==> Searching for coverage reports in: [2021-06-10T20:29:16.906Z] + . [2021-06-10T20:29:16.906Z] -> Found 1 reports [2021-06-10T20:29:16.906Z] ==> Detecting git/mercurial file structure [2021-06-10T20:29:16.906Z] ==> Reading reports [2021-06-10T20:29:16.906Z] + ./coverage.out bytes=9746 [2021-06-10T20:29:16.906Z] ==> Appending adjustments [2021-06-10T20:29:16.906Z] https://docs.codecov.io/docs/fixing-reports [2021-06-10T20:29:16.906Z] + Found adjustments [2021-06-10T20:29:16.906Z] ==> Gzipping contents [2021-06-10T20:29:16.906Z] 4.0K /tmp/codecov.9Da7QO.gz [2021-06-10T20:29:16.906Z] ==> Uploading reports [2021-06-10T20:29:16.906Z] url: https://codecov.io [2021-06-10T20:29:16.906Z] query: branch=PR-74&commit=75c4a90b42cb175f7a183e68f424d84bb19ef271&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=74&job=&cmd_args= [2021-06-10T20:29:16.906Z] -> Pinging Codecov [2021-06-10T20:29:16.906Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-74&commit=75c4a90b42cb175f7a183e68f424d84bb19ef271&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=74&job=&cmd_args= [2021-06-10T20:29:17.477Z] -> Uploading to [2021-06-10T20:29:17.477Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-10/05B643FFA8DEACB6C25F95B2D4D12284/75c4a90b42cb175f7a183e68f424d84bb19ef271/16d4f2b3-2d17-47a5-add7-f3e5dd1580f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T202917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2f300462a8f1d64f5a080468f83416f2cb7e9207fa9375fdfa443a75d2a9987 [2021-06-10T20:29:17.477Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-10T20:29:17.477Z] Dload Upload Total Spent Left Speed [2021-06-10T20:29:17.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1975 0 0 100 1975 0 5874 --:--:-- --:--:-- --:--:-- 5860 100 1975 0 0 100 1975 0 5872 --:--:-- --:--:-- --:--:-- 5860 [2021-06-10T20:29:17.738Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/75c4a90b42cb175f7a183e68f424d84bb19ef271 [Pipeline] } [2021-06-10T20:29:17.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 [2021-06-10T20:29:20.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:29:21.124Z] ---> package-listing.sh [2021-06-10T20:29:21.124Z] ++ facter osfamily [2021-06-10T20:29:21.124Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T20:29:21.396Z] + OS_FAMILY=redhat [2021-06-10T20:29:21.396Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-74 [2021-06-10T20:29:21.396Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T20:29:21.396Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T20:29:21.396Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T20:29:21.396Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T20:29:21.396Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-74 ']' [2021-06-10T20:29:21.396Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T20:29:21.396Z] + case "${OS_FAMILY}" in [2021-06-10T20:29:21.396Z] + rpm -qa [2021-06-10T20:29:21.396Z] + sort [2021-06-10T20:29:21.986Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T20:29:21.986Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T20:29:21.986Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T20:29:21.986Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-74 ']' [2021-06-10T20:29:21.986Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-74/archives/ [2021-06-10T20:29:21.986Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-74/archives/ [Pipeline] echo [2021-06-10T20:29:22.031Z] 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/gexfoundry_go-mod-registry_PR-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-10T20:29:22.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:29:22.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T20:29:22.947Z] [2021-06-10T20:29:22.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T20:29:23.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T20:29:23.318Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T20:29:23.318Z] df20fa9351a1: Pulling fs layer [2021-06-10T20:29:23.318Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T20:29:23.318Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T20:29:23.318Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T20:29:23.318Z] 93b61091891f: Pulling fs layer [2021-06-10T20:29:23.318Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T20:29:23.318Z] 5e14af77c1be: Pulling fs layer [2021-06-10T20:29:23.318Z] 01666e4c0597: Pulling fs layer [2021-06-10T20:29:23.318Z] aa168da1d23b: Pulling fs layer [2021-06-10T20:29:23.318Z] 46f8f816bc3b: Waiting [2021-06-10T20:29:23.318Z] 93b61091891f: Waiting [2021-06-10T20:29:23.318Z] 93b9cdb0e59b: Waiting [2021-06-10T20:29:23.318Z] 5e14af77c1be: Waiting [2021-06-10T20:29:23.318Z] 01666e4c0597: Waiting [2021-06-10T20:29:23.318Z] aa168da1d23b: Waiting [2021-06-10T20:29:23.318Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T20:29:23.318Z] 36b3adc4ff6f: Download complete [2021-06-10T20:29:23.584Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T20:29:23.584Z] 46f8f816bc3b: Download complete [2021-06-10T20:29:23.584Z] df20fa9351a1: Verifying Checksum [2021-06-10T20:29:23.584Z] df20fa9351a1: Download complete [2021-06-10T20:29:23.584Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T20:29:23.584Z] 93b9cdb0e59b: Download complete [2021-06-10T20:29:23.584Z] 5e14af77c1be: Verifying Checksum [2021-06-10T20:29:23.584Z] 5e14af77c1be: Download complete [2021-06-10T20:29:23.584Z] 01666e4c0597: Verifying Checksum [2021-06-10T20:29:23.584Z] 01666e4c0597: Download complete [2021-06-10T20:29:23.584Z] 93b61091891f: Verifying Checksum [2021-06-10T20:29:23.584Z] 93b61091891f: Download complete [2021-06-10T20:29:23.584Z] df20fa9351a1: Pull complete [2021-06-10T20:29:23.846Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T20:29:23.846Z] 8ad3a11d3b57: Download complete [2021-06-10T20:29:23.846Z] 36b3adc4ff6f: Pull complete [2021-06-10T20:29:24.454Z] 8ad3a11d3b57: Pull complete [2021-06-10T20:29:24.454Z] 46f8f816bc3b: Pull complete [2021-06-10T20:29:24.717Z] 93b61091891f: Pull complete [2021-06-10T20:29:24.717Z] 93b9cdb0e59b: Pull complete [2021-06-10T20:29:24.979Z] 5e14af77c1be: Pull complete [2021-06-10T20:29:24.979Z] 01666e4c0597: Pull complete [2021-06-10T20:29:25.552Z] aa168da1d23b: Verifying Checksum [2021-06-10T20:29:25.552Z] aa168da1d23b: Download complete [2021-06-10T20:29:29.791Z] aa168da1d23b: Pull complete [2021-06-10T20:29:29.791Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T20:29:29.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T20:29:29.791Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T20:29:29.895Z] prd-centos7-docker-4c-2g-305 does not seem to be running inside a container [2021-06-10T20:29:29.938Z] $ 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/gexfoundry_go-mod-registry_PR-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-registry_PR-74 -v /w/workspace/gexfoundry_go-mod-registry_PR-74:/w/workspace/gexfoundry_go-mod-registry_PR-74:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-74@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-10T20:29:32.447Z] $ docker top daf84bf75c4b57ecea66d3bf1a96b4e26760f3829e5f077ec812e8e9062caadb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T20:29:32.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T20:29:33.219Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T20:29:33.550Z] + ls /var/log/sa-host [2021-06-10T20:29:33.550Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T20:29:33.550Z] file_magic: OK [2021-06-10T20:29:33.550Z] HZ: Using current value: 100 [2021-06-10T20:29:33.550Z] file_header: OK [2021-06-10T20:29:33.550Z] 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 [2021-06-10T20:29:33.550Z] Statistics: [2021-06-10T20:29:33.550Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T20:29:33.550Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T20:29:33.550Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T20:29:33.550Z] file_magic: OK [2021-06-10T20:29:33.550Z] HZ: Using current value: 100 [2021-06-10T20:29:33.550Z] file_header: OK [2021-06-10T20:29:33.550Z] 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 [2021-06-10T20:29:33.550Z] Statistics: [2021-06-10T20:29:33.550Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T20:29:33.550Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T20:29:33.836Z] provisioning config files... [2021-06-10T20:29:33.852Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-74@tmp/config5504499173320824620tmp [Pipeline] { [Pipeline] echo [2021-06-10T20:29:33.906Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:29:34.243Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T20:29:34.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:29:34.802Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T20:29:34.834Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:29:35.192Z] ---> sudo-logs.sh [2021-06-10T20:29:35.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T20:29:35.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:29:35.616Z] ---> job-cost.sh [2021-06-10T20:29:35.617Z] lf-activate-venv: SKIPPING [2021-06-10T20:29:35.617Z] DEBUG: total: 0.18000000715255737 [2021-06-10T20:29:35.617Z] INFO: Retrieving Stack Cost... [2021-06-10T20:29:37.005Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T20:29:37.265Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T20:29:37.301Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T20:29:37.628Z] ---> logs-deploy.sh [2021-06-10T20:29:37.629Z] lf-activate-venv: SKIPPING [2021-06-10T20:29:37.629Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-74/1 [2021-06-10T20:29:37.629Z] INFO: archiving workspace using pattern(s): [2021-06-10T20:29:38.572Z] Archives upload complete. [2021-06-10T20:29:38.572Z] INFO: archiving logs to Nexus