Pull request #138 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-secrets Obtained Jenkinsfile from a45bf7ed852155c42dc463b03fe201c93554ac80+bb0b71fe786e37b1c8384b025951ab38022d03e7 (461dec567f6095ddec0d82ffdd12ae11427998c0) 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-ssh1636812406201082987.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-ssh9895449398761882681.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-secrets/branches/PR-138/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-secrets/branches/PR-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4992130028820075320.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-secrets/branches/PR-138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2252674240189361753.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-ssh18159192240718991954.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-secrets/branches/PR-138/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-secrets/branches/PR-138/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3634981870959320600.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-secrets, 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-secrets-settings PROJECT: go-mod-secrets 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-secrets 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-1279 in /w/workspace/gexfoundry_go-mod-secrets_PR-138 [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-secrets.git > git init /w/workspace/gexfoundry_go-mod-secrets_PR-138 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets_PR-138@tmp/jenkins-gitclient-ssh746540234148925119.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bb0b71fe786e37b1c8384b025951ab38022d03e7 into PR head commit a45bf7ed852155c42dc463b03fe201c93554ac80 Merge succeeded, producing a45bf7ed852155c42dc463b03fe201c93554ac80 Checking out Revision a45bf7ed852155c42dc463b03fe201c93554ac80 (PR-138) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets_PR-138@tmp/jenkins-gitclient-ssh3741021941006943035.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a45bf7ed852155c42dc463b03fe201c93554ac80 # 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-secrets_PR-138@tmp/jenkins-gitclient-ssh3036672350785906667.key > git merge bb0b71fe786e37b1c8384b025951ab38022d03e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a45bf7ed852155c42dc463b03fe201c93554ac80 # 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:48:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:48:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:48:21 ========================================================= 21:48:21 EdgeX Global Pipelines Version Info 21:48:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:48:22 ------------------- 21:48:22 stable info: 21:48:22 ------------------- 21:48:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:48:22 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 21:48:22 Message: update stable to v1.0.218 21:48:23 ------------------- 21:48:23 experimental info: 21:48:23 ------------------- 21:48:23 Commited By: **** collab-it+edgex@linuxfoundation.org 21:48:23 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 21:48:23 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:48:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a45bf7ed852155c42dc463b03fe201c93554ac80 [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a45bf7e [Pipeline] echo 21:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:48:25 + git rev-list -1 --merges a45bf7ed852155c42dc463b03fe201c93554ac80~1..a45bf7ed852155c42dc463b03fe201c93554ac80 [Pipeline] echo 21:48:25 -----------> git rev-list -1 --merges a45bf7ed852155c42dc463b03fe201c93554ac80~1..a45bf7ed852155c42dc463b03fe201c93554ac80 a45bf7ed852155c42dc463b03fe201c93554ac80 [false] [Pipeline] sh 21:48:25 + git log --format=format:%s -1 a45bf7ed852155c42dc463b03fe201c93554ac80 [Pipeline] echo 21:48:25 ========================================================= 21:48:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:48:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:48:26 + git log --format=format:%s -1 a45bf7ed852155c42dc463b03fe201c93554ac80 [Pipeline] echo 21:48:26 [semverPrep] GIT_COMMIT: a45bf7ed852155c42dc463b03fe201c93554ac80, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 21:48:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:48:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 21:48:26 + grep -v github /etc/ssh/ssh_known_hosts 21:48:26 + '[' -e /tmp/ssh_known_hosts ']' 21:48:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:48:26 + sudo tee -a /etc/ssh/ssh_known_hosts 21:48:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 21:48:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:48:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:26 21:48:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:48:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:27 latest: Pulling from edgex-devops/git-semver 21:48:27 a0d0a0d46f8b: Pulling fs layer 21:48:27 3e5f54012d9b: Pulling fs layer 21:48:27 4c7163046ea9: Pulling fs layer 21:48:27 0c2d73faf560: Pulling fs layer 21:48:27 0c2d73faf560: Waiting 21:48:27 3e5f54012d9b: Verifying Checksum 21:48:27 3e5f54012d9b: Download complete 21:48:27 a0d0a0d46f8b: Download complete 21:48:27 0c2d73faf560: Verifying Checksum 21:48:27 0c2d73faf560: Download complete 21:48:27 4c7163046ea9: Verifying Checksum 21:48:27 4c7163046ea9: Download complete 21:48:27 a0d0a0d46f8b: Pull complete 21:48:27 3e5f54012d9b: Pull complete 21:48:27 4c7163046ea9: Pull complete 21:48:28 0c2d73faf560: Pull complete 21:48:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:48:28 prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container 21:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-138 -v /w/workspace/gexfoundry_go-mod-secrets_PR-138:/w/workspace/gexfoundry_go-mod-secrets_PR-138:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-138@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:48:28 $ docker top 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:48:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:29 [ssh-agent] Looking for ssh-agent implementation... 21:48:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:29 $ docker exec 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 ssh-agent 21:48:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXecggMA/agent.14 21:48:29 SSH_AGENT_PID=20 21:48:29 Running ssh-add (command line suppressed) 21:48:29 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp/private_key_5955547716806474966.key (/w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp/private_key_5955547716806474966.key) 21:48:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:29 + git tag --points-at HEAD [Pipeline] } 21:48:29 $ docker exec --env ******** --env ******** 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 ssh-agent -k 21:48:29 unset SSH_AUTH_SOCK; 21:48:29 unset SSH_AGENT_PID; 21:48:29 echo Agent pid 20 killed; 21:48:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:48:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:29 [ssh-agent] Looking for ssh-agent implementation... 21:48:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:30 $ docker exec 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 ssh-agent 21:48:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAHEEfn/agent.53 21:48:30 SSH_AGENT_PID=59 21:48:30 Running ssh-add (command line suppressed) 21:48:30 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp/private_key_4242857336301693134.key (/w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp/private_key_4242857336301693134.key) 21:48:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:30 + git semver init 21:48:30 # -> Open(): unable to determine branch for HEAD 21:48:30 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-138/.git 21:48:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_PR-138 21:48:30 # $SEMVER_REMOTE_NAME = origin 21:48:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:48:30 # $SEMVER_USER_NAME = edgex-jenkins 21:48:30 # $SEMVER_BRANCH = PR-138 21:48:30 # $SEMVER_TEMP = /tmp/semver-501681097 21:48:30 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 21:48:31 # '/tmp/semver-501681097' -> '/w/workspace/gexfoundry_go-mod-secrets_PR-138/.semver' 21:48:31 # -> Force: false 21:48:31 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-138/.semver [Pipeline] } 21:48:31 $ docker exec --env ******** --env ******** 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 ssh-agent -k 21:48:31 unset SSH_AUTH_SOCK; 21:48:31 unset SSH_AGENT_PID; 21:48:31 echo Agent pid 59 killed; 21:48:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:48:31 + git semver [Pipeline] } 21:48:31 $ docker stop --time=1 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 21:48:33 $ docker rm -f 39ea82527eafdc5b1ec8191a84d6246c216962e5453785a36a0b0e1608bbdbd1 [Pipeline] // withDockerContainer [Pipeline] sh 21:48:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:48:33 Stashed 1 file(s) [Pipeline] echo 21:48:33 [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:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:48:34 ========================================================= 21:48:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:48:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:48:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:48:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:48:34 a0d0a0d46f8b: Already exists 21:48:34 31adcdaf11c8: Pulling fs layer 21:48:34 b8b176561691: Pulling fs layer 21:48:34 4527c011a84f: Pulling fs layer 21:48:34 5d74067f8e1e: Pulling fs layer 21:48:34 e0aca202a116: Pulling fs layer 21:48:34 3a43be97a3b4: Pulling fs layer 21:48:34 34cad66bf833: Pulling fs layer 21:48:34 b4e3c513aaa6: Pulling fs layer 21:48:34 5d74067f8e1e: Waiting 21:48:34 e0aca202a116: Waiting 21:48:34 3a43be97a3b4: Waiting 21:48:34 34cad66bf833: Waiting 21:48:34 b4e3c513aaa6: Waiting 21:48:34 b8b176561691: Verifying Checksum 21:48:34 b8b176561691: Download complete 21:48:34 31adcdaf11c8: Verifying Checksum 21:48:34 31adcdaf11c8: Download complete 21:48:34 5d74067f8e1e: Verifying Checksum 21:48:34 5d74067f8e1e: Download complete 21:48:34 e0aca202a116: Verifying Checksum 21:48:34 e0aca202a116: Download complete 21:48:34 3a43be97a3b4: Verifying Checksum 21:48:34 3a43be97a3b4: Download complete 21:48:35 34cad66bf833: Verifying Checksum 21:48:35 34cad66bf833: Download complete 21:48:35 31adcdaf11c8: Pull complete 21:48:35 b8b176561691: Pull complete 21:48:35 4527c011a84f: Verifying Checksum 21:48:35 4527c011a84f: Download complete 21:48:35 b4e3c513aaa6: Verifying Checksum 21:48:35 b4e3c513aaa6: Download complete 21:48:38 4527c011a84f: Pull complete 21:48:38 5d74067f8e1e: Pull complete 21:48:38 e0aca202a116: Pull complete 21:48:39 3a43be97a3b4: Pull complete 21:48:39 34cad66bf833: Pull complete 21:48:41 b4e3c513aaa6: Pull complete 21:48:41 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 21:48:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:48:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 21:48:42 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 21:48:42 + docker inspect -f . ci-base-image-x86_64 21:48:42 . [Pipeline] withDockerContainer 21:48:42 prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container 21:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-138 -v /w/workspace/gexfoundry_go-mod-secrets_PR-138:/w/workspace/gexfoundry_go-mod-secrets_PR-138:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-138@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:48:44 $ docker top 7d815e9242b4b8e4d2d4a864d4365eaaea3faa0296b0cb76dbff7c8b4fe16d3d -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:45 + go version 21:48:45 go version go1.16.8 linux/amd64 [Pipeline] } 21:48:45 $ docker stop --time=1 7d815e9242b4b8e4d2d4a864d4365eaaea3faa0296b0cb76dbff7c8b4fe16d3d 21:48:46 $ docker rm -f 7d815e9242b4b8e4d2d4a864d4365eaaea3faa0296b0cb76dbff7c8b4fe16d3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:48:47 + docker inspect -f . ci-base-image-x86_64 21:48:47 . [Pipeline] withDockerContainer 21:48:47 prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container 21:48:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-138 -v /w/workspace/gexfoundry_go-mod-secrets_PR-138:/w/workspace/gexfoundry_go-mod-secrets_PR-138:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-138@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:48:47 $ docker top e9c9a038081e28af2c9c8ab71efc5e1ed069183e98cd33e416abf380f5ee9bef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:48:48 + make test 21:48:48 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 21:48:49 Still waiting to schedule task 21:48:49 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1277’ 21:48:49 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:48:49 go: downloading github.com/stretchr/testify v1.7.0 21:48:49 go: downloading github.com/davecgh/go-spew v1.1.1 21:48:49 go: downloading github.com/pmezard/go-difflib v1.0.0 21:48:49 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:48:49 go: downloading github.com/stretchr/objx v0.1.1 21:48:49 go: downloading github.com/go-kit/kit v0.11.0 21:48:49 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:48:49 go: downloading github.com/google/uuid v1.3.0 21:48:49 go: downloading github.com/go-playground/universal-translator v0.18.0 21:48:49 go: downloading github.com/leodido/go-urn v1.2.1 21:48:49 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:48:49 go: downloading golang.org/x/text v0.3.6 21:48:49 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:48:49 go: downloading github.com/go-playground/locales v0.14.0 21:49:16 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.239s coverage: 80.5% of statements 21:49:16 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.054s coverage: 57.1% of statements 21:49:16 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 21:49:19 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.065s coverage: 96.7% of statements 21:49:19 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.031s coverage: 89.5% of statements 21:49:19 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 21:49:19 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.025s coverage: 100.0% of statements 21:49:19 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 21:49:19 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.025s coverage: 84.6% of statements 21:49:19 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.047s coverage: 100.0% of statements 21:49:19 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 21:49:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:49:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:49:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:49:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:49:35 $ docker stop --time=1 e9c9a038081e28af2c9c8ab71efc5e1ed069183e98cd33e416abf380f5ee9bef 21:49:37 $ docker rm -f e9c9a038081e28af2c9c8ab71efc5e1ed069183e98cd33e416abf380f5ee9bef [Pipeline] // withDockerContainer [Pipeline] sh 21:49:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:49:37 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:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:38 21:49:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:49:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:39 latest: Pulling from edgex-lftools-log-publisher 21:49:39 b4d181a07f80: Pulling fs layer 21:49:39 a1111a8f2ec3: Pulling fs layer 21:49:39 ed53099fbce6: Pulling fs layer 21:49:39 dc539afda2c1: Pulling fs layer 21:49:39 77bc0d833cb6: Pulling fs layer 21:49:39 9065ff56babe: Pulling fs layer 21:49:39 d287ab97295c: Pulling fs layer 21:49:39 dc539afda2c1: Waiting 21:49:39 77bc0d833cb6: Waiting 21:49:39 9065ff56babe: Waiting 21:49:39 d287ab97295c: Waiting 21:49:39 a1111a8f2ec3: Verifying Checksum 21:49:39 a1111a8f2ec3: Download complete 21:49:39 dc539afda2c1: Verifying Checksum 21:49:39 dc539afda2c1: Download complete 21:49:39 77bc0d833cb6: Verifying Checksum 21:49:39 77bc0d833cb6: Download complete 21:49:39 ed53099fbce6: Verifying Checksum 21:49:39 ed53099fbce6: Download complete 21:49:39 9065ff56babe: Verifying Checksum 21:49:39 9065ff56babe: Download complete 21:49:39 b4d181a07f80: Verifying Checksum 21:49:39 b4d181a07f80: Download complete 21:49:39 d287ab97295c: Verifying Checksum 21:49:39 d287ab97295c: Download complete 21:49:40 b4d181a07f80: Pull complete 21:49:40 a1111a8f2ec3: Pull complete 21:49:41 ed53099fbce6: Pull complete 21:49:41 dc539afda2c1: Pull complete 21:49:41 77bc0d833cb6: Pull complete 21:49:41 9065ff56babe: Pull complete 21:49:47 d287ab97295c: Pull complete 21:49:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:49:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:49:47 prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container 21:49:47 $ 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-secrets_PR-138 -v /w/workspace/gexfoundry_go-mod-secrets_PR-138:/w/workspace/gexfoundry_go-mod-secrets_PR-138:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-138@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:49:49 $ docker top 034ed9b34effb4f97bdce5a27390663a11b2bfae11e1bb4bffc2f72d2bf528ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:50 ---> job-cost.sh 21:49:50 lf-activate-venv: SKIPPING 21:49:50 INFO: No Stack... 21:49:50 INFO: Retrieving Pricing Info for: v3-standard-2 21:49:50 INFO: Archiving Costs [Pipeline] sh 21:49:51 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives/cost.csv 21:49:51 + cut -d, -f6 [Pipeline] lock 21:49:51 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] 21:49:51 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] did not exist. Created. 21:49:51 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:51 + echo total: 0.05999999865889549 [Pipeline] stash 21:49:51 Stashed 1 file(s) [Pipeline] } 21:49:51 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:51 $ docker stop --time=1 034ed9b34effb4f97bdce5a27390663a11b2bfae11e1bb4bffc2f72d2bf528ca 21:49:52 $ docker rm -f 034ed9b34effb4f97bdce5a27390663a11b2bfae11e1bb4bffc2f72d2bf528ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:50:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1282 in /w/workspace/gexfoundry_go-mod-secrets_PR-138 [Pipeline] { [Pipeline] ws 21:50:57 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 21:50:57 Selected Git installation does not exist. Using Default 21:50:57 The recommended git tool is: NONE 21:51:02 using credential edgex-jenkins-ssh 21:51:02 Cloning the remote Git repository 21:51:02 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 21:51:02 > git init /w/workspace/go-mod-secrets/1 # timeout=10 21:51:03 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 21:51:03 > git --version # timeout=10 21:51:03 > git --version # 'git version 2.17.1' 21:51:03 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:04 Merging remotes/origin/main commit bb0b71fe786e37b1c8384b025951ab38022d03e7 into PR head commit a45bf7ed852155c42dc463b03fe201c93554ac80 21:51:05 Merge succeeded, producing a45bf7ed852155c42dc463b03fe201c93554ac80 21:51:05 Checking out Revision a45bf7ed852155c42dc463b03fe201c93554ac80 (PR-138) 21:51:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 21:51:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 21:51:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 21:51:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:51:04 > git config core.sparsecheckout # timeout=10 21:51:04 > git checkout -f a45bf7ed852155c42dc463b03fe201c93554ac80 # timeout=10 21:51:05 > git remote # timeout=10 21:51:05 > git config --get remote.origin.url # timeout=10 21:51:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:05 > git merge bb0b71fe786e37b1c8384b025951ab38022d03e7 # timeout=10 21:51:05 > git rev-parse HEAD^{commit} # timeout=10 21:51:05 > git config core.sparsecheckout # timeout=10 21:51:05 > git checkout -f a45bf7ed852155c42dc463b03fe201c93554ac80 # timeout=10 21:51:09 Commit message: "feat(security): Enable gosec and default linter set" 21:51:09 > git --version # timeout=10 21:51:09 > git --version # 'git version 2.17.1' 21:51:09 fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:51:10 % Total % Received % Xferd Average Speed Time Time Time Current 21:51:10 Dload Upload Total Spent Left Speed 21:51:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 21:51:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:51:11 + sudo tee /etc/docker/daemon.new 21:51:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:51:11 { 21:51:11 "registry-mirrors": [ 21:51:11 "https://nexus3.edgexfoundry.org:10001" 21:51:11 ], 21:51:11 "bip": "10.250.0.254/24", 21:51:11 "hosts": [ 21:51:11 "tcp://0.0.0.0:5555", 21:51:11 "unix:///var/run/docker.sock" 21:51:11 ], 21:51:11 "mtu": 1458, 21:51:11 "selinux-enabled": true, 21:51:11 "seccomp-profile": "/etc/docker/seccomp.json" 21:51:11 } [Pipeline] sh 21:51:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:51:12 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 21:51:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:30 ========================================================= 21:51:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:51:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:51:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:51:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:51:32 552d1f2373af: Pulling fs layer 21:51:32 ea3f2d53f512: Pulling fs layer 21:51:32 9e70ebbbe112: Pulling fs layer 21:51:32 7a9cfe048b4a: Pulling fs layer 21:51:32 72dc09318566: Pulling fs layer 21:51:32 f4f7b4309257: Pulling fs layer 21:51:32 0ac9a79272e3: Pulling fs layer 21:51:32 b78e95d17946: Pulling fs layer 21:51:32 72dc09318566: Waiting 21:51:32 f4f7b4309257: Waiting 21:51:32 0ac9a79272e3: Waiting 21:51:32 b78e95d17946: Waiting 21:51:32 7a9cfe048b4a: Waiting 21:51:32 9e70ebbbe112: Verifying Checksum 21:51:32 9e70ebbbe112: Download complete 21:51:32 ea3f2d53f512: Download complete 21:51:32 72dc09318566: Verifying Checksum 21:51:32 72dc09318566: Download complete 21:51:32 f4f7b4309257: Verifying Checksum 21:51:32 f4f7b4309257: Download complete 21:51:32 552d1f2373af: Download complete 21:51:32 0ac9a79272e3: Verifying Checksum 21:51:32 0ac9a79272e3: Download complete 21:51:32 552d1f2373af: Pull complete 21:51:33 ea3f2d53f512: Pull complete 21:51:33 9e70ebbbe112: Pull complete 21:51:33 b78e95d17946: Verifying Checksum 21:51:33 b78e95d17946: Download complete 21:51:34 7a9cfe048b4a: Verifying Checksum 21:51:34 7a9cfe048b4a: Download complete 21:51:44 7a9cfe048b4a: Pull complete 21:51:44 72dc09318566: Pull complete 21:51:44 f4f7b4309257: Pull complete 21:51:44 0ac9a79272e3: Pull complete 21:51:51 b78e95d17946: Pull complete 21:51:51 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 21:51:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:51:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 21:51:51 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 21:51:52 + docker inspect -f . ci-base-image-arm64 21:51:52 . [Pipeline] withDockerContainer 21:51:52 prd-ubuntu18.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container 21:51:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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:51:55 $ docker top 4b58d004df6859916571dbad5ab04d1efa25c5c39a136dbabe61903491f99408 -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:56 + go version 21:51:56 go version go1.16.8 linux/arm64 [Pipeline] } 21:51:56 $ docker stop --time=1 4b58d004df6859916571dbad5ab04d1efa25c5c39a136dbabe61903491f99408 21:51:58 $ docker rm -f 4b58d004df6859916571dbad5ab04d1efa25c5c39a136dbabe61903491f99408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:51:59 + docker inspect -f . ci-base-image-arm64 21:51:59 . [Pipeline] withDockerContainer 21:51:59 prd-ubuntu18.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container 21:51:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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:52:00 $ docker top aaabeb2fa97d9a65566e6d4a5a2d0952eb056d0679ffdc0e3f79abb3b6debd62 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:52:01 + make test 21:52:01 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 21:52:04 go: downloading github.com/stretchr/testify v1.7.0 21:52:04 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:52:04 go: downloading github.com/davecgh/go-spew v1.1.1 21:52:04 go: downloading github.com/pmezard/go-difflib v1.0.0 21:52:04 go: downloading github.com/stretchr/objx v0.1.1 21:52:04 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:52:04 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:52:04 go: downloading github.com/google/uuid v1.3.0 21:52:04 go: downloading github.com/go-kit/kit v0.11.0 21:52:04 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:52:04 go: downloading github.com/go-playground/universal-translator v0.18.0 21:52:04 go: downloading github.com/leodido/go-urn v1.2.1 21:52:05 go: downloading golang.org/x/text v0.3.6 21:52:05 go: downloading github.com/go-playground/locales v0.14.0 21:52:05 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.702s coverage: 80.5% of statements 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.206s coverage: 57.1% of statements 21:53:27 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.218s coverage: 96.7% of statements 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.098s coverage: 89.5% of statements 21:53:27 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.080s coverage: 100.0% of statements 21:53:27 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.099s coverage: 84.6% of statements 21:53:27 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.181s coverage: 100.0% of statements 21:53:27 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 21:53:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:53:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:53:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:53:49 $ docker stop --time=1 aaabeb2fa97d9a65566e6d4a5a2d0952eb056d0679ffdc0e3f79abb3b6debd62 21:53:51 $ docker rm -f aaabeb2fa97d9a65566e6d4a5a2d0952eb056d0679ffdc0e3f79abb3b6debd62 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:53 Warning: overwriting stash ‘coverage-report’ 21:53:53 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:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:53:54 21:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:53:55 arm64: Pulling from edgex-lftools-log-publisher 21:53:55 448f6bf000e3: Pulling fs layer 21:53:55 f757da607395: Pulling fs layer 21:53:55 05883995daec: Pulling fs layer 21:53:55 8603b9c90790: Pulling fs layer 21:53:55 1560dd03e051: Pulling fs layer 21:53:55 27f5ce0e4adf: Pulling fs layer 21:53:55 c2d8d7efcc4b: Pulling fs layer 21:53:55 1560dd03e051: Waiting 21:53:55 27f5ce0e4adf: Waiting 21:53:55 c2d8d7efcc4b: Waiting 21:53:55 8603b9c90790: Waiting 21:53:55 f757da607395: Verifying Checksum 21:53:55 f757da607395: Download complete 21:53:55 8603b9c90790: Verifying Checksum 21:53:55 8603b9c90790: Download complete 21:53:55 1560dd03e051: Verifying Checksum 21:53:55 1560dd03e051: Download complete 21:53:55 27f5ce0e4adf: Download complete 21:53:55 05883995daec: Download complete 21:53:55 448f6bf000e3: Verifying Checksum 21:53:55 448f6bf000e3: Download complete 21:53:58 c2d8d7efcc4b: Verifying Checksum 21:53:58 c2d8d7efcc4b: Download complete 21:53:59 448f6bf000e3: Pull complete 21:54:00 f757da607395: Pull complete 21:54:02 05883995daec: Pull complete 21:54:02 8603b9c90790: Pull complete 21:54:03 1560dd03e051: Pull complete 21:54:03 27f5ce0e4adf: Pull complete 21:54:18 c2d8d7efcc4b: Pull complete 21:54:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:54:18 prd-ubuntu18.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container 21:54:18 $ 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-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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:54:21 $ docker top c73769f2d2aebccfa2afdcf496c3810921664092e5bf25a4d82d5c45e2245e20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:22 ---> job-cost.sh 21:54:22 lf-activate-venv: SKIPPING 21:54:22 INFO: No Stack... 21:54:22 INFO: Retrieving Pricing Info for: v3-standard-4 21:54:23 INFO: Archiving Costs [Pipeline] sh 21:54:23 + cat /w/workspace/go-mod-secrets/1/archives/cost.csv 21:54:23 + cut -d, -f6 [Pipeline] lock 21:54:23 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] 21:54:23 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] did not exist. Created. 21:54:23 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:24 /w/workspace/go-mod-secrets/1@tmp/durable-83b3dc48/script.sh: 1: /w/workspace/go-mod-secrets/1@tmp/durable-83b3dc48/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:54:25 + echo total: 0.10999999940395355 [Pipeline] stash 21:54:25 Warning: overwriting stash ‘stack-cost’ 21:54:25 Stashed 1 file(s) [Pipeline] } 21:54:25 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:25 $ docker stop --time=1 c73769f2d2aebccfa2afdcf496c3810921664092e5bf25a4d82d5c45e2245e20 21:54:26 $ docker rm -f c73769f2d2aebccfa2afdcf496c3810921664092e5bf25a4d82d5c45e2245e20 [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:54:27 provisioning config files... 21:54:27 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp/config1353709699974302237tmp [Pipeline] { [Pipeline] sh 21:54:28 + set +x 21:54:28 + bash -s -- 21:54:28 + curl -s https://codecov.io/bash 21:54:28 21:54:28 _____ _ 21:54:28 / ____| | | 21:54:28 | | ___ __| | ___ ___ _____ __ 21:54:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:54:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:54:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:54:28 Bash-1.0.6 21:54:28 21:54:28 21:54:28 ==> git version 2.24.4 found 21:54:28 ==> 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:54:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:54:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:54:28 ==> Jenkins CI detected. 21:54:28 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-138 21:54:28 project root: . 21:54:28 --> token set from env 21:54:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:54:28 ==> Running gcov in . (disable via -X gcov) 21:54:28 ==> Python coveragepy not found 21:54:28 ==> Searching for coverage reports in: 21:54:28 + . 21:54:28 -> Found 1 reports 21:54:28 ==> Detecting git/mercurial file structure 21:54:28 ==> Reading reports 21:54:28 + ./coverage.out bytes=27590 21:54:28 ==> Appending adjustments 21:54:28 https://docs.codecov.io/docs/fixing-reports 21:54:28 + Found adjustments 21:54:28 ==> Gzipping contents 21:54:28 8.0K /tmp/codecov.l7pu4Y.gz 21:54:28 ==> Uploading reports 21:54:28 url: https://codecov.io 21:54:28 query: branch=PR-138&commit=a45bf7ed852155c42dc463b03fe201c93554ac80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-138%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=138&job=&cmd_args= 21:54:28 -> Pinging Codecov 21:54:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-138&commit=a45bf7ed852155c42dc463b03fe201c93554ac80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-138%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=138&job=&cmd_args= 21:54:29 -> Uploading to 21:54:29 https://storage.googleapis.com/codecov/v4/raw/2022-01-11/D63849C06B6B67093493C71CE874ED06/a45bf7ed852155c42dc463b03fe201c93554ac80/fb7767ac-939f-4523-8500-1e1aabc3cb74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T215428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=013972f079c0e5134f87762ae40a853301cc841b1af7fb16bba758eac55a6e21 21:54:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:54:29 Dload Upload Total Spent Left Speed 21:54:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5695 0 0 100 5695 0 19207 --:--:-- --:--:-- --:--:-- 19239 21:54:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/a45bf7ed852155c42dc463b03fe201c93554ac80 [Pipeline] } 21:54:29 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:54:30 + '[' -d /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives ']' 21:54:30 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives 21:54:30 total 8 21:54:30 drwxr-xr-x. 3 root root 34 Jan 11 21:49 . 21:54:30 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:49 .. 21:54:30 drwxr-xr-x. 2 root root 6 Jan 11 21:49 cost 21:54:30 -rw-r--r--. 1 root root 85 Jan 11 21:49 cost.csv 21:54:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives 21:54:30 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives 21:54:30 total 8 21:54:30 drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 21:49 . 21:54:30 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:49 .. 21:54:30 drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 21:49 cost 21:54:30 -rw-r--r--. 1 jenkins jenkins 85 Jan 11 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:54:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:54:31 ---> package-listing.sh 21:54:31 ++ facter osfamily 21:54:31 ++ tr '[:upper:]' '[:lower:]' 21:54:32 + OS_FAMILY=redhat 21:54:32 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-138 21:54:32 + START_PACKAGES=/tmp/packages_start.txt 21:54:32 + END_PACKAGES=/tmp/packages_end.txt 21:54:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:32 + PACKAGES=/tmp/packages_start.txt 21:54:32 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-138 ']' 21:54:32 + PACKAGES=/tmp/packages_end.txt 21:54:32 + case "${OS_FAMILY}" in 21:54:32 + sort 21:54:32 + rpm -qa 21:54:32 + '[' -f /tmp/packages_start.txt ']' 21:54:32 + '[' -f /tmp/packages_end.txt ']' 21:54:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:54:32 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-138 ']' 21:54:32 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives/ 21:54:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-138/archives/ [Pipeline] echo 21:54:32 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-secrets_PR-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:54:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:33 . [Pipeline] withDockerContainer 21:54:33 prd-centos7-docker-4c-2g-1279 does not seem to be running inside a container 21:54:33 $ 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-secrets_PR-138/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-secrets_PR-138 -v /w/workspace/gexfoundry_go-mod-secrets_PR-138:/w/workspace/gexfoundry_go-mod-secrets_PR-138:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-138@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:54:33 $ docker top f8c4933a463d2e2c5393ab11e38aeaaed7401be64f4d6619684fd6f5a3025a9a -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:34 + touch /tmp/pre-build-complete [Pipeline] sh 21:54:34 + mkdir -p /var/log/sysstat [Pipeline] sh 21:54:34 + ls /var/log/sa-host 21:54:34 + sadf -c /var/log/sa-host/sa11 21:54:34 file_magic: OK 21:54:34 HZ: Using current value: 100 21:54:34 file_header: OK 21:54:34 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:54:34 Statistics: 21:54:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:54:34 File successfully converted to sysstat format version 12.0.3 21:54:34 + sadf -c /var/log/sa-host/sa17 21:54:34 file_magic: OK 21:54:34 HZ: Using current value: 100 21:54:34 file_header: OK 21:54:34 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:54:34 Statistics: 21:54:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:54:34 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:35 provisioning config files... 21:54:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-138@tmp/config7869005186808484443tmp [Pipeline] { [Pipeline] echo 21:54:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:54:35 ---> create-netrc.sh [Pipeline] } 21:54:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:54:35 ---> python-tools-install.sh [Pipeline] echo 21:54:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:54:36 ---> sudo-logs.sh 21:54:36 Archiving 'sudo' log.. 21:54:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-1279.novalocal: Name or service not known 21:54:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-1279.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:54:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:54:37 ---> job-cost.sh 21:54:37 lf-activate-venv: SKIPPING 21:54:37 DEBUG: total: 0.05999999865889549 21:54:37 INFO: Retrieving Stack Cost... 21:54:37 INFO: Retrieving Pricing Info for: v3-standard-2 21:54:37 INFO: Archiving Costs [Pipeline] echo 21:54:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:54:38 ---> logs-deploy.sh 21:54:38 lf-activate-venv: SKIPPING 21:54:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-138/1 21:54:38 INFO: archiving workspace using pattern(s): 21:54:38 Archives upload complete. 21:54:39 INFO: archiving logs to Nexus