Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ba02e4013d11d8a0b0741f59debb32a9114f29d 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-ssh4825042588105221623.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-ssh46880444918532173.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-ssh17166145785630040690.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-ssh1647496414548638703.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-ssh4532178861870366961.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22040 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 3ba02e4013d11d8a0b0741f59debb32a9114f29d (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 3ba02e4013d11d8a0b0741f59debb32a9114f29d # timeout=10 Commit message: "fix: close response Body when the returned error is nil (#146)" > git rev-list --no-walk 8f104b71a102e4674541637bb48d3aebbae959de # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:12:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:12:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:12:02 ========================================================= 14:12:02 EdgeX Global Pipelines Version Info 14:12:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:12:03 ------------------- 14:12:03 stable info: 14:12:03 ------------------- 14:12:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:12:03 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:12:03 Message: update stable to v1.0.221 14:12:03 ------------------- 14:12:03 experimental info: 14:12:03 ------------------- 14:12:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:12:03 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 14:12:03 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:12:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ba02e4013d11d8a0b0741f59debb32a9114f29d [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ba02e4 [Pipeline] echo 14:12:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:12:04 + git rev-list -1 --merges 3ba02e4013d11d8a0b0741f59debb32a9114f29d~1..3ba02e4013d11d8a0b0741f59debb32a9114f29d [Pipeline] echo 14:12:04 -----------> git rev-list -1 --merges 3ba02e4013d11d8a0b0741f59debb32a9114f29d~1..3ba02e4013d11d8a0b0741f59debb32a9114f29d 3ba02e4013d11d8a0b0741f59debb32a9114f29d [false] [Pipeline] sh 14:12:04 + git log --format=format:%s -1 3ba02e4013d11d8a0b0741f59debb32a9114f29d [Pipeline] echo 14:12:04 ========================================================= 14:12:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:12:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:12:05 + git log --format=format:%s -1 3ba02e4013d11d8a0b0741f59debb32a9114f29d [Pipeline] echo 14:12:05 [semverPrep] GIT_COMMIT: 3ba02e4013d11d8a0b0741f59debb32a9114f29d, Commit Message: fix: close response Body when the returned error is nil (#146) [Pipeline] echo 14:12:05 [semverPrep] This is not a build commit. [Pipeline] sh 14:12:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:12:05 + grep -v github /etc/ssh/ssh_known_hosts 14:12:05 + [ -e /tmp/ssh_known_hosts ] 14:12:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:12:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:12:05 + sudo tee -a /etc/ssh/ssh_known_hosts 14:12:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:12:06 14:12:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:12:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:12:06 latest: Pulling from edgex-devops/git-semver 14:12:06 a0d0a0d46f8b: Pulling fs layer 14:12:06 3e5f54012d9b: Pulling fs layer 14:12:06 4c7163046ea9: Pulling fs layer 14:12:06 0c2d73faf560: Pulling fs layer 14:12:06 0c2d73faf560: Waiting 14:12:06 3e5f54012d9b: Verifying Checksum 14:12:06 3e5f54012d9b: Download complete 14:12:07 a0d0a0d46f8b: Download complete 14:12:07 0c2d73faf560: Verifying Checksum 14:12:07 0c2d73faf560: Download complete 14:12:07 4c7163046ea9: Verifying Checksum 14:12:07 4c7163046ea9: Download complete 14:12:07 a0d0a0d46f8b: Pull complete 14:12:07 3e5f54012d9b: Pull complete 14:12:07 4c7163046ea9: Pull complete 14:12:07 0c2d73faf560: Pull complete 14:12:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:12:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:12:08 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:12:08 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:12:08 $ docker top e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:12:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:12:08 [ssh-agent] Looking for ssh-agent implementation... 14:12:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:09 $ docker exec e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 ssh-agent 14:12:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcjNhAF/agent.15 14:12:09 SSH_AGENT_PID=22 14:12:09 Running ssh-add (command line suppressed) 14:12:09 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_8306824318434735196.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_8306824318434735196.key) 14:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:09 + git tag --points-at HEAD [Pipeline] } 14:12:09 $ docker exec --env ******** --env ******** e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 ssh-agent -k 14:12:09 unset SSH_AUTH_SOCK; 14:12:09 unset SSH_AGENT_PID; 14:12:09 echo Agent pid 22 killed; 14:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:12:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:12:09 [ssh-agent] Looking for ssh-agent implementation... 14:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:10 $ docker exec e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 ssh-agent 14:12:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfiNCBG/agent.55 14:12:10 SSH_AGENT_PID=62 14:12:10 Running ssh-add (command line suppressed) 14:12:10 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_6133323697221144845.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_6133323697221144845.key) 14:12:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:10 + git semver init 14:12:10 # -> Open(): unable to determine branch for HEAD 14:12:10 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 14:12:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 14:12:10 # $SEMVER_REMOTE_NAME = origin 14:12:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:12:10 # $SEMVER_USER_NAME = edgex-jenkins 14:12:10 # $SEMVER_BRANCH = main 14:12:10 # $SEMVER_TEMP = /tmp/semver-256522613 14:12:10 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 14:12:11 # '/tmp/semver-256522613' -> '/w/workspace/edgexfoundry_go-mod-secrets_main/.semver' 14:12:11 # -> Force: false 14:12:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } 14:12:11 $ docker exec --env ******** --env ******** e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 ssh-agent -k 14:12:11 unset SSH_AUTH_SOCK; 14:12:11 unset SSH_AGENT_PID; 14:12:11 echo Agent pid 62 killed; 14:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:12:11 + git semver [Pipeline] } 14:12:11 $ docker stop --time=1 e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 14:12:13 $ docker rm -f e0e08dd583d7ca9586a12431096c7d2ada707e602b7773d08e13ec4fba93d779 [Pipeline] // withDockerContainer [Pipeline] sh 14:12:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:12:13 Stashed 1 file(s) [Pipeline] echo 14:12:13 [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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 14:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:12:13 ========================================================= 14:12:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:12:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 14:12:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:12:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:12:14 59bf1c3509f3: Pulling fs layer 14:12:14 666ba61612fd: Pulling fs layer 14:12:14 8ed8ca486205: Pulling fs layer 14:12:14 4fe6c5a15a65: Pulling fs layer 14:12:14 22a0e8bec74d: Pulling fs layer 14:12:14 ca2b28591e48: Pulling fs layer 14:12:14 a51346096db8: Pulling fs layer 14:12:14 daebc70d1ce1: Pulling fs layer 14:12:14 0e18a0eac166: Pulling fs layer 14:12:14 4fe6c5a15a65: Waiting 14:12:14 a51346096db8: Waiting 14:12:14 22a0e8bec74d: Waiting 14:12:14 ca2b28591e48: Waiting 14:12:14 daebc70d1ce1: Waiting 14:12:14 0e18a0eac166: Waiting 14:12:14 8ed8ca486205: Verifying Checksum 14:12:14 8ed8ca486205: Download complete 14:12:14 666ba61612fd: Download complete 14:12:14 22a0e8bec74d: Download complete 14:12:14 ca2b28591e48: Download complete 14:12:14 a51346096db8: Verifying Checksum 14:12:14 a51346096db8: Download complete 14:12:14 59bf1c3509f3: Verifying Checksum 14:12:14 59bf1c3509f3: Download complete 14:12:14 daebc70d1ce1: Verifying Checksum 14:12:14 daebc70d1ce1: Download complete 14:12:14 59bf1c3509f3: Pull complete 14:12:14 666ba61612fd: Pull complete 14:12:14 8ed8ca486205: Pull complete 14:12:15 0e18a0eac166: Verifying Checksum 14:12:15 0e18a0eac166: Download complete 14:12:15 4fe6c5a15a65: Download complete 14:12:19 4fe6c5a15a65: Pull complete 14:12:19 22a0e8bec74d: Pull complete 14:12:19 ca2b28591e48: Pull complete 14:12:19 a51346096db8: Pull complete 14:12:19 daebc70d1ce1: Pull complete 14:12:22 0e18a0eac166: Pull complete 14:12:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:12:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 14:12:22 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 14:12:22 + docker inspect -f . ci-base-image-x86_64 14:12:22 . [Pipeline] withDockerContainer 14:12:22 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:12:23 $ 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 ******** -e ******** ci-base-image-x86_64 cat 14:12:25 $ docker top 6b2842d49dcadb5a1bf59e3d3c96e0146eddba58b3239e2e9607a6628ec5cdd1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:25 + go version 14:12:25 go version go1.17.6 linux/amd64 [Pipeline] } 14:12:25 $ docker stop --time=1 6b2842d49dcadb5a1bf59e3d3c96e0146eddba58b3239e2e9607a6628ec5cdd1 14:12:26 $ docker rm -f 6b2842d49dcadb5a1bf59e3d3c96e0146eddba58b3239e2e9607a6628ec5cdd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:12:27 + docker inspect -f . ci-base-image-x86_64 14:12:27 . [Pipeline] withDockerContainer 14:12:27 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:12:27 $ 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 ******** -e ******** ci-base-image-x86_64 cat 14:12:27 $ docker top b66fdc426a764a3d64fee88523ffc29570f93ce8c8948cd24a5f5eb73d9ad982 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:12:28 + make test 14:12:28 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 14:12:28 go: downloading github.com/stretchr/testify v1.7.1 14:12:28 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 14:12:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 14:12:28 go: downloading github.com/davecgh/go-spew v1.1.1 14:12:28 go: downloading github.com/pmezard/go-difflib v1.0.0 14:12:28 go: downloading github.com/stretchr/objx v0.1.1 14:12:28 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 14:12:28 go: downloading github.com/zeebo/errs v1.2.2 14:12:28 go: downloading google.golang.org/grpc v1.42.0 14:12:28 go: downloading google.golang.org/protobuf v1.27.1 14:12:28 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 14:12:28 go: downloading github.com/go-kit/kit v0.11.0 14:12:28 go: downloading github.com/go-playground/validator/v10 v10.9.0 14:12:28 go: downloading github.com/google/uuid v1.3.0 14:12:28 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 14:12:28 go: downloading github.com/go-logfmt/logfmt v0.5.0 14:12:28 go: downloading github.com/go-playground/universal-translator v0.18.0 14:12:28 go: downloading github.com/leodido/go-urn v1.2.1 14:12:28 go: downloading golang.org/x/text v0.3.7 14:12:28 go: downloading github.com/go-playground/locales v0.14.0 14:12:28 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 14:12:28 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 14:12:28 go: downloading github.com/golang/protobuf v1.5.2 14:12:28 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 14:12:28 Still waiting to schedule task 14:12:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.457s coverage: 80.8% of statements 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.077s coverage: 57.1% of statements 14:12:55 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.082s coverage: 96.7% of statements 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.049s coverage: 89.5% of statements 14:12:55 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.046s coverage: 100.0% of statements 14:12:55 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.059s coverage: 55.8% of statements 14:12:55 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.024s coverage: 75.0% of statements 14:12:55 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.058s coverage: 100.0% of statements 14:12:55 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 14:13:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:13:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:13:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 14:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:13:07 $ docker stop --time=1 b66fdc426a764a3d64fee88523ffc29570f93ce8c8948cd24a5f5eb73d9ad982 14:13:09 $ docker rm -f b66fdc426a764a3d64fee88523ffc29570f93ce8c8948cd24a5f5eb73d9ad982 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:13:10 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 14:13:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:10 14:13:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:11 latest: Pulling from edgex-lftools-log-publisher 14:13:11 5eb5b503b376: Pulling fs layer 14:13:11 5c69ac0246d0: Pulling fs layer 14:13:11 ec43610c2a17: Pulling fs layer 14:13:11 3a2ae6a8a46f: Pulling fs layer 14:13:11 33b1e0a273af: Pulling fs layer 14:13:11 5d3b04190fa2: Pulling fs layer 14:13:11 2f39f015ded8: Pulling fs layer 14:13:11 33b1e0a273af: Waiting 14:13:11 5d3b04190fa2: Waiting 14:13:11 2f39f015ded8: Waiting 14:13:11 3a2ae6a8a46f: Waiting 14:13:11 5c69ac0246d0: Verifying Checksum 14:13:11 5c69ac0246d0: Download complete 14:13:11 3a2ae6a8a46f: Verifying Checksum 14:13:11 3a2ae6a8a46f: Download complete 14:13:11 33b1e0a273af: Verifying Checksum 14:13:11 33b1e0a273af: Download complete 14:13:11 ec43610c2a17: Verifying Checksum 14:13:11 ec43610c2a17: Download complete 14:13:11 5d3b04190fa2: Download complete 14:13:11 5eb5b503b376: Verifying Checksum 14:13:11 5eb5b503b376: Download complete 14:13:12 2f39f015ded8: Download complete 14:13:12 5eb5b503b376: Pull complete 14:13:12 5c69ac0246d0: Pull complete 14:13:13 ec43610c2a17: Pull complete 14:13:13 3a2ae6a8a46f: Pull complete 14:13:13 33b1e0a273af: Pull complete 14:13:13 5d3b04190fa2: Pull complete 14:13:19 2f39f015ded8: Pull complete 14:13:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:13:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:13:19 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:13:19 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:13:21 $ docker top 42cabd7f9c3df45cb19ba709b268d0321de864b52f8d69d2b64083048dd6a260 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:21 ---> job-cost.sh 14:13:21 lf-activate-venv: SKIPPING 14:13:21 INFO: No Stack... 14:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 14:13:22 INFO: Archiving Costs [Pipeline] sh 14:13:22 + cat /w/workspace/edgexfoundry_go-mod-secrets_main/archives/cost.csv 14:13:22 + cut -d, -f6 [Pipeline] lock 14:13:22 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] 14:13:22 Resource [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] did not exist. Created. 14:13:22 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:13:23 + echo total: 0.2199999988079071 [Pipeline] stash 14:13:23 Stashed 1 file(s) [Pipeline] } 14:13:23 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 14:13:23 $ docker stop --time=1 42cabd7f9c3df45cb19ba709b268d0321de864b52f8d69d2b64083048dd6a260 14:13:24 $ docker rm -f 42cabd7f9c3df45cb19ba709b268d0321de864b52f8d69d2b64083048dd6a260 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:16:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22041 in /w/workspace/edgexfoundry_go-mod-secrets_main [Pipeline] { [Pipeline] ws 14:16:16 Running in /w/workspace/go-mod-secrets/20 [Pipeline] { [Pipeline] checkout 14:16:16 Selected Git installation does not exist. Using Default 14:16:16 The recommended git tool is: NONE 14:16:23 using credential edgex-jenkins-ssh 14:16:23 Cloning the remote Git repository 14:16:23 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 14:16:23 > git init /w/workspace/go-mod-secrets/20 # timeout=10 14:16:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 14:16:24 > git --version # timeout=10 14:16:24 > git --version # 'git version 2.25.1' 14:16:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:24 Avoid second fetch 14:16:24 Checking out Revision 3ba02e4013d11d8a0b0741f59debb32a9114f29d (main) 14:16:24 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 14:16:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:25 > git config core.sparsecheckout # timeout=10 14:16:25 > git checkout -f 3ba02e4013d11d8a0b0741f59debb32a9114f29d # timeout=10 14:16:29 Commit message: "fix: close response Body when the returned error is nil (#146)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:16:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:16:30 % Total % Received % Xferd Average Speed Time Time Time Current 14:16:30 Dload Upload Total Spent Left Speed 14:16:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82818 0 --:--:-- --:--:-- --:--:-- 83401 [Pipeline] sh 14:16:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:16:31 + + sudo teesudo /etc/docker/daemon.new jq 14:16:31 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:16:31 { 14:16:31 "registry-mirrors": [ 14:16:31 "https://nexus3.edgexfoundry.org:10001" 14:16:31 ], 14:16:31 "bip": "10.250.0.254/24", 14:16:31 "hosts": [ 14:16:31 "tcp://0.0.0.0:5555", 14:16:31 "unix:///var/run/docker.sock" 14:16:31 ], 14:16:31 "mtu": 1458, 14:16:31 "selinux-enabled": true, 14:16:31 "seccomp-profile": "/etc/docker/seccomp.json" 14:16:31 } [Pipeline] sh 14:16:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:16:32 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 14:16:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:16:51 ========================================================= 14:16:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:16:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 14:16:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:16:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:16:52 9b3977197b4f: Pulling fs layer 14:16:52 1a89e8eeedd5: Pulling fs layer 14:16:52 94645a83ff95: Pulling fs layer 14:16:52 3f3a8bcf1eab: Pulling fs layer 14:16:52 0c92f367c5e7: Pulling fs layer 14:16:52 3096ccb668a1: Pulling fs layer 14:16:52 e8cf19c19ddd: Pulling fs layer 14:16:52 a4caa8a26152: Pulling fs layer 14:16:52 3f3a8bcf1eab: Waiting 14:16:52 0c92f367c5e7: Waiting 14:16:52 3096ccb668a1: Waiting 14:16:52 e8cf19c19ddd: Waiting 14:16:52 a4caa8a26152: Waiting 14:16:52 94645a83ff95: Verifying Checksum 14:16:52 1a89e8eeedd5: Verifying Checksum 14:16:52 1a89e8eeedd5: Download complete 14:16:52 0c92f367c5e7: Download complete 14:16:52 3096ccb668a1: Verifying Checksum 14:16:52 3096ccb668a1: Download complete 14:16:52 9b3977197b4f: Verifying Checksum 14:16:52 9b3977197b4f: Download complete 14:16:52 e8cf19c19ddd: Verifying Checksum 14:16:52 e8cf19c19ddd: Download complete 14:16:53 9b3977197b4f: Pull complete 14:16:53 1a89e8eeedd5: Pull complete 14:16:53 94645a83ff95: Pull complete 14:16:54 a4caa8a26152: Verifying Checksum 14:16:54 a4caa8a26152: Download complete 14:16:54 3f3a8bcf1eab: Verifying Checksum 14:16:54 3f3a8bcf1eab: Download complete 14:17:07 3f3a8bcf1eab: Pull complete 14:17:07 0c92f367c5e7: Pull complete 14:17:07 3096ccb668a1: Pull complete 14:17:07 e8cf19c19ddd: Pull complete 14:17:13 a4caa8a26152: Pull complete 14:17:13 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:17:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 14:17:14 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 14:17:14 + docker inspect -f . ci-base-image-arm64 14:17:14 . [Pipeline] withDockerContainer 14:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-22041 does not seem to be running inside a container 14:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/20 -v /w/workspace/go-mod-secrets/20:/w/workspace/go-mod-secrets/20:rw,z -v /w/workspace/go-mod-secrets/20@tmp:/w/workspace/go-mod-secrets/20@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 14:17:17 $ docker top a69cce28f39cb5f6157c22565a4e5ed8840ca66be2d6b79ee232d273d473109a -eo pid,comm [Pipeline] { [Pipeline] sh 14:17:18 + go version 14:17:18 go version go1.17.6 linux/arm64 [Pipeline] } 14:17:18 $ docker stop --time=1 a69cce28f39cb5f6157c22565a4e5ed8840ca66be2d6b79ee232d273d473109a 14:17:19 $ docker rm -f a69cce28f39cb5f6157c22565a4e5ed8840ca66be2d6b79ee232d273d473109a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:17:20 + docker inspect -f . ci-base-image-arm64 14:17:20 . [Pipeline] withDockerContainer 14:17:20 prd-ubuntu20.04-docker-arm64-4c-16g-22041 does not seem to be running inside a container 14:17:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/20 -v /w/workspace/go-mod-secrets/20:/w/workspace/go-mod-secrets/20:rw,z -v /w/workspace/go-mod-secrets/20@tmp:/w/workspace/go-mod-secrets/20@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 14:17:21 $ docker top c92f1e7c1938b01b7af15df9153db45d7e06e55218e4b161c2245097ff551c2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:17:22 + make test 14:17:22 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 14:17:22 go: downloading github.com/stretchr/testify v1.7.1 14:17:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 14:17:23 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 14:17:23 go: downloading github.com/davecgh/go-spew v1.1.1 14:17:23 go: downloading github.com/stretchr/objx v0.1.1 14:17:23 go: downloading github.com/pmezard/go-difflib v1.0.0 14:17:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 14:17:23 go: downloading github.com/go-kit/kit v0.11.0 14:17:23 go: downloading github.com/go-playground/validator/v10 v10.9.0 14:17:23 go: downloading github.com/google/uuid v1.3.0 14:17:23 go: downloading github.com/zeebo/errs v1.2.2 14:17:23 go: downloading google.golang.org/grpc v1.42.0 14:17:25 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 14:17:25 go: downloading google.golang.org/protobuf v1.27.1 14:17:25 go: downloading github.com/go-playground/universal-translator v0.18.0 14:17:25 go: downloading github.com/leodido/go-urn v1.2.1 14:17:25 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 14:17:25 go: downloading golang.org/x/text v0.3.7 14:17:25 go: downloading github.com/go-logfmt/logfmt v0.5.0 14:17:25 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 14:17:25 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f 14:17:26 go: downloading github.com/go-playground/locales v0.14.0 14:17:27 go: downloading github.com/golang/protobuf v1.5.2 14:17:27 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 14:19:04 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.785s coverage: 80.8% of statements 14:19:04 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.205s coverage: 57.1% of statements 14:19:04 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 14:19:04 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.244s coverage: 96.7% of statements 14:19:04 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.086s coverage: 89.5% of statements 14:19:04 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 14:19:04 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.086s coverage: 100.0% of statements 14:19:04 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 14:19:26 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.211s coverage: 55.8% of statements 14:19:26 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] 14:19:26 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.086s coverage: 75.0% of statements 14:19:26 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.200s coverage: 100.0% of statements 14:19:26 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 14:19:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:19:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:20:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:20:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 14:20:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:20:23 $ docker stop --time=1 c92f1e7c1938b01b7af15df9153db45d7e06e55218e4b161c2245097ff551c2b 14:20:24 $ docker rm -f c92f1e7c1938b01b7af15df9153db45d7e06e55218e4b161c2245097ff551c2b [Pipeline] // withDockerContainer [Pipeline] sh 14:20:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:20:27 Warning: overwriting stash ‘coverage-report’ 14:20:28 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 14:20:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:28 14:20:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:20:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:29 arm64: Pulling from edgex-lftools-log-publisher 14:20:29 8998bd30e6a1: Pulling fs layer 14:20:29 04944245beec: Pulling fs layer 14:20:29 699f458cf7ca: Pulling fs layer 14:20:29 765212b225bb: Pulling fs layer 14:20:29 f23df028b6ca: Pulling fs layer 14:20:29 d65c8cfc05b1: Pulling fs layer 14:20:29 2437ff75d9bd: Pulling fs layer 14:20:29 f23df028b6ca: Waiting 14:20:29 d65c8cfc05b1: Waiting 14:20:29 2437ff75d9bd: Waiting 14:20:29 765212b225bb: Waiting 14:20:29 04944245beec: Verifying Checksum 14:20:29 04944245beec: Download complete 14:20:29 765212b225bb: Verifying Checksum 14:20:29 765212b225bb: Download complete 14:20:29 f23df028b6ca: Verifying Checksum 14:20:29 f23df028b6ca: Download complete 14:20:29 d65c8cfc05b1: Download complete 14:20:29 699f458cf7ca: Verifying Checksum 14:20:29 699f458cf7ca: Download complete 14:20:29 8998bd30e6a1: Download complete 14:20:32 2437ff75d9bd: Verifying Checksum 14:20:32 2437ff75d9bd: Download complete 14:20:34 8998bd30e6a1: Pull complete 14:20:34 04944245beec: Pull complete 14:20:36 699f458cf7ca: Pull complete 14:20:36 765212b225bb: Pull complete 14:20:37 f23df028b6ca: Pull complete 14:20:37 d65c8cfc05b1: Pull complete 14:20:52 2437ff75d9bd: Pull complete 14:20:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:20:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:20:52 prd-ubuntu20.04-docker-arm64-4c-16g-22041 does not seem to be running inside a container 14:20:52 $ 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/20 -v /w/workspace/go-mod-secrets/20:/w/workspace/go-mod-secrets/20:rw,z -v /w/workspace/go-mod-secrets/20@tmp:/w/workspace/go-mod-secrets/20@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 14:20:55 $ docker top 8bce64863ca35b6dc1c0817ab7765861ef5e8e2e5d97249fa78f114e285b747e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:20:56 ---> job-cost.sh 14:20:56 lf-activate-venv: SKIPPING 14:20:56 INFO: No Stack... 14:20:56 INFO: Retrieving Pricing Info for: v3-standard-4 14:20:57 INFO: Archiving Costs [Pipeline] sh 14:20:58 + + catcut /w/workspace/go-mod-secrets/20/archives/cost.csv -d, 14:20:58 -f6 [Pipeline] lock 14:20:58 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] 14:20:58 Resource [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] did not exist. Created. 14:20:58 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:20:58 /w/workspace/go-mod-secrets/20@tmp/durable-97fb73a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:20:59 + echo total: 0.10999999940395355 [Pipeline] stash 14:20:59 Warning: overwriting stash ‘stack-cost’ 14:20:59 Stashed 1 file(s) [Pipeline] } 14:20:59 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 14:20:59 $ docker stop --time=1 8bce64863ca35b6dc1c0817ab7765861ef5e8e2e5d97249fa78f114e285b747e 14:21:01 $ docker rm -f 8bce64863ca35b6dc1c0817ab7765861ef5e8e2e5d97249fa78f114e285b747e [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 14:21:01 provisioning config files... 14:21:01 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config4309653611919908269tmp [Pipeline] { [Pipeline] sh 14:21:01 + set +x 14:21:01 + bash -s -- 14:21:01 + curl -s https://codecov.io/bash 14:21:01 14:21:01 _____ _ 14:21:01 / ____| | | 14:21:01 | | ___ __| | ___ ___ _____ __ 14:21:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:21:01 | |___| (_) | (_| | __/ (_| (_) \ V / 14:21:01 \_____\___/ \__,_|\___|\___\___/ \_/ 14:21:01 Bash-1.0.6 14:21:01 14:21:01 14:21:01 ==> git version 2.25.1 found 14:21:01 ==> 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 14:21:01 Release-Date: 2020-01-08 14:21:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:21:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:21:01 ==> Jenkins CI detected. 14:21:01 current dir:  /w/workspace/edgexfoundry_go-mod-secrets_main 14:21:01 project root: . 14:21:01 --> token set from env 14:21:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:21:01 ==> Running gcov in . (disable via -X gcov) 14:21:01 ==> Python coveragepy not found 14:21:01 ==> Searching for coverage reports in: 14:21:01 + . 14:21:01 -> Found 1 reports 14:21:01 ==> Detecting git/mercurial file structure 14:21:01 ==> Reading reports 14:21:01 + ./coverage.out bytes=30451 14:21:02 ==> Appending adjustments 14:21:02 https://docs.codecov.io/docs/fixing-reports 14:21:02 + Found adjustments 14:21:02 ==> Gzipping contents 14:21:02 8.0K /tmp/codecov.LClzFM.gz 14:21:02 ==> Uploading reports 14:21:02 url: https://codecov.io 14:21:02 query: branch=main&commit=3ba02e4013d11d8a0b0741f59debb32a9114f29d&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= 14:21:02 -> Pinging Codecov 14:21:02 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=3ba02e4013d11d8a0b0741f59debb32a9114f29d&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= 14:21:02 -> Uploading to 14:21:02 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/D63849C06B6B67093493C71CE874ED06/3ba02e4013d11d8a0b0741f59debb32a9114f29d/fa70d1eb-a1ac-4407-abe9-93057e7472f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T142102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=408d7a1cde33ebedbb8d427f8236bc4989211daac56893e52b99450dd4443536 14:21:02 % Total % Received % Xferd Average Speed Time Time Time Current 14:21:02 Dload Upload Total Spent Left Speed 14:21:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6134 0 0 100 6134 0 25773 --:--:-- --:--:-- --:--:-- 25881 14:21:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/3ba02e4013d11d8a0b0741f59debb32a9114f29d [Pipeline] } 14:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:21:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:21:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:21:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:21:03 14:21:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:21:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:21:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:21:03 188c0c94c7c5: Pulling fs layer 14:21:03 0ef7d3d256c8: Pulling fs layer 14:21:03 de9db76c5a1d: Pulling fs layer 14:21:03 0eba1c9be4d2: Pulling fs layer 14:21:03 0d57e429df01: Pulling fs layer 14:21:03 4e4be7b47b0d: Pulling fs layer 14:21:03 e1f770b5df2f: Pulling fs layer 14:21:03 85a0685a4137: Pulling fs layer 14:21:03 0eba1c9be4d2: Waiting 14:21:03 0d57e429df01: Waiting 14:21:03 de9db76c5a1d: Download complete 14:21:03 0ef7d3d256c8: Download complete 14:21:03 0d57e429df01: Download complete 14:21:03 4e4be7b47b0d: Verifying Checksum 14:21:03 4e4be7b47b0d: Download complete 14:21:03 188c0c94c7c5: Verifying Checksum 14:21:03 188c0c94c7c5: Pull complete 14:21:03 e1f770b5df2f: Verifying Checksum 14:21:03 e1f770b5df2f: Download complete 14:21:03 0ef7d3d256c8: Pull complete 14:21:03 de9db76c5a1d: Pull complete 14:21:04 0eba1c9be4d2: Verifying Checksum 14:21:04 0eba1c9be4d2: Download complete 14:21:04 85a0685a4137: Verifying Checksum 14:21:04 85a0685a4137: Download complete 14:21:07 0eba1c9be4d2: Pull complete 14:21:07 0d57e429df01: Pull complete 14:21:07 4e4be7b47b0d: Pull complete 14:21:08 e1f770b5df2f: Pull complete 14:21:11 85a0685a4137: Pull complete 14:21:11 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:21:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:21:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:21:11 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:21:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:21:13 $ docker top bfe3ee6efc55c9f74492e4178cc34ba121a306c6b00ea6c3b786492eed4e5abd -eo pid,comm [Pipeline] { [Pipeline] echo 14:21:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:21:14 + set -o pipefail 14:21:14 + snyk monitor '--org=edgex-jenkins' 14:21:19 14:21:19 Monitoring /w/workspace/edgexfoundry_go-mod-secrets_main (github.com/edgexfoundry/go-mod-secrets/v2)... 14:21:19 14:21:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/09f0d814-f697-40d2-af90-946e9eb2af5e/history/3a578c79-7308-41ff-ae3b-adc3edf7c941 14:21:19 14:21:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:21:19 14:21:19 [Pipeline] } 14:21:19 $ docker stop --time=1 bfe3ee6efc55c9f74492e4178cc34ba121a306c6b00ea6c3b786492eed4e5abd 14:21:21 $ docker rm -f bfe3ee6efc55c9f74492e4178cc34ba121a306c6b00ea6c3b786492eed4e5abd [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 14:21:22 + git log --format=format:%s -1 3ba02e4013d11d8a0b0741f59debb32a9114f29d [Pipeline] sh 14:21:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:21:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:21:23 . [Pipeline] withDockerContainer 14:21:23 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:21:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:21:23 $ docker top 3a583d9e74dcb22f3e520f3f4ca5a85a2c29dfbaa1f83695ed5328de944be88d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:23 [ssh-agent] Looking for ssh-agent implementation... 14:21:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:23 $ docker exec 3a583d9e74dcb22f3e520f3f4ca5a85a2c29dfbaa1f83695ed5328de944be88d ssh-agent 14:21:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPJGJJA/agent.15 14:21:23 SSH_AGENT_PID=21 14:21:23 Running ssh-add (command line suppressed) 14:21:24 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_8428423604491398631.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_8428423604491398631.key) 14:21:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:24 + git semver tag 14:21:24 # -> Open(): unable to determine branch for HEAD 14:21:24 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 14:21:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 14:21:24 # $SEMVER_REMOTE_NAME = origin 14:21:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:21:24 # $SEMVER_USER_NAME = edgex-jenkins 14:21:24 # $SEMVER_BRANCH = main 14:21:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver 14:21:24 # 3ba02e4013d11d8a0b0741f59debb32a9114f29d HEAD 14:21:24 # -> Force: false 14:21:24 # d5d854dbc90319ba2621d8c94e7fe4270481445c refs/tags/v2.2.0-dev.7 [Pipeline] } 14:21:24 $ docker exec --env ******** --env ******** 3a583d9e74dcb22f3e520f3f4ca5a85a2c29dfbaa1f83695ed5328de944be88d ssh-agent -k 14:21:24 unset SSH_AUTH_SOCK; 14:21:24 unset SSH_AGENT_PID; 14:21:24 echo Agent pid 21 killed; 14:21:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:21:24 + git semver [Pipeline] } 14:21:24 $ docker stop --time=1 3a583d9e74dcb22f3e520f3f4ca5a85a2c29dfbaa1f83695ed5328de944be88d 14:21:26 $ docker rm -f 3a583d9e74dcb22f3e520f3f4ca5a85a2c29dfbaa1f83695ed5328de944be88d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:21:26 14:21:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:21:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:21:26 0.23.1-centos7: Pulling from edgex-lftools 14:21:26 ab5ef0e58194: Pulling fs layer 14:21:26 9712f1f96733: Pulling fs layer 14:21:26 63f879dbbcfc: Pulling fs layer 14:21:26 0d9ebad4ef96: Pulling fs layer 14:21:26 e9a5061849ea: Pulling fs layer 14:21:26 d747dcd14b5f: Pulling fs layer 14:21:26 2de7ff778b66: Pulling fs layer 14:21:26 0d9ebad4ef96: Waiting 14:21:26 e9a5061849ea: Waiting 14:21:26 d747dcd14b5f: Waiting 14:21:26 2de7ff778b66: Waiting 14:21:26 9712f1f96733: Verifying Checksum 14:21:26 9712f1f96733: Download complete 14:21:27 63f879dbbcfc: Verifying Checksum 14:21:27 63f879dbbcfc: Download complete 14:21:27 e9a5061849ea: Verifying Checksum 14:21:27 e9a5061849ea: Download complete 14:21:27 0d9ebad4ef96: Verifying Checksum 14:21:27 0d9ebad4ef96: Download complete 14:21:27 d747dcd14b5f: Download complete 14:21:27 ab5ef0e58194: Verifying Checksum 14:21:27 ab5ef0e58194: Download complete 14:21:27 2de7ff778b66: Verifying Checksum 14:21:27 2de7ff778b66: Download complete 14:21:30 ab5ef0e58194: Pull complete 14:21:30 9712f1f96733: Pull complete 14:21:30 63f879dbbcfc: Pull complete 14:21:35 0d9ebad4ef96: Pull complete 14:21:35 e9a5061849ea: Pull complete 14:21:35 d747dcd14b5f: Pull complete 14:21:36 2de7ff778b66: Pull complete 14:21:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:21:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:21:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:21:36 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:21:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:21:39 $ docker top 2af09147a8c278d22768bcbb974406d9a94f6187f8ec95c16bdbf7214cd68ce4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:21:39 provisioning config files... 14:21:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config7951885079045511070tmp 14:21:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config7550797362663017387tmp 14:21:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config5781915056248438922tmp [Pipeline] { [Pipeline] echo 14:21:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:21:39 ---> sigul-configuration.sh 14:21:39 gpg: directory `/root/.gnupg' created 14:21:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:21:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:21:39 gpg: keyring `/root/.gnupg/secring.gpg' created 14:21:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:21:39 gpg: CAST5 encrypted data 14:21:39 gpg: encrypted with 1 passphrase 14:21:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:21:40 + mkdir /home/jenkins 14:21:40 + mkdir /home/jenkins/sigul [Pipeline] sh 14:21:40 + 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 14:21:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:21:40 ---> sigul-install.sh 14:21:40 Sigul already installed; skipping installation. [Pipeline] sh 14:21:41 + git tag --list 14:21:41 v0.0.0 14:21:41 v0.0.1 14:21:41 v0.0.10 14:21:41 v0.0.11 14:21:41 v0.0.12 14:21:41 v0.0.13 14:21:41 v0.0.14 14:21:41 v0.0.15 14:21:41 v0.0.16 14:21:41 v0.0.17 14:21:41 v0.0.18 14:21:41 v0.0.19 14:21:41 v0.0.2 14:21:41 v0.0.20 14:21:41 v0.0.21 14:21:41 v0.0.22 14:21:41 v0.0.23 14:21:41 v0.0.24 14:21:41 v0.0.25 14:21:41 v0.0.26 14:21:41 v0.0.27 14:21:41 v0.0.28 14:21:41 v0.0.29 14:21:41 v0.0.3 14:21:41 v0.0.30 14:21:41 v0.0.31 14:21:41 v0.0.32 14:21:41 v0.0.33 14:21:41 v0.0.4 14:21:41 v0.0.5 14:21:41 v0.0.6 14:21:41 v0.0.7 14:21:41 v0.0.8 14:21:41 v0.0.9 14:21:41 v2.0.0 14:21:41 v2.0.0-dev.1 14:21:41 v2.0.0-dev.10 14:21:41 v2.0.0-dev.11 14:21:41 v2.0.0-dev.12 14:21:41 v2.0.0-dev.13 14:21:41 v2.0.0-dev.14 14:21:41 v2.0.0-dev.15 14:21:41 v2.0.0-dev.16 14:21:41 v2.0.0-dev.17 14:21:41 v2.0.0-dev.18 14:21:41 v2.0.0-dev.19 14:21:41 v2.0.0-dev.2 14:21:41 v2.0.0-dev.20 14:21:41 v2.0.0-dev.21 14:21:41 v2.0.0-dev.22 14:21:41 v2.0.0-dev.23 14:21:41 v2.0.0-dev.24 14:21:41 v2.0.0-dev.25 14:21:41 v2.0.0-dev.26 14:21:41 v2.0.0-dev.27 14:21:41 v2.0.0-dev.3 14:21:41 v2.0.0-dev.4 14:21:41 v2.0.0-dev.5 14:21:41 v2.0.0-dev.6 14:21:41 v2.0.0-dev.7 14:21:41 v2.0.0-dev.8 14:21:41 v2.0.0-dev.9 14:21:41 v2.0.1-dev.1 14:21:41 v2.0.1-dev.10 14:21:41 v2.0.1-dev.11 14:21:41 v2.0.1-dev.2 14:21:41 v2.0.1-dev.3 14:21:41 v2.0.1-dev.4 14:21:41 v2.0.1-dev.5 14:21:41 v2.0.1-dev.6 14:21:41 v2.0.1-dev.7 14:21:41 v2.0.1-dev.8 14:21:41 v2.0.1-dev.9 14:21:41 v2.1.0 14:21:41 v2.2.0-dev.1 14:21:41 v2.2.0-dev.2 14:21:41 v2.2.0-dev.3 14:21:41 v2.2.0-dev.4 14:21:41 v2.2.0-dev.5 14:21:41 v2.2.0-dev.6 14:21:41 v2.2.0-dev.7 [Pipeline] sh 14:21:41 + lftools sign git-tag v2.2.0-dev.7 14:21:42 Signing Git tag with Sigul... 14:21:42 Signing v2.2.0-dev.7 [Pipeline] echo 14:21:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:21:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:21:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:21:42 $ docker stop --time=1 2af09147a8c278d22768bcbb974406d9a94f6187f8ec95c16bdbf7214cd68ce4 14:21:44 $ docker rm -f 2af09147a8c278d22768bcbb974406d9a94f6187f8ec95c16bdbf7214cd68ce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:21:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:21:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:21:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:21:45 . [Pipeline] withDockerContainer 14:21:45 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:21:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:21:45 $ docker top e166e1c04a3f5c84ff0c8ac54f2a7c5bddd86f41b8af7e306e3c432930d12f0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:45 [ssh-agent] Looking for ssh-agent implementation... 14:21:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:45 $ docker exec e166e1c04a3f5c84ff0c8ac54f2a7c5bddd86f41b8af7e306e3c432930d12f0c ssh-agent 14:21:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdaPhje/agent.13 14:21:45 SSH_AGENT_PID=20 14:21:45 Running ssh-add (command line suppressed) 14:21:46 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2671378763099769976.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2671378763099769976.key) 14:21:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:46 + git semver bump pre 14:21:46 # -> Open(): unable to determine branch for HEAD 14:21:46 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 14:21:46 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 14:21:46 # $SEMVER_REMOTE_NAME = origin 14:21:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:21:46 # $SEMVER_USER_NAME = edgex-jenkins 14:21:46 # $SEMVER_BRANCH = main 14:21:46 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver 14:21:46 2.2.0-dev.8 [Pipeline] } 14:21:46 $ docker exec --env ******** --env ******** e166e1c04a3f5c84ff0c8ac54f2a7c5bddd86f41b8af7e306e3c432930d12f0c ssh-agent -k 14:21:46 unset SSH_AUTH_SOCK; 14:21:46 unset SSH_AGENT_PID; 14:21:46 echo Agent pid 20 killed; 14:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:21:46 + git semver [Pipeline] } 14:21:46 $ docker stop --time=1 e166e1c04a3f5c84ff0c8ac54f2a7c5bddd86f41b8af7e306e3c432930d12f0c 14:21:48 $ docker rm -f e166e1c04a3f5c84ff0c8ac54f2a7c5bddd86f41b8af7e306e3c432930d12f0c [Pipeline] // withDockerContainer [Pipeline] sh 14:21:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:21:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:21:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:21:48 . [Pipeline] withDockerContainer 14:21:48 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:21:48 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:21:49 $ docker top b06a58d5fb89723a9009626f5351d05c67989a323da8670def6ba94d5262d2c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:49 [ssh-agent] Looking for ssh-agent implementation... 14:21:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:49 $ docker exec b06a58d5fb89723a9009626f5351d05c67989a323da8670def6ba94d5262d2c5 ssh-agent 14:21:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeJokeo/agent.14 14:21:49 SSH_AGENT_PID=21 14:21:49 Running ssh-add (command line suppressed) 14:21:49 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3233860206669827749.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3233860206669827749.key) 14:21:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:50 + git semver push 14:21:50 # -> Open(): unable to determine branch for HEAD 14:21:50 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 14:21:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 14:21:50 # $SEMVER_REMOTE_NAME = origin 14:21:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:21:50 # $SEMVER_USER_NAME = edgex-jenkins 14:21:50 # $SEMVER_BRANCH = main 14:21:50 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } 14:21:52 $ docker exec --env ******** --env ******** b06a58d5fb89723a9009626f5351d05c67989a323da8670def6ba94d5262d2c5 ssh-agent -k 14:21:52 unset SSH_AUTH_SOCK; 14:21:52 unset SSH_AGENT_PID; 14:21:52 echo Agent pid 21 killed; 14:21:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:21:52 + git semver [Pipeline] } 14:21:52 $ docker stop --time=1 b06a58d5fb89723a9009626f5351d05c67989a323da8670def6ba94d5262d2c5 14:21:53 $ docker rm -f b06a58d5fb89723a9009626f5351d05c67989a323da8670def6ba94d5262d2c5 [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 14:21:54 + [ -d /w/workspace/edgexfoundry_go-mod-secrets_main/archives ] 14:21:54 + ls -al /w/workspace/edgexfoundry_go-mod-secrets_main/archives 14:21:54 total 16 14:21:54 drwxr-xr-x 3 root root 4096 Apr 25 14:13 . 14:21:54 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 14:21 .. 14:21:54 drwxr-xr-x 2 root root 4096 Apr 25 14:13 cost 14:21:54 -rw-r--r-- 1 root root 84 Apr 25 14:13 cost.csv 14:21:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_go-mod-secrets_main/archives 14:21:54 + ls -al /w/workspace/edgexfoundry_go-mod-secrets_main/archives 14:21:54 total 16 14:21:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 14:13 . 14:21:54 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 14:21 .. 14:21:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 14:13 cost 14:21:54 -rw-r--r-- 1 jenkins jenkins 84 Apr 25 14:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:21:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:21:55 ---> package-listing.sh 14:21:55 ++ facter osfamily 14:21:55 ++ tr '[:upper:]' '[:lower:]' 14:21:55 + OS_FAMILY=debian 14:21:55 + workspace=/w/workspace/edgexfoundry_go-mod-secrets_main 14:21:55 + START_PACKAGES=/tmp/packages_start.txt 14:21:55 + END_PACKAGES=/tmp/packages_end.txt 14:21:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:21:55 + PACKAGES=/tmp/packages_start.txt 14:21:55 + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' 14:21:55 + PACKAGES=/tmp/packages_end.txt 14:21:55 + case "${OS_FAMILY}" in 14:21:55 + dpkg -l 14:21:55 + grep '^ii' 14:21:55 + '[' -f /tmp/packages_start.txt ']' 14:21:55 + '[' -f /tmp/packages_end.txt ']' 14:21:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:21:55 + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' 14:21:55 + mkdir -p /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ 14:21:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ [Pipeline] echo 14:21:55 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 14:21:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:56 . [Pipeline] withDockerContainer 14:21:56 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 14:21:56 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:21:57 $ docker top a48d016f93592c9999c06a4a8bedaccbc05ea399b586e634821ab557c25b106c -eo pid,comm [Pipeline] { [Pipeline] sh 14:21:57 + touch /tmp/pre-build-complete [Pipeline] sh 14:21:57 + mkdir -p /var/log/sysstat [Pipeline] sh 14:21:57 + ls /var/log/sa-host 14:21:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:21:58 provisioning config files... 14:21:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config7276556184574434634tmp [Pipeline] { [Pipeline] echo 14:21:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:21:58 ---> create-netrc.sh [Pipeline] } 14:21:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:21:58 ---> python-tools-install.sh [Pipeline] echo 14:21:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:21:59 ---> sudo-logs.sh 14:21:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:21:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:21:59 ---> job-cost.sh 14:21:59 lf-activate-venv: SKIPPING 14:21:59 DEBUG: total: 0.2199999988079071 14:21:59 INFO: Retrieving Stack Cost... 14:22:00 INFO: Retrieving Pricing Info for: v3-standard-8 14:22:00 INFO: Archiving Costs [Pipeline] echo 14:22:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:22:00 ---> logs-deploy.sh 14:22:00 lf-activate-venv: SKIPPING 14:22:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/main/20 14:22:00 INFO: archiving workspace using pattern(s): 14:22:01 Archives upload complete. 14:22:01 INFO: archiving logs to Nexus