Pull request #94 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 bbe377d82b3cc2902800f306cb640cc0103e70cc+ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 (66b7207ff0b5e98247d884a9f289e79588bd83fa) 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-ssh4788467464700155536.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh14526390212839344430.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-94/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-94/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3718597856244944462.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-94/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17283151811112061338.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh2392661749588484714.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-94/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-94/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5167815103350812172.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 Running on prd-centos7-docker-4c-2g-736 in /w/workspace/gexfoundry_go-mod-registry_PR-94 [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-94 # 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-94@tmp/jenkins-gitclient-ssh450507719959706358.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 ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 into PR head commit bbe377d82b3cc2902800f306cb640cc0103e70cc > 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-94@tmp/jenkins-gitclient-ssh782059278768773143.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbe377d82b3cc2902800f306cb640cc0103e70cc # timeout=10 Merge succeeded, producing bbe377d82b3cc2902800f306cb640cc0103e70cc Checking out Revision bbe377d82b3cc2902800f306cb640cc0103e70cc (PR-94) > 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-94@tmp/jenkins-gitclient-ssh1139914164800637713.key > git merge ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbe377d82b3cc2902800f306cb640cc0103e70cc # 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 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:26:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:26:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:26:20 ========================================================= 02:26:20 EdgeX Global Pipelines Version Info 02:26:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:26:22 ------------------- 02:26:22 stable info: 02:26:22 ------------------- 02:26:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:26:22 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 02:26:22 Message: update stable to v1.0.217 02:26:22 ------------------- 02:26:22 experimental info: 02:26:22 ------------------- 02:26:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:26:22 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 02:26:22 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:26:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbe377d82b3cc2902800f306cb640cc0103e70cc [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbe377d [Pipeline] echo 02:26:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:26:24 + git rev-list -1 --merges bbe377d82b3cc2902800f306cb640cc0103e70cc~1..bbe377d82b3cc2902800f306cb640cc0103e70cc [Pipeline] echo 02:26:25 -----------> git rev-list -1 --merges bbe377d82b3cc2902800f306cb640cc0103e70cc~1..bbe377d82b3cc2902800f306cb640cc0103e70cc bbe377d82b3cc2902800f306cb640cc0103e70cc [false] [Pipeline] sh 02:26:25 + git log --format=format:%s -1 bbe377d82b3cc2902800f306cb640cc0103e70cc [Pipeline] echo 02:26:25 ========================================================= 02:26:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:26:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:26:25 + git log --format=format:%s -1 bbe377d82b3cc2902800f306cb640cc0103e70cc [Pipeline] echo 02:26:25 [semverPrep] GIT_COMMIT: bbe377d82b3cc2902800f306cb640cc0103e70cc, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 02:26:25 [semverPrep] This is not a build commit. [Pipeline] sh 02:26:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 02:26:26 + grep -v github /etc/ssh/ssh_known_hosts 02:26:26 + '[' -e /tmp/ssh_known_hosts ']' 02:26:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:26:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 02:26:26 + sudo tee -a /etc/ssh/ssh_known_hosts 02:26:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:26:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:26:27 02:26:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:26:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:26:27 latest: Pulling from edgex-devops/git-semver 02:26:27 a0d0a0d46f8b: Pulling fs layer 02:26:27 3e5f54012d9b: Pulling fs layer 02:26:27 4c7163046ea9: Pulling fs layer 02:26:27 0c2d73faf560: Pulling fs layer 02:26:27 0c2d73faf560: Waiting 02:26:27 3e5f54012d9b: Verifying Checksum 02:26:27 3e5f54012d9b: Download complete 02:26:27 a0d0a0d46f8b: Verifying Checksum 02:26:27 a0d0a0d46f8b: Download complete 02:26:27 0c2d73faf560: Verifying Checksum 02:26:27 0c2d73faf560: Download complete 02:26:27 4c7163046ea9: Verifying Checksum 02:26:27 4c7163046ea9: Download complete 02:26:27 a0d0a0d46f8b: Pull complete 02:26:27 3e5f54012d9b: Pull complete 02:26:28 4c7163046ea9: Pull complete 02:26:28 0c2d73faf560: Pull complete 02:26:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:26:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:26:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:26:28 prd-centos7-docker-4c-2g-736 does not seem to be running inside a container 02:26:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-94 -v /w/workspace/gexfoundry_go-mod-registry_PR-94:/w/workspace/gexfoundry_go-mod-registry_PR-94:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-94@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-94@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 02:26:29 $ docker top 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:26:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:26:29 [ssh-agent] Looking for ssh-agent implementation... 02:26:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:26:29 $ docker exec 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 ssh-agent 02:26:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlHOadL/agent.14 02:26:30 SSH_AGENT_PID=20 02:26:30 Running ssh-add (command line suppressed) 02:26:30 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-94@tmp/private_key_3353352517044710724.key (/w/workspace/gexfoundry_go-mod-registry_PR-94@tmp/private_key_3353352517044710724.key) 02:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:26:30 + git tag --points-at HEAD [Pipeline] } 02:26:30 $ docker exec --env ******** --env ******** 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 ssh-agent -k 02:26:30 unset SSH_AUTH_SOCK; 02:26:30 unset SSH_AGENT_PID; 02:26:30 echo Agent pid 20 killed; 02:26:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:26:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:26:30 [ssh-agent] Looking for ssh-agent implementation... 02:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:26:30 $ docker exec 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 ssh-agent 02:26:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEnCjEp/agent.55 02:26:31 SSH_AGENT_PID=61 02:26:31 Running ssh-add (command line suppressed) 02:26:31 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-94@tmp/private_key_179014948314797864.key (/w/workspace/gexfoundry_go-mod-registry_PR-94@tmp/private_key_179014948314797864.key) 02:26:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:26:31 + git semver init 02:26:31 # -> Open(): unable to determine branch for HEAD 02:26:31 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-94/.git 02:26:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-94 02:26:31 # $SEMVER_REMOTE_NAME = origin 02:26:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:26:31 # $SEMVER_USER_NAME = edgex-jenkins 02:26:31 # $SEMVER_BRANCH = PR-94 02:26:31 # $SEMVER_TEMP = /tmp/semver-618289890 02:26:31 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 02:26:32 # '/tmp/semver-618289890' -> '/w/workspace/gexfoundry_go-mod-registry_PR-94/.semver' 02:26:32 # -> Force: false 02:26:32 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-94/.semver [Pipeline] } 02:26:33 $ docker exec --env ******** --env ******** 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 ssh-agent -k 02:26:33 unset SSH_AUTH_SOCK; 02:26:33 unset SSH_AGENT_PID; 02:26:33 echo Agent pid 61 killed; 02:26:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:26:33 + git semver [Pipeline] } 02:26:33 $ docker stop --time=1 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 02:26:35 $ docker rm -f 21b239bc8afc93c9eae1daeccc60b2e98280160a8436360a73dd07d71c158315 [Pipeline] // withDockerContainer [Pipeline] sh 02:26:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:26:35 Stashed 1 file(s) [Pipeline] echo 02:26:35 [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 02:26:51 Still waiting to schedule task 02:26:51 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-736’ 02:26:51 Still waiting to schedule task 02:26:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:28:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-737 in /w/workspace/gexfoundry_go-mod-registry_PR-94 [Pipeline] { [Pipeline] ws 02:28:16 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 02:28:16 Selected Git installation does not exist. Using Default 02:28:16 The recommended git tool is: NONE 02:28:21 using credential edgex-jenkins-ssh 02:28:21 Cloning the remote Git repository 02:28:21 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 02:28:21 > git init /w/workspace/go-mod-registry/1 # timeout=10 02:28:21 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 02:28:21 > git --version # timeout=10 02:28:21 > git --version # 'git version 2.17.1' 02:28:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:28:22 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 02:28:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:28:22 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 02:28:22 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 02:28:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:23 Merging remotes/origin/main commit ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 into PR head commit bbe377d82b3cc2902800f306cb640cc0103e70cc 02:28:23 Merge succeeded, producing bbe377d82b3cc2902800f306cb640cc0103e70cc 02:28:23 Checking out Revision bbe377d82b3cc2902800f306cb640cc0103e70cc (PR-94) 02:28:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:28:23 > git config core.sparsecheckout # timeout=10 02:28:23 > git checkout -f bbe377d82b3cc2902800f306cb640cc0103e70cc # timeout=10 02:28:23 > git remote # timeout=10 02:28:23 > git config --get remote.origin.url # timeout=10 02:28:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:23 > git merge ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 # timeout=10 02:28:23 > git rev-parse HEAD^{commit} # timeout=10 02:28:23 > git config core.sparsecheckout # timeout=10 02:28:23 > git checkout -f bbe377d82b3cc2902800f306cb640cc0103e70cc # timeout=10 02:28:27 Commit message: "feat(security): Enable gosec and default linter set" 02:28:27 > git --version # timeout=10 02:28:27 > git --version # 'git version 2.17.1' 02:28:27 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:28:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:28:28 Dload Upload Total Spent Left Speed 02:28:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 61905 0 --:--:-- --:--:-- --:--:-- 61905 [Pipeline] sh 02:28:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:28:29 + sudo tee /etc/docker/daemon.new 02:28:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:28:29 { 02:28:29 "registry-mirrors": [ 02:28:29 "https://nexus3.edgexfoundry.org:10001" 02:28:29 ], 02:28:29 "bip": "10.250.0.254/24", 02:28:29 "hosts": [ 02:28:29 "tcp://0.0.0.0:5555", 02:28:29 "unix:///var/run/docker.sock" 02:28:29 ], 02:28:29 "mtu": 1458, 02:28:29 "selinux-enabled": true, 02:28:29 "seccomp-profile": "/etc/docker/seccomp.json" 02:28:29 } [Pipeline] sh 02:28:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:28:30 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 02:28:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:28:49 ========================================================= 02:28:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:28:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:28:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:28:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:28:50 552d1f2373af: Pulling fs layer 02:28:50 ea3f2d53f512: Pulling fs layer 02:28:50 9e70ebbbe112: Pulling fs layer 02:28:50 7a9cfe048b4a: Pulling fs layer 02:28:50 72dc09318566: Pulling fs layer 02:28:50 f4f7b4309257: Pulling fs layer 02:28:50 0ac9a79272e3: Pulling fs layer 02:28:50 b78e95d17946: Pulling fs layer 02:28:50 7a9cfe048b4a: Waiting 02:28:50 72dc09318566: Waiting 02:28:50 f4f7b4309257: Waiting 02:28:50 0ac9a79272e3: Waiting 02:28:50 b78e95d17946: Waiting 02:28:50 9e70ebbbe112: Download complete 02:28:50 ea3f2d53f512: Download complete 02:28:50 72dc09318566: Verifying Checksum 02:28:50 72dc09318566: Download complete 02:28:50 f4f7b4309257: Verifying Checksum 02:28:50 f4f7b4309257: Download complete 02:28:50 552d1f2373af: Download complete 02:28:50 0ac9a79272e3: Verifying Checksum 02:28:50 0ac9a79272e3: Download complete 02:28:51 552d1f2373af: Pull complete 02:28:51 ea3f2d53f512: Pull complete 02:28:51 9e70ebbbe112: Pull complete 02:28:52 b78e95d17946: Verifying Checksum 02:28:52 b78e95d17946: Download complete 02:28:52 7a9cfe048b4a: Verifying Checksum 02:28:52 7a9cfe048b4a: Download complete 02:29:05 7a9cfe048b4a: Pull complete 02:29:05 72dc09318566: Pull complete 02:29:05 f4f7b4309257: Pull complete 02:29:05 0ac9a79272e3: Pull complete 02:29:05 Running on prd-centos7-docker-4c-2g-738 in /w/workspace/gexfoundry_go-mod-registry_PR-94 [Pipeline] { [Pipeline] ws 02:29:05 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 02:29:06 Selected Git installation does not exist. Using Default 02:29:06 The recommended git tool is: NONE 02:29:07 using credential edgex-jenkins-ssh 02:29:07 Cloning the remote Git repository 02:29:07 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 02:29:07 > git init /w/workspace/go-mod-registry/1 # timeout=10 02:29:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 02:29:07 > git --version # timeout=10 02:29:07 > git --version # 'git version 2.24.4' 02:29:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:29:07 [INFO] Currently running in a labeled security context 02:29:07 [INFO] Currently SELinux is 'enforcing' on the host 02:29:07 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh3484885882824696127.key 02:29:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:29:09 Merging remotes/origin/main commit ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 into PR head commit bbe377d82b3cc2902800f306cb640cc0103e70cc 02:29:09 Merge succeeded, producing bbe377d82b3cc2902800f306cb640cc0103e70cc 02:29:09 Checking out Revision bbe377d82b3cc2902800f306cb640cc0103e70cc (PR-94) 02:29:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 02:29:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:29:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 02:29:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 02:29:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:29:08 [INFO] Currently running in a labeled security context 02:29:08 [INFO] Currently SELinux is 'enforcing' on the host 02:29:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh1246563476605270624.key 02:29:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:29:09 > git config core.sparsecheckout # timeout=10 02:29:09 > git checkout -f bbe377d82b3cc2902800f306cb640cc0103e70cc # timeout=10 02:29:09 > git remote # timeout=10 02:29:09 > git config --get remote.origin.url # timeout=10 02:29:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:29:09 [INFO] Currently running in a labeled security context 02:29:09 [INFO] Currently SELinux is 'enforcing' on the host 02:29:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh5402140603231510074.key 02:29:09 > git merge ed7cf321177332ce2a3a96eacd2ca89a2bb65cb8 # timeout=10 02:29:09 > git rev-parse HEAD^{commit} # timeout=10 02:29:09 > git config core.sparsecheckout # timeout=10 02:29:09 > git checkout -f bbe377d82b3cc2902800f306cb640cc0103e70cc # timeout=10 02:29:10 b78e95d17946: Pull complete 02:29:10 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 02:29:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:29:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 02:29:11 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 02:29:11 + docker inspect -f . ci-base-image-arm64 02:29:11 . [Pipeline] withDockerContainer 02:29:11 prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container 02:29:11 $ 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 02:29:12 Commit message: "feat(security): Enable gosec and default linter set" 02:29:12 > git --version # timeout=10 02:29:12 > git --version # 'git version 2.24.4' 02:29:12 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 02:29:14 $ docker top f58a5052b675c5ee8ab9e21cdd38f607e62d7e7078de520038359b1f58fe5c12 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:29:15 ========================================================= 02:29:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:29:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:29:15 + go version 02:29:15 go version go1.16.8 linux/arm64 [Pipeline] } 02:29:15 $ docker stop --time=1 f58a5052b675c5ee8ab9e21cdd38f607e62d7e7078de520038359b1f58fe5c12 02:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:29:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:29:16 a0d0a0d46f8b: Pulling fs layer 02:29:16 31adcdaf11c8: Pulling fs layer 02:29:16 b8b176561691: Pulling fs layer 02:29:16 4527c011a84f: Pulling fs layer 02:29:16 5d74067f8e1e: Pulling fs layer 02:29:16 e0aca202a116: Pulling fs layer 02:29:16 3a43be97a3b4: Pulling fs layer 02:29:16 34cad66bf833: Pulling fs layer 02:29:16 b4e3c513aaa6: Pulling fs layer 02:29:16 4527c011a84f: Waiting 02:29:16 5d74067f8e1e: Waiting 02:29:16 e0aca202a116: Waiting 02:29:16 3a43be97a3b4: Waiting 02:29:16 b4e3c513aaa6: Waiting 02:29:16 34cad66bf833: Waiting 02:29:16 b8b176561691: Verifying Checksum 02:29:16 b8b176561691: Download complete 02:29:16 31adcdaf11c8: Verifying Checksum 02:29:16 31adcdaf11c8: Download complete 02:29:16 5d74067f8e1e: Verifying Checksum 02:29:16 5d74067f8e1e: Download complete 02:29:16 e0aca202a116: Verifying Checksum 02:29:16 e0aca202a116: Download complete 02:29:16 3a43be97a3b4: Verifying Checksum 02:29:16 3a43be97a3b4: Download complete 02:29:16 a0d0a0d46f8b: Verifying Checksum 02:29:16 a0d0a0d46f8b: Download complete 02:29:16 34cad66bf833: Verifying Checksum 02:29:16 34cad66bf833: Download complete 02:29:16 4527c011a84f: Verifying Checksum 02:29:16 4527c011a84f: Download complete 02:29:16 b4e3c513aaa6: Verifying Checksum 02:29:16 b4e3c513aaa6: Download complete 02:29:16 a0d0a0d46f8b: Pull complete 02:29:16 31adcdaf11c8: Pull complete 02:29:17 b8b176561691: Pull complete 02:29:17 $ docker rm -f f58a5052b675c5ee8ab9e21cdd38f607e62d7e7078de520038359b1f58fe5c12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:29:18 + docker inspect -f . ci-base-image-arm64 02:29:18 . [Pipeline] withDockerContainer 02:29:18 prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container 02:29:18 $ 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 02:29:19 $ docker top 162fbefb8472d844330699af88cfed6d6afc4e0d95749e1fb0e8e46d14d727bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:29:20 + make test 02:29:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:29:21 4527c011a84f: Pull complete 02:29:21 5d74067f8e1e: Pull complete 02:29:21 e0aca202a116: Pull complete 02:29:21 3a43be97a3b4: Pull complete 02:29:21 34cad66bf833: Pull complete 02:29:21 go: downloading github.com/stretchr/testify v1.7.0 02:29:21 go: downloading github.com/hashicorp/consul/api v1.9.1 02:29:21 go: downloading github.com/davecgh/go-spew v1.1.1 02:29:21 go: downloading github.com/pmezard/go-difflib v1.0.0 02:29:21 go: downloading github.com/stretchr/objx v0.1.0 02:29:21 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 02:29:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:29:21 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:29:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:29:22 go: downloading github.com/hashicorp/serf v0.9.5 02:29:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:29:22 go: downloading github.com/mattn/go-isatty v0.0.12 02:29:22 go: downloading github.com/fatih/color v1.9.0 02:29:22 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 02:29:22 go: downloading github.com/mattn/go-colorable v0.1.6 02:29:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:29:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:29:22 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:29:23 b4e3c513aaa6: Pull complete 02:29:23 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 02:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:29:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 02:29:24 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 02:29:24 + docker inspect -f . ci-base-image-x86_64 02:29:24 . [Pipeline] withDockerContainer 02:29:24 prd-centos7-docker-4c-2g-738 does not seem to be running inside a container 02:29:24 $ 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-x86_64 cat 02:29:27 $ docker top 345ce974482fda7bb2872a5395e18fca03e2956fdc4905697c43a2b2dfc23a1e -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:27 + go version 02:29:27 go version go1.16.8 linux/amd64 [Pipeline] } 02:29:27 $ docker stop --time=1 345ce974482fda7bb2872a5395e18fca03e2956fdc4905697c43a2b2dfc23a1e 02:29:29 $ docker rm -f 345ce974482fda7bb2872a5395e18fca03e2956fdc4905697c43a2b2dfc23a1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:29:29 + docker inspect -f . ci-base-image-x86_64 02:29:29 . [Pipeline] withDockerContainer 02:29:30 prd-centos7-docker-4c-2g-738 does not seem to be running inside a container 02:29:30 $ 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-x86_64 cat 02:29:30 $ docker top 5c9f8627c4f1bb76ec9e1a49087d9d9932b84005521f599a53f06fbd19e9c99c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:29:30 + make test 02:29:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:29:31 go: downloading github.com/hashicorp/consul/api v1.9.1 02:29:31 go: downloading github.com/stretchr/testify v1.7.0 02:29:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:29:31 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:29:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:29:31 go: downloading github.com/hashicorp/serf v0.9.5 02:29:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:29:31 go: downloading github.com/davecgh/go-spew v1.1.1 02:29:31 go: downloading github.com/pmezard/go-difflib v1.0.0 02:29:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 02:29:31 go: downloading github.com/stretchr/objx v0.1.0 02:29:31 go: downloading github.com/fatih/color v1.9.0 02:29:31 go: downloading github.com/mattn/go-isatty v0.0.12 02:29:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:29:31 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 02:29:31 go: downloading github.com/mattn/go-colorable v0.1.6 02:29:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:29:31 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:29:46 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.018s coverage: 89.4% of statements 02:29:46 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 02:29:46 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.004s coverage: 85.7% of statements 02:29:46 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 02:29:55 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.115s coverage: 89.4% of statements 02:29:55 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 02:29:55 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.015s coverage: 85.7% of statements 02:29:55 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 02:29:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:29:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:29:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:29:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:29:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 02:30:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:30:00 $ docker stop --time=1 5c9f8627c4f1bb76ec9e1a49087d9d9932b84005521f599a53f06fbd19e9c99c 02:30:01 $ docker rm -f 5c9f8627c4f1bb76ec9e1a49087d9d9932b84005521f599a53f06fbd19e9c99c [Pipeline] // withDockerContainer [Pipeline] sh 02:30:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:30:02 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 02:30:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:30:03 02:30:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:30:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:30:03 latest: Pulling from edgex-lftools-log-publisher 02:30:03 b4d181a07f80: Pulling fs layer 02:30:03 a1111a8f2ec3: Pulling fs layer 02:30:03 ed53099fbce6: Pulling fs layer 02:30:03 dc539afda2c1: Pulling fs layer 02:30:03 77bc0d833cb6: Pulling fs layer 02:30:03 9065ff56babe: Pulling fs layer 02:30:03 d287ab97295c: Pulling fs layer 02:30:03 dc539afda2c1: Waiting 02:30:03 77bc0d833cb6: Waiting 02:30:03 9065ff56babe: Waiting 02:30:03 d287ab97295c: Waiting 02:30:03 a1111a8f2ec3: Verifying Checksum 02:30:03 a1111a8f2ec3: Download complete 02:30:03 dc539afda2c1: Verifying Checksum 02:30:03 dc539afda2c1: Download complete 02:30:03 ed53099fbce6: Verifying Checksum 02:30:03 ed53099fbce6: Download complete 02:30:03 9065ff56babe: Verifying Checksum 02:30:03 9065ff56babe: Download complete 02:30:03 77bc0d833cb6: Verifying Checksum 02:30:03 77bc0d833cb6: Download complete 02:30:03 b4d181a07f80: Verifying Checksum 02:30:03 b4d181a07f80: Download complete 02:30:04 d287ab97295c: Verifying Checksum 02:30:04 d287ab97295c: Download complete 02:30:05 b4d181a07f80: Pull complete 02:30:05 a1111a8f2ec3: Pull complete 02:30:06 ed53099fbce6: Pull complete 02:30:06 dc539afda2c1: Pull complete 02:30:06 77bc0d833cb6: Pull complete 02:30:06 9065ff56babe: Pull complete 02:30:11 d287ab97295c: Pull complete 02:30:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:30:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:30:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:30:11 prd-centos7-docker-4c-2g-738 does not seem to be running inside a container 02:30:11 $ 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:latest cat 02:30:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:30:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:30:14 $ docker top db3e4ce024f5a3c108972fc474155218f4b1e1ee7b472b4ccebd99267eee7987 -eo pid,comm [Pipeline] { [Pipeline] echo 02:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] libraryResource [Pipeline] sh [Pipeline] } 02:30:15 $ docker stop --time=1 162fbefb8472d844330699af88cfed6d6afc4e0d95749e1fb0e8e46d14d727bb 02:30:15 ---> job-cost.sh 02:30:15 lf-activate-venv: SKIPPING 02:30:15 INFO: No Stack... 02:30:15 INFO: Retrieving Pricing Info for: v3-standard-2 02:30:15 INFO: Archiving Costs 02:30:16 $ docker rm -f 162fbefb8472d844330699af88cfed6d6afc4e0d95749e1fb0e8e46d14d727bb [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 02:30:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:30:18 + cut -d, -f6 02:30:18 + cat /w/workspace/go-mod-registry/1/archives/cost.csv 02:30:18 Warning: overwriting stash ‘coverage-report’ [Pipeline] lock 02:30:18 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] 02:30:18 Resource [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] did not exist. Created. 02:30:18 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:30:18 Stashed 1 file(s) [Pipeline] } 02:30:18 + echo total: 0.05999999865889549 [Pipeline] // script [Pipeline] } [Pipeline] stash 02:30:18 Stashed 1 file(s) [Pipeline] // stage [Pipeline] } 02:30:18 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:30:18 $ docker stop --time=1 db3e4ce024f5a3c108972fc474155218f4b1e1ee7b472b4ccebd99267eee7987 02:30:19 $ docker rm -f db3e4ce024f5a3c108972fc474155218f4b1e1ee7b472b4ccebd99267eee7987 [Pipeline] stage [Pipeline] { (Build) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // stage [Pipeline] // node [Pipeline] } [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] // stage [Pipeline] } Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:30:21 02:30:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:30:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:30:21 arm64: Pulling from edgex-lftools-log-publisher 02:30:21 448f6bf000e3: Pulling fs layer 02:30:21 f757da607395: Pulling fs layer 02:30:21 05883995daec: Pulling fs layer 02:30:21 8603b9c90790: Pulling fs layer 02:30:21 1560dd03e051: Pulling fs layer 02:30:21 27f5ce0e4adf: Pulling fs layer 02:30:21 c2d8d7efcc4b: Pulling fs layer 02:30:21 1560dd03e051: Waiting 02:30:21 27f5ce0e4adf: Waiting 02:30:21 c2d8d7efcc4b: Waiting 02:30:21 8603b9c90790: Waiting 02:30:21 f757da607395: Verifying Checksum 02:30:21 f757da607395: Download complete 02:30:21 8603b9c90790: Download complete 02:30:21 1560dd03e051: Verifying Checksum 02:30:21 1560dd03e051: Download complete 02:30:21 27f5ce0e4adf: Verifying Checksum 02:30:21 27f5ce0e4adf: Download complete 02:30:21 05883995daec: Verifying Checksum 02:30:21 05883995daec: Download complete 02:30:22 448f6bf000e3: Verifying Checksum 02:30:22 448f6bf000e3: Download complete 02:30:24 c2d8d7efcc4b: Verifying Checksum 02:30:24 c2d8d7efcc4b: Download complete 02:30:25 448f6bf000e3: Pull complete 02:30:26 f757da607395: Pull complete 02:30:28 05883995daec: Pull complete 02:30:28 8603b9c90790: Pull complete 02:30:29 1560dd03e051: Pull complete 02:30:29 27f5ce0e4adf: Pull complete 02:30:44 c2d8d7efcc4b: Pull complete 02:30:44 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:30:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:30:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:30:44 prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container 02:30:44 $ 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 02:30:47 $ docker top 716ed771744ece0a831289c23b7539e1405d00581727b58229216f4736c85b44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:48 ---> job-cost.sh 02:30:48 lf-activate-venv: SKIPPING 02:30:48 INFO: No Stack... 02:30:48 INFO: Retrieving Pricing Info for: v3-standard-4 02:30:48 INFO: Archiving Costs [Pipeline] sh 02:30:49 + cut -d, -f6 02:30:49 + cat /w/workspace/go-mod-registry/1/archives/cost.csv [Pipeline] lock 02:30:49 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] 02:30:49 Resource [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] did not exist. Created. 02:30:49 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:30:50 /w/workspace/go-mod-registry/1@tmp/durable-97901866/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-97901866/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:30:50 + echo total: 0.10999999940395355 [Pipeline] stash 02:30:50 Warning: overwriting stash ‘stack-cost’ 02:30:50 Stashed 1 file(s) [Pipeline] } 02:30:50 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:30:50 $ docker stop --time=1 716ed771744ece0a831289c23b7539e1405d00581727b58229216f4736c85b44 02:30:52 $ docker rm -f 716ed771744ece0a831289c23b7539e1405d00581727b58229216f4736c85b44 [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 02:30:53 provisioning config files... 02:30:53 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-94@tmp/config6719814421871197581tmp [Pipeline] { [Pipeline] sh 02:30:53 + set +x 02:30:53 + curl -s https://codecov.io/bash 02:30:53 + bash -s -- 02:30:53 02:30:53 _____ _ 02:30:53 / ____| | | 02:30:53 | | ___ __| | ___ ___ _____ __ 02:30:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:30:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:30:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:30:53 Bash-1.0.6 02:30:53 02:30:53 02:30:53 ==> git version 2.24.4 found 02:30:53 ==> 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 02:30:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:30:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:30:53 ==> Jenkins CI detected. 02:30:53 current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-94 02:30:53 project root: . 02:30:53 --> token set from env 02:30:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:30:54 ==> Running gcov in . (disable via -X gcov) 02:30:54 ==> Python coveragepy not found 02:30:54 ==> Searching for coverage reports in: 02:30:54 + . 02:30:54 -> Found 1 reports 02:30:54 ==> Detecting git/mercurial file structure 02:30:54 ==> Reading reports 02:30:54 + ./coverage.out bytes=12273 02:30:54 ==> Appending adjustments 02:30:54 https://docs.codecov.io/docs/fixing-reports 02:30:54 + Found adjustments 02:30:54 ==> Gzipping contents 02:30:54 4.0K /tmp/codecov.8MolsY.gz 02:30:54 ==> Uploading reports 02:30:54 url: https://codecov.io 02:30:54 query: branch=PR-94&commit=bbe377d82b3cc2902800f306cb640cc0103e70cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=94&job=&cmd_args= 02:30:54 -> Pinging Codecov 02:30:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=PR-94&commit=bbe377d82b3cc2902800f306cb640cc0103e70cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=94&job=&cmd_args= 02:30:54 -> Uploading to 02:30:54 https://storage.googleapis.com/codecov/v4/raw/2022-01-05/05B643FFA8DEACB6C25F95B2D4D12284/bbe377d82b3cc2902800f306cb640cc0103e70cc/47460a2f-33bb-4c5a-910b-f7e6592e741d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220105T023054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a43cd79928cb2005641146076639fd2efcffbf82fc55e5df0cc3de5be47ccfc7 02:30:54 % Total % Received % Xferd Average Speed Time Time Time Current 02:30:54 Dload Upload Total Spent Left Speed 02:30:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2278 0 0 100 2278 0 6692 --:--:-- --:--:-- --:--:-- 6700 02:30:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/bbe377d82b3cc2902800f306cb640cc0103e70cc [Pipeline] } 02:30:55 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 02:30:56 + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-94/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:30:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:30:57 ---> package-listing.sh 02:30:57 ++ facter osfamily 02:30:57 ++ tr '[:upper:]' '[:lower:]' 02:30:57 + OS_FAMILY=redhat 02:30:57 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-94 02:30:57 + START_PACKAGES=/tmp/packages_start.txt 02:30:57 + END_PACKAGES=/tmp/packages_end.txt 02:30:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:30:57 + PACKAGES=/tmp/packages_start.txt 02:30:57 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-94 ']' 02:30:57 + PACKAGES=/tmp/packages_end.txt 02:30:57 + case "${OS_FAMILY}" in 02:30:57 + rpm -qa 02:30:57 + sort 02:30:58 + '[' -f /tmp/packages_start.txt ']' 02:30:58 + '[' -f /tmp/packages_end.txt ']' 02:30:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:30:58 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-94 ']' 02:30:58 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-94/archives/ 02:30:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-94/archives/ [Pipeline] echo 02:30:58 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:30:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:30:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:30:59 02:30:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:31:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:00 latest: Pulling from edgex-lftools-log-publisher 02:31:00 b4d181a07f80: Pulling fs layer 02:31:00 a1111a8f2ec3: Pulling fs layer 02:31:00 ed53099fbce6: Pulling fs layer 02:31:00 dc539afda2c1: Pulling fs layer 02:31:00 77bc0d833cb6: Pulling fs layer 02:31:00 9065ff56babe: Pulling fs layer 02:31:00 d287ab97295c: Pulling fs layer 02:31:00 dc539afda2c1: Waiting 02:31:00 77bc0d833cb6: Waiting 02:31:00 9065ff56babe: Waiting 02:31:00 d287ab97295c: Waiting 02:31:00 a1111a8f2ec3: Verifying Checksum 02:31:00 a1111a8f2ec3: Download complete 02:31:00 dc539afda2c1: Verifying Checksum 02:31:00 dc539afda2c1: Download complete 02:31:00 ed53099fbce6: Verifying Checksum 02:31:00 ed53099fbce6: Download complete 02:31:00 9065ff56babe: Verifying Checksum 02:31:00 9065ff56babe: Download complete 02:31:00 77bc0d833cb6: Verifying Checksum 02:31:00 77bc0d833cb6: Download complete 02:31:00 b4d181a07f80: Verifying Checksum 02:31:00 b4d181a07f80: Download complete 02:31:01 d287ab97295c: Verifying Checksum 02:31:01 d287ab97295c: Download complete 02:31:02 b4d181a07f80: Pull complete 02:31:02 a1111a8f2ec3: Pull complete 02:31:03 ed53099fbce6: Pull complete 02:31:03 dc539afda2c1: Pull complete 02:31:03 77bc0d833cb6: Pull complete 02:31:03 9065ff56babe: Pull complete 02:31:10 d287ab97295c: Pull complete 02:31:10 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:31:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:31:10 prd-centos7-docker-4c-2g-736 does not seem to be running inside a container 02:31:10 $ 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-94/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-94 -v /w/workspace/gexfoundry_go-mod-registry_PR-94:/w/workspace/gexfoundry_go-mod-registry_PR-94:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-94@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-94@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 02:31:13 $ docker top 2eaf3d80c63b33bdd0b77261a313127898e04bea01e3417bd71015b5e69fa61b -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:13 + touch /tmp/pre-build-complete [Pipeline] sh 02:31:14 + mkdir -p /var/log/sysstat [Pipeline] sh 02:31:14 + ls /var/log/sa-host 02:31:14 + sadf -c /var/log/sa-host/sa05 02:31:14 file_magic: OK 02:31:14 HZ: Using current value: 100 02:31:14 file_header: OK 02:31:14 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 02:31:14 Statistics: 02:31:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:31:14 File successfully converted to sysstat format version 12.0.3 02:31:14 + sadf -c /var/log/sa-host/sa17 02:31:14 file_magic: OK 02:31:14 HZ: Using current value: 100 02:31:14 file_header: OK 02:31:14 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 02:31:14 Statistics: 02:31:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:31:14 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:14 provisioning config files... 02:31:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-94@tmp/config1245155987031812800tmp [Pipeline] { [Pipeline] echo 02:31:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:31:15 ---> create-netrc.sh [Pipeline] } 02:31:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:31:15 ---> python-tools-install.sh [Pipeline] echo 02:31:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:31:16 ---> sudo-logs.sh 02:31:16 Archiving 'sudo' log.. 02:31:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-736.novalocal: Name or service not known 02:31:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-736.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:31:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:31:16 ---> job-cost.sh 02:31:16 lf-activate-venv: SKIPPING 02:31:16 DEBUG: total: 0.10999999940395355 02:31:16 INFO: Retrieving Stack Cost... 02:31:16 INFO: Retrieving Pricing Info for: v3-standard-2 02:31:17 INFO: Archiving Costs [Pipeline] echo 02:31:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:31:17 ---> logs-deploy.sh 02:31:17 lf-activate-venv: SKIPPING 02:31:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-94/1 02:31:17 INFO: archiving workspace using pattern(s): 02:31:18 Archives upload complete. 02:31:18 INFO: archiving logs to Nexus