Pull request #95 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 bnevis-i for edgexfoundry/go-mod-registry Obtained Jenkinsfile from 4863bf5596a337a08dc82d014a0705d1bc6be8bb+701dbf025da75315bacd470193a43cbff08e44d9 (8880d27e0b11121c97dcd94744145e80767389f5) 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-ssh10889381848891535822.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh12628773443759802909.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-95/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-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2107149885719168263.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-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5988122019196844196.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh4389377751477456441.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-95/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-95/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14156066842846023615.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 7a502be46133bd83b74f613648f1d59e9d9e8641 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 USE_ALPINE: true 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1284 in /w/workspace/gexfoundry_go-mod-registry_PR-95 [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-95 # 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-95@tmp/jenkins-gitclient-ssh1268483574652487108.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 701dbf025da75315bacd470193a43cbff08e44d9 into PR head commit 4863bf5596a337a08dc82d014a0705d1bc6be8bb Merge succeeded, producing 4863bf5596a337a08dc82d014a0705d1bc6be8bb Checking out Revision 4863bf5596a337a08dc82d014a0705d1bc6be8bb (PR-95) > 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-95@tmp/jenkins-gitclient-ssh6603890711493572681.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # 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-95@tmp/jenkins-gitclient-ssh7872749181790100007.key > git merge 701dbf025da75315bacd470193a43cbff08e44d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:53:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:53:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:53:01 ========================================================= 21:53:01 EdgeX Global Pipelines Version Info 21:53:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:53:02 ------------------- 21:53:02 stable info: 21:53:02 ------------------- 21:53:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:53:02 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 21:53:02 Message: update stable to v1.0.218 21:53:02 ------------------- 21:53:02 experimental info: 21:53:02 ------------------- 21:53:02 Commited By: **** collab-it+edgex@linuxfoundation.org 21:53:02 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 21:53:02 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:53:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4863bf5 [Pipeline] echo 21:53:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:53:04 + git rev-list -1 --merges 4863bf5596a337a08dc82d014a0705d1bc6be8bb~1..4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo 21:53:05 -----------> git rev-list -1 --merges 4863bf5596a337a08dc82d014a0705d1bc6be8bb~1..4863bf5596a337a08dc82d014a0705d1bc6be8bb 4863bf5596a337a08dc82d014a0705d1bc6be8bb [false] [Pipeline] sh 21:53:05 + git log --format=format:%s -1 4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo 21:53:05 ========================================================= 21:53:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:53:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:05 + git log --format=format:%s -1 4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo 21:53:05 [semverPrep] GIT_COMMIT: 4863bf5596a337a08dc82d014a0705d1bc6be8bb, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 21:53:05 [semverPrep] This is not a build commit. [Pipeline] sh 21:53:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 21:53:06 + grep -v github /etc/ssh/ssh_known_hosts 21:53:06 + '[' -e /tmp/ssh_known_hosts ']' 21:53:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:53:06 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 21:53:06 + sudo tee -a /etc/ssh/ssh_known_hosts 21:53:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:53:06 21:53:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:53:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:53:07 latest: Pulling from edgex-devops/git-semver 21:53:07 a0d0a0d46f8b: Pulling fs layer 21:53:07 3e5f54012d9b: Pulling fs layer 21:53:07 4c7163046ea9: Pulling fs layer 21:53:07 0c2d73faf560: Pulling fs layer 21:53:07 0c2d73faf560: Waiting 21:53:07 3e5f54012d9b: Verifying Checksum 21:53:07 3e5f54012d9b: Download complete 21:53:07 a0d0a0d46f8b: Verifying Checksum 21:53:07 a0d0a0d46f8b: Download complete 21:53:07 0c2d73faf560: Verifying Checksum 21:53:07 0c2d73faf560: Download complete 21:53:07 4c7163046ea9: Verifying Checksum 21:53:07 4c7163046ea9: Download complete 21:53:07 a0d0a0d46f8b: Pull complete 21:53:07 3e5f54012d9b: Pull complete 21:53:07 4c7163046ea9: Pull complete 21:53:07 0c2d73faf560: Pull complete 21:53:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:53:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:53:07 prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container 21:53:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:53:08 $ docker top 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:53:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:08 [ssh-agent] Looking for ssh-agent implementation... 21:53:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:08 $ docker exec 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent 21:53:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoNinFI/agent.15 21:53:08 SSH_AGENT_PID=21 21:53:08 Running ssh-add (command line suppressed) 21:53:08 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_6968876613145067397.key (/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_6968876613145067397.key) 21:53:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:09 + git tag --points-at HEAD [Pipeline] } 21:53:08 $ docker exec --env ******** --env ******** 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent -k 21:53:09 unset SSH_AUTH_SOCK; 21:53:09 unset SSH_AGENT_PID; 21:53:09 echo Agent pid 21 killed; 21:53:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:53:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:09 [ssh-agent] Looking for ssh-agent implementation... 21:53:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:09 $ docker exec 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent 21:53:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIAbMeM/agent.55 21:53:09 SSH_AGENT_PID=62 21:53:09 Running ssh-add (command line suppressed) 21:53:09 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_5913609611960044168.key (/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_5913609611960044168.key) 21:53:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:10 + git semver init 21:53:10 # -> Open(): unable to determine branch for HEAD 21:53:10 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-95/.git 21:53:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-95 21:53:10 # $SEMVER_REMOTE_NAME = origin 21:53:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:53:10 # $SEMVER_USER_NAME = edgex-jenkins 21:53:10 # $SEMVER_BRANCH = PR-95 21:53:10 # $SEMVER_TEMP = /tmp/semver-838189490 21:53:10 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 21:53:11 # '/tmp/semver-838189490' -> '/w/workspace/gexfoundry_go-mod-registry_PR-95/.semver' 21:53:11 # -> Force: false 21:53:11 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-95/.semver [Pipeline] } 21:53:11 $ docker exec --env ******** --env ******** 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent -k 21:53:11 unset SSH_AUTH_SOCK; 21:53:11 unset SSH_AGENT_PID; 21:53:11 echo Agent pid 62 killed; 21:53:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:53:12 + git semver [Pipeline] } 21:53:12 $ docker stop --time=1 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 21:53:13 $ docker rm -f 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:53:14 Stashed 1 file(s) [Pipeline] echo 21:53:14 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:14 ========================================================= 21:53:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:53:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:53:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:53:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:53:15 a0d0a0d46f8b: Already exists 21:53:15 31adcdaf11c8: Pulling fs layer 21:53:15 b8b176561691: Pulling fs layer 21:53:15 4527c011a84f: Pulling fs layer 21:53:15 5d74067f8e1e: Pulling fs layer 21:53:15 e0aca202a116: Pulling fs layer 21:53:15 3a43be97a3b4: Pulling fs layer 21:53:15 34cad66bf833: Pulling fs layer 21:53:15 b4e3c513aaa6: Pulling fs layer 21:53:15 5d74067f8e1e: Waiting 21:53:15 e0aca202a116: Waiting 21:53:15 3a43be97a3b4: Waiting 21:53:15 34cad66bf833: Waiting 21:53:15 b4e3c513aaa6: Waiting 21:53:15 b8b176561691: Verifying Checksum 21:53:15 b8b176561691: Download complete 21:53:15 31adcdaf11c8: Verifying Checksum 21:53:15 31adcdaf11c8: Download complete 21:53:15 5d74067f8e1e: Verifying Checksum 21:53:15 5d74067f8e1e: Download complete 21:53:15 3a43be97a3b4: Verifying Checksum 21:53:15 3a43be97a3b4: Download complete 21:53:15 e0aca202a116: Verifying Checksum 21:53:15 e0aca202a116: Download complete 21:53:15 34cad66bf833: Verifying Checksum 21:53:15 34cad66bf833: Download complete 21:53:15 31adcdaf11c8: Pull complete 21:53:15 b8b176561691: Pull complete 21:53:15 4527c011a84f: Download complete 21:53:16 b4e3c513aaa6: Verifying Checksum 21:53:16 b4e3c513aaa6: Download complete 21:53:19 4527c011a84f: Pull complete 21:53:19 5d74067f8e1e: Pull complete 21:53:19 e0aca202a116: Pull complete 21:53:19 3a43be97a3b4: Pull complete 21:53:19 34cad66bf833: Pull complete 21:53:21 b4e3c513aaa6: Pull complete 21:53:22 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 21:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:53:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 21:53:22 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 21:53:22 + docker inspect -f . ci-base-image-x86_64 21:53:22 . [Pipeline] withDockerContainer 21:53:22 prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container 21:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:53:24 $ docker top bd06bbc3206e755e7c2007f7835fbfb0cbcc14702b685312d68090a48f1eecd6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:25 + go version 21:53:25 go version go1.16.8 linux/amd64 [Pipeline] } 21:53:25 $ docker stop --time=1 bd06bbc3206e755e7c2007f7835fbfb0cbcc14702b685312d68090a48f1eecd6 21:53:26 $ docker rm -f bd06bbc3206e755e7c2007f7835fbfb0cbcc14702b685312d68090a48f1eecd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:53:27 + docker inspect -f . ci-base-image-x86_64 21:53:27 . [Pipeline] withDockerContainer 21:53:27 prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container 21:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:53:27 $ docker top 9666dd2160bc4eb0a30333f79c1aa44195a0cdf1535a7635a946728fe6375a7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:53:28 + make test 21:53:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:53:28 go: downloading github.com/stretchr/testify v1.7.0 21:53:28 go: downloading github.com/hashicorp/consul/api v1.9.1 21:53:28 go: downloading github.com/davecgh/go-spew v1.1.1 21:53:28 go: downloading github.com/pmezard/go-difflib v1.0.0 21:53:28 go: downloading github.com/stretchr/objx v0.1.0 21:53:28 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:53:28 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:53:28 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:53:28 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:53:28 go: downloading github.com/hashicorp/serf v0.9.5 21:53:28 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:53:28 go: downloading github.com/fatih/color v1.9.0 21:53:28 go: downloading github.com/mattn/go-isatty v0.0.12 21:53:28 go: downloading github.com/mattn/go-colorable v0.1.6 21:53:28 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 21:53:28 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:53:28 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:53:28 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:53:29 Still waiting to schedule task 21:53:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:53:41 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.026s coverage: 89.4% of statements 21:53:41 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 21:53:41 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.003s coverage: 85.7% of statements 21:53:41 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 21:53:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:53:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:53:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:53:52 $ docker stop --time=1 9666dd2160bc4eb0a30333f79c1aa44195a0cdf1535a7635a946728fe6375a7d 21:53:53 $ docker rm -f 9666dd2160bc4eb0a30333f79c1aa44195a0cdf1535a7635a946728fe6375a7d [Pipeline] // withDockerContainer [Pipeline] sh 21:53:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:54 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 21:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:55 21:53:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:55 latest: Pulling from edgex-lftools-log-publisher 21:53:55 b4d181a07f80: Pulling fs layer 21:53:55 a1111a8f2ec3: Pulling fs layer 21:53:55 ed53099fbce6: Pulling fs layer 21:53:55 dc539afda2c1: Pulling fs layer 21:53:55 77bc0d833cb6: Pulling fs layer 21:53:55 9065ff56babe: Pulling fs layer 21:53:55 d287ab97295c: Pulling fs layer 21:53:55 77bc0d833cb6: Waiting 21:53:55 9065ff56babe: Waiting 21:53:55 d287ab97295c: Waiting 21:53:55 dc539afda2c1: Waiting 21:53:55 a1111a8f2ec3: Verifying Checksum 21:53:55 a1111a8f2ec3: Download complete 21:53:55 dc539afda2c1: Verifying Checksum 21:53:55 dc539afda2c1: Download complete 21:53:55 77bc0d833cb6: Verifying Checksum 21:53:55 77bc0d833cb6: Download complete 21:53:55 9065ff56babe: Verifying Checksum 21:53:55 9065ff56babe: Download complete 21:53:55 ed53099fbce6: Verifying Checksum 21:53:55 ed53099fbce6: Download complete 21:53:55 b4d181a07f80: Verifying Checksum 21:53:55 b4d181a07f80: Download complete 21:53:56 d287ab97295c: Verifying Checksum 21:53:56 d287ab97295c: Download complete 21:53:57 b4d181a07f80: Pull complete 21:53:57 a1111a8f2ec3: Pull complete 21:53:58 ed53099fbce6: Pull complete 21:53:58 dc539afda2c1: Pull complete 21:53:58 77bc0d833cb6: Pull complete 21:53:58 9065ff56babe: Pull complete 21:54:03 d287ab97295c: Pull complete 21:54:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:54:03 prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container 21:54:04 $ 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/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:54:05 $ docker top 78149962ba180a7926e50e64d32b14fdfbdd9dfaa6083421ca7e8761629bc5d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:06 ---> job-cost.sh 21:54:06 lf-activate-venv: SKIPPING 21:54:06 INFO: No Stack... 21:54:06 INFO: Retrieving Pricing Info for: v3-standard-2 21:54:06 INFO: Archiving Costs [Pipeline] sh 21:54:07 + cat /w/workspace/gexfoundry_go-mod-registry_PR-95/archives/cost.csv 21:54:07 + cut -d, -f6 [Pipeline] lock 21:54:07 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] 21:54:07 Resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] did not exist. Created. 21:54:07 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:07 + echo total: 0.05999999865889549 [Pipeline] stash 21:54:07 Stashed 1 file(s) [Pipeline] } 21:54:07 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:07 $ docker stop --time=1 78149962ba180a7926e50e64d32b14fdfbdd9dfaa6083421ca7e8761629bc5d9 21:54:09 $ docker rm -f 78149962ba180a7926e50e64d32b14fdfbdd9dfaa6083421ca7e8761629bc5d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:56:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1285 in /w/workspace/gexfoundry_go-mod-registry_PR-95 [Pipeline] { [Pipeline] ws 21:56:08 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 21:56:08 Selected Git installation does not exist. Using Default 21:56:08 The recommended git tool is: NONE 21:56:13 using credential edgex-jenkins-ssh 21:56:13 Cloning the remote Git repository 21:56:13 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 21:56:13 > git init /w/workspace/go-mod-registry/1 # timeout=10 21:56:13 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 21:56:13 > git --version # timeout=10 21:56:13 > git --version # 'git version 2.17.1' 21:56:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:56:14 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 21:56:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:56:14 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 21:56:14 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 21:56:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:56:15 Merging remotes/origin/main commit 701dbf025da75315bacd470193a43cbff08e44d9 into PR head commit 4863bf5596a337a08dc82d014a0705d1bc6be8bb 21:56:15 Merge succeeded, producing 4863bf5596a337a08dc82d014a0705d1bc6be8bb 21:56:15 Checking out Revision 4863bf5596a337a08dc82d014a0705d1bc6be8bb (PR-95) 21:56:15 > git config core.sparsecheckout # timeout=10 21:56:15 > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # timeout=10 21:56:15 > git remote # timeout=10 21:56:15 > git config --get remote.origin.url # timeout=10 21:56:15 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:15 > git merge 701dbf025da75315bacd470193a43cbff08e44d9 # timeout=10 21:56:15 > git rev-parse HEAD^{commit} # timeout=10 21:56:15 > git config core.sparsecheckout # timeout=10 21:56:15 > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # timeout=10 21:56:19 Commit message: "feat(security): Enable gosec and default linter set" 21:56:19 > git --version # timeout=10 21:56:19 > git --version # 'git version 2.17.1' 21:56:19 fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:56:20 % Total % Received % Xferd Average Speed Time Time Time Current 21:56:20 Dload Upload Total Spent Left Speed 21:56:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 11843 100 11843 0 0 7500 0 0:00:01 0:00:01 --:--:-- 7495 [Pipeline] sh 21:56:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:56:23 + + sudo teesudo /etc/docker/daemon.new jq 21:56:23 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:56:23 { 21:56:23 "registry-mirrors": [ 21:56:23 "https://nexus3.edgexfoundry.org:10001" 21:56:23 ], 21:56:23 "bip": "10.250.0.254/24", 21:56:23 "hosts": [ 21:56:23 "tcp://0.0.0.0:5555", 21:56:23 "unix:///var/run/docker.sock" 21:56:23 ], 21:56:23 "mtu": 1458, 21:56:23 "selinux-enabled": true, 21:56:23 "seccomp-profile": "/etc/docker/seccomp.json" 21:56:23 } [Pipeline] sh 21:56:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:56:24 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 21:56:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:42 ========================================================= 21:56:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:56:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:56:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:56:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:56:43 552d1f2373af: Pulling fs layer 21:56:43 ea3f2d53f512: Pulling fs layer 21:56:43 9e70ebbbe112: Pulling fs layer 21:56:43 7a9cfe048b4a: Pulling fs layer 21:56:43 72dc09318566: Pulling fs layer 21:56:43 f4f7b4309257: Pulling fs layer 21:56:43 0ac9a79272e3: Pulling fs layer 21:56:43 b78e95d17946: Pulling fs layer 21:56:43 7a9cfe048b4a: Waiting 21:56:43 f4f7b4309257: Waiting 21:56:43 72dc09318566: Waiting 21:56:43 0ac9a79272e3: Waiting 21:56:43 b78e95d17946: Waiting 21:56:43 9e70ebbbe112: Download complete 21:56:43 ea3f2d53f512: Verifying Checksum 21:56:43 ea3f2d53f512: Download complete 21:56:43 72dc09318566: Verifying Checksum 21:56:43 72dc09318566: Download complete 21:56:43 f4f7b4309257: Verifying Checksum 21:56:43 f4f7b4309257: Download complete 21:56:43 0ac9a79272e3: Verifying Checksum 21:56:43 0ac9a79272e3: Download complete 21:56:43 552d1f2373af: Download complete 21:56:44 552d1f2373af: Pull complete 21:56:45 ea3f2d53f512: Pull complete 21:56:45 9e70ebbbe112: Pull complete 21:56:45 b78e95d17946: Verifying Checksum 21:56:45 b78e95d17946: Download complete 21:56:46 7a9cfe048b4a: Verifying Checksum 21:56:46 7a9cfe048b4a: Download complete 21:56:58 7a9cfe048b4a: Pull complete 21:56:58 72dc09318566: Pull complete 21:56:58 f4f7b4309257: Pull complete 21:56:58 0ac9a79272e3: Pull complete 21:57:04 b78e95d17946: Pull complete 21:57:04 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 21:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:57:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 21:57:04 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 21:57:04 + docker inspect -f . ci-base-image-arm64 21:57:04 . [Pipeline] withDockerContainer 21:57:05 prd-ubuntu18.04-docker-arm64-4c-16g-1285 does not seem to be running inside a container 21:57:05 $ 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 21:57:08 $ docker top 5053bbff15fb42e92428bbc7e838f4721b2c5f717d18efdc7072fc76191510a4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:09 + go version 21:57:09 go version go1.16.8 linux/arm64 [Pipeline] } 21:57:09 $ docker stop --time=1 5053bbff15fb42e92428bbc7e838f4721b2c5f717d18efdc7072fc76191510a4 21:57:10 $ docker rm -f 5053bbff15fb42e92428bbc7e838f4721b2c5f717d18efdc7072fc76191510a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:57:11 + docker inspect -f . ci-base-image-arm64 21:57:11 . [Pipeline] withDockerContainer 21:57:11 prd-ubuntu18.04-docker-arm64-4c-16g-1285 does not seem to be running inside a container 21:57:12 $ 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 21:57:13 $ docker top 585beef7871845596c331083989818030e0a07f61826514e41c3d8e8baab8a7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:57:14 + make test 21:57:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:57:14 go: downloading github.com/stretchr/testify v1.7.0 21:57:14 go: downloading github.com/hashicorp/consul/api v1.9.1 21:57:14 go: downloading github.com/davecgh/go-spew v1.1.1 21:57:14 go: downloading github.com/pmezard/go-difflib v1.0.0 21:57:14 go: downloading github.com/stretchr/objx v0.1.0 21:57:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:57:14 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:57:14 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:57:14 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:57:14 go: downloading github.com/hashicorp/serf v0.9.5 21:57:14 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:57:15 go: downloading github.com/fatih/color v1.9.0 21:57:15 go: downloading github.com/mattn/go-isatty v0.0.12 21:57:15 go: downloading github.com/mattn/go-colorable v0.1.6 21:57:15 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 21:57:15 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:57:15 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:57:15 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:57:47 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.134s coverage: 89.4% of statements 21:57:47 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 21:57:47 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.015s coverage: 85.7% of statements 21:57:47 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 21:57:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:57:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:58:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:58:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:58:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:58:03 $ docker stop --time=1 585beef7871845596c331083989818030e0a07f61826514e41c3d8e8baab8a7d 21:58:04 $ docker rm -f 585beef7871845596c331083989818030e0a07f61826514e41c3d8e8baab8a7d [Pipeline] // withDockerContainer [Pipeline] sh 21:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:58:05 Warning: overwriting stash ‘coverage-report’ 21:58:06 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 21:58:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:06 21:58:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:58:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:07 arm64: Pulling from edgex-lftools-log-publisher 21:58:07 448f6bf000e3: Pulling fs layer 21:58:07 f757da607395: Pulling fs layer 21:58:07 05883995daec: Pulling fs layer 21:58:07 8603b9c90790: Pulling fs layer 21:58:07 1560dd03e051: Pulling fs layer 21:58:07 27f5ce0e4adf: Pulling fs layer 21:58:07 c2d8d7efcc4b: Pulling fs layer 21:58:07 8603b9c90790: Waiting 21:58:07 1560dd03e051: Waiting 21:58:07 27f5ce0e4adf: Waiting 21:58:07 c2d8d7efcc4b: Waiting 21:58:07 f757da607395: Verifying Checksum 21:58:07 f757da607395: Download complete 21:58:07 8603b9c90790: Verifying Checksum 21:58:07 8603b9c90790: Download complete 21:58:07 1560dd03e051: Verifying Checksum 21:58:07 1560dd03e051: Download complete 21:58:07 27f5ce0e4adf: Verifying Checksum 21:58:07 27f5ce0e4adf: Download complete 21:58:07 05883995daec: Verifying Checksum 21:58:07 05883995daec: Download complete 21:58:08 448f6bf000e3: Verifying Checksum 21:58:08 448f6bf000e3: Download complete 21:58:10 c2d8d7efcc4b: Verifying Checksum 21:58:10 c2d8d7efcc4b: Download complete 21:58:11 448f6bf000e3: Pull complete 21:58:12 f757da607395: Pull complete 21:58:13 05883995daec: Pull complete 21:58:14 8603b9c90790: Pull complete 21:58:15 1560dd03e051: Pull complete 21:58:15 27f5ce0e4adf: Pull complete 21:58:30 c2d8d7efcc4b: Pull complete 21:58:30 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:58:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:58:30 prd-ubuntu18.04-docker-arm64-4c-16g-1285 does not seem to be running inside a container 21:58:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:58:32 $ docker top 4b3ebe9df97473450b30765a0c20c30d4f396374a44e00bc58c7e65e4e8fdedb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:33 ---> job-cost.sh 21:58:33 lf-activate-venv: SKIPPING 21:58:33 INFO: No Stack... 21:58:34 INFO: Retrieving Pricing Info for: v3-standard-4 21:58:34 INFO: Archiving Costs [Pipeline] sh 21:58:35 + cat /w/workspace/go-mod-registry/1/archives/cost.csv 21:58:35 + cut -d, -f6 [Pipeline] lock 21:58:35 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] 21:58:35 Resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] did not exist. Created. 21:58:35 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:58:36 /w/workspace/go-mod-registry/1@tmp/durable-21ad6798/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-21ad6798/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:58:36 + echo total: 0.10999999940395355 [Pipeline] stash 21:58:36 Warning: overwriting stash ‘stack-cost’ 21:58:36 Stashed 1 file(s) [Pipeline] } 21:58:37 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:58:37 $ docker stop --time=1 4b3ebe9df97473450b30765a0c20c30d4f396374a44e00bc58c7e65e4e8fdedb 21:58:38 $ docker rm -f 4b3ebe9df97473450b30765a0c20c30d4f396374a44e00bc58c7e65e4e8fdedb [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 21:58:39 provisioning config files... 21:58:39 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/config8017718702871217952tmp [Pipeline] { [Pipeline] sh 21:58:39 + set +x 21:58:39 + curl -s https://codecov.io/bash 21:58:39 + bash -s -- 21:58:39 21:58:39 _____ _ 21:58:39 / ____| | | 21:58:39 | | ___ __| | ___ ___ _____ __ 21:58:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:58:39 | |___| (_) | (_| | __/ (_| (_) \ V / 21:58:39 \_____\___/ \__,_|\___|\___\___/ \_/ 21:58:39 Bash-1.0.6 21:58:39 21:58:39 21:58:39 ==> git version 2.24.4 found 21:58:39 ==> 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 21:58:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:58:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:58:39 ==> Jenkins CI detected. 21:58:39 current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-95 21:58:39 project root: . 21:58:39 --> token set from env 21:58:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:58:39 ==> Running gcov in . (disable via -X gcov) 21:58:39 ==> Python coveragepy not found 21:58:39 ==> Searching for coverage reports in: 21:58:39 + . 21:58:39 -> Found 1 reports 21:58:39 ==> Detecting git/mercurial file structure 21:58:39 ==> Reading reports 21:58:39 + ./coverage.out bytes=12273 21:58:39 ==> Appending adjustments 21:58:39 https://docs.codecov.io/docs/fixing-reports 21:58:40 + Found adjustments 21:58:40 ==> Gzipping contents 21:58:40 4.0K /tmp/codecov.6UU79b.gz 21:58:40 ==> Uploading reports 21:58:40 url: https://codecov.io 21:58:40 query: branch=PR-95&commit=4863bf5596a337a08dc82d014a0705d1bc6be8bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=95&job=&cmd_args= 21:58:40 -> Pinging Codecov 21:58:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=PR-95&commit=4863bf5596a337a08dc82d014a0705d1bc6be8bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=95&job=&cmd_args= 21:58:40 -> Uploading to 21:58:40 https://storage.googleapis.com/codecov/v4/raw/2022-01-11/05B643FFA8DEACB6C25F95B2D4D12284/4863bf5596a337a08dc82d014a0705d1bc6be8bb/345d6489-47d5-4155-8acf-6fd2d5d4c858.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T215840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89b226896971e6673f047e5c94a99d2c999f29f7065067012f26b7b6f4f45803 21:58:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:58:40 Dload Upload Total Spent Left Speed 21:58:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2278 0 0 100 2278 0 6677 --:--:-- --:--:-- --:--:-- 6660 100 2278 0 0 100 2278 0 6673 --:--:-- --:--:-- --:--:-- 6660 21:58:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] } 21:58:40 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:58:42 + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-95/archives ']' 21:58:42 + ls -al /w/workspace/gexfoundry_go-mod-registry_PR-95/archives 21:58:42 total 8 21:58:42 drwxr-xr-x. 3 root root 34 Jan 11 21:54 . 21:58:42 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:54 .. 21:58:42 drwxr-xr-x. 2 root root 6 Jan 11 21:54 cost 21:58:42 -rw-r--r--. 1 root root 85 Jan 11 21:54 cost.csv 21:58:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-registry_PR-95/archives 21:58:42 + ls -al /w/workspace/gexfoundry_go-mod-registry_PR-95/archives 21:58:42 total 8 21:58:42 drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 21:54 . 21:58:42 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:54 .. 21:58:42 drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 21:54 cost 21:58:42 -rw-r--r--. 1 jenkins jenkins 85 Jan 11 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:58:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:58:43 ---> package-listing.sh 21:58:43 ++ tr '[:upper:]' '[:lower:]' 21:58:43 ++ facter osfamily 21:58:43 + OS_FAMILY=redhat 21:58:43 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-95 21:58:43 + START_PACKAGES=/tmp/packages_start.txt 21:58:43 + END_PACKAGES=/tmp/packages_end.txt 21:58:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:58:43 + PACKAGES=/tmp/packages_start.txt 21:58:43 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-95 ']' 21:58:43 + PACKAGES=/tmp/packages_end.txt 21:58:43 + case "${OS_FAMILY}" in 21:58:43 + sort 21:58:43 + rpm -qa 21:58:44 + '[' -f /tmp/packages_start.txt ']' 21:58:44 + '[' -f /tmp/packages_end.txt ']' 21:58:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:58:44 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-95 ']' 21:58:44 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-95/archives/ 21:58:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-95/archives/ [Pipeline] echo 21:58:44 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-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:58:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:58:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:58:45 . [Pipeline] withDockerContainer 21:58:45 prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container 21:58:45 $ 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-95/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-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@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:10003/edgex-lftools-log-publisher:latest cat 21:58:45 $ docker top 8d97905eff5bc107e0b11139fef8b655b6e741df4a199a3a175aba7d08787d48 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:58:46 + mkdir -p /var/log/sysstat [Pipeline] sh 21:58:46 + ls /var/log/sa-host 21:58:46 + sadf -c /var/log/sa-host/sa11 21:58:46 file_magic: OK 21:58:46 HZ: Using current value: 100 21:58:46 file_header: OK 21:58:46 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 21:58:46 Statistics: 21:58:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:58:46 File successfully converted to sysstat format version 12.0.3 21:58:46 + sadf -c /var/log/sa-host/sa17 21:58:46 file_magic: OK 21:58:46 HZ: Using current value: 100 21:58:46 file_header: OK 21:58:46 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 21:58:46 Statistics: 21:58:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:58:46 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:58:46 provisioning config files... 21:58:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/config8306396923513093253tmp [Pipeline] { [Pipeline] echo 21:58:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:58:47 ---> create-netrc.sh [Pipeline] } 21:58:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:58:47 ---> python-tools-install.sh [Pipeline] echo 21:58:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:58:48 ---> sudo-logs.sh 21:58:48 Archiving 'sudo' log.. 21:58:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-1284.novalocal: Name or service not known 21:58:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-1284.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:58:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:58:48 ---> job-cost.sh 21:58:48 lf-activate-venv: SKIPPING 21:58:48 DEBUG: total: 0.05999999865889549 21:58:48 INFO: Retrieving Stack Cost... 21:58:48 INFO: Retrieving Pricing Info for: v3-standard-2 21:58:48 INFO: Archiving Costs [Pipeline] echo 21:58:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:58:49 ---> logs-deploy.sh 21:58:49 lf-activate-venv: SKIPPING 21:58:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-95/1 21:58:49 INFO: archiving workspace using pattern(s): 21:58:50 Archives upload complete. 21:58:50 INFO: archiving logs to Nexus 21:58:50 ---> uname -a: 21:58:50 Linux prd-centos7-docker-4c-2g-1284.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 21:58:50 21:58:50 21:58:50 ---> lscpu: 21:58:50 Architecture: x86_64 21:58:50 CPU op-mode(s): 32-bit, 64-bit 21:58:50 Byte Order: Little Endian 21:58:50 Address sizes: 40 bits physical, 48 bits virtual 21:58:50 CPU(s): 2 21:58:50 On-line CPU(s) list: 0,1 21:58:50 Thread(s) per core: 1 21:58:50 Core(s) per socket: 1 21:58:50 Socket(s): 2 21:58:50 NUMA node(s): 1 21:58:50 Vendor ID: AuthenticAMD 21:58:50 CPU family: 23 21:58:50 Model: 49 21:58:50 Model name: AMD EPYC-Rome Processor 21:58:50 Stepping: 0 21:58:50 CPU MHz: 2800.000 21:58:50 BogoMIPS: 5600.00 21:58:50 Virtualization: AMD-V 21:58:50 Hypervisor vendor: KVM 21:58:50 Virtualization type: full 21:58:50 L1d cache: 32K 21:58:50 L1i cache: 32K 21:58:50 L2 cache: 512K 21:58:50 L3 cache: 16384K 21:58:50 NUMA node0 CPU(s): 0,1 21:58:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 21:58:50 21:58:50 21:58:50 ---> nproc: 21:58:50 2 21:58:50 21:58:50 21:58:50 ---> df -h: 21:58:50 Filesystem Size Used Avail Use% Mounted on 21:58:50 overlay 40G 8.2G 32G 21% / 21:58:50 tmpfs 64M 0 64M 0% /dev 21:58:50 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:58:50 shm 64M 0 64M 0% /dev/shm 21:58:50 /dev/vda1 40G 8.2G 32G 21% /facter-os 21:58:50 21:58:50 21:58:50 ---> sar -b -r -n DEV: 21:58:50 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) 21:58:50 21:58:50 21:52:28 LINUX RESTART (2 CPU) 21:58:50 21:58:50 21:53:01 tps rtps wtps bread/s bwrtn/s 21:58:50 21:54:01 130.21 2.88 127.33 2249.78 24727.22 21:58:50 21:55:01 61.30 0.00 61.30 0.00 17637.24 21:58:50 21:56:01 0.18 0.00 0.18 0.00 2.81 21:58:50 21:57:01 0.15 0.00 0.15 0.00 2.28 21:58:50 21:58:01 0.25 0.00 0.25 0.00 3.78 21:58:50 Average: 38.43 0.58 37.86 450.15 8477.16 21:58:50 21:58:50 21:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:58:50 21:54:01 4401156 0 840492 10.49 2620 2764672 1581880 17.46 943560 2303460 506400 21:58:50 21:55:01 4417220 0 841520 10.51 2620 2747580 1208428 13.34 843008 2362460 20 21:58:50 21:56:01 4403560 0 855180 10.68 2620 2747580 1167828 12.89 857764 2362460 20 21:58:50 21:57:01 4421088 0 837644 10.46 2620 2747588 1169948 12.92 839820 2362460 16 21:58:50 21:58:01 4421996 0 836732 10.45 2620 2747592 1166288 12.88 839776 2362460 20 21:58:50 Average: 4413004 0 842314 10.52 2620 2751002 1258874 13.90 864786 2350660 101295 21:58:50 21:58:50 21:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:58:50 21:54:01 eth0 310.69 197.29 6244.87 39.90 0.00 0.00 0.00 0.00 21:58:50 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:54:01 docker0 21.79 23.07 1.98 80.46 0.00 0.00 0.00 0.00 21:58:50 21:55:01 eth0 12.46 8.24 12.01 4.23 0.00 0.00 0.00 0.00 21:58:50 21:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:56:01 eth0 10.13 3.83 10.65 0.37 0.00 0.00 0.00 0.00 21:58:50 21:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:57:01 eth0 0.53 0.33 0.26 0.20 0.00 0.00 0.00 0.00 21:58:50 21:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:58:01 eth0 0.27 0.18 0.08 0.05 0.00 0.00 0.00 0.00 21:58:50 21:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 21:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 Average: eth0 66.84 41.99 1254.12 8.95 0.00 0.00 0.00 0.00 21:58:50 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:58:50 Average: docker0 4.36 4.62 0.40 16.10 0.00 0.00 0.00 0.00 21:58:50 21:58:50 21:58:50 ---> sar -P ALL: 21:58:50 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) 21:58:50 21:58:50 21:52:28 LINUX RESTART (2 CPU) 21:58:50 21:58:50 21:53:01 CPU %user %nice %system %iowait %steal %idle 21:58:50 21:54:01 all 42.97 0.00 9.56 2.19 0.09 45.20 21:58:50 21:54:01 0 43.19 0.00 9.67 2.35 0.09 44.71 21:58:50 21:54:01 1 42.75 0.00 9.45 2.02 0.09 45.69 21:58:50 21:55:01 all 2.12 0.00 1.18 0.60 0.03 96.07 21:58:50 21:55:01 0 1.93 0.00 1.22 0.70 0.03 96.11 21:58:50 21:55:01 1 2.30 0.00 1.13 0.50 0.03 96.03 21:58:50 21:56:01 all 0.28 0.00 0.08 0.00 0.02 99.63 21:58:50 21:56:01 0 0.17 0.00 0.08 0.00 0.02 99.73 21:58:50 21:56:01 1 0.38 0.00 0.07 0.00 0.02 99.53 21:58:50 21:57:01 all 0.20 0.00 0.05 0.00 0.03 99.72 21:58:50 21:57:01 0 0.28 0.00 0.07 0.00 0.03 99.61 21:58:50 21:57:01 1 0.12 0.00 0.03 0.00 0.02 99.83 21:58:50 21:58:01 all 0.22 0.00 0.05 0.00 0.03 99.71 21:58:50 21:58:01 0 0.28 0.00 0.05 0.00 0.02 99.65 21:58:50 21:58:01 1 0.15 0.00 0.05 0.00 0.03 99.77 21:58:50 Average: all 8.70 0.00 2.08 0.54 0.04 88.64 21:58:50 Average: 0 8.71 0.00 2.12 0.59 0.04 88.55 21:58:50 Average: 1 8.69 0.00 2.05 0.48 0.04 88.74 21:58:50 21:58:50 21:58:50