Pull request #80 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/go-mod-registry Obtained Jenkinsfile from c25eddc008dd207925a0f3fb3c984a12255bb7ec+cc243e81ba83bc35cdb4507b253464f4571e34cd (f8206f1f66aacac139dc43bb1ea6a425e5d025a2) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1223526615879890385.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6736097447210131785.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-80/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-80/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7804085153558699709.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-80/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2757995623639272966.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7764832128924030051.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-80/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-80/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1088996790056339473.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder 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 ‘prd-centos7-docker-4c-2g-1063’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1076 in /w/workspace/gexfoundry_go-mod-registry_PR-80 [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-80 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/jenkins-gitclient-ssh8187242743055574600.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cc243e81ba83bc35cdb4507b253464f4571e34cd into PR head commit c25eddc008dd207925a0f3fb3c984a12255bb7ec Merge succeeded, producing c25eddc008dd207925a0f3fb3c984a12255bb7ec Checking out Revision c25eddc008dd207925a0f3fb3c984a12255bb7ec (PR-80) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/jenkins-gitclient-ssh3817476404109102606.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/80/head:refs/remotes/origin/PR-80 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c25eddc008dd207925a0f3fb3c984a12255bb7ec # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/jenkins-gitclient-ssh4811399978170770607.key > git merge cc243e81ba83bc35cdb4507b253464f4571e34cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c25eddc008dd207925a0f3fb3c984a12255bb7ec # timeout=10 Commit message: "ci: remove need for CI specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-17T18:44:26.373Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T18:44:26.583Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T18:44:26.699Z] ========================================================= [2021-08-17T18:44:26.699Z] EdgeX Global Pipelines Version Info [2021-08-17T18:44:26.699Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:44:28.013Z] ------------------- [2021-08-17T18:44:28.013Z] stable info: [2021-08-17T18:44:28.013Z] ------------------- [2021-08-17T18:44:28.013Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T18:44:28.013Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:44:28.013Z] Message: update stable to v1.0.205 [2021-08-17T18:44:28.599Z] ------------------- [2021-08-17T18:44:28.599Z] experimental info: [2021-08-17T18:44:28.599Z] ------------------- [2021-08-17T18:44:28.599Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T18:44:28.599Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:44:28.599Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T18:44:28.875Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-08-17T18:44:28.935Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-08-17T18:44:28.993Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T18:44:29.063Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T18:44:29.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T18:44:29.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T18:44:29.266Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T18:44:29.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T18:44:29.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T18:44:29.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T18:44:29.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T18:44:29.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T18:44:29.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2021-08-17T18:44:29.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T18:44:29.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T18:44:30.022Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:30.078Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:30.137Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:30.197Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:44:30.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T18:44:30.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T18:44:30.385Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T18:44:30.445Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T18:44:30.509Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T18:44:30.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T18:44:30.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-17T18:44:30.693Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T18:44:30.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-80 [Pipeline] echo [2021-08-17T18:44:30.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-80 [Pipeline] echo [2021-08-17T18:44:30.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-80 [Pipeline] echo [2021-08-17T18:44:30.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c25eddc008dd207925a0f3fb3c984a12255bb7ec [Pipeline] echo [2021-08-17T18:44:30.977Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c25eddc [Pipeline] echo [2021-08-17T18:44:31.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T18:44:31.662Z] + git log --format=format:%s -1 c25eddc008dd207925a0f3fb3c984a12255bb7ec [Pipeline] echo [2021-08-17T18:44:31.945Z] GIT_COMMIT: c25eddc008dd207925a0f3fb3c984a12255bb7ec, Commit Message: ci: remove need for CI specific Dockerfile [Pipeline] echo [2021-08-17T18:44:31.993Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:44:32.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:44:32.609Z] [2021-08-17T18:44:32.609Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:44:32.991Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:44:32.991Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T18:44:32.991Z] 31603596830f: Pulling fs layer [2021-08-17T18:44:32.991Z] d4622e32a9a9: Pulling fs layer [2021-08-17T18:44:32.991Z] 1030fce36090: Pulling fs layer [2021-08-17T18:44:32.991Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T18:44:32.991Z] 6c6cb7e1b49b: Waiting [2021-08-17T18:44:32.991Z] d4622e32a9a9: Verifying Checksum [2021-08-17T18:44:32.991Z] d4622e32a9a9: Download complete [2021-08-17T18:44:33.263Z] 31603596830f: Verifying Checksum [2021-08-17T18:44:33.263Z] 31603596830f: Download complete [2021-08-17T18:44:33.536Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T18:44:33.536Z] 6c6cb7e1b49b: Download complete [2021-08-17T18:44:33.536Z] 31603596830f: Pull complete [2021-08-17T18:44:33.536Z] d4622e32a9a9: Pull complete [2021-08-17T18:44:33.814Z] 1030fce36090: Download complete [2021-08-17T18:44:34.418Z] 1030fce36090: Pull complete [2021-08-17T18:44:34.418Z] 6c6cb7e1b49b: Pull complete [2021-08-17T18:44:34.418Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T18:44:34.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:44:34.418Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T18:44:34.567Z] prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container [2021-08-17T18:44:34.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-80 -v /w/workspace/gexfoundry_go-mod-registry_PR-80:/w/workspace/gexfoundry_go-mod-registry_PR-80:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T18:44:35.452Z] $ docker top cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T18:44:35.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:44:35.695Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:44:35.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:44:35.820Z] $ docker exec cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 ssh-agent [2021-08-17T18:44:35.943Z] SSH_AUTH_SOCK=/tmp/ssh-ez1j8K4F0c5P/agent.13 [2021-08-17T18:44:35.943Z] SSH_AGENT_PID=20 [2021-08-17T18:44:35.958Z] Running ssh-add (command line suppressed) [2021-08-17T18:44:36.054Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/private_key_6405210831530266029.key (/w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/private_key_6405210831530266029.key) [2021-08-17T18:44:36.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:44:36.678Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T18:44:36.707Z] $ docker exec --env ******** --env ******** cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 ssh-agent -k [2021-08-17T18:44:36.803Z] unset SSH_AUTH_SOCK; [2021-08-17T18:44:36.804Z] unset SSH_AGENT_PID; [2021-08-17T18:44:36.804Z] echo Agent pid 20 killed; [2021-08-17T18:44:36.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T18:44:36.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:44:36.923Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:44:37.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:44:37.050Z] $ docker exec cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 ssh-agent [2021-08-17T18:44:37.174Z] SSH_AUTH_SOCK=/tmp/ssh-Afk8m40Yf6Zm/agent.52 [2021-08-17T18:44:37.174Z] SSH_AGENT_PID=59 [2021-08-17T18:44:37.186Z] Running ssh-add (command line suppressed) [2021-08-17T18:44:37.279Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/private_key_3477666246776323494.key (/w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/private_key_3477666246776323494.key) [2021-08-17T18:44:37.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:44:37.686Z] + git semver init [2021-08-17T18:44:37.686Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T18:44:37.686Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-80/.git [2021-08-17T18:44:37.686Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-80 [2021-08-17T18:44:37.686Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T18:44:37.686Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T18:44:37.686Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T18:44:37.686Z] # $SEMVER_BRANCH = PR-80 [2021-08-17T18:44:37.686Z] # $SEMVER_TEMP = /tmp/semver-123780213 [2021-08-17T18:44:37.686Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-08-17T18:44:37.962Z] # '/tmp/semver-123780213' -> '/w/workspace/gexfoundry_go-mod-registry_PR-80/.semver' [2021-08-17T18:44:37.962Z] # -> Force: false [2021-08-17T18:44:37.962Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-80/.semver [Pipeline] } [2021-08-17T18:44:37.985Z] $ docker exec --env ******** --env ******** cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 ssh-agent -k [2021-08-17T18:44:38.079Z] unset SSH_AUTH_SOCK; [2021-08-17T18:44:38.080Z] unset SSH_AGENT_PID; [2021-08-17T18:44:38.080Z] echo Agent pid 59 killed; [2021-08-17T18:44:38.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T18:44:38.734Z] + git semver [Pipeline] } [2021-08-17T18:44:38.781Z] $ docker stop --time=1 cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 [2021-08-17T18:44:39.989Z] $ docker rm -f cfeccd12b9fe043f3e2b184aa5acf23cd60e0f83df5bf58a5c4c2d235b3b7ac3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:44:40.492Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T18:44:40.971Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T18:44:41.004Z] [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-08-17T18:44:56.685Z] Still waiting to schedule task [2021-08-17T18:44:56.685Z] ‘prd-centos7-docker-4c-2g-1084’ is offline [2021-08-17T18:44:56.685Z] ‘prd-centos7-docker-4c-2g-1085’ is offline [2021-08-17T18:44:56.685Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1057’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:56.685Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:56.685Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1071’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:56.685Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1079’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:44:56.717Z] Still waiting to schedule task [2021-08-17T18:44:56.717Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-17T19:00:40.743Z] Running on prd-centos7-docker-4c-2g-2443 in /w/workspace/gexfoundry_go-mod-registry_PR-80 [Pipeline] { [Pipeline] ws [2021-08-17T19:00:40.808Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-08-17T19:00:40.967Z] Selected Git installation does not exist. Using Default [2021-08-17T19:00:40.967Z] The recommended git tool is: NONE [2021-08-17T19:00:44.316Z] using credential edgex-jenkins-ssh [2021-08-17T19:00:44.331Z] Cloning the remote Git repository [2021-08-17T19:00:43.759Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T19:00:43.836Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-08-17T19:00:43.876Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T19:00:43.876Z] > git --version # timeout=10 [2021-08-17T19:00:43.883Z] > git --version # 'git version 2.24.4' [2021-08-17T19:00:43.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:00:43.918Z] [INFO] Currently running in a labeled security context [2021-08-17T19:00:43.918Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T19:00:43.918Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh73553349833368621.key [2021-08-17T19:00:43.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:00:44.499Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-08-17T19:00:44.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:00:44.526Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-08-17T19:00:44.551Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T19:00:44.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:00:44.552Z] [INFO] Currently running in a labeled security context [2021-08-17T19:00:44.553Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T19:00:44.553Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh2489858683629384273.key [2021-08-17T19:00:44.561Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/80/head:refs/remotes/origin/PR-80 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T19:00:45.573Z] Merging remotes/origin/main commit cc243e81ba83bc35cdb4507b253464f4571e34cd into PR head commit c25eddc008dd207925a0f3fb3c984a12255bb7ec [2021-08-17T19:00:45.676Z] Merge succeeded, producing c25eddc008dd207925a0f3fb3c984a12255bb7ec [2021-08-17T19:00:45.677Z] Checking out Revision c25eddc008dd207925a0f3fb3c984a12255bb7ec (PR-80) [2021-08-17T19:00:45.079Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:00:45.089Z] > git checkout -f c25eddc008dd207925a0f3fb3c984a12255bb7ec # timeout=10 [2021-08-17T19:00:45.131Z] > git remote # timeout=10 [2021-08-17T19:00:45.138Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T19:00:45.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:00:45.151Z] [INFO] Currently running in a labeled security context [2021-08-17T19:00:45.151Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T19:00:45.152Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh4599793438596998764.key [2021-08-17T19:00:45.160Z] > git merge cc243e81ba83bc35cdb4507b253464f4571e34cd # timeout=10 [2021-08-17T19:00:45.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T19:00:45.185Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:00:45.198Z] > git checkout -f c25eddc008dd207925a0f3fb3c984a12255bb7ec # timeout=10 [2021-08-17T19:00:49.442Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T19:00:49.295Z] > git --version # timeout=10 [2021-08-17T19:00:49.301Z] > git --version # 'git version 2.24.4' [2021-08-17T19:00:49.307Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T19:00:50.263Z] ========================================================= [2021-08-17T19:00:50.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T19:00:50.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:00:50.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T19:00:50.808Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T19:00:50.808Z] 540db60ca938: Pulling fs layer [2021-08-17T19:00:50.808Z] adcc1eea9eea: Pulling fs layer [2021-08-17T19:00:50.808Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T19:00:50.808Z] db62176df00c: Pulling fs layer [2021-08-17T19:00:50.808Z] 3b30891b0d05: Pulling fs layer [2021-08-17T19:00:50.808Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T19:00:50.808Z] c788192a36de: Pulling fs layer [2021-08-17T19:00:50.808Z] a77e37c0d609: Pulling fs layer [2021-08-17T19:00:50.808Z] c3185cebc471: Pulling fs layer [2021-08-17T19:00:50.808Z] 06b49ca38bd5: Waiting [2021-08-17T19:00:50.808Z] c788192a36de: Waiting [2021-08-17T19:00:50.808Z] a77e37c0d609: Waiting [2021-08-17T19:00:50.808Z] c3185cebc471: Waiting [2021-08-17T19:00:50.808Z] db62176df00c: Waiting [2021-08-17T19:00:50.808Z] 3b30891b0d05: Waiting [2021-08-17T19:00:50.808Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T19:00:50.808Z] 4c4ab2625f07: Download complete [2021-08-17T19:00:51.078Z] adcc1eea9eea: Verifying Checksum [2021-08-17T19:00:51.078Z] adcc1eea9eea: Download complete [2021-08-17T19:00:51.078Z] 3b30891b0d05: Verifying Checksum [2021-08-17T19:00:51.078Z] 3b30891b0d05: Download complete [2021-08-17T19:00:51.078Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T19:00:51.078Z] 06b49ca38bd5: Download complete [2021-08-17T19:00:51.078Z] c788192a36de: Verifying Checksum [2021-08-17T19:00:51.078Z] c788192a36de: Download complete [2021-08-17T19:00:51.371Z] 540db60ca938: Verifying Checksum [2021-08-17T19:00:51.371Z] 540db60ca938: Download complete [2021-08-17T19:00:51.371Z] 540db60ca938: Pull complete [2021-08-17T19:00:51.638Z] adcc1eea9eea: Pull complete [2021-08-17T19:00:51.638Z] 4c4ab2625f07: Pull complete [2021-08-17T19:00:51.638Z] a77e37c0d609: Verifying Checksum [2021-08-17T19:00:51.638Z] a77e37c0d609: Download complete [2021-08-17T19:00:58.286Z] c3185cebc471: Verifying Checksum [2021-08-17T19:00:58.286Z] c3185cebc471: Download complete [2021-08-17T19:00:58.880Z] db62176df00c: Verifying Checksum [2021-08-17T19:00:58.880Z] db62176df00c: Download complete [2021-08-17T19:01:02.257Z] db62176df00c: Pull complete [2021-08-17T19:01:02.257Z] 3b30891b0d05: Pull complete [2021-08-17T19:01:02.257Z] 06b49ca38bd5: Pull complete [2021-08-17T19:01:02.257Z] c788192a36de: Pull complete [2021-08-17T19:01:02.526Z] a77e37c0d609: Pull complete [2021-08-17T19:01:04.490Z] c3185cebc471: Pull complete [2021-08-17T19:01:04.490Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T19:01:04.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T19:01:04.490Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-17T19:01:04.907Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:01:05.280Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T19:01:05.281Z] . [Pipeline] withDockerContainer [2021-08-17T19:01:05.428Z] prd-centos7-docker-4c-2g-2443 does not seem to be running inside a container [2021-08-17T19:01:05.497Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T19:01:07.259Z] $ docker top 98d3d018cdccb3d034addedf1883d4b4b8ea51a12ddabf68c320e65706fac9d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:01:07.739Z] + go version [2021-08-17T19:01:07.739Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T19:01:07.774Z] $ docker stop --time=1 98d3d018cdccb3d034addedf1883d4b4b8ea51a12ddabf68c320e65706fac9d8 [2021-08-17T19:01:08.960Z] $ docker rm -f 98d3d018cdccb3d034addedf1883d4b4b8ea51a12ddabf68c320e65706fac9d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:01:09.743Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T19:01:09.743Z] . [Pipeline] withDockerContainer [2021-08-17T19:01:09.871Z] prd-centos7-docker-4c-2g-2443 does not seem to be running inside a container [2021-08-17T19:01:09.939Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T19:01:10.319Z] $ docker top f641cac9803a479c311a98920201606ab88cb2749ba8f666f660df97d913d220 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:01:10.834Z] + go mod tidy [2021-08-17T19:01:11.432Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-08-17T19:01:11.432Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T19:01:11.432Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T19:01:11.432Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-17T19:01:11.432Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-17T19:01:11.432Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-17T19:01:11.432Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T19:01:11.432Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-08-17T19:01:12.014Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T19:01:12.014Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T19:01:12.014Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T19:01:12.014Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T19:01:12.014Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T19:01:12.014Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-17T19:01:12.014Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-17T19:01:12.014Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-17T19:01:12.014Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T19:01:12.014Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T19:01:12.014Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T19:01:12.014Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T19:01:12.014Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-17T19:01:12.014Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T19:01:12.014Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-08-17T19:01:12.284Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T19:01:12.284Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T19:01:12.284Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T19:01:12.284Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-17T19:01:12.284Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-17T19:01:12.284Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-17T19:01:12.284Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-17T19:01:12.284Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T19:01:12.284Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-17T19:01:12.284Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-17T19:01:12.284Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T19:01:12.284Z] go: downloading golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392 [2021-08-17T19:01:12.625Z] go: downloading golang.org/x/net v0.0.0-20190923162816-aa69164e4478 [2021-08-17T19:01:12.899Z] go: downloading github.com/kr/text v0.1.0 [Pipeline] sh [2021-08-17T19:01:13.881Z] + make test [2021-08-17T19:01:13.881Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-17T19:01:26.284Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.019s coverage: 83.6% of statements [2021-08-17T19:01:26.284Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-08-17T19:01:26.284Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.004s coverage: 85.7% of statements [2021-08-17T19:01:26.284Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-08-17T19:01:26.284Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-17T19:01:29.681Z] gofmt -l . [2021-08-17T19:01:29.681Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-17T19:01:29.714Z] $ docker stop --time=1 f641cac9803a479c311a98920201606ab88cb2749ba8f666f660df97d913d220 [2021-08-17T19:01:31.280Z] $ docker rm -f f641cac9803a479c311a98920201606ab88cb2749ba8f666f660df97d913d220 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T19:01:31.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T19:01:32.103Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:01:33.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:01:33.161Z] [2021-08-17T19:01:33.161Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:01:33.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:01:33.557Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T19:01:33.557Z] b4d181a07f80: Pulling fs layer [2021-08-17T19:01:33.557Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T19:01:33.557Z] ed53099fbce6: Pulling fs layer [2021-08-17T19:01:33.557Z] dc539afda2c1: Pulling fs layer [2021-08-17T19:01:33.557Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T19:01:33.557Z] 9065ff56babe: Pulling fs layer [2021-08-17T19:01:33.557Z] d287ab97295c: Pulling fs layer [2021-08-17T19:01:33.557Z] dc539afda2c1: Waiting [2021-08-17T19:01:33.557Z] 77bc0d833cb6: Waiting [2021-08-17T19:01:33.557Z] 9065ff56babe: Waiting [2021-08-17T19:01:33.557Z] d287ab97295c: Waiting [2021-08-17T19:01:33.823Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T19:01:33.823Z] a1111a8f2ec3: Download complete [2021-08-17T19:01:34.093Z] dc539afda2c1: Verifying Checksum [2021-08-17T19:01:34.093Z] dc539afda2c1: Download complete [2021-08-17T19:01:34.360Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T19:01:34.360Z] 77bc0d833cb6: Download complete [2021-08-17T19:01:34.360Z] 9065ff56babe: Verifying Checksum [2021-08-17T19:01:34.360Z] 9065ff56babe: Download complete [2021-08-17T19:01:34.627Z] ed53099fbce6: Verifying Checksum [2021-08-17T19:01:34.627Z] ed53099fbce6: Download complete [2021-08-17T19:01:35.598Z] b4d181a07f80: Verifying Checksum [2021-08-17T19:01:35.598Z] b4d181a07f80: Download complete [2021-08-17T19:01:36.615Z] b4d181a07f80: Pull complete [2021-08-17T19:01:36.890Z] a1111a8f2ec3: Pull complete [2021-08-17T19:01:37.159Z] ed53099fbce6: Pull complete [2021-08-17T19:01:37.159Z] dc539afda2c1: Pull complete [2021-08-17T19:01:37.431Z] 77bc0d833cb6: Pull complete [2021-08-17T19:01:37.431Z] 9065ff56babe: Pull complete [2021-08-17T19:01:47.800Z] d287ab97295c: Verifying Checksum [2021-08-17T19:01:47.800Z] d287ab97295c: Download complete [2021-08-17T19:01:50.424Z] d287ab97295c: Pull complete [2021-08-17T19:01:50.424Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T19:01:50.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:01:50.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T19:01:50.639Z] prd-centos7-docker-4c-2g-2443 does not seem to be running inside a container [2021-08-17T19:01:50.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T19:01:53.250Z] $ docker top 70a9c6f098a47a719bc3e55c766b4e66b52b86d2cd286a175fffbaf0edeea06e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:01:54.032Z] ---> job-cost.sh [2021-08-17T19:01:54.032Z] lf-activate-venv: SKIPPING [2021-08-17T19:01:54.032Z] INFO: No Stack... [2021-08-17T19:01:54.544Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T19:01:54.814Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T19:01:55.187Z] + cut -d, -f6 [2021-08-17T19:01:55.188Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [Pipeline] lock [2021-08-17T19:01:55.256Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] [2021-08-17T19:01:55.262Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] did not exist. Created. [2021-08-17T19:01:55.262Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T19:01:55.723Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T19:01:55.782Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T19:01:55.810Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T19:01:55.899Z] $ docker stop --time=1 70a9c6f098a47a719bc3e55c766b4e66b52b86d2cd286a175fffbaf0edeea06e [2021-08-17T19:01:57.046Z] $ docker rm -f 70a9c6f098a47a719bc3e55c766b4e66b52b86d2cd286a175fffbaf0edeea06e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T19:12:35.196Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3050 in /w/workspace/gexfoundry_go-mod-registry_PR-80 [Pipeline] { [Pipeline] ws [2021-08-17T19:12:35.325Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-08-17T19:12:35.664Z] Selected Git installation does not exist. Using Default [2021-08-17T19:12:35.664Z] The recommended git tool is: NONE [2021-08-17T19:12:43.266Z] using credential edgex-jenkins-ssh [2021-08-17T19:12:43.287Z] Cloning the remote Git repository [2021-08-17T19:12:43.390Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T19:12:43.581Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-08-17T19:12:43.702Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T19:12:43.703Z] > git --version # timeout=10 [2021-08-17T19:12:43.755Z] > git --version # 'git version 2.17.1' [2021-08-17T19:12:43.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:12:43.835Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:12:45.636Z] Merging remotes/origin/main commit cc243e81ba83bc35cdb4507b253464f4571e34cd into PR head commit c25eddc008dd207925a0f3fb3c984a12255bb7ec [2021-08-17T19:12:45.910Z] Merge succeeded, producing c25eddc008dd207925a0f3fb3c984a12255bb7ec [2021-08-17T19:12:45.910Z] Checking out Revision c25eddc008dd207925a0f3fb3c984a12255bb7ec (PR-80) [2021-08-17T19:12:44.846Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-08-17T19:12:44.879Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:12:44.914Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-08-17T19:12:44.975Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T19:12:44.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:12:44.995Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/80/head:refs/remotes/origin/PR-80 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T19:12:45.672Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:12:45.695Z] > git checkout -f c25eddc008dd207925a0f3fb3c984a12255bb7ec # timeout=10 [2021-08-17T19:12:45.805Z] > git remote # timeout=10 [2021-08-17T19:12:45.829Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T19:12:45.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:12:45.863Z] > git merge cc243e81ba83bc35cdb4507b253464f4571e34cd # timeout=10 [2021-08-17T19:12:45.895Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T19:12:45.926Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:12:45.948Z] > git checkout -f c25eddc008dd207925a0f3fb3c984a12255bb7ec # timeout=10 [2021-08-17T19:12:50.650Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T19:12:50.740Z] > git --version # timeout=10 [2021-08-17T19:12:50.754Z] > git --version # 'git version 2.17.1' [2021-08-17T19:12:50.770Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T19:12:51.769Z] ========================================================= [2021-08-17T19:12:51.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T19:12:51.769Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:12:52.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T19:12:53.923Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T19:12:53.923Z] 595b0fe564bb: Pulling fs layer [2021-08-17T19:12:53.923Z] 24495759ef45: Pulling fs layer [2021-08-17T19:12:53.923Z] d148012ef14d: Pulling fs layer [2021-08-17T19:12:53.923Z] e90a11edd702: Pulling fs layer [2021-08-17T19:12:53.923Z] d77568369979: Pulling fs layer [2021-08-17T19:12:53.923Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T19:12:53.923Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T19:12:53.923Z] 97ac5df62f85: Pulling fs layer [2021-08-17T19:12:53.923Z] e90a11edd702: Waiting [2021-08-17T19:12:53.923Z] d77568369979: Waiting [2021-08-17T19:12:53.923Z] fc1c9f9a7f3b: Waiting [2021-08-17T19:12:53.923Z] 170f2ba95c9a: Waiting [2021-08-17T19:12:53.923Z] 97ac5df62f85: Waiting [2021-08-17T19:12:53.923Z] d148012ef14d: Verifying Checksum [2021-08-17T19:12:53.923Z] d148012ef14d: Download complete [2021-08-17T19:12:53.923Z] 24495759ef45: Download complete [2021-08-17T19:12:53.923Z] d77568369979: Download complete [2021-08-17T19:12:53.923Z] fc1c9f9a7f3b: Download complete [2021-08-17T19:12:53.923Z] 170f2ba95c9a: Verifying Checksum [2021-08-17T19:12:53.923Z] 170f2ba95c9a: Download complete [2021-08-17T19:12:54.204Z] 595b0fe564bb: Download complete [2021-08-17T19:12:55.206Z] 595b0fe564bb: Pull complete [2021-08-17T19:12:55.808Z] 24495759ef45: Pull complete [2021-08-17T19:12:56.088Z] d148012ef14d: Pull complete [2021-08-17T19:12:58.093Z] 97ac5df62f85: Download complete [2021-08-17T19:12:58.794Z] e90a11edd702: Verifying Checksum [2021-08-17T19:12:58.795Z] e90a11edd702: Download complete [2021-08-17T19:13:11.274Z] e90a11edd702: Pull complete [2021-08-17T19:13:11.274Z] d77568369979: Pull complete [2021-08-17T19:13:11.549Z] fc1c9f9a7f3b: Pull complete [2021-08-17T19:13:12.152Z] 170f2ba95c9a: Pull complete [2021-08-17T19:13:17.593Z] 97ac5df62f85: Pull complete [2021-08-17T19:13:17.593Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T19:13:17.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T19:13:17.593Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-17T19:13:18.207Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:13:18.595Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:13:18.595Z] . [Pipeline] withDockerContainer [2021-08-17T19:13:18.864Z] prd-ubuntu18.04-docker-arm64-4c-16g-3050 does not seem to be running inside a container [2021-08-17T19:13:18.966Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:13:31.368Z] $ docker top 71e0b24c3211bf07ba0cf9d9d9097b59b95d1f9d65bed03266773641a5e40564 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:13:32.374Z] + go version [2021-08-17T19:13:32.375Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T19:13:32.420Z] $ docker stop --time=1 71e0b24c3211bf07ba0cf9d9d9097b59b95d1f9d65bed03266773641a5e40564 [2021-08-17T19:13:34.354Z] $ docker rm -f 71e0b24c3211bf07ba0cf9d9d9097b59b95d1f9d65bed03266773641a5e40564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:13:35.313Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:13:35.313Z] . [Pipeline] withDockerContainer [2021-08-17T19:13:35.592Z] prd-ubuntu18.04-docker-arm64-4c-16g-3050 does not seem to be running inside a container [2021-08-17T19:13:35.690Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:13:37.351Z] $ docker top 5a9698b05dfaea0f34c4e9c63079500db9e35ffeef688de7c3d46aa904291ca9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:13:38.426Z] + go mod tidy [2021-08-17T19:13:39.871Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T19:13:39.871Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-08-17T19:13:40.155Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T19:13:40.155Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T19:13:40.155Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T19:13:40.155Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T19:13:40.435Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T19:13:40.435Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-17T19:13:40.435Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-17T19:13:40.435Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-17T19:13:40.435Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T19:13:40.435Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-08-17T19:13:40.435Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T19:13:40.721Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T19:13:40.721Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T19:13:40.721Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-17T19:13:40.721Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-17T19:13:40.721Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-17T19:13:40.721Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T19:13:40.721Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-17T19:13:40.721Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T19:13:40.721Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-08-17T19:13:40.721Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T19:13:40.721Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T19:13:41.003Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-17T19:13:41.003Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T19:13:41.003Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T19:13:41.003Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T19:13:41.003Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-17T19:13:41.280Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-17T19:13:41.280Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-17T19:13:41.280Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-17T19:13:41.280Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T19:13:41.565Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-17T19:13:41.565Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T19:13:41.566Z] go: downloading golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392 [2021-08-17T19:13:41.566Z] go: downloading golang.org/x/net v0.0.0-20190923162816-aa69164e4478 [Pipeline] sh [2021-08-17T19:13:43.282Z] + make test [2021-08-17T19:13:43.282Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-17T19:14:22.704Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.100s coverage: 83.6% of statements [2021-08-17T19:14:22.704Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-08-17T19:14:22.704Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.017s coverage: 85.7% of statements [2021-08-17T19:14:22.704Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-08-17T19:14:22.704Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-17T19:14:49.607Z] gofmt -l . [2021-08-17T19:14:49.607Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-17T19:14:49.660Z] $ docker stop --time=1 5a9698b05dfaea0f34c4e9c63079500db9e35ffeef688de7c3d46aa904291ca9 [2021-08-17T19:14:51.928Z] $ docker rm -f 5a9698b05dfaea0f34c4e9c63079500db9e35ffeef688de7c3d46aa904291ca9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T19:14:53.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T19:14:53.533Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T19:14:54.331Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:14:55.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:14:55.485Z] [2021-08-17T19:14:55.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:14:55.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:14:56.202Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T19:14:56.202Z] 448f6bf000e3: Pulling fs layer [2021-08-17T19:14:56.202Z] f757da607395: Pulling fs layer [2021-08-17T19:14:56.202Z] 05883995daec: Pulling fs layer [2021-08-17T19:14:56.202Z] 8603b9c90790: Pulling fs layer [2021-08-17T19:14:56.202Z] 1560dd03e051: Pulling fs layer [2021-08-17T19:14:56.202Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T19:14:56.202Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T19:14:56.202Z] 8603b9c90790: Waiting [2021-08-17T19:14:56.202Z] 1560dd03e051: Waiting [2021-08-17T19:14:56.202Z] 27f5ce0e4adf: Waiting [2021-08-17T19:14:56.202Z] c2d8d7efcc4b: Waiting [2021-08-17T19:14:56.489Z] f757da607395: Verifying Checksum [2021-08-17T19:14:56.489Z] f757da607395: Download complete [2021-08-17T19:14:56.489Z] 8603b9c90790: Verifying Checksum [2021-08-17T19:14:56.489Z] 8603b9c90790: Download complete [2021-08-17T19:14:56.773Z] 1560dd03e051: Verifying Checksum [2021-08-17T19:14:56.773Z] 1560dd03e051: Download complete [2021-08-17T19:14:56.773Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T19:14:56.773Z] 27f5ce0e4adf: Download complete [2021-08-17T19:14:58.223Z] 05883995daec: Verifying Checksum [2021-08-17T19:14:58.223Z] 05883995daec: Download complete [2021-08-17T19:14:58.824Z] 448f6bf000e3: Download complete [2021-08-17T19:15:02.246Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T19:15:02.246Z] c2d8d7efcc4b: Download complete [2021-08-17T19:15:02.521Z] 448f6bf000e3: Pull complete [2021-08-17T19:15:03.130Z] f757da607395: Pull complete [2021-08-17T19:15:05.132Z] 05883995daec: Pull complete [2021-08-17T19:15:05.418Z] 8603b9c90790: Pull complete [2021-08-17T19:15:06.427Z] 1560dd03e051: Pull complete [2021-08-17T19:15:07.027Z] 27f5ce0e4adf: Pull complete [2021-08-17T19:15:22.185Z] c2d8d7efcc4b: Pull complete [2021-08-17T19:15:22.462Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T19:15:22.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:15:22.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T19:15:22.820Z] prd-ubuntu18.04-docker-arm64-4c-16g-3050 does not seem to be running inside a container [2021-08-17T19:15:22.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-17T19:15:29.518Z] $ docker top 7b2303b100e9c4e188445ea654b8c1fa3db753b124c293aa884cd233e686221e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:30.713Z] ---> job-cost.sh [2021-08-17T19:15:30.713Z] lf-activate-venv: SKIPPING [2021-08-17T19:15:30.713Z] INFO: No Stack... [2021-08-17T19:15:31.315Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T19:15:31.912Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T19:15:32.609Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2021-08-17T19:15:32.609Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T19:15:32.712Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] [2021-08-17T19:15:32.720Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] did not exist. Created. [2021-08-17T19:15:32.720Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T19:15:33.525Z] /w/workspace/go-mod-registry/1@tmp/durable-8014e5d6/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-8014e5d6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T19:15:34.359Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T19:15:34.405Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T19:15:34.455Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T19:15:34.479Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-80-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T19:15:34.605Z] $ docker stop --time=1 7b2303b100e9c4e188445ea654b8c1fa3db753b124c293aa884cd233e686221e [2021-08-17T19:15:36.411Z] $ docker rm -f 7b2303b100e9c4e188445ea654b8c1fa3db753b124c293aa884cd233e686221e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-08-17T19:15:37.708Z] provisioning config files... [2021-08-17T19:15:37.728Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/config3743425124480220035tmp [Pipeline] { [Pipeline] sh [2021-08-17T19:15:38.098Z] + set +x [2021-08-17T19:15:38.098Z] + curl -s https://codecov.io/bash [2021-08-17T19:15:38.098Z] + bash -s -- [2021-08-17T19:15:38.098Z] [2021-08-17T19:15:38.098Z] _____ _ [2021-08-17T19:15:38.098Z] / ____| | | [2021-08-17T19:15:38.098Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T19:15:38.098Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T19:15:38.098Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T19:15:38.098Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T19:15:38.098Z] Bash-1.0.6 [2021-08-17T19:15:38.098Z] [2021-08-17T19:15:38.098Z] [2021-08-17T19:15:38.098Z] ==> git version 2.24.4 found [2021-08-17T19:15:38.098Z] ==> 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-08-17T19:15:38.098Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T19:15:38.098Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T19:15:38.098Z] ==> Jenkins CI detected. [2021-08-17T19:15:38.098Z] current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-80 [2021-08-17T19:15:38.098Z] project root: . [2021-08-17T19:15:38.098Z] --> token set from env [2021-08-17T19:15:38.098Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T19:15:38.098Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T19:15:38.098Z] ==> Python coveragepy not found [2021-08-17T19:15:38.098Z] ==> Searching for coverage reports in: [2021-08-17T19:15:38.098Z] + . [2021-08-17T19:15:38.098Z] -> Found 1 reports [2021-08-17T19:15:38.098Z] ==> Detecting git/mercurial file structure [2021-08-17T19:15:38.364Z] ==> Reading reports [2021-08-17T19:15:38.364Z] + ./coverage.out bytes=10197 [2021-08-17T19:15:38.364Z] ==> Appending adjustments [2021-08-17T19:15:38.364Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T19:15:38.364Z] + Found adjustments [2021-08-17T19:15:38.364Z] ==> Gzipping contents [2021-08-17T19:15:38.364Z] 4.0K /tmp/codecov.vpI0SA.gz [2021-08-17T19:15:38.364Z] ==> Uploading reports [2021-08-17T19:15:38.364Z] url: https://codecov.io [2021-08-17T19:15:38.364Z] query: branch=PR-80&commit=c25eddc008dd207925a0f3fb3c984a12255bb7ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-80%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=80&job=&cmd_args= [2021-08-17T19:15:38.364Z] -> Pinging Codecov [2021-08-17T19:15:38.364Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=PR-80&commit=c25eddc008dd207925a0f3fb3c984a12255bb7ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-80%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=80&job=&cmd_args= [2021-08-17T19:15:38.636Z] -> Uploading to [2021-08-17T19:15:38.636Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-17/05B643FFA8DEACB6C25F95B2D4D12284/c25eddc008dd207925a0f3fb3c984a12255bb7ec/196243e9-39c5-4e86-8d00-4fb0cc5efb05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T191538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e42f74eff9585fef40db7deb48a925817d7c4fd1cdb321ce6c116bd51aa74fb [2021-08-17T19:15:38.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T19:15:38.636Z] Dload Upload Total Spent Left Speed [2021-08-17T19:15:38.901Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1965 0 0 100 1965 0 5420 --:--:-- --:--:-- --:--:-- 5428 [2021-08-17T19:15:38.901Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/c25eddc008dd207925a0f3fb3c984a12255bb7ec [Pipeline] } [2021-08-17T19:15:38.929Z] 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] sh [2021-08-17T19:15:40.950Z] + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-80/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:41.321Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:41.961Z] ---> package-listing.sh [2021-08-17T19:15:41.961Z] ++ facter osfamily [2021-08-17T19:15:41.961Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T19:15:42.227Z] + OS_FAMILY=redhat [2021-08-17T19:15:42.227Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-80 [2021-08-17T19:15:42.227Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T19:15:42.227Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T19:15:42.227Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T19:15:42.227Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T19:15:42.227Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-80 ']' [2021-08-17T19:15:42.227Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T19:15:42.227Z] + case "${OS_FAMILY}" in [2021-08-17T19:15:42.227Z] + sort [2021-08-17T19:15:42.227Z] + rpm -qa [2021-08-17T19:15:42.808Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T19:15:42.808Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T19:15:42.808Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T19:15:42.808Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-80 ']' [2021-08-17T19:15:42.808Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-80/archives/ [2021-08-17T19:15:42.808Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-80/archives/ [Pipeline] echo [2021-08-17T19:15:42.847Z] 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-80/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-17T19:15:43.381Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:15:43.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:15:43.763Z] [2021-08-17T19:15:43.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:15:44.144Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:15:44.144Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T19:15:44.144Z] b4d181a07f80: Pulling fs layer [2021-08-17T19:15:44.144Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T19:15:44.144Z] ed53099fbce6: Pulling fs layer [2021-08-17T19:15:44.144Z] dc539afda2c1: Pulling fs layer [2021-08-17T19:15:44.144Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T19:15:44.144Z] 9065ff56babe: Pulling fs layer [2021-08-17T19:15:44.144Z] d287ab97295c: Pulling fs layer [2021-08-17T19:15:44.144Z] 77bc0d833cb6: Waiting [2021-08-17T19:15:44.144Z] 9065ff56babe: Waiting [2021-08-17T19:15:44.144Z] d287ab97295c: Waiting [2021-08-17T19:15:44.144Z] dc539afda2c1: Waiting [2021-08-17T19:15:44.411Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T19:15:44.411Z] a1111a8f2ec3: Download complete [2021-08-17T19:15:44.411Z] dc539afda2c1: Verifying Checksum [2021-08-17T19:15:44.411Z] dc539afda2c1: Download complete [2021-08-17T19:15:44.675Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T19:15:44.675Z] 77bc0d833cb6: Download complete [2021-08-17T19:15:44.675Z] 9065ff56babe: Verifying Checksum [2021-08-17T19:15:44.675Z] 9065ff56babe: Download complete [2021-08-17T19:15:44.939Z] ed53099fbce6: Verifying Checksum [2021-08-17T19:15:44.939Z] ed53099fbce6: Download complete [2021-08-17T19:15:45.907Z] b4d181a07f80: Verifying Checksum [2021-08-17T19:15:45.907Z] b4d181a07f80: Download complete [2021-08-17T19:15:47.345Z] b4d181a07f80: Pull complete [2021-08-17T19:15:47.345Z] a1111a8f2ec3: Pull complete [2021-08-17T19:15:47.613Z] ed53099fbce6: Pull complete [2021-08-17T19:15:47.879Z] dc539afda2c1: Pull complete [2021-08-17T19:15:48.143Z] 77bc0d833cb6: Pull complete [2021-08-17T19:15:48.143Z] 9065ff56babe: Pull complete [2021-08-17T19:15:50.306Z] d287ab97295c: Verifying Checksum [2021-08-17T19:15:50.306Z] d287ab97295c: Download complete [2021-08-17T19:15:54.619Z] d287ab97295c: Pull complete [2021-08-17T19:15:54.619Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T19:15:54.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:15:54.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T19:15:54.754Z] prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container [2021-08-17T19:15:54.825Z] $ 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-80/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-80 -v /w/workspace/gexfoundry_go-mod-registry_PR-80:/w/workspace/gexfoundry_go-mod-registry_PR-80:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-80@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-80@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T19:15:57.080Z] $ docker top 7e73f634ed2ebe4cb0263d6346bcf4a2db00313c45c29418490e0615f1b891e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:15:57.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T19:15:57.893Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T19:15:58.240Z] + ls /var/log/sa-host [2021-08-17T19:15:58.240Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T19:15:58.240Z] file_magic: OK [2021-08-17T19:15:58.240Z] HZ: Using current value: 100 [2021-08-17T19:15:58.240Z] file_header: OK [2021-08-17T19:15:58.240Z] 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-08-17T19:15:58.240Z] Statistics: [2021-08-17T19:15:58.240Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:15:58.240Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T19:15:58.240Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T19:15:58.240Z] file_magic: OK [2021-08-17T19:15:58.240Z] HZ: Using current value: 100 [2021-08-17T19:15:58.240Z] file_header: OK [2021-08-17T19:15:58.240Z] 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-08-17T19:15:58.240Z] Statistics: [2021-08-17T19:15:58.240Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:15:58.240Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T19:15:58.475Z] provisioning config files... [2021-08-17T19:15:58.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-80@tmp/config7153289967756633397tmp [Pipeline] { [Pipeline] echo [2021-08-17T19:15:58.555Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:58.912Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T19:15:58.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:59.481Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T19:15:59.536Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:15:59.921Z] ---> sudo-logs.sh [2021-08-17T19:15:59.922Z] Archiving 'sudo' log.. [2021-08-17T19:15:59.922Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1076.vexxhost.local: Name or service not known [2021-08-17T19:15:59.922Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1076.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T19:16:00.005Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:00.361Z] ---> job-cost.sh [2021-08-17T19:16:00.361Z] lf-activate-venv: SKIPPING [2021-08-17T19:16:00.361Z] DEBUG: total: 0.18000000715255737 [2021-08-17T19:16:00.361Z] INFO: Retrieving Stack Cost... [2021-08-17T19:16:01.321Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T19:16:01.594Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T19:16:01.637Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:16:01.996Z] ---> logs-deploy.sh [2021-08-17T19:16:01.996Z] lf-activate-venv: SKIPPING [2021-08-17T19:16:01.996Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-80/1 [2021-08-17T19:16:01.996Z] INFO: archiving workspace using pattern(s): [2021-08-17T19:16:02.585Z] Archives upload complete. [2021-08-17T19:16:02.850Z] INFO: archiving logs to Nexus