Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 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-ssh8824699422674555926.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13448565819610695208.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8438043211426062287.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 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-ssh5257532120864947487.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8438725287549827358.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-8654’ Running on prd-ubuntu20.04-docker-8c-8g-8656 in /w/workspace/edgexfoundry_go-mod-secrets_main [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/edgexfoundry_go-mod-secrets_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 # timeout=10 Commit message: "feat(security): implement runtime token provider GetRawToken client API call for obtaining secret store token (#141)" > git rev-list --no-walk b8fdcee7cd50b33afe9f7509d4236690c9990512 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:48:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:48:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:48:45 ========================================================= 15:48:45 EdgeX Global Pipelines Version Info 15:48:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:48:46 ------------------- 15:48:46 stable info: 15:48:46 ------------------- 15:48:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:48:46 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:48:46 Message: update stable to v1.0.221 15:48:47 ------------------- 15:48:47 experimental info: 15:48:47 ------------------- 15:48:47 Commited By: **** collab-it+edgex@linuxfoundation.org 15:48:47 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:48:47 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ea7921 [Pipeline] echo 15:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:48:47 + git rev-list -1 --merges 7ea7921d7b7d504c5740bf8b039c465ec8ecab94~1..7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [Pipeline] echo 15:48:48 -----------> git rev-list -1 --merges 7ea7921d7b7d504c5740bf8b039c465ec8ecab94~1..7ea7921d7b7d504c5740bf8b039c465ec8ecab94 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [false] [Pipeline] sh 15:48:48 + git log --format=format:%s -1 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [Pipeline] echo 15:48:48 ========================================================= 15:48:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:48:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:48 + git log --format=format:%s -1 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [Pipeline] echo 15:48:48 [semverPrep] GIT_COMMIT: 7ea7921d7b7d504c5740bf8b039c465ec8ecab94, Commit Message: feat(security): implement runtime token provider GetRawToken client API call for obtaining secret store token (#141) [Pipeline] echo 15:48:48 [semverPrep] This is not a build commit. [Pipeline] sh 15:48:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:49 + grep -v github /etc/ssh/ssh_known_hosts 15:48:49 + [ -e /tmp/ssh_known_hosts ] 15:48:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:48:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:48:49 + sudo tee -a /etc/ssh/ssh_known_hosts 15:48:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:48:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:48:49 15:48:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:48:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:48:50 latest: Pulling from edgex-devops/git-semver 15:48:50 a0d0a0d46f8b: Pulling fs layer 15:48:50 3e5f54012d9b: Pulling fs layer 15:48:50 4c7163046ea9: Pulling fs layer 15:48:50 0c2d73faf560: Pulling fs layer 15:48:50 0c2d73faf560: Waiting 15:48:50 3e5f54012d9b: Download complete 15:48:50 a0d0a0d46f8b: Verifying Checksum 15:48:50 a0d0a0d46f8b: Download complete 15:48:50 0c2d73faf560: Verifying Checksum 15:48:50 0c2d73faf560: Download complete 15:48:50 4c7163046ea9: Download complete 15:48:50 a0d0a0d46f8b: Pull complete 15:48:50 3e5f54012d9b: Pull complete 15:48:50 4c7163046ea9: Pull complete 15:48:50 0c2d73faf560: Pull complete 15:48:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:48:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:48:51 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:48:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:48:51 $ docker top e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:51 [ssh-agent] Looking for ssh-agent implementation... 15:48:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:52 $ docker exec e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e ssh-agent 15:48:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkdKpEK/agent.14 15:48:52 SSH_AGENT_PID=21 15:48:52 Running ssh-add (command line suppressed) 15:48:52 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_396887856929075892.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_396887856929075892.key) 15:48:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:52 + git tag --points-at HEAD [Pipeline] } 15:48:52 $ docker exec --env ******** --env ******** e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e ssh-agent -k 15:48:52 unset SSH_AUTH_SOCK; 15:48:52 unset SSH_AGENT_PID; 15:48:52 echo Agent pid 21 killed; 15:48:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:48:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:52 [ssh-agent] Looking for ssh-agent implementation... 15:48:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:52 $ docker exec e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e ssh-agent 15:48:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFiocke/agent.55 15:48:53 SSH_AGENT_PID=61 15:48:53 Running ssh-add (command line suppressed) 15:48:53 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_4005184058969911997.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_4005184058969911997.key) 15:48:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:53 + git semver init 15:48:53 # -> Open(): unable to determine branch for HEAD 15:48:53 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 15:48:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 15:48:53 # $SEMVER_REMOTE_NAME = origin 15:48:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:48:53 # $SEMVER_USER_NAME = edgex-jenkins 15:48:53 # $SEMVER_BRANCH = main 15:48:53 # $SEMVER_TEMP = /tmp/semver-987628272 15:48:53 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 15:48:54 # '/tmp/semver-987628272' -> '/w/workspace/edgexfoundry_go-mod-secrets_main/.semver' 15:48:54 # -> Force: false 15:48:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } 15:48:54 $ docker exec --env ******** --env ******** e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e ssh-agent -k 15:48:54 unset SSH_AUTH_SOCK; 15:48:54 unset SSH_AGENT_PID; 15:48:54 echo Agent pid 61 killed; 15:48:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:54 + git semver [Pipeline] } 15:48:54 $ docker stop --time=1 e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e 15:48:55 $ docker rm -f e8995ac04ce1c8388be8bf1a15bc5e2c8c8b740346d91f8216e7f43d7a2dca0e [Pipeline] // withDockerContainer [Pipeline] sh 15:48:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:48:56 Stashed 1 file(s) [Pipeline] echo 15:48:56 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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 15:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:56 ========================================================= 15:48:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:48:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:48:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:48:57 59bf1c3509f3: Pulling fs layer 15:48:57 666ba61612fd: Pulling fs layer 15:48:57 8ed8ca486205: Pulling fs layer 15:48:57 4fe6c5a15a65: Pulling fs layer 15:48:57 22a0e8bec74d: Pulling fs layer 15:48:57 640e595b4fbd: Pulling fs layer 15:48:57 763cafe07f6e: Pulling fs layer 15:48:57 0c0b528cf693: Pulling fs layer 15:48:57 10935f4eaf8b: Pulling fs layer 15:48:57 10935f4eaf8b: Waiting 15:48:57 763cafe07f6e: Waiting 15:48:57 0c0b528cf693: Waiting 15:48:57 4fe6c5a15a65: Waiting 15:48:57 22a0e8bec74d: Waiting 15:48:57 640e595b4fbd: Waiting 15:48:57 8ed8ca486205: Verifying Checksum 15:48:57 8ed8ca486205: Download complete 15:48:57 666ba61612fd: Download complete 15:48:57 22a0e8bec74d: Download complete 15:48:57 640e595b4fbd: Verifying Checksum 15:48:57 640e595b4fbd: Download complete 15:48:57 763cafe07f6e: Verifying Checksum 15:48:57 763cafe07f6e: Download complete 15:48:57 59bf1c3509f3: Verifying Checksum 15:48:57 59bf1c3509f3: Download complete 15:48:57 0c0b528cf693: Verifying Checksum 15:48:57 0c0b528cf693: Download complete 15:48:57 59bf1c3509f3: Pull complete 15:48:57 666ba61612fd: Pull complete 15:48:57 8ed8ca486205: Pull complete 15:48:57 10935f4eaf8b: Verifying Checksum 15:48:57 10935f4eaf8b: Download complete 15:48:57 4fe6c5a15a65: Verifying Checksum 15:48:57 4fe6c5a15a65: Download complete 15:49:02 4fe6c5a15a65: Pull complete 15:49:02 22a0e8bec74d: Pull complete 15:49:02 640e595b4fbd: Pull complete 15:49:02 763cafe07f6e: Pull complete 15:49:02 0c0b528cf693: Pull complete 15:49:04 10935f4eaf8b: Pull complete 15:49:04 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:49:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 15:49:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 15:49:05 + docker inspect -f . ci-base-image-x86_64 15:49:05 . [Pipeline] withDockerContainer 15:49:05 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** ci-base-image-x86_64 cat 15:49:07 $ docker top 4ed95aa40800d60923f6455b2605879980e81b8e27a9ab448b96c0ddfdec5400 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:07 + go version 15:49:07 go version go1.17.6 linux/amd64 [Pipeline] } 15:49:07 $ docker stop --time=1 4ed95aa40800d60923f6455b2605879980e81b8e27a9ab448b96c0ddfdec5400 15:49:08 $ docker rm -f 4ed95aa40800d60923f6455b2605879980e81b8e27a9ab448b96c0ddfdec5400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:49:09 + docker inspect -f . ci-base-image-x86_64 15:49:09 . [Pipeline] withDockerContainer 15:49:09 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** ci-base-image-x86_64 cat 15:49:09 $ docker top 5943ff7f34dddf84975a781ed0c905111b9247a04670413094b75e4a68b85d20 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:49:10 + make test 15:49:10 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 15:49:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 15:49:10 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 15:49:10 go: downloading github.com/stretchr/testify v1.7.1 15:49:10 go: downloading github.com/davecgh/go-spew v1.1.1 15:49:10 go: downloading github.com/pmezard/go-difflib v1.0.0 15:49:10 go: downloading github.com/stretchr/objx v0.1.1 15:49:10 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:49:10 go: downloading github.com/go-kit/kit v0.11.0 15:49:10 go: downloading github.com/google/uuid v1.3.0 15:49:10 go: downloading github.com/go-playground/validator/v10 v10.9.0 15:49:10 go: downloading golang.org/x/text v0.3.7 15:49:10 go: downloading github.com/go-playground/universal-translator v0.18.0 15:49:10 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 15:49:10 go: downloading github.com/leodido/go-urn v1.2.1 15:49:10 go: downloading github.com/go-playground/locales v0.14.0 15:49:10 go: downloading github.com/zeebo/errs v1.2.2 15:49:10 go: downloading google.golang.org/grpc v1.42.0 15:49:10 go: downloading google.golang.org/protobuf v1.27.1 15:49:10 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:49:10 go: downloading github.com/go-logfmt/logfmt v0.5.0 15:49:10 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:49:10 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 15:49:10 go: downloading github.com/golang/protobuf v1.5.2 15:49:10 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:49:11 Still waiting to schedule task 15:49:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8655’ 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.506s coverage: 80.5% of statements 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.087s coverage: 57.1% of statements 15:49:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.053s coverage: 96.7% of statements 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.064s coverage: 89.5% of statements 15:49:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.034s coverage: 100.0% of statements 15:49:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.063s coverage: 55.8% of statements 15:49:37 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.052s coverage: 75.0% of statements 15:49:37 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.079s coverage: 100.0% of statements 15:49:37 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 15:49:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:49:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:51 $ docker stop --time=1 5943ff7f34dddf84975a781ed0c905111b9247a04670413094b75e4a68b85d20 15:49:53 $ docker rm -f 5943ff7f34dddf84975a781ed0c905111b9247a04670413094b75e4a68b85d20 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:54 15:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:49:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:55 latest: Pulling from edgex-lftools-log-publisher 15:49:55 5eb5b503b376: Pulling fs layer 15:49:55 5c69ac0246d0: Pulling fs layer 15:49:55 ec43610c2a17: Pulling fs layer 15:49:55 3a2ae6a8a46f: Pulling fs layer 15:49:55 33b1e0a273af: Pulling fs layer 15:49:55 5d3b04190fa2: Pulling fs layer 15:49:55 2f39f015ded8: Pulling fs layer 15:49:55 5d3b04190fa2: Waiting 15:49:55 3a2ae6a8a46f: Waiting 15:49:55 33b1e0a273af: Waiting 15:49:55 2f39f015ded8: Waiting 15:49:55 5c69ac0246d0: Verifying Checksum 15:49:55 5c69ac0246d0: Download complete 15:49:55 3a2ae6a8a46f: Verifying Checksum 15:49:55 3a2ae6a8a46f: Download complete 15:49:55 33b1e0a273af: Verifying Checksum 15:49:55 33b1e0a273af: Download complete 15:49:55 5d3b04190fa2: Download complete 15:49:55 ec43610c2a17: Verifying Checksum 15:49:55 ec43610c2a17: Download complete 15:49:55 5eb5b503b376: Verifying Checksum 15:49:55 5eb5b503b376: Download complete 15:49:55 2f39f015ded8: Download complete 15:49:56 5eb5b503b376: Pull complete 15:49:56 5c69ac0246d0: Pull complete 15:49:57 ec43610c2a17: Pull complete 15:49:57 3a2ae6a8a46f: Pull complete 15:49:57 33b1e0a273af: Pull complete 15:49:57 5d3b04190fa2: Pull complete 15:50:03 2f39f015ded8: Pull complete 15:50:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:50:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:50:03 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:50:03 $ 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/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:50:04 $ docker top c0b4f64803d4934f784d1d90af9a772b44e2f47b38e28e7508b50bab491ddb33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:05 ---> job-cost.sh 15:50:05 lf-activate-venv: SKIPPING 15:50:05 INFO: No Stack... 15:50:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:50:06 INFO: Archiving Costs [Pipeline] sh 15:50:06 + cat /w/workspace/edgexfoundry_go-mod-secrets_main/archives/cost.csv 15:50:06 + cut -d, -f6 [Pipeline] lock 15:50:06 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] 15:50:06 Resource [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] did not exist. Created. 15:50:06 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:50:06 + echo total: 0.2199999988079071 [Pipeline] stash 15:50:06 Stashed 1 file(s) [Pipeline] } 15:50:06 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 15:50:06 $ docker stop --time=1 c0b4f64803d4934f784d1d90af9a772b44e2f47b38e28e7508b50bab491ddb33 15:50:08 $ docker rm -f c0b4f64803d4934f784d1d90af9a772b44e2f47b38e28e7508b50bab491ddb33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8657 in /w/workspace/edgexfoundry_go-mod-secrets_main [Pipeline] { [Pipeline] ws 15:52:23 Running in /w/workspace/go-mod-secrets/18 [Pipeline] { [Pipeline] checkout 15:52:24 Selected Git installation does not exist. Using Default 15:52:24 The recommended git tool is: NONE 15:52:31 using credential edgex-jenkins-ssh 15:52:31 Cloning the remote Git repository 15:52:32 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 15:52:32 > git init /w/workspace/go-mod-secrets/18 # timeout=10 15:52:33 Avoid second fetch 15:52:33 Checking out Revision 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 (main) 15:52:32 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 15:52:32 > git --version # timeout=10 15:52:32 > git --version # 'git version 2.25.1' 15:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:33 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 15:52:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:33 > git config core.sparsecheckout # timeout=10 15:52:33 > git checkout -f 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 # timeout=10 15:52:37 Commit message: "feat(security): implement runtime token provider GetRawToken client API call for obtaining secret store token (#141)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:52:38 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:38 Dload Upload Total Spent Left Speed 15:52:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 15:52:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:52:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:52:39 + sudo tee /etc/docker/daemon.new 15:52:39 { 15:52:39 "registry-mirrors": [ 15:52:39 "https://nexus3.edgexfoundry.org:10001" 15:52:39 ], 15:52:39 "bip": "10.250.0.254/24", 15:52:39 "hosts": [ 15:52:39 "tcp://0.0.0.0:5555", 15:52:39 "unix:///var/run/docker.sock" 15:52:39 ], 15:52:39 "mtu": 1458, 15:52:39 "selinux-enabled": true, 15:52:39 "seccomp-profile": "/etc/docker/seccomp.json" 15:52:39 } [Pipeline] sh 15:52:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:52:40 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 15:52:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:59 ========================================================= 15:52:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:52:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:52:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:53:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:53:00 9b3977197b4f: Pulling fs layer 15:53:00 1a89e8eeedd5: Pulling fs layer 15:53:00 94645a83ff95: Pulling fs layer 15:53:00 3f3a8bcf1eab: Pulling fs layer 15:53:00 0c92f367c5e7: Pulling fs layer 15:53:00 f7c0051592d6: Pulling fs layer 15:53:00 a227ed2f7395: Pulling fs layer 15:53:00 3f3a8bcf1eab: Waiting 15:53:00 7b1c46037f91: Pulling fs layer 15:53:00 f7c0051592d6: Waiting 15:53:00 0c92f367c5e7: Waiting 15:53:00 a227ed2f7395: Waiting 15:53:00 7b1c46037f91: Waiting 15:53:00 94645a83ff95: Verifying Checksum 15:53:00 94645a83ff95: Download complete 15:53:00 1a89e8eeedd5: Verifying Checksum 15:53:00 1a89e8eeedd5: Download complete 15:53:00 0c92f367c5e7: Verifying Checksum 15:53:00 0c92f367c5e7: Download complete 15:53:00 f7c0051592d6: Verifying Checksum 15:53:00 f7c0051592d6: Download complete 15:53:00 9b3977197b4f: Verifying Checksum 15:53:00 9b3977197b4f: Download complete 15:53:00 a227ed2f7395: Verifying Checksum 15:53:00 a227ed2f7395: Download complete 15:53:01 9b3977197b4f: Pull complete 15:53:01 1a89e8eeedd5: Pull complete 15:53:02 94645a83ff95: Pull complete 15:53:02 7b1c46037f91: Verifying Checksum 15:53:02 7b1c46037f91: Download complete 15:53:03 3f3a8bcf1eab: Download complete 15:53:15 3f3a8bcf1eab: Pull complete 15:53:15 0c92f367c5e7: Pull complete 15:53:15 f7c0051592d6: Pull complete 15:53:16 a227ed2f7395: Pull complete 15:53:22 7b1c46037f91: Pull complete 15:53:22 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 15:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:53:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 15:53:23 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 15:53:23 + docker inspect -f . ci-base-image-arm64 15:53:23 . [Pipeline] withDockerContainer 15:53:23 prd-ubuntu20.04-docker-arm64-4c-16g-8657 does not seem to be running inside a container 15:53:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/18 -v /w/workspace/go-mod-secrets/18:/w/workspace/go-mod-secrets/18:rw,z -v /w/workspace/go-mod-secrets/18@tmp:/w/workspace/go-mod-secrets/18@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 ******** ci-base-image-arm64 cat 15:53:26 $ docker top 0c19683dbd99bda7499a53c18419c134eda39b3273d6f21fb1755858ddffc35e -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:27 + go version 15:53:27 go version go1.17.6 linux/arm64 [Pipeline] } 15:53:27 $ docker stop --time=1 0c19683dbd99bda7499a53c18419c134eda39b3273d6f21fb1755858ddffc35e 15:53:29 $ docker rm -f 0c19683dbd99bda7499a53c18419c134eda39b3273d6f21fb1755858ddffc35e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:53:30 + docker inspect -f . ci-base-image-arm64 15:53:30 . [Pipeline] withDockerContainer 15:53:30 prd-ubuntu20.04-docker-arm64-4c-16g-8657 does not seem to be running inside a container 15:53:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/18 -v /w/workspace/go-mod-secrets/18:/w/workspace/go-mod-secrets/18:rw,z -v /w/workspace/go-mod-secrets/18@tmp:/w/workspace/go-mod-secrets/18@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 ******** ci-base-image-arm64 cat 15:53:31 $ docker top f39df5c1b456e01a0742b087ba40774d76f7f0d6e2bd0a1da899b30292c78a31 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:53:32 + make test 15:53:32 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 15:53:32 go: downloading github.com/stretchr/testify v1.7.1 15:53:32 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 15:53:33 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 15:53:33 go: downloading github.com/davecgh/go-spew v1.1.1 15:53:33 go: downloading github.com/pmezard/go-difflib v1.0.0 15:53:33 go: downloading github.com/stretchr/objx v0.1.1 15:53:33 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:53:33 go: downloading github.com/go-kit/kit v0.11.0 15:53:33 go: downloading github.com/go-playground/validator/v10 v10.9.0 15:53:33 go: downloading github.com/google/uuid v1.3.0 15:53:33 go: downloading github.com/zeebo/errs v1.2.2 15:53:33 go: downloading google.golang.org/grpc v1.42.0 15:53:34 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 15:53:34 go: downloading google.golang.org/protobuf v1.27.1 15:53:34 go: downloading github.com/go-playground/universal-translator v0.18.0 15:53:34 go: downloading github.com/leodido/go-urn v1.2.1 15:53:34 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 15:53:35 go: downloading github.com/go-logfmt/logfmt v0.5.0 15:53:35 go: downloading golang.org/x/text v0.3.7 15:53:35 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 15:53:35 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 15:53:35 go: downloading github.com/go-playground/locales v0.14.0 15:53:36 go: downloading github.com/golang/protobuf v1.5.2 15:53:36 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 15:55:13 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.345s coverage: 80.5% of statements 15:55:13 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.184s coverage: 57.1% of statements 15:55:13 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 15:55:13 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.211s coverage: 96.7% of statements 15:55:13 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.118s coverage: 89.5% of statements 15:55:13 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 15:55:13 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.066s coverage: 100.0% of statements 15:55:13 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 15:55:32 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.205s coverage: 55.8% of statements 15:55:32 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 15:55:32 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.073s coverage: 75.0% of statements 15:55:32 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.212s coverage: 100.0% of statements 15:55:32 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 15:55:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:55:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:56:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:56:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:56:28 $ docker stop --time=1 f39df5c1b456e01a0742b087ba40774d76f7f0d6e2bd0a1da899b30292c78a31 15:56:30 $ docker rm -f f39df5c1b456e01a0742b087ba40774d76f7f0d6e2bd0a1da899b30292c78a31 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:56:33 Warning: overwriting stash ‘coverage-report’ 15:56:33 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 15:56:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:33 15:56:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:56:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:34 arm64: Pulling from edgex-lftools-log-publisher 15:56:34 8998bd30e6a1: Pulling fs layer 15:56:34 04944245beec: Pulling fs layer 15:56:34 699f458cf7ca: Pulling fs layer 15:56:34 765212b225bb: Pulling fs layer 15:56:34 f23df028b6ca: Pulling fs layer 15:56:34 d65c8cfc05b1: Pulling fs layer 15:56:34 2437ff75d9bd: Pulling fs layer 15:56:34 f23df028b6ca: Waiting 15:56:34 d65c8cfc05b1: Waiting 15:56:34 2437ff75d9bd: Waiting 15:56:34 765212b225bb: Waiting 15:56:34 04944245beec: Verifying Checksum 15:56:34 04944245beec: Download complete 15:56:34 765212b225bb: Verifying Checksum 15:56:34 765212b225bb: Download complete 15:56:34 f23df028b6ca: Verifying Checksum 15:56:34 f23df028b6ca: Download complete 15:56:34 d65c8cfc05b1: Verifying Checksum 15:56:34 d65c8cfc05b1: Download complete 15:56:34 699f458cf7ca: Verifying Checksum 15:56:34 699f458cf7ca: Download complete 15:56:35 8998bd30e6a1: Verifying Checksum 15:56:35 8998bd30e6a1: Download complete 15:56:37 2437ff75d9bd: Verifying Checksum 15:56:37 2437ff75d9bd: Download complete 15:56:39 8998bd30e6a1: Pull complete 15:56:39 04944245beec: Pull complete 15:56:41 699f458cf7ca: Pull complete 15:56:41 765212b225bb: Pull complete 15:56:42 f23df028b6ca: Pull complete 15:56:42 d65c8cfc05b1: Pull complete 15:56:57 2437ff75d9bd: Pull complete 15:56:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:56:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:56:57 prd-ubuntu20.04-docker-arm64-4c-16g-8657 does not seem to be running inside a container 15:56:57 $ 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/18 -v /w/workspace/go-mod-secrets/18:/w/workspace/go-mod-secrets/18:rw,z -v /w/workspace/go-mod-secrets/18@tmp:/w/workspace/go-mod-secrets/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:57:00 $ docker top 7ca597508a668ed9e694ff4708ddfa1b71f7ca5cbeea1ffe23285eda062565f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:01 ---> job-cost.sh 15:57:01 lf-activate-venv: SKIPPING 15:57:01 INFO: No Stack... 15:57:01 INFO: Retrieving Pricing Info for: v3-standard-4 15:57:02 INFO: Archiving Costs [Pipeline] sh 15:57:03 + cat /w/workspace/go-mod-secrets/18/archives/cost.csv 15:57:03 + cut -d, -f6 [Pipeline] lock 15:57:03 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] 15:57:03 Resource [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] did not exist. Created. 15:57:03 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:03 /w/workspace/go-mod-secrets/18@tmp/durable-b3b96e16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:57:04 + echo total: 0.10999999940395355 [Pipeline] stash 15:57:04 Warning: overwriting stash ‘stack-cost’ 15:57:04 Stashed 1 file(s) [Pipeline] } 15:57:04 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 15:57:04 $ docker stop --time=1 7ca597508a668ed9e694ff4708ddfa1b71f7ca5cbeea1ffe23285eda062565f3 15:57:06 $ docker rm -f 7ca597508a668ed9e694ff4708ddfa1b71f7ca5cbeea1ffe23285eda062565f3 [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 15:57:06 provisioning config files... 15:57:06 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config6204665346339014729tmp [Pipeline] { [Pipeline] sh 15:57:06 + set +x 15:57:06 + + curl -s https://codecov.io/bash 15:57:06 bash -s -- 15:57:06 15:57:06 _____ _ 15:57:06 / ____| | | 15:57:06 | | ___ __| | ___ ___ _____ __ 15:57:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:57:06 | |___| (_) | (_| | __/ (_| (_) \ V / 15:57:06 \_____\___/ \__,_|\___|\___\___/ \_/ 15:57:06 Bash-1.0.6 15:57:06 15:57:06 15:57:06 ==> git version 2.25.1 found 15:57:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:57:06 Release-Date: 2020-01-08 15:57:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:57:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:57:06 ==> Jenkins CI detected. 15:57:06 current dir:  /w/workspace/edgexfoundry_go-mod-secrets_main 15:57:06 project root: . 15:57:06 --> token set from env 15:57:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:57:06 ==> Running gcov in . (disable via -X gcov) 15:57:06 ==> Python coveragepy not found 15:57:06 ==> Searching for coverage reports in: 15:57:06 + . 15:57:06 -> Found 1 reports 15:57:06 ==> Detecting git/mercurial file structure 15:57:06 ==> Reading reports 15:57:06 + ./coverage.out bytes=30536 15:57:06 ==> Appending adjustments 15:57:06 https://docs.codecov.io/docs/fixing-reports 15:57:07 + Found adjustments 15:57:07 ==> Gzipping contents 15:57:07 8.0K /tmp/codecov.6XwgMO.gz 15:57:07 ==> Uploading reports 15:57:07 url: https://codecov.io 15:57:07 query: branch=main&commit=7ea7921d7b7d504c5740bf8b039c465ec8ecab94&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= 15:57:07 -> Pinging Codecov 15:57:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=main&commit=7ea7921d7b7d504c5740bf8b039c465ec8ecab94&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= 15:57:07 -> Uploading to 15:57:07 https://storage.googleapis.com/codecov/v4/raw/2022-03-23/D63849C06B6B67093493C71CE874ED06/7ea7921d7b7d504c5740bf8b039c465ec8ecab94/91fe73e3-22a9-492d-8201-870a62b58141.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220323T155707Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=251273f7a09423276cd4a3cf7976aaf8caca8af651a3672002657502af5ec8ee 15:57:07 % Total % Received % Xferd Average Speed Time Time Time Current 15:57:07 Dload Upload Total Spent Left Speed 15:57:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6110 0 0 100 6110 0 27647 --:--:-- --:--:-- --:--:-- 27522 100 6110 0 0 100 6110 0 25040 --:--:-- --:--:-- --:--:-- 24938 15:57:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [Pipeline] } 15:57:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:57:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:57:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:57:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:57:08 15:57:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:57:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:57:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:57:08 188c0c94c7c5: Pulling fs layer 15:57:08 0ef7d3d256c8: Pulling fs layer 15:57:08 de9db76c5a1d: Pulling fs layer 15:57:08 0eba1c9be4d2: Pulling fs layer 15:57:08 0d57e429df01: Pulling fs layer 15:57:08 4e4be7b47b0d: Pulling fs layer 15:57:08 0eba1c9be4d2: Waiting 15:57:08 0d57e429df01: Waiting 15:57:08 e1f770b5df2f: Pulling fs layer 15:57:08 85a0685a4137: Pulling fs layer 15:57:08 e1f770b5df2f: Waiting 15:57:08 85a0685a4137: Waiting 15:57:08 de9db76c5a1d: Download complete 15:57:08 0ef7d3d256c8: Download complete 15:57:08 0d57e429df01: Verifying Checksum 15:57:08 0d57e429df01: Download complete 15:57:08 4e4be7b47b0d: Download complete 15:57:08 188c0c94c7c5: Download complete 15:57:08 188c0c94c7c5: Pull complete 15:57:08 e1f770b5df2f: Verifying Checksum 15:57:08 e1f770b5df2f: Download complete 15:57:08 0ef7d3d256c8: Pull complete 15:57:08 de9db76c5a1d: Pull complete 15:57:09 0eba1c9be4d2: Verifying Checksum 15:57:09 0eba1c9be4d2: Download complete 15:57:09 85a0685a4137: Verifying Checksum 15:57:09 85a0685a4137: Download complete 15:57:12 0eba1c9be4d2: Pull complete 15:57:12 0d57e429df01: Pull complete 15:57:12 4e4be7b47b0d: Pull complete 15:57:13 e1f770b5df2f: Pull complete 15:57:17 85a0685a4137: Pull complete 15:57:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:57:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:57:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:57:17 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:57:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:57:20 $ docker top a8e6d2a41c98e0bf7d1c742eb3b93932c54423abdc98b539537bc0c53732c19a -eo pid,comm [Pipeline] { [Pipeline] echo 15:57:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:57:20 + set -o pipefail 15:57:20 + snyk monitor '--org=edgex-jenkins' 15:57:25 15:57:25 Monitoring /w/workspace/edgexfoundry_go-mod-secrets_main (github.com/edgexfoundry/go-mod-secrets/v2)... 15:57:25 15:57:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/09f0d814-f697-40d2-af90-946e9eb2af5e/history/a30c0234-eab3-4e86-b417-aeb924f33f90 15:57:25 15:57:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:57:25 15:57:25 [Pipeline] } 15:57:26 $ docker stop --time=1 a8e6d2a41c98e0bf7d1c742eb3b93932c54423abdc98b539537bc0c53732c19a 15:57:28 $ docker rm -f a8e6d2a41c98e0bf7d1c742eb3b93932c54423abdc98b539537bc0c53732c19a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:28 + git log --format=format:%s -1 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 [Pipeline] sh 15:57:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:57:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:57:29 . [Pipeline] withDockerContainer 15:57:29 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:57:30 $ docker top e87b45ed9185929c06ed80d1f1ce29489a83d83be3c7464e7b44627c6fbcb1d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:30 [ssh-agent] Looking for ssh-agent implementation... 15:57:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:30 $ docker exec e87b45ed9185929c06ed80d1f1ce29489a83d83be3c7464e7b44627c6fbcb1d7 ssh-agent 15:57:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCKPNfj/agent.13 15:57:30 SSH_AGENT_PID=19 15:57:30 Running ssh-add (command line suppressed) 15:57:30 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_1211403552904229388.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_1211403552904229388.key) 15:57:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:30 + git semver tag 15:57:30 # -> Open(): unable to determine branch for HEAD 15:57:30 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 15:57:30 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 15:57:30 # $SEMVER_REMOTE_NAME = origin 15:57:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:57:30 # $SEMVER_USER_NAME = edgex-jenkins 15:57:30 # $SEMVER_BRANCH = main 15:57:30 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver 15:57:30 # 7ea7921d7b7d504c5740bf8b039c465ec8ecab94 HEAD 15:57:30 # -> Force: false 15:57:30 # 44bddcffedf66ea45e367c5617e95d4e11f16db9 refs/tags/v2.2.0-dev.5 [Pipeline] } 15:57:31 $ docker exec --env ******** --env ******** e87b45ed9185929c06ed80d1f1ce29489a83d83be3c7464e7b44627c6fbcb1d7 ssh-agent -k 15:57:31 unset SSH_AUTH_SOCK; 15:57:31 unset SSH_AGENT_PID; 15:57:31 echo Agent pid 19 killed; 15:57:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:31 + git semver [Pipeline] } 15:57:31 $ docker stop --time=1 e87b45ed9185929c06ed80d1f1ce29489a83d83be3c7464e7b44627c6fbcb1d7 15:57:32 $ docker rm -f e87b45ed9185929c06ed80d1f1ce29489a83d83be3c7464e7b44627c6fbcb1d7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:57:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:57:33 15:57:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:57:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:57:33 0.23.1-centos7: Pulling from edgex-lftools 15:57:33 ab5ef0e58194: Pulling fs layer 15:57:33 9712f1f96733: Pulling fs layer 15:57:33 63f879dbbcfc: Pulling fs layer 15:57:33 0d9ebad4ef96: Pulling fs layer 15:57:33 e9a5061849ea: Pulling fs layer 15:57:33 d747dcd14b5f: Pulling fs layer 15:57:33 2de7ff778b66: Pulling fs layer 15:57:33 e9a5061849ea: Waiting 15:57:33 d747dcd14b5f: Waiting 15:57:33 0d9ebad4ef96: Waiting 15:57:33 2de7ff778b66: Waiting 15:57:33 9712f1f96733: Verifying Checksum 15:57:33 9712f1f96733: Download complete 15:57:33 63f879dbbcfc: Verifying Checksum 15:57:33 63f879dbbcfc: Download complete 15:57:34 0d9ebad4ef96: Verifying Checksum 15:57:34 0d9ebad4ef96: Download complete 15:57:34 d747dcd14b5f: Verifying Checksum 15:57:34 d747dcd14b5f: Download complete 15:57:34 e9a5061849ea: Verifying Checksum 15:57:34 e9a5061849ea: Download complete 15:57:34 ab5ef0e58194: Download complete 15:57:34 2de7ff778b66: Verifying Checksum 15:57:34 2de7ff778b66: Download complete 15:57:36 ab5ef0e58194: Pull complete 15:57:36 9712f1f96733: Pull complete 15:57:37 63f879dbbcfc: Pull complete 15:57:41 0d9ebad4ef96: Pull complete 15:57:41 e9a5061849ea: Pull complete 15:57:41 d747dcd14b5f: Pull complete 15:57:42 2de7ff778b66: Pull complete 15:57:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:57:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:57:43 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:57:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:57:45 $ docker top 5f9ea30c417d73290b11f72f0ccc983d5c81419caecc551fb6684ef16c63d780 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:57:45 provisioning config files... 15:57:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config5970320192883735012tmp 15:57:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config8842244384694567875tmp 15:57:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config5819099059230570650tmp [Pipeline] { [Pipeline] echo 15:57:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:57:45 ---> sigul-configuration.sh 15:57:45 gpg: directory `/root/.gnupg' created 15:57:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:57:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:57:45 gpg: keyring `/root/.gnupg/secring.gpg' created 15:57:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:57:45 gpg: CAST5 encrypted data 15:57:45 gpg: encrypted with 1 passphrase 15:57:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:57:46 + mkdir /home/jenkins 15:57:46 + mkdir /home/jenkins/sigul [Pipeline] sh 15:57:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:57:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:57:46 ---> sigul-install.sh 15:57:46 Sigul already installed; skipping installation. [Pipeline] sh 15:57:47 + git tag --list 15:57:47 v0.0.0 15:57:47 v0.0.1 15:57:47 v0.0.10 15:57:47 v0.0.11 15:57:47 v0.0.12 15:57:47 v0.0.13 15:57:47 v0.0.14 15:57:47 v0.0.15 15:57:47 v0.0.16 15:57:47 v0.0.17 15:57:47 v0.0.18 15:57:47 v0.0.19 15:57:47 v0.0.2 15:57:47 v0.0.20 15:57:47 v0.0.21 15:57:47 v0.0.22 15:57:47 v0.0.23 15:57:47 v0.0.24 15:57:47 v0.0.25 15:57:47 v0.0.26 15:57:47 v0.0.27 15:57:47 v0.0.28 15:57:47 v0.0.29 15:57:47 v0.0.3 15:57:47 v0.0.30 15:57:47 v0.0.31 15:57:47 v0.0.32 15:57:47 v0.0.33 15:57:47 v0.0.4 15:57:47 v0.0.5 15:57:47 v0.0.6 15:57:47 v0.0.7 15:57:47 v0.0.8 15:57:47 v0.0.9 15:57:47 v2.0.0 15:57:47 v2.0.0-dev.1 15:57:47 v2.0.0-dev.10 15:57:47 v2.0.0-dev.11 15:57:47 v2.0.0-dev.12 15:57:47 v2.0.0-dev.13 15:57:47 v2.0.0-dev.14 15:57:47 v2.0.0-dev.15 15:57:47 v2.0.0-dev.16 15:57:47 v2.0.0-dev.17 15:57:47 v2.0.0-dev.18 15:57:47 v2.0.0-dev.19 15:57:47 v2.0.0-dev.2 15:57:47 v2.0.0-dev.20 15:57:47 v2.0.0-dev.21 15:57:47 v2.0.0-dev.22 15:57:47 v2.0.0-dev.23 15:57:47 v2.0.0-dev.24 15:57:47 v2.0.0-dev.25 15:57:47 v2.0.0-dev.26 15:57:47 v2.0.0-dev.27 15:57:47 v2.0.0-dev.3 15:57:47 v2.0.0-dev.4 15:57:47 v2.0.0-dev.5 15:57:47 v2.0.0-dev.6 15:57:47 v2.0.0-dev.7 15:57:47 v2.0.0-dev.8 15:57:47 v2.0.0-dev.9 15:57:47 v2.0.1-dev.1 15:57:47 v2.0.1-dev.10 15:57:47 v2.0.1-dev.11 15:57:47 v2.0.1-dev.2 15:57:47 v2.0.1-dev.3 15:57:47 v2.0.1-dev.4 15:57:47 v2.0.1-dev.5 15:57:47 v2.0.1-dev.6 15:57:47 v2.0.1-dev.7 15:57:47 v2.0.1-dev.8 15:57:47 v2.0.1-dev.9 15:57:47 v2.1.0 15:57:47 v2.2.0-dev.1 15:57:47 v2.2.0-dev.2 15:57:47 v2.2.0-dev.3 15:57:47 v2.2.0-dev.4 15:57:47 v2.2.0-dev.5 [Pipeline] sh 15:57:47 + lftools sign git-tag v2.2.0-dev.5 15:57:47 Signing Git tag with Sigul... 15:57:47 Signing v2.2.0-dev.5 [Pipeline] echo 15:57:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:57:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:57:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:57:48 $ docker stop --time=1 5f9ea30c417d73290b11f72f0ccc983d5c81419caecc551fb6684ef16c63d780 15:57:50 $ docker rm -f 5f9ea30c417d73290b11f72f0ccc983d5c81419caecc551fb6684ef16c63d780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:57:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:57:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:57:50 . [Pipeline] withDockerContainer 15:57:51 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:57:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:57:51 $ docker top 58a0ba2e06f28a213cd0f3c8afcfc80197b8c19af33d01028e1a8221a7e191f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:51 [ssh-agent] Looking for ssh-agent implementation... 15:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:51 $ docker exec 58a0ba2e06f28a213cd0f3c8afcfc80197b8c19af33d01028e1a8221a7e191f8 ssh-agent 15:57:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcpHmpN/agent.14 15:57:51 SSH_AGENT_PID=20 15:57:51 Running ssh-add (command line suppressed) 15:57:51 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_5533544896586066159.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_5533544896586066159.key) 15:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:52 + git semver bump pre 15:57:52 # -> Open(): unable to determine branch for HEAD 15:57:52 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 15:57:52 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 15:57:52 # $SEMVER_REMOTE_NAME = origin 15:57:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:57:52 # $SEMVER_USER_NAME = edgex-jenkins 15:57:52 # $SEMVER_BRANCH = main 15:57:52 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver 15:57:52 2.2.0-dev.6 [Pipeline] } 15:57:52 $ docker exec --env ******** --env ******** 58a0ba2e06f28a213cd0f3c8afcfc80197b8c19af33d01028e1a8221a7e191f8 ssh-agent -k 15:57:52 unset SSH_AUTH_SOCK; 15:57:52 unset SSH_AGENT_PID; 15:57:52 echo Agent pid 20 killed; 15:57:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:52 + git semver [Pipeline] } 15:57:52 $ docker stop --time=1 58a0ba2e06f28a213cd0f3c8afcfc80197b8c19af33d01028e1a8221a7e191f8 15:57:54 $ docker rm -f 58a0ba2e06f28a213cd0f3c8afcfc80197b8c19af33d01028e1a8221a7e191f8 [Pipeline] // withDockerContainer [Pipeline] sh 15:57:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:57:54 . [Pipeline] withDockerContainer 15:57:54 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:57:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:57:55 $ docker top b259d86ca8e43289081218d685a1e5aa2d3349eacee24e40c12129ec5bf233f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:55 [ssh-agent] Looking for ssh-agent implementation... 15:57:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:55 $ docker exec b259d86ca8e43289081218d685a1e5aa2d3349eacee24e40c12129ec5bf233f1 ssh-agent 15:57:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMPlDOl/agent.13 15:57:55 SSH_AGENT_PID=19 15:57:55 Running ssh-add (command line suppressed) 15:57:55 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3227666910162913728.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3227666910162913728.key) 15:57:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:56 + git semver push 15:57:56 # -> Open(): unable to determine branch for HEAD 15:57:56 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 15:57:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 15:57:56 # $SEMVER_REMOTE_NAME = origin 15:57:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:57:56 # $SEMVER_USER_NAME = edgex-jenkins 15:57:56 # $SEMVER_BRANCH = main 15:57:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } 15:57:58 $ docker exec --env ******** --env ******** b259d86ca8e43289081218d685a1e5aa2d3349eacee24e40c12129ec5bf233f1 ssh-agent -k 15:57:58 unset SSH_AUTH_SOCK; 15:57:58 unset SSH_AGENT_PID; 15:57:58 echo Agent pid 19 killed; 15:57:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:58 + git semver [Pipeline] } 15:57:58 $ docker stop --time=1 b259d86ca8e43289081218d685a1e5aa2d3349eacee24e40c12129ec5bf233f1 15:57:59 $ docker rm -f b259d86ca8e43289081218d685a1e5aa2d3349eacee24e40c12129ec5bf233f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 15:58:00 + [ -d /w/workspace/edgexfoundry_go-mod-secrets_main/archives ] 15:58:00 + ls -al /w/workspace/edgexfoundry_go-mod-secrets_main/archives 15:58:00 total 16 15:58:00 drwxr-xr-x 3 root root 4096 Mar 23 15:50 . 15:58:00 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 15:57 .. 15:58:00 drwxr-xr-x 2 root root 4096 Mar 23 15:50 cost 15:58:00 -rw-r--r-- 1 root root 84 Mar 23 15:50 cost.csv 15:58:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_go-mod-secrets_main/archives 15:58:00 + ls -al /w/workspace/edgexfoundry_go-mod-secrets_main/archives 15:58:00 total 16 15:58:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 15:50 . 15:58:00 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 15:57 .. 15:58:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 15:50 cost 15:58:00 -rw-r--r-- 1 jenkins jenkins 84 Mar 23 15:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:58:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:58:01 ---> package-listing.sh 15:58:01 ++ facter osfamily 15:58:01 ++ tr '[:upper:]' '[:lower:]' 15:58:01 + OS_FAMILY=debian 15:58:01 + workspace=/w/workspace/edgexfoundry_go-mod-secrets_main 15:58:01 + START_PACKAGES=/tmp/packages_start.txt 15:58:01 + END_PACKAGES=/tmp/packages_end.txt 15:58:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:58:01 + PACKAGES=/tmp/packages_start.txt 15:58:01 + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' 15:58:01 + PACKAGES=/tmp/packages_end.txt 15:58:01 + case "${OS_FAMILY}" in 15:58:01 + dpkg -l 15:58:01 + grep '^ii' 15:58:01 + '[' -f /tmp/packages_start.txt ']' 15:58:01 + '[' -f /tmp/packages_end.txt ']' 15:58:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:58:01 + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' 15:58:01 + mkdir -p /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ 15:58:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ [Pipeline] echo 15:58:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_go-mod-secrets_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:58:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:58:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:02 . [Pipeline] withDockerContainer 15:58:02 prd-ubuntu20.04-docker-8c-8g-8656 does not seem to be running inside a container 15:58:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_go-mod-secrets_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_go-mod-secrets_main -v /w/workspace/edgexfoundry_go-mod-secrets_main:/w/workspace/edgexfoundry_go-mod-secrets_main:rw,z -v /w/workspace/edgexfoundry_go-mod-secrets_main@tmp:/w/workspace/edgexfoundry_go-mod-secrets_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:58:02 $ docker top 8ec148cd6a8a972755d1eec4bca6958139a43762771844c031e489c82b1931cc -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:03 + touch /tmp/pre-build-complete [Pipeline] sh 15:58:03 + mkdir -p /var/log/sysstat [Pipeline] sh 15:58:03 + ls /var/log/sa-host 15:58:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:03 provisioning config files... 15:58:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config4765109677067856226tmp [Pipeline] { [Pipeline] echo 15:58:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:58:04 ---> create-netrc.sh [Pipeline] } 15:58:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:58:04 ---> python-tools-install.sh [Pipeline] echo 15:58:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:58:04 ---> sudo-logs.sh 15:58:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:58:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:58:05 ---> job-cost.sh 15:58:05 lf-activate-venv: SKIPPING 15:58:05 DEBUG: total: 0.2199999988079071 15:58:05 INFO: Retrieving Stack Cost... 15:58:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:58:06 INFO: Archiving Costs [Pipeline] echo 15:58:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:58:06 ---> logs-deploy.sh 15:58:06 lf-activate-venv: SKIPPING 15:58:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/main/18 15:58:06 INFO: archiving workspace using pattern(s): 15:58:07 Archives upload complete. 15:58:07 INFO: archiving logs to Nexus