Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8fdcee7cd50b33afe9f7509d4236690c9990512 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-ssh543402363477839787.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-ssh11068050236192949427.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-ssh15244035364397628551.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-ssh10449250185383054990.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-ssh13486999763167943900.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-8191’ Running on prd-ubuntu20.04-docker-8c-8g-8194 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 b8fdcee7cd50b33afe9f7509d4236690c9990512 (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 b8fdcee7cd50b33afe9f7509d4236690c9990512 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#142)" > git rev-list --no-walk f6688a5f9b5c315704af3c92c92859cc6a649f3f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:22:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:22:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:22:43 ========================================================= 13:22:43 EdgeX Global Pipelines Version Info 13:22:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:22:44 ------------------- 13:22:44 stable info: 13:22:44 ------------------- 13:22:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:22:44 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:22:44 Message: update stable to v1.0.221 13:22:45 ------------------- 13:22:45 experimental info: 13:22:45 ------------------- 13:22:45 Commited By: **** collab-it+edgex@linuxfoundation.org 13:22:45 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:22:45 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8fdcee7cd50b33afe9f7509d4236690c9990512 [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8fdcee [Pipeline] echo 13:22:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:22:46 + git rev-list -1 --merges b8fdcee7cd50b33afe9f7509d4236690c9990512~1..b8fdcee7cd50b33afe9f7509d4236690c9990512 [Pipeline] echo 13:22:46 -----------> git rev-list -1 --merges b8fdcee7cd50b33afe9f7509d4236690c9990512~1..b8fdcee7cd50b33afe9f7509d4236690c9990512 b8fdcee7cd50b33afe9f7509d4236690c9990512 [false] [Pipeline] sh 13:22:46 + git log --format=format:%s -1 b8fdcee7cd50b33afe9f7509d4236690c9990512 [Pipeline] echo 13:22:46 ========================================================= 13:22:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:22:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:46 + git log --format=format:%s -1 b8fdcee7cd50b33afe9f7509d4236690c9990512 [Pipeline] echo 13:22:46 [semverPrep] GIT_COMMIT: b8fdcee7cd50b33afe9f7509d4236690c9990512, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#142) [Pipeline] echo 13:22:46 [semverPrep] This is not a build commit. [Pipeline] sh 13:22:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:47 + grep -v github /etc/ssh/ssh_known_hosts 13:22:47 + [ -e /tmp/ssh_known_hosts ] 13:22:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:22:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:22:47 + sudo tee -a /etc/ssh/ssh_known_hosts 13:22:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:22:47 13:22:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:22:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:22:48 latest: Pulling from edgex-devops/git-semver 13:22:48 a0d0a0d46f8b: Pulling fs layer 13:22:48 3e5f54012d9b: Pulling fs layer 13:22:48 4c7163046ea9: Pulling fs layer 13:22:48 0c2d73faf560: Pulling fs layer 13:22:48 0c2d73faf560: Waiting 13:22:48 3e5f54012d9b: Verifying Checksum 13:22:48 3e5f54012d9b: Download complete 13:22:48 a0d0a0d46f8b: Download complete 13:22:48 0c2d73faf560: Verifying Checksum 13:22:48 0c2d73faf560: Download complete 13:22:48 4c7163046ea9: Download complete 13:22:48 a0d0a0d46f8b: Pull complete 13:22:48 3e5f54012d9b: Pull complete 13:22:48 4c7163046ea9: Pull complete 13:22:48 0c2d73faf560: Pull complete 13:22:48 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:22:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:22:48 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:22:49 $ 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 13:22:49 $ docker top 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:49 [ssh-agent] Looking for ssh-agent implementation... 13:22:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:49 $ docker exec 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 ssh-agent 13:22:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXonOKGH/agent.14 13:22:50 SSH_AGENT_PID=20 13:22:50 Running ssh-add (command line suppressed) 13:22:50 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_584943362126539535.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_584943362126539535.key) 13:22:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:50 + git tag --points-at HEAD [Pipeline] } 13:22:50 $ docker exec --env ******** --env ******** 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 ssh-agent -k 13:22:50 unset SSH_AUTH_SOCK; 13:22:50 unset SSH_AGENT_PID; 13:22:50 echo Agent pid 20 killed; 13:22:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:50 [ssh-agent] Looking for ssh-agent implementation... 13:22:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:50 $ docker exec 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 ssh-agent 13:22:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlifjFM/agent.53 13:22:50 SSH_AGENT_PID=59 13:22:50 Running ssh-add (command line suppressed) 13:22:51 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_7645141248342346103.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_7645141248342346103.key) 13:22:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:51 + git semver init 13:22:51 # -> Open(): unable to determine branch for HEAD 13:22:51 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 13:22:51 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 13:22:51 # $SEMVER_REMOTE_NAME = origin 13:22:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:22:51 # $SEMVER_USER_NAME = edgex-jenkins 13:22:51 # $SEMVER_BRANCH = main 13:22:51 # $SEMVER_TEMP = /tmp/semver-834411064 13:22:51 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 13:22:51 # '/tmp/semver-834411064' -> '/w/workspace/edgexfoundry_go-mod-secrets_main/.semver' 13:22:51 # -> Force: false 13:22:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } 13:22:51 $ docker exec --env ******** --env ******** 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 ssh-agent -k 13:22:52 unset SSH_AUTH_SOCK; 13:22:52 unset SSH_AGENT_PID; 13:22:52 echo Agent pid 59 killed; 13:22:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:52 + git semver [Pipeline] } 13:22:52 $ docker stop --time=1 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 13:22:53 $ docker rm -f 1aaae096f809e94d4aecc5c0e8d23bf425b00d2a6c2b596274cb4eb9723f3246 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:22:54 Stashed 1 file(s) [Pipeline] echo 13:22:54 [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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 13:22:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:54 ========================================================= 13:22:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:22:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 13:22:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:22:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:22:54 59bf1c3509f3: Pulling fs layer 13:22:54 666ba61612fd: Pulling fs layer 13:22:54 8ed8ca486205: Pulling fs layer 13:22:54 4fe6c5a15a65: Pulling fs layer 13:22:54 22a0e8bec74d: Pulling fs layer 13:22:54 640e595b4fbd: Pulling fs layer 13:22:54 763cafe07f6e: Pulling fs layer 13:22:54 0c0b528cf693: Pulling fs layer 13:22:54 10935f4eaf8b: Pulling fs layer 13:22:54 640e595b4fbd: Waiting 13:22:54 763cafe07f6e: Waiting 13:22:54 0c0b528cf693: Waiting 13:22:54 4fe6c5a15a65: Waiting 13:22:54 22a0e8bec74d: Waiting 13:22:54 10935f4eaf8b: Waiting 13:22:54 8ed8ca486205: Download complete 13:22:54 666ba61612fd: Verifying Checksum 13:22:54 666ba61612fd: Download complete 13:22:54 22a0e8bec74d: Download complete 13:22:54 640e595b4fbd: Verifying Checksum 13:22:54 640e595b4fbd: Download complete 13:22:54 59bf1c3509f3: Download complete 13:22:54 763cafe07f6e: Download complete 13:22:55 0c0b528cf693: Verifying Checksum 13:22:55 0c0b528cf693: Download complete 13:22:55 59bf1c3509f3: Pull complete 13:22:55 666ba61612fd: Pull complete 13:22:55 8ed8ca486205: Pull complete 13:22:55 10935f4eaf8b: Verifying Checksum 13:22:55 10935f4eaf8b: Download complete 13:22:55 4fe6c5a15a65: Verifying Checksum 13:22:55 4fe6c5a15a65: Download complete 13:22:59 4fe6c5a15a65: Pull complete 13:22:59 22a0e8bec74d: Pull complete 13:22:59 640e595b4fbd: Pull complete 13:22:59 763cafe07f6e: Pull complete 13:23:00 0c0b528cf693: Pull complete 13:23:02 10935f4eaf8b: Pull complete 13:23:02 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 13:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:23:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 13:23:03 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 13:23:03 + docker inspect -f . ci-base-image-x86_64 13:23:03 . [Pipeline] withDockerContainer 13:23:03 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:23:03 $ 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 13:23:05 $ docker top 546a3dd427833729f680ddf436299e4e351081c57ee2ec533d5a847fea3f60ca -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:05 + go version 13:23:05 go version go1.17.6 linux/amd64 [Pipeline] } 13:23:05 $ docker stop --time=1 546a3dd427833729f680ddf436299e4e351081c57ee2ec533d5a847fea3f60ca 13:23:06 $ docker rm -f 546a3dd427833729f680ddf436299e4e351081c57ee2ec533d5a847fea3f60ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:23:07 + docker inspect -f . ci-base-image-x86_64 13:23:07 . [Pipeline] withDockerContainer 13:23:07 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:23:07 $ 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 13:23:07 $ docker top c0ae015af1a1661feab9e9e56a4c7cbe1208d575e700d387b99dd695bc874311 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:23:08 + make test 13:23:08 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 13:23:08 go: downloading github.com/stretchr/testify v1.7.1 13:23:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 13:23:08 go: downloading github.com/davecgh/go-spew v1.1.1 13:23:08 go: downloading github.com/pmezard/go-difflib v1.0.0 13:23:08 go: downloading github.com/stretchr/objx v0.1.1 13:23:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 13:23:08 go: downloading github.com/go-kit/kit v0.11.0 13:23:08 go: downloading github.com/google/uuid v1.3.0 13:23:08 go: downloading github.com/go-playground/validator/v10 v10.9.0 13:23:08 go: downloading golang.org/x/text v0.3.6 13:23:08 go: downloading github.com/go-playground/universal-translator v0.18.0 13:23:08 go: downloading github.com/leodido/go-urn v1.2.1 13:23:08 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 13:23:08 go: downloading github.com/go-playground/locales v0.14.0 13:23:08 go: downloading github.com/go-logfmt/logfmt v0.5.0 13:23:09 Still waiting to schedule task 13:23:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.406s coverage: 80.5% of statements 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.057s coverage: 57.1% of statements 13:23:30 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.081s coverage: 96.7% of statements 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.030s coverage: 89.5% of statements 13:23:30 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.028s coverage: 100.0% of statements 13:23:30 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.037s coverage: 84.6% of statements 13:23:30 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.067s coverage: 100.0% of statements 13:23:30 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 13:23:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:23:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:23:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:23:38 $ docker stop --time=1 c0ae015af1a1661feab9e9e56a4c7cbe1208d575e700d387b99dd695bc874311 13:23:40 $ docker rm -f c0ae015af1a1661feab9e9e56a4c7cbe1208d575e700d387b99dd695bc874311 [Pipeline] // withDockerContainer [Pipeline] sh 13:23:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:41 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 13:23:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:41 13:23:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:23:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:41 latest: Pulling from edgex-lftools-log-publisher 13:23:41 5eb5b503b376: Pulling fs layer 13:23:41 5c69ac0246d0: Pulling fs layer 13:23:41 ec43610c2a17: Pulling fs layer 13:23:41 3a2ae6a8a46f: Pulling fs layer 13:23:41 33b1e0a273af: Pulling fs layer 13:23:41 5d3b04190fa2: Pulling fs layer 13:23:41 2f39f015ded8: Pulling fs layer 13:23:41 5d3b04190fa2: Waiting 13:23:41 3a2ae6a8a46f: Waiting 13:23:41 33b1e0a273af: Waiting 13:23:41 5c69ac0246d0: Verifying Checksum 13:23:41 5c69ac0246d0: Download complete 13:23:41 3a2ae6a8a46f: Verifying Checksum 13:23:41 3a2ae6a8a46f: Download complete 13:23:41 33b1e0a273af: Verifying Checksum 13:23:41 33b1e0a273af: Download complete 13:23:41 ec43610c2a17: Verifying Checksum 13:23:41 ec43610c2a17: Download complete 13:23:41 5d3b04190fa2: Verifying Checksum 13:23:41 5d3b04190fa2: Download complete 13:23:42 5eb5b503b376: Verifying Checksum 13:23:42 5eb5b503b376: Download complete 13:23:42 2f39f015ded8: Download complete 13:23:43 5eb5b503b376: Pull complete 13:23:43 5c69ac0246d0: Pull complete 13:23:43 ec43610c2a17: Pull complete 13:23:43 3a2ae6a8a46f: Pull complete 13:23:44 33b1e0a273af: Pull complete 13:23:44 5d3b04190fa2: Pull complete 13:23:48 2f39f015ded8: Pull complete 13:23:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:23:48 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:23:48 $ 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 13:23:49 $ docker top 95e83cd166dd4af95ee0a15ef3ed9d156013f3d63e770b77a0760b73585a77dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:50 ---> job-cost.sh 13:23:50 lf-activate-venv: SKIPPING 13:23:50 INFO: No Stack... 13:23:50 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:51 INFO: Archiving Costs [Pipeline] sh 13:23:51 + cat /w/workspace/edgexfoundry_go-mod-secrets_main/archives/cost.csv 13:23:51 + cut -d, -f6 [Pipeline] lock 13:23:51 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] 13:23:51 Resource [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] did not exist. Created. 13:23:51 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:51 + echo total: 0.2199999988079071 [Pipeline] stash 13:23:51 Stashed 1 file(s) [Pipeline] } 13:23:51 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:51 $ docker stop --time=1 95e83cd166dd4af95ee0a15ef3ed9d156013f3d63e770b77a0760b73585a77dd 13:23:52 $ docker rm -f 95e83cd166dd4af95ee0a15ef3ed9d156013f3d63e770b77a0760b73585a77dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:24:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8195 in /w/workspace/edgexfoundry_go-mod-secrets_main [Pipeline] { [Pipeline] ws 13:24:51 Running in /w/workspace/go-mod-secrets/17 [Pipeline] { [Pipeline] checkout 13:24:51 Selected Git installation does not exist. Using Default 13:24:51 The recommended git tool is: NONE 13:24:58 using credential edgex-jenkins-ssh 13:24:58 Cloning the remote Git repository 13:24:58 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 13:24:58 > git init /w/workspace/go-mod-secrets/17 # timeout=10 13:24:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 13:24:58 > git --version # timeout=10 13:24:58 > git --version # 'git version 2.25.1' 13:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:00 Avoid second fetch 13:25:00 Checking out Revision b8fdcee7cd50b33afe9f7509d4236690c9990512 (main) 13:25:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 13:25:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:00 > git config core.sparsecheckout # timeout=10 13:25:00 > git checkout -f b8fdcee7cd50b33afe9f7509d4236690c9990512 # timeout=10 13:25:04 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#142)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:25:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:25:05 % Total % Received % Xferd Average Speed Time Time Time Current 13:25:05 Dload Upload Total Spent Left Speed 13:25:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45202 0 --:--:-- --:--:-- --:--:-- 45202 [Pipeline] sh 13:25:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:25:06 + sudo tee /etc/docker/daemon.new 13:25:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:25:06 { 13:25:06 "registry-mirrors": [ 13:25:06 "https://nexus3.edgexfoundry.org:10001" 13:25:06 ], 13:25:06 "bip": "10.250.0.254/24", 13:25:06 "hosts": [ 13:25:06 "tcp://0.0.0.0:5555", 13:25:06 "unix:///var/run/docker.sock" 13:25:06 ], 13:25:06 "mtu": 1458, 13:25:06 "selinux-enabled": true, 13:25:06 "seccomp-profile": "/etc/docker/seccomp.json" 13:25:06 } [Pipeline] sh 13:25:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:25:07 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 13:25:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:26 ========================================================= 13:25:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:25:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 13:25:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:25:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:25:27 9b3977197b4f: Pulling fs layer 13:25:27 1a89e8eeedd5: Pulling fs layer 13:25:27 94645a83ff95: Pulling fs layer 13:25:27 3f3a8bcf1eab: Pulling fs layer 13:25:27 0c92f367c5e7: Pulling fs layer 13:25:27 f7c0051592d6: Pulling fs layer 13:25:27 a227ed2f7395: Pulling fs layer 13:25:27 7b1c46037f91: Pulling fs layer 13:25:27 3f3a8bcf1eab: Waiting 13:25:27 0c92f367c5e7: Waiting 13:25:27 f7c0051592d6: Waiting 13:25:27 a227ed2f7395: Waiting 13:25:27 7b1c46037f91: Waiting 13:25:27 94645a83ff95: Verifying Checksum 13:25:27 94645a83ff95: Download complete 13:25:27 1a89e8eeedd5: Verifying Checksum 13:25:27 1a89e8eeedd5: Download complete 13:25:27 0c92f367c5e7: Verifying Checksum 13:25:27 0c92f367c5e7: Download complete 13:25:27 f7c0051592d6: Verifying Checksum 13:25:27 f7c0051592d6: Download complete 13:25:27 9b3977197b4f: Download complete 13:25:27 a227ed2f7395: Verifying Checksum 13:25:27 a227ed2f7395: Download complete 13:25:28 9b3977197b4f: Pull complete 13:25:28 1a89e8eeedd5: Pull complete 13:25:29 94645a83ff95: Pull complete 13:25:29 7b1c46037f91: Verifying Checksum 13:25:29 7b1c46037f91: Download complete 13:25:30 3f3a8bcf1eab: Verifying Checksum 13:25:30 3f3a8bcf1eab: Download complete 13:25:42 3f3a8bcf1eab: Pull complete 13:25:42 0c92f367c5e7: Pull complete 13:25:42 f7c0051592d6: Pull complete 13:25:42 a227ed2f7395: Pull complete 13:25:49 7b1c46037f91: Pull complete 13:25:49 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 13:25:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:25:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 13:25:49 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 13:25:50 + docker inspect -f . ci-base-image-arm64 13:25:50 . [Pipeline] withDockerContainer 13:25:50 prd-ubuntu20.04-docker-arm64-4c-16g-8195 does not seem to be running inside a container 13:25:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/17 -v /w/workspace/go-mod-secrets/17:/w/workspace/go-mod-secrets/17:rw,z -v /w/workspace/go-mod-secrets/17@tmp:/w/workspace/go-mod-secrets/17@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 13:25:53 $ docker top 8ae08d0b9d8757df8ba6fd4493e0cebe69e64eb9a2001cf129e5868aeb198a25 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:54 + go version 13:25:54 go version go1.17.6 linux/arm64 [Pipeline] } 13:25:54 $ docker stop --time=1 8ae08d0b9d8757df8ba6fd4493e0cebe69e64eb9a2001cf129e5868aeb198a25 13:25:55 $ docker rm -f 8ae08d0b9d8757df8ba6fd4493e0cebe69e64eb9a2001cf129e5868aeb198a25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:25:56 + docker inspect -f . ci-base-image-arm64 13:25:56 . [Pipeline] withDockerContainer 13:25:56 prd-ubuntu20.04-docker-arm64-4c-16g-8195 does not seem to be running inside a container 13:25:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/17 -v /w/workspace/go-mod-secrets/17:/w/workspace/go-mod-secrets/17:rw,z -v /w/workspace/go-mod-secrets/17@tmp:/w/workspace/go-mod-secrets/17@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 13:25:58 $ docker top f93359df100b6d2cb71a3ad2bd8fba6694433caf0f3e3825b69990d43f9109ee -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:25:58 + make test 13:25:58 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 13:25:58 go: downloading github.com/stretchr/testify v1.7.1 13:25:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 13:25:59 go: downloading github.com/davecgh/go-spew v1.1.1 13:25:59 go: downloading github.com/pmezard/go-difflib v1.0.0 13:25:59 go: downloading github.com/stretchr/objx v0.1.1 13:25:59 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 13:25:59 go: downloading github.com/go-kit/kit v0.11.0 13:25:59 go: downloading github.com/go-playground/validator/v10 v10.9.0 13:25:59 go: downloading github.com/google/uuid v1.3.0 13:25:59 go: downloading github.com/leodido/go-urn v1.2.1 13:25:59 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 13:25:59 go: downloading github.com/go-playground/universal-translator v0.18.0 13:25:59 go: downloading golang.org/x/text v0.3.6 13:26:00 go: downloading github.com/go-playground/locales v0.14.0 13:26:00 go: downloading github.com/go-logfmt/logfmt v0.5.0 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.407s coverage: 80.5% of statements 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.263s coverage: 57.1% of statements 13:27:21 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.211s coverage: 96.7% of statements 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.086s coverage: 89.5% of statements 13:27:21 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.064s coverage: 100.0% of statements 13:27:21 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.084s coverage: 84.6% of statements 13:27:21 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.214s coverage: 100.0% of statements 13:27:21 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 13:27:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:27:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:27:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:27:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:27:44 $ docker stop --time=1 f93359df100b6d2cb71a3ad2bd8fba6694433caf0f3e3825b69990d43f9109ee 13:27:46 $ docker rm -f f93359df100b6d2cb71a3ad2bd8fba6694433caf0f3e3825b69990d43f9109ee [Pipeline] // withDockerContainer [Pipeline] sh 13:27:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:27:47 Warning: overwriting stash ‘coverage-report’ 13:27:48 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 13:27:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:27:48 13:27:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:27:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:27:49 arm64: Pulling from edgex-lftools-log-publisher 13:27:49 8998bd30e6a1: Pulling fs layer 13:27:49 04944245beec: Pulling fs layer 13:27:49 699f458cf7ca: Pulling fs layer 13:27:49 765212b225bb: Pulling fs layer 13:27:49 f23df028b6ca: Pulling fs layer 13:27:49 d65c8cfc05b1: Pulling fs layer 13:27:49 2437ff75d9bd: Pulling fs layer 13:27:49 765212b225bb: Waiting 13:27:49 f23df028b6ca: Waiting 13:27:49 d65c8cfc05b1: Waiting 13:27:49 2437ff75d9bd: Waiting 13:27:49 04944245beec: Verifying Checksum 13:27:49 04944245beec: Download complete 13:27:49 765212b225bb: Verifying Checksum 13:27:49 765212b225bb: Download complete 13:27:49 f23df028b6ca: Verifying Checksum 13:27:49 f23df028b6ca: Download complete 13:27:49 d65c8cfc05b1: Verifying Checksum 13:27:49 d65c8cfc05b1: Download complete 13:27:49 699f458cf7ca: Verifying Checksum 13:27:49 699f458cf7ca: Download complete 13:27:49 8998bd30e6a1: Verifying Checksum 13:27:49 8998bd30e6a1: Download complete 13:27:52 2437ff75d9bd: Verifying Checksum 13:27:52 2437ff75d9bd: Download complete 13:27:54 8998bd30e6a1: Pull complete 13:27:54 04944245beec: Pull complete 13:27:56 699f458cf7ca: Pull complete 13:27:56 765212b225bb: Pull complete 13:27:57 f23df028b6ca: Pull complete 13:27:57 d65c8cfc05b1: Pull complete 13:28:12 2437ff75d9bd: Pull complete 13:28:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:28:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:28:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:28:12 prd-ubuntu20.04-docker-arm64-4c-16g-8195 does not seem to be running inside a container 13:28:12 $ 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/17 -v /w/workspace/go-mod-secrets/17:/w/workspace/go-mod-secrets/17:rw,z -v /w/workspace/go-mod-secrets/17@tmp:/w/workspace/go-mod-secrets/17@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 13:28:15 $ docker top c4aa9f0b98d30bc4bd7b524bcbb2bfff1aa816443164f894deaefcf10a0176b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:16 ---> job-cost.sh 13:28:16 lf-activate-venv: SKIPPING 13:28:16 INFO: No Stack... 13:28:16 INFO: Retrieving Pricing Info for: v3-standard-4 13:28:17 INFO: Archiving Costs [Pipeline] sh 13:28:17 + cut -d, -f6 13:28:17 + cat /w/workspace/go-mod-secrets/17/archives/cost.csv [Pipeline] lock 13:28:18 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] 13:28:18 Resource [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] did not exist. Created. 13:28:18 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:28:18 /w/workspace/go-mod-secrets/17@tmp/durable-c41e5c63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:28:19 + echo total: 0.10999999940395355 [Pipeline] stash 13:28:19 Warning: overwriting stash ‘stack-cost’ 13:28:19 Stashed 1 file(s) [Pipeline] } 13:28:19 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 13:28:19 $ docker stop --time=1 c4aa9f0b98d30bc4bd7b524bcbb2bfff1aa816443164f894deaefcf10a0176b5 13:28:20 $ docker rm -f c4aa9f0b98d30bc4bd7b524bcbb2bfff1aa816443164f894deaefcf10a0176b5 [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 13:28:21 provisioning config files... 13:28:21 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config7626199169863833248tmp [Pipeline] { [Pipeline] sh 13:28:21 + set +x 13:28:21 + bash -s -- 13:28:21 + curl -s https://codecov.io/bash 13:28:21 13:28:21 _____ _ 13:28:21 / ____| | | 13:28:21 | | ___ __| | ___ ___ _____ __ 13:28:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:28:21 | |___| (_) | (_| | __/ (_| (_) \ V / 13:28:21 \_____\___/ \__,_|\___|\___\___/ \_/ 13:28:21 Bash-1.0.6 13:28:21 13:28:21 13:28:21 ==> git version 2.25.1 found 13:28:21 ==> 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 13:28:21 Release-Date: 2020-01-08 13:28:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:28:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:28:21 ==> Jenkins CI detected. 13:28:21 current dir:  /w/workspace/edgexfoundry_go-mod-secrets_main 13:28:21 project root: . 13:28:21 --> token set from env 13:28:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:28:21 ==> Running gcov in . (disable via -X gcov) 13:28:21 ==> Python coveragepy not found 13:28:21 ==> Searching for coverage reports in: 13:28:21 + . 13:28:21 -> Found 1 reports 13:28:21 ==> Detecting git/mercurial file structure 13:28:21 ==> Reading reports 13:28:21 + ./coverage.out bytes=27589 13:28:21 ==> Appending adjustments 13:28:21 https://docs.codecov.io/docs/fixing-reports 13:28:21 + Found adjustments 13:28:21 ==> Gzipping contents 13:28:21 8.0K /tmp/codecov.0QosRk.gz 13:28:21 ==> Uploading reports 13:28:21 url: https://codecov.io 13:28:21 query: branch=main&commit=b8fdcee7cd50b33afe9f7509d4236690c9990512&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= 13:28:21 -> Pinging Codecov 13:28:21 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=b8fdcee7cd50b33afe9f7509d4236690c9990512&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= 13:28:22 -> Uploading to 13:28:22 https://storage.googleapis.com/codecov/v4/raw/2022-03-21/D63849C06B6B67093493C71CE874ED06/b8fdcee7cd50b33afe9f7509d4236690c9990512/a06d1ec8-e0a5-4381-ba72-3562192c2d30.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T132822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0b4b28abd0b24952fc1e7d57f2c150c59489ab98c9e8ec7da81b8e0aa025c0d 13:28:22 % Total % Received % Xferd Average Speed Time Time Time Current 13:28:22 Dload Upload Total Spent Left Speed 13:28:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5652 0 0 100 5652 0 27705 --:--:-- --:--:-- --:--:-- 27705 13:28:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/b8fdcee7cd50b33afe9f7509d4236690c9990512 [Pipeline] } 13:28:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:28:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:28:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:28:23 13:28:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 13:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:28:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:28:23 188c0c94c7c5: Pulling fs layer 13:28:23 0ef7d3d256c8: Pulling fs layer 13:28:23 de9db76c5a1d: Pulling fs layer 13:28:23 0eba1c9be4d2: Pulling fs layer 13:28:23 0d57e429df01: Pulling fs layer 13:28:23 4e4be7b47b0d: Pulling fs layer 13:28:23 e1f770b5df2f: Pulling fs layer 13:28:23 85a0685a4137: Pulling fs layer 13:28:23 0eba1c9be4d2: Waiting 13:28:23 4e4be7b47b0d: Waiting 13:28:23 e1f770b5df2f: Waiting 13:28:23 85a0685a4137: Waiting 13:28:23 0d57e429df01: Waiting 13:28:23 de9db76c5a1d: Download complete 13:28:23 0ef7d3d256c8: Download complete 13:28:23 0d57e429df01: Verifying Checksum 13:28:23 0d57e429df01: Download complete 13:28:23 4e4be7b47b0d: Download complete 13:28:23 188c0c94c7c5: Verifying Checksum 13:28:23 188c0c94c7c5: Download complete 13:28:23 188c0c94c7c5: Pull complete 13:28:23 0ef7d3d256c8: Pull complete 13:28:23 e1f770b5df2f: Verifying Checksum 13:28:23 e1f770b5df2f: Download complete 13:28:23 de9db76c5a1d: Pull complete 13:28:24 0eba1c9be4d2: Verifying Checksum 13:28:24 0eba1c9be4d2: Download complete 13:28:24 85a0685a4137: Verifying Checksum 13:28:24 85a0685a4137: Download complete 13:28:27 0eba1c9be4d2: Pull complete 13:28:27 0d57e429df01: Pull complete 13:28:27 4e4be7b47b0d: Pull complete 13:28:27 e1f770b5df2f: Pull complete 13:28:31 85a0685a4137: Pull complete 13:28:31 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 13:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:28:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 13:28:31 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:28:31 $ 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 13:28:32 $ docker top 310f75ca7b3c2c64e8c4011253d83c73893f1edd3a22b616cf6d3995f417bd6e -eo pid,comm [Pipeline] { [Pipeline] echo 13:28:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 13:28:33 + set -o pipefail 13:28:33 + snyk monitor '--org=edgex-jenkins' 13:28:36 13:28:36 Monitoring /w/workspace/edgexfoundry_go-mod-secrets_main (github.com/edgexfoundry/go-mod-secrets/v2)... 13:28:36 13:28:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/09f0d814-f697-40d2-af90-946e9eb2af5e/history/64702542-0bd3-4be5-8079-9af390f97d86 13:28:36 13:28:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:28:36 13:28:36 [Pipeline] } 13:28:36 $ docker stop --time=1 310f75ca7b3c2c64e8c4011253d83c73893f1edd3a22b616cf6d3995f417bd6e 13:28:38 $ docker rm -f 310f75ca7b3c2c64e8c4011253d83c73893f1edd3a22b616cf6d3995f417bd6e [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 13:28:38 + git log --format=format:%s -1 b8fdcee7cd50b33afe9f7509d4236690c9990512 [Pipeline] sh 13:28:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:28:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:28:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:28:39 . [Pipeline] withDockerContainer 13:28:39 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:28:39 $ 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 13:28:39 $ docker top aa335733f3c244eb80ab508717e0e2ddb6fe1ef2e13cc69b92976339871540b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:28:39 [ssh-agent] Looking for ssh-agent implementation... 13:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:39 $ docker exec aa335733f3c244eb80ab508717e0e2ddb6fe1ef2e13cc69b92976339871540b4 ssh-agent 13:28:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXognIjC/agent.14 13:28:40 SSH_AGENT_PID=20 13:28:40 Running ssh-add (command line suppressed) 13:28:40 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_7223853874488454084.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_7223853874488454084.key) 13:28:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:28:40 + git semver tag 13:28:40 # -> Open(): unable to determine branch for HEAD 13:28:40 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 13:28:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 13:28:40 # $SEMVER_REMOTE_NAME = origin 13:28:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:28:40 # $SEMVER_USER_NAME = edgex-jenkins 13:28:40 # $SEMVER_BRANCH = main 13:28:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver 13:28:40 # b8fdcee7cd50b33afe9f7509d4236690c9990512 HEAD 13:28:40 # -> Force: false 13:28:40 # 1c35a6d2094311319c199dc98fef2d81d20079ef refs/tags/v2.2.0-dev.4 [Pipeline] } 13:28:40 $ docker exec --env ******** --env ******** aa335733f3c244eb80ab508717e0e2ddb6fe1ef2e13cc69b92976339871540b4 ssh-agent -k 13:28:40 unset SSH_AUTH_SOCK; 13:28:40 unset SSH_AGENT_PID; 13:28:40 echo Agent pid 20 killed; 13:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:28:40 + git semver [Pipeline] } 13:28:40 $ docker stop --time=1 aa335733f3c244eb80ab508717e0e2ddb6fe1ef2e13cc69b92976339871540b4 13:28:42 $ docker rm -f aa335733f3c244eb80ab508717e0e2ddb6fe1ef2e13cc69b92976339871540b4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:28:42 13:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:28:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:28:42 0.23.1-centos7: Pulling from edgex-lftools 13:28:42 ab5ef0e58194: Pulling fs layer 13:28:42 9712f1f96733: Pulling fs layer 13:28:42 63f879dbbcfc: Pulling fs layer 13:28:42 0d9ebad4ef96: Pulling fs layer 13:28:42 e9a5061849ea: Pulling fs layer 13:28:42 d747dcd14b5f: Pulling fs layer 13:28:42 2de7ff778b66: Pulling fs layer 13:28:42 0d9ebad4ef96: Waiting 13:28:42 e9a5061849ea: Waiting 13:28:42 d747dcd14b5f: Waiting 13:28:42 2de7ff778b66: Waiting 13:28:42 9712f1f96733: Download complete 13:28:43 63f879dbbcfc: Verifying Checksum 13:28:43 63f879dbbcfc: Download complete 13:28:43 0d9ebad4ef96: Verifying Checksum 13:28:43 0d9ebad4ef96: Download complete 13:28:43 d747dcd14b5f: Verifying Checksum 13:28:43 d747dcd14b5f: Download complete 13:28:43 ab5ef0e58194: Verifying Checksum 13:28:43 ab5ef0e58194: Download complete 13:28:43 e9a5061849ea: Verifying Checksum 13:28:43 e9a5061849ea: Download complete 13:28:43 2de7ff778b66: Verifying Checksum 13:28:43 2de7ff778b66: Download complete 13:28:46 ab5ef0e58194: Pull complete 13:28:46 9712f1f96733: Pull complete 13:28:46 63f879dbbcfc: Pull complete 13:28:50 0d9ebad4ef96: Pull complete 13:28:50 e9a5061849ea: Pull complete 13:28:50 d747dcd14b5f: Pull complete 13:28:51 2de7ff778b66: Pull complete 13:28:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:28:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:28:51 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:28:51 $ 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 13:28:53 $ docker top 04f1715587e986510fc9af9402913282f6cbf02c9282867ba662dad0ee87d18b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:28:53 provisioning config files... 13:28:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config8815434059338736428tmp 13:28:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config8441599909885702659tmp 13:28:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config2445806652052509821tmp [Pipeline] { [Pipeline] echo 13:28:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:28:54 ---> sigul-configuration.sh 13:28:54 gpg: directory `/root/.gnupg' created 13:28:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:28:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:28:54 gpg: keyring `/root/.gnupg/secring.gpg' created 13:28:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:28:54 gpg: CAST5 encrypted data 13:28:54 gpg: encrypted with 1 passphrase 13:28:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:28:54 + mkdir /home/jenkins 13:28:54 + mkdir /home/jenkins/sigul [Pipeline] sh 13:28:54 + 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 13:28:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:28:55 ---> sigul-install.sh 13:28:55 Sigul already installed; skipping installation. [Pipeline] sh 13:28:55 + git tag --list 13:28:55 v0.0.0 13:28:55 v0.0.1 13:28:55 v0.0.10 13:28:55 v0.0.11 13:28:55 v0.0.12 13:28:55 v0.0.13 13:28:55 v0.0.14 13:28:55 v0.0.15 13:28:55 v0.0.16 13:28:55 v0.0.17 13:28:55 v0.0.18 13:28:55 v0.0.19 13:28:55 v0.0.2 13:28:55 v0.0.20 13:28:55 v0.0.21 13:28:55 v0.0.22 13:28:55 v0.0.23 13:28:55 v0.0.24 13:28:55 v0.0.25 13:28:55 v0.0.26 13:28:55 v0.0.27 13:28:55 v0.0.28 13:28:55 v0.0.29 13:28:55 v0.0.3 13:28:55 v0.0.30 13:28:55 v0.0.31 13:28:55 v0.0.32 13:28:55 v0.0.33 13:28:55 v0.0.4 13:28:55 v0.0.5 13:28:55 v0.0.6 13:28:55 v0.0.7 13:28:55 v0.0.8 13:28:55 v0.0.9 13:28:55 v2.0.0 13:28:55 v2.0.0-dev.1 13:28:55 v2.0.0-dev.10 13:28:55 v2.0.0-dev.11 13:28:55 v2.0.0-dev.12 13:28:55 v2.0.0-dev.13 13:28:55 v2.0.0-dev.14 13:28:55 v2.0.0-dev.15 13:28:55 v2.0.0-dev.16 13:28:55 v2.0.0-dev.17 13:28:55 v2.0.0-dev.18 13:28:55 v2.0.0-dev.19 13:28:55 v2.0.0-dev.2 13:28:55 v2.0.0-dev.20 13:28:55 v2.0.0-dev.21 13:28:55 v2.0.0-dev.22 13:28:55 v2.0.0-dev.23 13:28:55 v2.0.0-dev.24 13:28:55 v2.0.0-dev.25 13:28:55 v2.0.0-dev.26 13:28:55 v2.0.0-dev.27 13:28:55 v2.0.0-dev.3 13:28:55 v2.0.0-dev.4 13:28:55 v2.0.0-dev.5 13:28:55 v2.0.0-dev.6 13:28:55 v2.0.0-dev.7 13:28:55 v2.0.0-dev.8 13:28:55 v2.0.0-dev.9 13:28:55 v2.0.1-dev.1 13:28:55 v2.0.1-dev.10 13:28:55 v2.0.1-dev.11 13:28:55 v2.0.1-dev.2 13:28:55 v2.0.1-dev.3 13:28:55 v2.0.1-dev.4 13:28:55 v2.0.1-dev.5 13:28:55 v2.0.1-dev.6 13:28:55 v2.0.1-dev.7 13:28:55 v2.0.1-dev.8 13:28:55 v2.0.1-dev.9 13:28:55 v2.1.0 13:28:55 v2.2.0-dev.1 13:28:55 v2.2.0-dev.2 13:28:55 v2.2.0-dev.3 13:28:55 v2.2.0-dev.4 [Pipeline] sh 13:28:55 + lftools sign git-tag v2.2.0-dev.4 13:28:56 Signing Git tag with Sigul... 13:28:56 Signing v2.2.0-dev.4 [Pipeline] echo 13:28:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:28:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:28:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:28:56 $ docker stop --time=1 04f1715587e986510fc9af9402913282f6cbf02c9282867ba662dad0ee87d18b 13:28:58 $ docker rm -f 04f1715587e986510fc9af9402913282f6cbf02c9282867ba662dad0ee87d18b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:28:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:28:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:28:58 . [Pipeline] withDockerContainer 13:28:58 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:28:58 $ 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 13:28:59 $ docker top 8a7605d983032f0e7bbc4e49e3573b3411afeaa49b38c263888997ea6e456e34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:28:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:28:59 [ssh-agent] Looking for ssh-agent implementation... 13:28:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:59 $ docker exec 8a7605d983032f0e7bbc4e49e3573b3411afeaa49b38c263888997ea6e456e34 ssh-agent 13:28:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfLaola/agent.13 13:28:59 SSH_AGENT_PID=19 13:28:59 Running ssh-add (command line suppressed) 13:28:59 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2371810837715543442.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2371810837715543442.key) 13:28:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:29:00 + git semver bump pre 13:29:00 # -> Open(): unable to determine branch for HEAD 13:29:00 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 13:29:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 13:29:00 # $SEMVER_REMOTE_NAME = origin 13:29:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:29:00 # $SEMVER_USER_NAME = edgex-jenkins 13:29:00 # $SEMVER_BRANCH = main 13:29:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver 13:29:00 2.2.0-dev.5 [Pipeline] } 13:29:00 $ docker exec --env ******** --env ******** 8a7605d983032f0e7bbc4e49e3573b3411afeaa49b38c263888997ea6e456e34 ssh-agent -k 13:29:00 unset SSH_AUTH_SOCK; 13:29:00 unset SSH_AGENT_PID; 13:29:00 echo Agent pid 19 killed; 13:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:29:00 + git semver [Pipeline] } 13:29:00 $ docker stop --time=1 8a7605d983032f0e7bbc4e49e3573b3411afeaa49b38c263888997ea6e456e34 13:29:01 $ docker rm -f 8a7605d983032f0e7bbc4e49e3573b3411afeaa49b38c263888997ea6e456e34 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:29:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:29:02 . [Pipeline] withDockerContainer 13:29:02 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:29:02 $ 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 13:29:03 $ docker top 06f6b0a23cdbeab90316a0dab3623f114d43a95cc6190b03666dc38226051f37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:29:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:29:03 [ssh-agent] Looking for ssh-agent implementation... 13:29:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:29:03 $ docker exec 06f6b0a23cdbeab90316a0dab3623f114d43a95cc6190b03666dc38226051f37 ssh-agent 13:29:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjOeJEH/agent.13 13:29:03 SSH_AGENT_PID=19 13:29:03 Running ssh-add (command line suppressed) 13:29:03 Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_4198096646497838820.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_4198096646497838820.key) 13:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:29:03 + git semver push 13:29:03 # -> Open(): unable to determine branch for HEAD 13:29:03 # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git 13:29:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main 13:29:03 # $SEMVER_REMOTE_NAME = origin 13:29:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:29:03 # $SEMVER_USER_NAME = edgex-jenkins 13:29:03 # $SEMVER_BRANCH = main 13:29:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } 13:29:05 $ docker exec --env ******** --env ******** 06f6b0a23cdbeab90316a0dab3623f114d43a95cc6190b03666dc38226051f37 ssh-agent -k 13:29:05 unset SSH_AUTH_SOCK; 13:29:05 unset SSH_AGENT_PID; 13:29:05 echo Agent pid 19 killed; 13:29:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:29:06 + git semver [Pipeline] } 13:29:06 $ docker stop --time=1 06f6b0a23cdbeab90316a0dab3623f114d43a95cc6190b03666dc38226051f37 13:29:07 $ docker rm -f 06f6b0a23cdbeab90316a0dab3623f114d43a95cc6190b03666dc38226051f37 [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 13:29:08 + [ -d /w/workspace/edgexfoundry_go-mod-secrets_main/archives ] 13:29:08 + ls -al /w/workspace/edgexfoundry_go-mod-secrets_main/archives 13:29:08 total 16 13:29:08 drwxr-xr-x 3 root root 4096 Mar 21 13:23 . 13:29:08 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:28 .. 13:29:08 drwxr-xr-x 2 root root 4096 Mar 21 13:23 cost 13:29:08 -rw-r--r-- 1 root root 84 Mar 21 13:23 cost.csv 13:29:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_go-mod-secrets_main/archives 13:29:08 + ls -al /w/workspace/edgexfoundry_go-mod-secrets_main/archives 13:29:08 total 16 13:29:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:23 . 13:29:08 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:28 .. 13:29:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 13:23 cost 13:29:08 -rw-r--r-- 1 jenkins jenkins 84 Mar 21 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:29:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:29:09 ---> package-listing.sh 13:29:09 ++ facter osfamily 13:29:09 ++ tr '[:upper:]' '[:lower:]' 13:29:09 + OS_FAMILY=debian 13:29:09 + workspace=/w/workspace/edgexfoundry_go-mod-secrets_main 13:29:09 + START_PACKAGES=/tmp/packages_start.txt 13:29:09 + END_PACKAGES=/tmp/packages_end.txt 13:29:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:29:09 + PACKAGES=/tmp/packages_start.txt 13:29:09 + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' 13:29:09 + PACKAGES=/tmp/packages_end.txt 13:29:09 + case "${OS_FAMILY}" in 13:29:09 + dpkg -l 13:29:09 + grep '^ii' 13:29:09 + '[' -f /tmp/packages_start.txt ']' 13:29:09 + '[' -f /tmp/packages_end.txt ']' 13:29:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:29:09 + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' 13:29:09 + mkdir -p /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ 13:29:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ [Pipeline] echo 13:29:09 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 13:29:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:29:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:10 . [Pipeline] withDockerContainer 13:29:10 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 13:29:10 $ 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 13:29:10 $ docker top 91e239f09bc6fc3d29a50ae7fcd3dd47ab3458fa54f71141fe46eb7c2f79210d -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:11 + touch /tmp/pre-build-complete [Pipeline] sh 13:29:11 + mkdir -p /var/log/sysstat [Pipeline] sh 13:29:11 + ls /var/log/sa-host 13:29:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:29:11 provisioning config files... 13:29:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config4974873342217836309tmp [Pipeline] { [Pipeline] echo 13:29:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:29:12 ---> create-netrc.sh [Pipeline] } 13:29:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:29:12 ---> python-tools-install.sh [Pipeline] echo 13:29:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:29:12 ---> sudo-logs.sh 13:29:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:29:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:29:12 ---> job-cost.sh 13:29:12 lf-activate-venv: SKIPPING 13:29:12 DEBUG: total: 0.2199999988079071 13:29:12 INFO: Retrieving Stack Cost... 13:29:13 INFO: Retrieving Pricing Info for: v3-standard-8 13:29:13 INFO: Archiving Costs [Pipeline] echo 13:29:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:29:14 ---> logs-deploy.sh 13:29:14 lf-activate-venv: SKIPPING 13:29:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/main/17 13:29:14 INFO: archiving workspace using pattern(s): 13:29:15 Archives upload complete. 13:29:15 INFO: archiving logs to Nexus