Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53349ba8d3d6ca527116d895961c2a6309ac5588 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2827749050440808650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh9002866073852563637.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8716987229616755615.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-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-ssh3361448941043299809.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh6955410653790602780.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-secrets, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-secrets DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13687 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.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/jenkins-gitclient-ssh6274411493562599543.key > 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 53349ba8d3d6ca527116d895961c2a6309ac5588 (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 53349ba8d3d6ca527116d895961c2a6309ac5588 # timeout=10 Commit message: "Merge pull request #132 from lenny-intel/core-contracts" > git rev-list --no-walk e773da525b7f674f4744c99b2c917107d09d7a5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T16:00:55.444Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T16:00:55.486Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T16:00:55.498Z] ========================================================= [2021-11-01T16:00:55.498Z] EdgeX Global Pipelines Version Info [2021-11-01T16:00:55.498Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:00:56.672Z] ------------------- [2021-11-01T16:00:56.672Z] stable info: [2021-11-01T16:00:56.672Z] ------------------- [2021-11-01T16:00:56.672Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T16:00:56.672Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T16:00:56.672Z] Message: update stable to v1.0.211 [2021-11-01T16:00:57.244Z] ------------------- [2021-11-01T16:00:57.244Z] experimental info: [2021-11-01T16:00:57.244Z] ------------------- [2021-11-01T16:00:57.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T16:00:57.244Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T16:00:57.244Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T16:00:57.321Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2021-11-01T16:00:57.332Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2021-11-01T16:00:57.343Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T16:00:57.354Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T16:00:57.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T16:00:57.378Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T16:00:57.389Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T16:00:57.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-01T16:00:57.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T16:00:57.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T16:00:57.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T16:00:57.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo [2021-11-01T16:00:57.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T16:00:57.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T16:00:57.477Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T16:00:57.490Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T16:00:57.500Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T16:00:57.511Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T16:00:57.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T16:00:57.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-01T16:00:57.545Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-01T16:00:57.557Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-01T16:00:57.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T16:00:57.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T16:00:57.598Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-11-01T16:00:57.611Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T16:00:57.621Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-01T16:00:57.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-01T16:00:57.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-01T16:00:57.649Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53349ba8d3d6ca527116d895961c2a6309ac5588 [Pipeline] echo [2021-11-01T16:00:57.660Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53349ba [Pipeline] echo [2021-11-01T16:00:57.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T16:00:58.063Z] + git rev-list -1 --merges 53349ba8d3d6ca527116d895961c2a6309ac5588~1..53349ba8d3d6ca527116d895961c2a6309ac5588 [Pipeline] echo [2021-11-01T16:00:58.095Z] -----------> git rev-list -1 --merges 53349ba8d3d6ca527116d895961c2a6309ac5588~1..53349ba8d3d6ca527116d895961c2a6309ac5588 53349ba8d3d6ca527116d895961c2a6309ac5588 [2021-11-01T16:00:58.095Z] 53349ba8d3d6ca527116d895961c2a6309ac5588 [false] [Pipeline] sh [2021-11-01T16:00:58.389Z] + git log --format=format:%s -1 53349ba8d3d6ca527116d895961c2a6309ac5588 [Pipeline] echo [2021-11-01T16:00:58.406Z] ========================================================= [2021-11-01T16:00:58.406Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T16:00:58.406Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T16:00:58.750Z] + git log --format=format:%s -1 53349ba8d3d6ca527116d895961c2a6309ac5588 [Pipeline] echo [2021-11-01T16:00:58.762Z] [semverPrep] GIT_COMMIT: 53349ba8d3d6ca527116d895961c2a6309ac5588, Commit Message: Merge pull request #132 from lenny-intel/core-contracts [Pipeline] echo [2021-11-01T16:00:58.768Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:00:59.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T16:00:59.182Z] [2021-11-01T16:00:59.182Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:00:59.486Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T16:00:59.486Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T16:00:59.486Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T16:00:59.486Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T16:00:59.486Z] 4c7163046ea9: Pulling fs layer [2021-11-01T16:00:59.486Z] 0c2d73faf560: Pulling fs layer [2021-11-01T16:00:59.486Z] 0c2d73faf560: Waiting [2021-11-01T16:00:59.486Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T16:00:59.486Z] 3e5f54012d9b: Download complete [2021-11-01T16:00:59.486Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T16:00:59.486Z] a0d0a0d46f8b: Download complete [2021-11-01T16:00:59.749Z] 0c2d73faf560: Verifying Checksum [2021-11-01T16:00:59.749Z] 0c2d73faf560: Download complete [2021-11-01T16:00:59.749Z] 4c7163046ea9: Verifying Checksum [2021-11-01T16:00:59.749Z] 4c7163046ea9: Download complete [2021-11-01T16:00:59.749Z] a0d0a0d46f8b: Pull complete [2021-11-01T16:00:59.749Z] 3e5f54012d9b: Pull complete [2021-11-01T16:01:00.010Z] 4c7163046ea9: Pull complete [2021-11-01T16:01:00.274Z] 0c2d73faf560: Pull complete [2021-11-01T16:01:00.274Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T16:01:00.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T16:01:00.274Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T16:01:00.362Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:00:59.855Z] $ 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 [2021-11-01T16:01:00.464Z] $ docker top 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T16:01:01.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T16:01:01.055Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T16:01:01.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T16:01:00.661Z] $ docker exec 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 ssh-agent [2021-11-01T16:01:01.243Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXohdiIG/agent.14 [2021-11-01T16:01:01.243Z] SSH_AGENT_PID=20 [2021-11-01T16:01:01.256Z] Running ssh-add (command line suppressed) [2021-11-01T16:01:00.876Z] Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2755347202013680625.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2755347202013680625.key) [2021-11-01T16:01:01.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T16:01:01.658Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T16:01:01.222Z] $ docker exec --env ******** --env ******** 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 ssh-agent -k [2021-11-01T16:01:01.332Z] unset SSH_AUTH_SOCK; [2021-11-01T16:01:01.333Z] unset SSH_AGENT_PID; [2021-11-01T16:01:01.333Z] echo Agent pid 20 killed; [2021-11-01T16:01:01.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T16:01:01.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T16:01:01.812Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T16:01:01.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T16:01:01.492Z] $ docker exec 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 ssh-agent [2021-11-01T16:01:02.016Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIfbPkB/agent.54 [2021-11-01T16:01:02.016Z] SSH_AGENT_PID=60 [2021-11-01T16:01:02.022Z] Running ssh-add (command line suppressed) [2021-11-01T16:01:01.691Z] Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2213462653410892757.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_2213462653410892757.key) [2021-11-01T16:01:02.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T16:01:02.404Z] + git semver init [2021-11-01T16:01:02.404Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T16:01:02.404Z] # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git [2021-11-01T16:01:02.404Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main [2021-11-01T16:01:02.404Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T16:01:02.404Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T16:01:02.404Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T16:01:02.404Z] # $SEMVER_BRANCH = main [2021-11-01T16:01:02.404Z] # $SEMVER_TEMP = /tmp/semver-947055189 [2021-11-01T16:01:02.404Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2021-11-01T16:01:03.345Z] # '/tmp/semver-947055189' -> '/w/workspace/edgexfoundry_go-mod-secrets_main/.semver' [2021-11-01T16:01:03.345Z] # -> Force: false [2021-11-01T16:01:03.345Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } [2021-11-01T16:01:03.045Z] $ docker exec --env ******** --env ******** 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 ssh-agent -k [2021-11-01T16:01:03.141Z] unset SSH_AUTH_SOCK; [2021-11-01T16:01:03.142Z] unset SSH_AGENT_PID; [2021-11-01T16:01:03.143Z] echo Agent pid 60 killed; [2021-11-01T16:01:03.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T16:01:03.756Z] + git semver [Pipeline] } [2021-11-01T16:01:03.494Z] $ docker stop --time=1 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 [2021-11-01T16:01:04.720Z] $ docker rm -f 90f87cd5eade1e8e9eae1e8805fa4cd75d974488351a347536e3be80f0e88dc2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T16:01:05.248Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T16:01:05.465Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T16:01:05.467Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-01T16:01:20.599Z] Still waiting to schedule task [2021-11-01T16:01:20.599Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13687’ [2021-11-01T16:01:20.600Z] Still waiting to schedule task [2021-11-01T16:01:20.600Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-01T16:02:22.311Z] Running on prd-centos7-docker-4c-2g-13689 in /w/workspace/edgexfoundry_go-mod-secrets_main [Pipeline] { [Pipeline] ws [2021-11-01T16:02:22.323Z] Running in /w/workspace/go-mod-secrets/11 [Pipeline] { [Pipeline] checkout [2021-11-01T16:02:22.400Z] Selected Git installation does not exist. Using Default [2021-11-01T16:02:22.400Z] The recommended git tool is: NONE [2021-11-01T16:02:24.316Z] using credential edgex-jenkins-ssh [2021-11-01T16:02:24.325Z] Cloning the remote Git repository [2021-11-01T16:02:24.613Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-11-01T16:02:24.676Z] > git init /w/workspace/go-mod-secrets/11 # timeout=10 [2021-11-01T16:02:24.719Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-11-01T16:02:24.721Z] > git --version # timeout=10 [2021-11-01T16:02:24.730Z] > git --version # 'git version 2.24.4' [2021-11-01T16:02:24.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T16:02:24.760Z] [INFO] Currently running in a labeled security context [2021-11-01T16:02:24.760Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T16:02:24.761Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/11@tmp/jenkins-gitclient-ssh8059214756816120071.key [2021-11-01T16:02:24.803Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T16:02:25.205Z] Avoid second fetch [2021-11-01T16:02:25.205Z] Checking out Revision 53349ba8d3d6ca527116d895961c2a6309ac5588 (main) [2021-11-01T16:02:25.445Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-11-01T16:02:25.457Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T16:02:25.476Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T16:02:25.484Z] > git checkout -f 53349ba8d3d6ca527116d895961c2a6309ac5588 # timeout=10 [2021-11-01T16:02:28.824Z] Commit message: "Merge pull request #132 from lenny-intel/core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-11-01T16:02:29.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T16:02:29.272Z] ========================================================= [2021-11-01T16:02:29.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T16:02:29.272Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-01T16:02:29.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T16:02:29.643Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T16:02:29.643Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T16:02:29.643Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T16:02:29.643Z] b8b176561691: Pulling fs layer [2021-11-01T16:02:29.643Z] 4527c011a84f: Pulling fs layer [2021-11-01T16:02:29.643Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T16:02:29.643Z] e0aca202a116: Pulling fs layer [2021-11-01T16:02:29.643Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T16:02:29.643Z] 34cad66bf833: Pulling fs layer [2021-11-01T16:02:29.643Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T16:02:29.643Z] e0aca202a116: Waiting [2021-11-01T16:02:29.643Z] 3a43be97a3b4: Waiting [2021-11-01T16:02:29.643Z] 34cad66bf833: Waiting [2021-11-01T16:02:29.643Z] b4e3c513aaa6: Waiting [2021-11-01T16:02:29.643Z] 4527c011a84f: Waiting [2021-11-01T16:02:29.643Z] 5d74067f8e1e: Waiting [2021-11-01T16:02:29.643Z] b8b176561691: Verifying Checksum [2021-11-01T16:02:29.643Z] b8b176561691: Download complete [2021-11-01T16:02:29.643Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T16:02:29.643Z] 31adcdaf11c8: Download complete [2021-11-01T16:02:29.643Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T16:02:29.643Z] 5d74067f8e1e: Download complete [2021-11-01T16:02:29.643Z] e0aca202a116: Verifying Checksum [2021-11-01T16:02:29.643Z] e0aca202a116: Download complete [2021-11-01T16:02:29.643Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T16:02:29.643Z] 3a43be97a3b4: Download complete [2021-11-01T16:02:29.905Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T16:02:29.905Z] a0d0a0d46f8b: Download complete [2021-11-01T16:02:29.905Z] 34cad66bf833: Verifying Checksum [2021-11-01T16:02:29.905Z] 34cad66bf833: Download complete [2021-11-01T16:02:30.175Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T16:02:30.175Z] b4e3c513aaa6: Download complete [2021-11-01T16:02:30.175Z] 4527c011a84f: Verifying Checksum [2021-11-01T16:02:30.175Z] 4527c011a84f: Download complete [2021-11-01T16:02:30.443Z] a0d0a0d46f8b: Pull complete [2021-11-01T16:02:30.443Z] 31adcdaf11c8: Pull complete [2021-11-01T16:02:30.443Z] b8b176561691: Pull complete [2021-11-01T16:02:34.693Z] 4527c011a84f: Pull complete [2021-11-01T16:02:34.693Z] 5d74067f8e1e: Pull complete [2021-11-01T16:02:34.693Z] e0aca202a116: Pull complete [2021-11-01T16:02:34.693Z] 3a43be97a3b4: Pull complete [2021-11-01T16:02:34.693Z] 34cad66bf833: Pull complete [2021-11-01T16:02:36.670Z] b4e3c513aaa6: Pull complete [2021-11-01T16:02:36.670Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T16:02:36.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T16:02:36.670Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-11-01T16:02:37.001Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:02:37.299Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T16:02:37.299Z] . [Pipeline] withDockerContainer [2021-11-01T16:02:37.368Z] prd-centos7-docker-4c-2g-13689 does not seem to be running inside a container [2021-11-01T16:02:37.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/11 -v /w/workspace/go-mod-secrets/11:/w/workspace/go-mod-secrets/11:rw,z -v /w/workspace/go-mod-secrets/11@tmp:/w/workspace/go-mod-secrets/11@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 [2021-11-01T16:02:41.165Z] $ docker top e8ddb241809c47a5ae7cd62adbb449748b74efdb6ad25d26d733b020f25f0117 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T16:02:41.518Z] + go version [2021-11-01T16:02:41.518Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T16:02:41.529Z] $ docker stop --time=1 e8ddb241809c47a5ae7cd62adbb449748b74efdb6ad25d26d733b020f25f0117 [2021-11-01T16:02:42.714Z] $ docker rm -f e8ddb241809c47a5ae7cd62adbb449748b74efdb6ad25d26d733b020f25f0117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:02:43.207Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T16:02:43.207Z] . [Pipeline] withDockerContainer [2021-11-01T16:02:43.272Z] prd-centos7-docker-4c-2g-13689 does not seem to be running inside a container [2021-11-01T16:02:43.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/11 -v /w/workspace/go-mod-secrets/11:/w/workspace/go-mod-secrets/11:rw,z -v /w/workspace/go-mod-secrets/11@tmp:/w/workspace/go-mod-secrets/11@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 [2021-11-01T16:02:43.798Z] $ docker top 99ab8f78d69d6b7c992c41acacd01ccb4b2447ffdec9929fbd72af1c3bf86237 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T16:02:44.151Z] + make test [2021-11-01T16:02:44.151Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2021-11-01T16:02:45.552Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 [2021-11-01T16:02:45.552Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-01T16:02:45.820Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-01T16:02:45.820Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-01T16:02:45.820Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-01T16:02:45.820Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-01T16:02:45.820Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-01T16:02:45.820Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-01T16:02:45.820Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-01T16:02:45.820Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-01T16:02:45.820Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-01T16:02:45.820Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-01T16:02:45.820Z] go: downloading golang.org/x/text v0.3.6 [2021-11-01T16:02:46.103Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-01T16:02:46.103Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-01T16:03:09.106Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13688 in /w/workspace/edgexfoundry_go-mod-secrets_main [Pipeline] { [Pipeline] ws [2021-11-01T16:03:09.116Z] Running in /w/workspace/go-mod-secrets/11 [Pipeline] { [Pipeline] checkout [2021-11-01T16:03:09.289Z] Selected Git installation does not exist. Using Default [2021-11-01T16:03:09.289Z] The recommended git tool is: NONE [2021-11-01T16:03:12.836Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.261s coverage: 80.5% of statements [2021-11-01T16:03:12.836Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.048s coverage: 57.1% of statements [2021-11-01T16:03:12.836Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2021-11-01T16:03:14.669Z] using credential edgex-jenkins-ssh [2021-11-01T16:03:14.688Z] Cloning the remote Git repository [2021-11-01T16:03:14.729Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-11-01T16:03:14.844Z] > git init /w/workspace/go-mod-secrets/11 # timeout=10 [2021-11-01T16:03:14.914Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-11-01T16:03:14.915Z] > git --version # timeout=10 [2021-11-01T16:03:14.937Z] > git --version # 'git version 2.17.1' [2021-11-01T16:03:14.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T16:03:15.027Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T16:03:15.452Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.072s coverage: 96.7% of statements [2021-11-01T16:03:15.452Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.028s coverage: 89.5% of statements [2021-11-01T16:03:15.452Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2021-11-01T16:03:15.452Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.021s coverage: 100.0% of statements [2021-11-01T16:03:15.452Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2021-11-01T16:03:15.452Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.027s coverage: 85.7% of statements [2021-11-01T16:03:15.452Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.048s coverage: 100.0% of statements [2021-11-01T16:03:15.452Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2021-11-01T16:03:15.452Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T16:03:15.851Z] Avoid second fetch [2021-11-01T16:03:15.851Z] Checking out Revision 53349ba8d3d6ca527116d895961c2a6309ac5588 (main) [2021-11-01T16:03:15.811Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-11-01T16:03:15.829Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T16:03:15.865Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T16:03:15.877Z] > git checkout -f 53349ba8d3d6ca527116d895961c2a6309ac5588 # timeout=10 [2021-11-01T16:03:20.058Z] Commit message: "Merge pull request #132 from lenny-intel/core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T16:03:20.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T16:03:20.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T16:03:20.920Z] Dload Upload Total Spent Left Speed [2021-11-01T16:03:20.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 89575 0 --:--:-- --:--:-- --:--:-- 89575 [Pipeline] sh [2021-11-01T16:03:21.320Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T16:03:21.670Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T16:03:21.670Z] + sudo tee /etc/docker/daemon.new [2021-11-01T16:03:21.670Z] { [2021-11-01T16:03:21.670Z] "registry-mirrors": [ [2021-11-01T16:03:21.670Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T16:03:21.670Z] ], [2021-11-01T16:03:21.670Z] "bip": "10.250.0.254/24", [2021-11-01T16:03:21.670Z] "hosts": [ [2021-11-01T16:03:21.670Z] "tcp://0.0.0.0:5555", [2021-11-01T16:03:21.670Z] "unix:///var/run/docker.sock" [2021-11-01T16:03:21.670Z] ], [2021-11-01T16:03:21.670Z] "mtu": 1458, [2021-11-01T16:03:21.670Z] "selinux-enabled": true, [2021-11-01T16:03:21.670Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T16:03:21.670Z] } [Pipeline] sh [2021-11-01T16:03:22.009Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T16:03:22.345Z] + sudo service docker restart [2021-11-01T16:03:23.689Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T16:03:23.690Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-11-01T16:03:23.700Z] $ docker stop --time=1 99ab8f78d69d6b7c992c41acacd01ccb4b2447ffdec9929fbd72af1c3bf86237 [2021-11-01T16:03:25.180Z] $ docker rm -f 99ab8f78d69d6b7c992c41acacd01ccb4b2447ffdec9929fbd72af1c3bf86237 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T16:03:25.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T16:03:25.913Z] 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 [2021-11-01T16:03:26.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T16:03:26.668Z] [2021-11-01T16:03:26.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:03:26.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T16:03:26.976Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T16:03:26.976Z] b4d181a07f80: Pulling fs layer [2021-11-01T16:03:26.976Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T16:03:26.976Z] ed53099fbce6: Pulling fs layer [2021-11-01T16:03:26.976Z] dc539afda2c1: Pulling fs layer [2021-11-01T16:03:26.976Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T16:03:26.976Z] 9065ff56babe: Pulling fs layer [2021-11-01T16:03:26.976Z] d287ab97295c: Pulling fs layer [2021-11-01T16:03:26.976Z] 77bc0d833cb6: Waiting [2021-11-01T16:03:26.976Z] 9065ff56babe: Waiting [2021-11-01T16:03:26.976Z] d287ab97295c: Waiting [2021-11-01T16:03:26.976Z] dc539afda2c1: Waiting [2021-11-01T16:03:26.976Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T16:03:26.976Z] a1111a8f2ec3: Download complete [2021-11-01T16:03:26.976Z] dc539afda2c1: Verifying Checksum [2021-11-01T16:03:26.976Z] dc539afda2c1: Download complete [2021-11-01T16:03:27.243Z] ed53099fbce6: Verifying Checksum [2021-11-01T16:03:27.243Z] ed53099fbce6: Download complete [2021-11-01T16:03:27.243Z] 9065ff56babe: Verifying Checksum [2021-11-01T16:03:27.243Z] 9065ff56babe: Download complete [2021-11-01T16:03:27.243Z] b4d181a07f80: Verifying Checksum [2021-11-01T16:03:27.243Z] b4d181a07f80: Download complete [2021-11-01T16:03:27.243Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T16:03:27.243Z] 77bc0d833cb6: Download complete [2021-11-01T16:03:27.827Z] d287ab97295c: Verifying Checksum [2021-11-01T16:03:27.827Z] d287ab97295c: Download complete [2021-11-01T16:03:28.406Z] b4d181a07f80: Pull complete [2021-11-01T16:03:28.677Z] a1111a8f2ec3: Pull complete [2021-11-01T16:03:29.251Z] ed53099fbce6: Pull complete [2021-11-01T16:03:29.251Z] dc539afda2c1: Pull complete [2021-11-01T16:03:29.510Z] 77bc0d833cb6: Pull complete [2021-11-01T16:03:29.510Z] 9065ff56babe: Pull complete [2021-11-01T16:03:34.842Z] d287ab97295c: Pull complete [2021-11-01T16:03:34.842Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T16:03:34.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T16:03:34.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T16:03:34.906Z] prd-centos7-docker-4c-2g-13689 does not seem to be running inside a container [2021-11-01T16:03:34.938Z] $ 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/11 -v /w/workspace/go-mod-secrets/11:/w/workspace/go-mod-secrets/11:rw,z -v /w/workspace/go-mod-secrets/11@tmp:/w/workspace/go-mod-secrets/11@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 [2021-11-01T16:03:38.302Z] $ docker top a4095d4fe9b048df90f2ef6bd94a6fcb586d72bf01cd3da6fe7988124fe81e68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:03:38.724Z] ---> job-cost.sh [2021-11-01T16:03:38.724Z] lf-activate-venv: SKIPPING [2021-11-01T16:03:38.724Z] INFO: No Stack... [2021-11-01T16:03:38.985Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T16:03:39.552Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T16:03:39.851Z] + cat /w/workspace/go-mod-secrets/11/archives/cost.csv [2021-11-01T16:03:39.851Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T16:03:39.878Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] [2021-11-01T16:03:39.884Z] Resource [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] did not exist. Created. [2021-11-01T16:03:39.885Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T16:03:40.196Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T16:03:40.227Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T16:03:40.236Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T16:03:40.253Z] $ docker stop --time=1 a4095d4fe9b048df90f2ef6bd94a6fcb586d72bf01cd3da6fe7988124fe81e68 [2021-11-01T16:03:41.387Z] $ docker rm -f a4095d4fe9b048df90f2ef6bd94a6fcb586d72bf01cd3da6fe7988124fe81e68 [Pipeline] // withDockerContainer [Pipeline] unstash [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2021-11-01T16:03:41.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T16:03:41.700Z] ========================================================= [2021-11-01T16:03:41.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T16:03:41.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-01T16:03:42.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T16:03:43.025Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T16:03:43.025Z] 552d1f2373af: Pulling fs layer [2021-11-01T16:03:43.025Z] ea3f2d53f512: Pulling fs layer [2021-11-01T16:03:43.025Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T16:03:43.025Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T16:03:43.025Z] 72dc09318566: Pulling fs layer [2021-11-01T16:03:43.025Z] f4f7b4309257: Pulling fs layer [2021-11-01T16:03:43.025Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T16:03:43.025Z] b78e95d17946: Pulling fs layer [2021-11-01T16:03:43.025Z] 7a9cfe048b4a: Waiting [2021-11-01T16:03:43.025Z] 72dc09318566: Waiting [2021-11-01T16:03:43.025Z] f4f7b4309257: Waiting [2021-11-01T16:03:43.025Z] b78e95d17946: Waiting [2021-11-01T16:03:43.025Z] 0ac9a79272e3: Waiting [2021-11-01T16:03:43.025Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T16:03:43.025Z] 9e70ebbbe112: Download complete [2021-11-01T16:03:43.025Z] ea3f2d53f512: Verifying Checksum [2021-11-01T16:03:43.025Z] 72dc09318566: Verifying Checksum [2021-11-01T16:03:43.025Z] 72dc09318566: Download complete [2021-11-01T16:03:43.025Z] f4f7b4309257: Verifying Checksum [2021-11-01T16:03:43.025Z] f4f7b4309257: Download complete [2021-11-01T16:03:43.025Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T16:03:43.025Z] 0ac9a79272e3: Download complete [2021-11-01T16:03:43.025Z] 552d1f2373af: Verifying Checksum [2021-11-01T16:03:43.025Z] 552d1f2373af: Download complete [2021-11-01T16:03:44.152Z] 552d1f2373af: Pull complete [2021-11-01T16:03:44.848Z] ea3f2d53f512: Pull complete [2021-11-01T16:03:45.149Z] b78e95d17946: Verifying Checksum [2021-11-01T16:03:45.149Z] b78e95d17946: Download complete [2021-11-01T16:03:45.422Z] 9e70ebbbe112: Pull complete [2021-11-01T16:03:45.704Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T16:03:45.704Z] 7a9cfe048b4a: Download complete [2021-11-01T16:03:55.876Z] 7a9cfe048b4a: Pull complete [2021-11-01T16:03:56.151Z] 72dc09318566: Pull complete [2021-11-01T16:03:56.429Z] f4f7b4309257: Pull complete [2021-11-01T16:03:57.029Z] 0ac9a79272e3: Pull complete [2021-11-01T16:04:02.442Z] b78e95d17946: Pull complete [2021-11-01T16:04:02.442Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T16:04:02.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T16:04:02.442Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-11-01T16:04:02.786Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:04:03.128Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T16:04:03.128Z] . [Pipeline] withDockerContainer [2021-11-01T16:04:03.390Z] prd-ubuntu18.04-docker-arm64-4c-16g-13688 does not seem to be running inside a container [2021-11-01T16:04:03.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/11 -v /w/workspace/go-mod-secrets/11:/w/workspace/go-mod-secrets/11:rw,z -v /w/workspace/go-mod-secrets/11@tmp:/w/workspace/go-mod-secrets/11@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-arm64 cat [2021-11-01T16:04:07.127Z] $ docker top 4ad3c289ca5a254928359bf3dbae5d841d0ab571d239fe118e00cf0ce9691612 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T16:04:08.276Z] + go version [2021-11-01T16:04:08.276Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T16:04:08.316Z] $ docker stop --time=1 4ad3c289ca5a254928359bf3dbae5d841d0ab571d239fe118e00cf0ce9691612 [2021-11-01T16:04:10.132Z] $ docker rm -f 4ad3c289ca5a254928359bf3dbae5d841d0ab571d239fe118e00cf0ce9691612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:04:10.926Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T16:04:10.926Z] . [Pipeline] withDockerContainer [2021-11-01T16:04:11.158Z] prd-ubuntu18.04-docker-arm64-4c-16g-13688 does not seem to be running inside a container [2021-11-01T16:04:11.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/11 -v /w/workspace/go-mod-secrets/11:/w/workspace/go-mod-secrets/11:rw,z -v /w/workspace/go-mod-secrets/11@tmp:/w/workspace/go-mod-secrets/11@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-arm64 cat [2021-11-01T16:04:12.669Z] $ docker top 2059577673dfe233d4576df825254331937f4957416fe5ae8b831fb72ce864d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T16:04:13.605Z] + make test [2021-11-01T16:04:13.605Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2021-11-01T16:04:15.578Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-01T16:04:15.578Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 [2021-11-01T16:04:15.578Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-01T16:04:15.578Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-01T16:04:15.578Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-01T16:04:15.578Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-01T16:04:15.855Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-01T16:04:15.855Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-01T16:04:15.855Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-01T16:04:15.855Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-01T16:04:15.855Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-01T16:04:15.855Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-01T16:04:15.855Z] go: downloading golang.org/x/text v0.3.6 [2021-11-01T16:04:16.147Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-01T16:04:16.421Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.487s coverage: 80.5% of statements [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.180s coverage: 57.1% of statements [2021-11-01T16:05:38.306Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.213s coverage: 96.7% of statements [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.081s coverage: 89.5% of statements [2021-11-01T16:05:38.306Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.071s coverage: 100.0% of statements [2021-11-01T16:05:38.306Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.143s coverage: 85.7% of statements [2021-11-01T16:05:38.306Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.177s coverage: 100.0% of statements [2021-11-01T16:05:38.306Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2021-11-01T16:05:38.306Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T16:05:56.653Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T16:05:56.653Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-11-01T16:05:56.721Z] $ docker stop --time=1 2059577673dfe233d4576df825254331937f4957416fe5ae8b831fb72ce864d2 [2021-11-01T16:05:58.669Z] $ docker rm -f 2059577673dfe233d4576df825254331937f4957416fe5ae8b831fb72ce864d2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T16:06:00.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T16:06:00.454Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T16:06:00.981Z] 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 [2021-11-01T16:06:01.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T16:06:01.711Z] [2021-11-01T16:06:01.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:06:02.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T16:06:02.609Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T16:06:02.609Z] 448f6bf000e3: Pulling fs layer [2021-11-01T16:06:02.609Z] f757da607395: Pulling fs layer [2021-11-01T16:06:02.609Z] 05883995daec: Pulling fs layer [2021-11-01T16:06:02.609Z] 8603b9c90790: Pulling fs layer [2021-11-01T16:06:02.609Z] 1560dd03e051: Pulling fs layer [2021-11-01T16:06:02.609Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T16:06:02.609Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T16:06:02.609Z] 8603b9c90790: Waiting [2021-11-01T16:06:02.609Z] 1560dd03e051: Waiting [2021-11-01T16:06:02.609Z] 27f5ce0e4adf: Waiting [2021-11-01T16:06:02.609Z] c2d8d7efcc4b: Waiting [2021-11-01T16:06:02.609Z] f757da607395: Verifying Checksum [2021-11-01T16:06:02.609Z] f757da607395: Download complete [2021-11-01T16:06:02.609Z] 8603b9c90790: Verifying Checksum [2021-11-01T16:06:02.609Z] 8603b9c90790: Download complete [2021-11-01T16:06:02.883Z] 1560dd03e051: Verifying Checksum [2021-11-01T16:06:02.883Z] 1560dd03e051: Download complete [2021-11-01T16:06:02.883Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T16:06:02.883Z] 27f5ce0e4adf: Download complete [2021-11-01T16:06:02.883Z] 05883995daec: Verifying Checksum [2021-11-01T16:06:02.883Z] 05883995daec: Download complete [2021-11-01T16:06:03.156Z] 448f6bf000e3: Verifying Checksum [2021-11-01T16:06:03.156Z] 448f6bf000e3: Download complete [2021-11-01T16:06:05.786Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T16:06:05.786Z] c2d8d7efcc4b: Download complete [2021-11-01T16:06:06.766Z] 448f6bf000e3: Pull complete [2021-11-01T16:06:07.362Z] f757da607395: Pull complete [2021-11-01T16:06:08.793Z] 05883995daec: Pull complete [2021-11-01T16:06:09.412Z] 8603b9c90790: Pull complete [2021-11-01T16:06:10.409Z] 1560dd03e051: Pull complete [2021-11-01T16:06:10.682Z] 27f5ce0e4adf: Pull complete [2021-11-01T16:06:25.774Z] c2d8d7efcc4b: Pull complete [2021-11-01T16:06:25.774Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T16:06:25.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T16:06:25.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T16:06:26.033Z] prd-ubuntu18.04-docker-arm64-4c-16g-13688 does not seem to be running inside a container [2021-11-01T16:06:26.175Z] $ 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/11 -v /w/workspace/go-mod-secrets/11:/w/workspace/go-mod-secrets/11:rw,z -v /w/workspace/go-mod-secrets/11@tmp:/w/workspace/go-mod-secrets/11@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:arm64 cat [2021-11-01T16:06:28.985Z] $ docker top 1f80997b38d40d7105f5c989df2ba031336dc97cddd4a081b4622d81c86f59b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:06:29.833Z] ---> job-cost.sh [2021-11-01T16:06:29.833Z] lf-activate-venv: SKIPPING [2021-11-01T16:06:29.833Z] INFO: No Stack... [2021-11-01T16:06:30.102Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T16:06:30.372Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T16:06:31.025Z] + cat /w/workspace/go-mod-secrets/11/archives/cost.csv [2021-11-01T16:06:31.025Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T16:06:31.090Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] [2021-11-01T16:06:31.100Z] Resource [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] did not exist. Created. [2021-11-01T16:06:31.100Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T16:06:31.775Z] /w/workspace/go-mod-secrets/11@tmp/durable-e1d8c983/script.sh: 1: /w/workspace/go-mod-secrets/11@tmp/durable-e1d8c983/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T16:06:32.434Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T16:06:32.456Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T16:06:32.506Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T16:06:32.514Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T16:06:32.588Z] $ docker stop --time=1 1f80997b38d40d7105f5c989df2ba031336dc97cddd4a081b4622d81c86f59b5 [2021-11-01T16:06:34.136Z] $ docker rm -f 1f80997b38d40d7105f5c989df2ba031336dc97cddd4a081b4622d81c86f59b5 [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 [2021-11-01T16:06:34.670Z] provisioning config files... [2021-11-01T16:06:34.678Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config756468332955162069tmp [Pipeline] { [Pipeline] sh [2021-11-01T16:06:34.982Z] + set +x [2021-11-01T16:06:34.982Z] + curl -s https://codecov.io/bash [2021-11-01T16:06:34.982Z] + bash -s -- [2021-11-01T16:06:34.982Z] [2021-11-01T16:06:34.982Z] _____ _ [2021-11-01T16:06:34.982Z] / ____| | | [2021-11-01T16:06:34.982Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T16:06:34.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T16:06:34.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T16:06:34.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T16:06:34.982Z] Bash-1.0.6 [2021-11-01T16:06:34.982Z] [2021-11-01T16:06:34.982Z] [2021-11-01T16:06:34.982Z] ==> git version 2.24.4 found [2021-11-01T16:06:34.982Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-01T16:06:34.982Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T16:06:34.982Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T16:06:34.982Z] ==> Jenkins CI detected. [2021-11-01T16:06:34.982Z] current dir:  /w/workspace/edgexfoundry_go-mod-secrets_main [2021-11-01T16:06:34.982Z] project root: . [2021-11-01T16:06:34.982Z] --> token set from env [2021-11-01T16:06:34.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T16:06:34.982Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T16:06:34.982Z] ==> Python coveragepy not found [2021-11-01T16:06:34.982Z] ==> Searching for coverage reports in: [2021-11-01T16:06:34.982Z] + . [2021-11-01T16:06:35.241Z] -> Found 1 reports [2021-11-01T16:06:35.241Z] ==> Detecting git/mercurial file structure [2021-11-01T16:06:35.241Z] ==> Reading reports [2021-11-01T16:06:35.241Z] + ./coverage.out bytes=27744 [2021-11-01T16:06:35.241Z] ==> Appending adjustments [2021-11-01T16:06:35.241Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T16:06:35.241Z] + Found adjustments [2021-11-01T16:06:35.241Z] ==> Gzipping contents [2021-11-01T16:06:35.241Z] 8.0K /tmp/codecov.fvGTuI.gz [2021-11-01T16:06:35.241Z] ==> Uploading reports [2021-11-01T16:06:35.241Z] url: https://codecov.io [2021-11-01T16:06:35.241Z] query: branch=main&commit=53349ba8d3d6ca527116d895961c2a6309ac5588&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T16:06:35.241Z] -> Pinging Codecov [2021-11-01T16:06:35.241Z] 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=53349ba8d3d6ca527116d895961c2a6309ac5588&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T16:06:35.506Z] -> Uploading to [2021-11-01T16:06:35.506Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/D63849C06B6B67093493C71CE874ED06/53349ba8d3d6ca527116d895961c2a6309ac5588/64a73c8c-13d8-4f53-8460-9ccbc62a05fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T160635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f89e0e1b57670af39a13cecf68afcfe1b228b0dff7bd09e31af79c9fcfa87709 [2021-11-01T16:06:35.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T16:06:35.506Z] Dload Upload Total Spent Left Speed [2021-11-01T16:06:36.083Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5715 0 0 100 5715 0 16814 --:--:-- --:--:-- --:--:-- 16858 [2021-11-01T16:06:36.083Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/53349ba8d3d6ca527116d895961c2a6309ac5588 [Pipeline] } [2021-11-01T16:06:36.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-01T16:06:36.484Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-01T16:06:36.493Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:06:36.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T16:06:36.791Z] [2021-11-01T16:06:36.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:06:37.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T16:06:37.085Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-01T16:06:37.085Z] 188c0c94c7c5: Pulling fs layer [2021-11-01T16:06:37.085Z] 0ef7d3d256c8: Pulling fs layer [2021-11-01T16:06:37.085Z] de9db76c5a1d: Pulling fs layer [2021-11-01T16:06:37.085Z] 0eba1c9be4d2: Pulling fs layer [2021-11-01T16:06:37.085Z] 0d57e429df01: Pulling fs layer [2021-11-01T16:06:37.085Z] 4e4be7b47b0d: Pulling fs layer [2021-11-01T16:06:37.085Z] e1f770b5df2f: Pulling fs layer [2021-11-01T16:06:37.085Z] 85a0685a4137: Pulling fs layer [2021-11-01T16:06:37.085Z] 0eba1c9be4d2: Waiting [2021-11-01T16:06:37.085Z] 0d57e429df01: Waiting [2021-11-01T16:06:37.085Z] 4e4be7b47b0d: Waiting [2021-11-01T16:06:37.085Z] e1f770b5df2f: Waiting [2021-11-01T16:06:37.085Z] 85a0685a4137: Waiting [2021-11-01T16:06:37.085Z] de9db76c5a1d: Verifying Checksum [2021-11-01T16:06:37.085Z] de9db76c5a1d: Download complete [2021-11-01T16:06:37.085Z] 0ef7d3d256c8: Verifying Checksum [2021-11-01T16:06:37.085Z] 0ef7d3d256c8: Download complete [2021-11-01T16:06:37.085Z] 0d57e429df01: Verifying Checksum [2021-11-01T16:06:37.085Z] 0d57e429df01: Download complete [2021-11-01T16:06:37.085Z] 4e4be7b47b0d: Verifying Checksum [2021-11-01T16:06:37.085Z] 4e4be7b47b0d: Download complete [2021-11-01T16:06:37.085Z] 188c0c94c7c5: Verifying Checksum [2021-11-01T16:06:37.085Z] 188c0c94c7c5: Download complete [2021-11-01T16:06:37.350Z] e1f770b5df2f: Verifying Checksum [2021-11-01T16:06:37.350Z] e1f770b5df2f: Download complete [2021-11-01T16:06:37.633Z] 0eba1c9be4d2: Verifying Checksum [2021-11-01T16:06:37.633Z] 0eba1c9be4d2: Download complete [2021-11-01T16:06:37.633Z] 188c0c94c7c5: Pull complete [2021-11-01T16:06:37.904Z] 85a0685a4137: Verifying Checksum [2021-11-01T16:06:37.904Z] 85a0685a4137: Download complete [2021-11-01T16:06:37.904Z] 0ef7d3d256c8: Pull complete [2021-11-01T16:06:37.904Z] de9db76c5a1d: Pull complete [2021-11-01T16:06:42.141Z] 0eba1c9be4d2: Pull complete [2021-11-01T16:06:42.141Z] 0d57e429df01: Pull complete [2021-11-01T16:06:42.141Z] 4e4be7b47b0d: Pull complete [2021-11-01T16:06:42.406Z] e1f770b5df2f: Pull complete [2021-11-01T16:06:45.743Z] 85a0685a4137: Pull complete [2021-11-01T16:06:45.743Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-01T16:06:45.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T16:06:45.743Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-01T16:06:45.818Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:06:45.858Z] $ 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 [2021-11-01T16:06:48.167Z] $ docker top dee26081eda7b291c189f3f607c13e55d9cee75b9f890a0c58de2bf355182297 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-01T16:06:48.246Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-01T16:06:48.530Z] + set -o pipefail [2021-11-01T16:06:48.530Z] + snyk monitor '--org=edgex-jenkins' [2021-11-01T16:06:52.731Z] [2021-11-01T16:06:52.731Z] Monitoring /w/workspace/edgexfoundry_go-mod-secrets_main (github.com/edgexfoundry/go-mod-secrets/v2)... [2021-11-01T16:06:52.731Z] [2021-11-01T16:06:52.731Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/09f0d814-f697-40d2-af90-946e9eb2af5e/history/2a0c9073-a3ec-40f9-a5e1-6265148f004a [2021-11-01T16:06:52.731Z] [2021-11-01T16:06:52.731Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-01T16:06:52.731Z] [2021-11-01T16:06:52.731Z] [Pipeline] } [2021-11-01T16:06:52.744Z] $ docker stop --time=1 dee26081eda7b291c189f3f607c13e55d9cee75b9f890a0c58de2bf355182297 [2021-11-01T16:06:54.303Z] $ docker rm -f dee26081eda7b291c189f3f607c13e55d9cee75b9f890a0c58de2bf355182297 [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 [2021-11-01T16:06:55.124Z] + git log --format=format:%s -1 53349ba8d3d6ca527116d895961c2a6309ac5588 [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:06:55.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T16:06:55.420Z] . [Pipeline] withDockerContainer [2021-11-01T16:06:55.485Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:06:55.523Z] $ 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 [2021-11-01T16:06:55.878Z] $ docker top d0aa331775e1b3656c9f032ce88c23187f888e281cb4aae23d702c85ffffeb71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T16:06:55.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T16:06:55.971Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T16:06:56.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T16:06:56.081Z] $ docker exec d0aa331775e1b3656c9f032ce88c23187f888e281cb4aae23d702c85ffffeb71 ssh-agent [2021-11-01T16:06:56.178Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJEaHfl/agent.14 [2021-11-01T16:06:56.178Z] SSH_AGENT_PID=21 [2021-11-01T16:06:56.184Z] Running ssh-add (command line suppressed) [2021-11-01T16:06:56.276Z] Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_1933543762511023814.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_1933543762511023814.key) [2021-11-01T16:06:56.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T16:06:56.580Z] + git semver tag [2021-11-01T16:06:56.580Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T16:06:56.580Z] # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git [2021-11-01T16:06:56.580Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main [2021-11-01T16:06:56.580Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T16:06:56.580Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T16:06:56.580Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T16:06:56.580Z] # $SEMVER_BRANCH = main [2021-11-01T16:06:56.580Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [2021-11-01T16:06:56.580Z] # 53349ba8d3d6ca527116d895961c2a6309ac5588 HEAD [2021-11-01T16:06:56.580Z] # -> Force: false [2021-11-01T16:06:56.580Z] # 3d91eb651afb5da7920f77eea3f62891f10aee14 refs/tags/v2.0.1-dev.9 [Pipeline] } [2021-11-01T16:06:56.590Z] $ docker exec --env ******** --env ******** d0aa331775e1b3656c9f032ce88c23187f888e281cb4aae23d702c85ffffeb71 ssh-agent -k [2021-11-01T16:06:56.676Z] unset SSH_AUTH_SOCK; [2021-11-01T16:06:56.676Z] unset SSH_AGENT_PID; [2021-11-01T16:06:56.676Z] echo Agent pid 21 killed; [2021-11-01T16:06:56.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T16:06:57.005Z] + git semver [Pipeline] } [2021-11-01T16:06:57.018Z] $ docker stop --time=1 d0aa331775e1b3656c9f032ce88c23187f888e281cb4aae23d702c85ffffeb71 [2021-11-01T16:06:58.190Z] $ docker rm -f d0aa331775e1b3656c9f032ce88c23187f888e281cb4aae23d702c85ffffeb71 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:06:58.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T16:06:58.597Z] [2021-11-01T16:06:58.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:06:58.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T16:06:58.898Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-01T16:06:58.898Z] ab5ef0e58194: Pulling fs layer [2021-11-01T16:06:58.898Z] 9712f1f96733: Pulling fs layer [2021-11-01T16:06:58.898Z] 63f879dbbcfc: Pulling fs layer [2021-11-01T16:06:58.898Z] 0d9ebad4ef96: Pulling fs layer [2021-11-01T16:06:58.898Z] e9a5061849ea: Pulling fs layer [2021-11-01T16:06:58.898Z] d747dcd14b5f: Pulling fs layer [2021-11-01T16:06:58.898Z] 2de7ff778b66: Pulling fs layer [2021-11-01T16:06:58.898Z] 0d9ebad4ef96: Waiting [2021-11-01T16:06:58.898Z] e9a5061849ea: Waiting [2021-11-01T16:06:58.898Z] d747dcd14b5f: Waiting [2021-11-01T16:06:58.898Z] 2de7ff778b66: Waiting [2021-11-01T16:06:58.898Z] 9712f1f96733: Verifying Checksum [2021-11-01T16:06:58.898Z] 9712f1f96733: Download complete [2021-11-01T16:06:59.167Z] 63f879dbbcfc: Verifying Checksum [2021-11-01T16:06:59.167Z] 63f879dbbcfc: Download complete [2021-11-01T16:06:59.167Z] 0d9ebad4ef96: Verifying Checksum [2021-11-01T16:06:59.167Z] 0d9ebad4ef96: Download complete [2021-11-01T16:06:59.167Z] d747dcd14b5f: Verifying Checksum [2021-11-01T16:06:59.167Z] d747dcd14b5f: Download complete [2021-11-01T16:06:59.428Z] ab5ef0e58194: Verifying Checksum [2021-11-01T16:06:59.429Z] ab5ef0e58194: Download complete [2021-11-01T16:06:59.429Z] e9a5061849ea: Verifying Checksum [2021-11-01T16:06:59.429Z] e9a5061849ea: Download complete [2021-11-01T16:06:59.429Z] 2de7ff778b66: Verifying Checksum [2021-11-01T16:06:59.429Z] 2de7ff778b66: Download complete [2021-11-01T16:07:02.757Z] ab5ef0e58194: Pull complete [2021-11-01T16:07:02.757Z] 9712f1f96733: Pull complete [2021-11-01T16:07:03.027Z] 63f879dbbcfc: Pull complete [2021-11-01T16:07:08.384Z] 0d9ebad4ef96: Pull complete [2021-11-01T16:07:08.384Z] e9a5061849ea: Pull complete [2021-11-01T16:07:08.384Z] d747dcd14b5f: Pull complete [2021-11-01T16:07:09.777Z] 2de7ff778b66: Pull complete [2021-11-01T16:07:09.777Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-01T16:07:09.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T16:07:09.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-01T16:07:09.848Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:07:09.885Z] $ 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 [2021-11-01T16:07:12.890Z] $ docker top ebf8d940fb13c8aa0f33d7000736d972efe1e7681ae4b73f01b066adf8504177 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-01T16:07:12.978Z] provisioning config files... [2021-11-01T16:07:12.987Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config3389441449689503916tmp [2021-11-01T16:07:13.001Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config3364529135848319051tmp [2021-11-01T16:07:13.012Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config3619623571908321374tmp [Pipeline] { [Pipeline] echo [2021-11-01T16:07:13.025Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:13.313Z] ---> sigul-configuration.sh [2021-11-01T16:07:13.313Z] gpg: directory `/root/.gnupg' created [2021-11-01T16:07:13.313Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-01T16:07:13.313Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-01T16:07:13.313Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-01T16:07:13.313Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-01T16:07:13.313Z] gpg: CAST5 encrypted data [2021-11-01T16:07:13.313Z] gpg: encrypted with 1 passphrase [2021-11-01T16:07:13.313Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-01T16:07:13.615Z] + mkdir /home/jenkins [2021-11-01T16:07:13.615Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-01T16:07:13.910Z] + 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 [2021-11-01T16:07:13.919Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:14.210Z] ---> sigul-install.sh [2021-11-01T16:07:14.210Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-01T16:07:14.505Z] + git tag --list [2021-11-01T16:07:14.505Z] v0.0.0 [2021-11-01T16:07:14.505Z] v0.0.1 [2021-11-01T16:07:14.505Z] v0.0.10 [2021-11-01T16:07:14.505Z] v0.0.11 [2021-11-01T16:07:14.505Z] v0.0.12 [2021-11-01T16:07:14.505Z] v0.0.13 [2021-11-01T16:07:14.505Z] v0.0.14 [2021-11-01T16:07:14.505Z] v0.0.15 [2021-11-01T16:07:14.505Z] v0.0.16 [2021-11-01T16:07:14.505Z] v0.0.17 [2021-11-01T16:07:14.505Z] v0.0.18 [2021-11-01T16:07:14.505Z] v0.0.19 [2021-11-01T16:07:14.505Z] v0.0.2 [2021-11-01T16:07:14.505Z] v0.0.20 [2021-11-01T16:07:14.505Z] v0.0.21 [2021-11-01T16:07:14.505Z] v0.0.22 [2021-11-01T16:07:14.505Z] v0.0.23 [2021-11-01T16:07:14.505Z] v0.0.24 [2021-11-01T16:07:14.505Z] v0.0.25 [2021-11-01T16:07:14.505Z] v0.0.26 [2021-11-01T16:07:14.505Z] v0.0.27 [2021-11-01T16:07:14.505Z] v0.0.28 [2021-11-01T16:07:14.505Z] v0.0.29 [2021-11-01T16:07:14.505Z] v0.0.3 [2021-11-01T16:07:14.505Z] v0.0.30 [2021-11-01T16:07:14.505Z] v0.0.31 [2021-11-01T16:07:14.505Z] v0.0.32 [2021-11-01T16:07:14.505Z] v0.0.33 [2021-11-01T16:07:14.505Z] v0.0.4 [2021-11-01T16:07:14.505Z] v0.0.5 [2021-11-01T16:07:14.505Z] v0.0.6 [2021-11-01T16:07:14.505Z] v0.0.7 [2021-11-01T16:07:14.505Z] v0.0.8 [2021-11-01T16:07:14.505Z] v0.0.9 [2021-11-01T16:07:14.505Z] v2.0.0 [2021-11-01T16:07:14.505Z] v2.0.0-dev.1 [2021-11-01T16:07:14.505Z] v2.0.0-dev.10 [2021-11-01T16:07:14.505Z] v2.0.0-dev.11 [2021-11-01T16:07:14.505Z] v2.0.0-dev.12 [2021-11-01T16:07:14.505Z] v2.0.0-dev.13 [2021-11-01T16:07:14.505Z] v2.0.0-dev.14 [2021-11-01T16:07:14.505Z] v2.0.0-dev.15 [2021-11-01T16:07:14.505Z] v2.0.0-dev.16 [2021-11-01T16:07:14.505Z] v2.0.0-dev.17 [2021-11-01T16:07:14.505Z] v2.0.0-dev.18 [2021-11-01T16:07:14.505Z] v2.0.0-dev.19 [2021-11-01T16:07:14.505Z] v2.0.0-dev.2 [2021-11-01T16:07:14.505Z] v2.0.0-dev.20 [2021-11-01T16:07:14.505Z] v2.0.0-dev.21 [2021-11-01T16:07:14.505Z] v2.0.0-dev.22 [2021-11-01T16:07:14.505Z] v2.0.0-dev.23 [2021-11-01T16:07:14.505Z] v2.0.0-dev.24 [2021-11-01T16:07:14.505Z] v2.0.0-dev.25 [2021-11-01T16:07:14.505Z] v2.0.0-dev.26 [2021-11-01T16:07:14.505Z] v2.0.0-dev.27 [2021-11-01T16:07:14.505Z] v2.0.0-dev.3 [2021-11-01T16:07:14.505Z] v2.0.0-dev.4 [2021-11-01T16:07:14.505Z] v2.0.0-dev.5 [2021-11-01T16:07:14.505Z] v2.0.0-dev.6 [2021-11-01T16:07:14.505Z] v2.0.0-dev.7 [2021-11-01T16:07:14.505Z] v2.0.0-dev.8 [2021-11-01T16:07:14.505Z] v2.0.0-dev.9 [2021-11-01T16:07:14.505Z] v2.0.1-dev.1 [2021-11-01T16:07:14.505Z] v2.0.1-dev.2 [2021-11-01T16:07:14.505Z] v2.0.1-dev.3 [2021-11-01T16:07:14.505Z] v2.0.1-dev.4 [2021-11-01T16:07:14.505Z] v2.0.1-dev.5 [2021-11-01T16:07:14.505Z] v2.0.1-dev.6 [2021-11-01T16:07:14.505Z] v2.0.1-dev.7 [2021-11-01T16:07:14.505Z] v2.0.1-dev.8 [2021-11-01T16:07:14.505Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-01T16:07:14.798Z] + lftools sign git-tag v2.0.1-dev.9 [2021-11-01T16:07:15.376Z] Signing Git tag with Sigul... [2021-11-01T16:07:15.376Z] Signing v2.0.1-dev.9 [Pipeline] echo [2021-11-01T16:07:16.763Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:17.055Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-01T16:07:17.062Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-01T16:07:17.082Z] $ docker stop --time=1 ebf8d940fb13c8aa0f33d7000736d972efe1e7681ae4b73f01b066adf8504177 [2021-11-01T16:07:18.307Z] $ docker rm -f ebf8d940fb13c8aa0f33d7000736d972efe1e7681ae4b73f01b066adf8504177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:07:18.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T16:07:18.906Z] . [Pipeline] withDockerContainer [2021-11-01T16:07:18.983Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:07:19.028Z] $ 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 [2021-11-01T16:07:19.444Z] $ docker top ec9574e57fa3435c379a1eed721c5619c92bd19a2ff41b023bf86fc1e3cd2c9b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T16:07:19.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T16:07:19.540Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T16:07:19.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T16:07:19.667Z] $ docker exec ec9574e57fa3435c379a1eed721c5619c92bd19a2ff41b023bf86fc1e3cd2c9b ssh-agent [2021-11-01T16:07:19.789Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhdhLKk/agent.13 [2021-11-01T16:07:19.789Z] SSH_AGENT_PID=20 [2021-11-01T16:07:19.794Z] Running ssh-add (command line suppressed) [2021-11-01T16:07:19.908Z] Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3026926624625105567.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3026926624625105567.key) [2021-11-01T16:07:19.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T16:07:20.209Z] + git semver bump pre [2021-11-01T16:07:20.209Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T16:07:20.209Z] # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git [2021-11-01T16:07:20.209Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main [2021-11-01T16:07:20.209Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T16:07:20.209Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T16:07:20.209Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T16:07:20.209Z] # $SEMVER_BRANCH = main [2021-11-01T16:07:20.209Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [2021-11-01T16:07:20.209Z] 2.0.1-dev.10 [Pipeline] } [2021-11-01T16:07:20.218Z] $ docker exec --env ******** --env ******** ec9574e57fa3435c379a1eed721c5619c92bd19a2ff41b023bf86fc1e3cd2c9b ssh-agent -k [2021-11-01T16:07:20.338Z] unset SSH_AUTH_SOCK; [2021-11-01T16:07:20.338Z] unset SSH_AGENT_PID; [2021-11-01T16:07:20.338Z] echo Agent pid 20 killed; [2021-11-01T16:07:20.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T16:07:20.656Z] + git semver [Pipeline] } [2021-11-01T16:07:20.669Z] $ docker stop --time=1 ec9574e57fa3435c379a1eed721c5619c92bd19a2ff41b023bf86fc1e3cd2c9b [2021-11-01T16:07:21.875Z] $ docker rm -f ec9574e57fa3435c379a1eed721c5619c92bd19a2ff41b023bf86fc1e3cd2c9b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:07:22.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T16:07:22.237Z] . [Pipeline] withDockerContainer [2021-11-01T16:07:22.464Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:07:22.627Z] $ 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 [2021-11-01T16:07:23.033Z] $ docker top 38fc34f4366e2493a481190003a67a5baea54430258bee4850a183fa201f29ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T16:07:23.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T16:07:23.129Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T16:07:23.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T16:07:23.245Z] $ docker exec 38fc34f4366e2493a481190003a67a5baea54430258bee4850a183fa201f29ce ssh-agent [2021-11-01T16:07:23.376Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJfPCbo/agent.14 [2021-11-01T16:07:23.376Z] SSH_AGENT_PID=20 [2021-11-01T16:07:23.383Z] Running ssh-add (command line suppressed) [2021-11-01T16:07:23.494Z] Identity added: /w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3352988479704612047.key (/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/private_key_3352988479704612047.key) [2021-11-01T16:07:23.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T16:07:23.801Z] + git semver push [2021-11-01T16:07:23.802Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T16:07:23.802Z] # $GIT_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.git [2021-11-01T16:07:23.802Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_go-mod-secrets_main [2021-11-01T16:07:23.802Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T16:07:23.802Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T16:07:23.802Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T16:07:23.802Z] # $SEMVER_BRANCH = main [2021-11-01T16:07:23.802Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_go-mod-secrets_main/.semver [Pipeline] } [2021-11-01T16:07:25.724Z] $ docker exec --env ******** --env ******** 38fc34f4366e2493a481190003a67a5baea54430258bee4850a183fa201f29ce ssh-agent -k [2021-11-01T16:07:25.826Z] unset SSH_AUTH_SOCK; [2021-11-01T16:07:25.826Z] unset SSH_AGENT_PID; [2021-11-01T16:07:25.826Z] echo Agent pid 20 killed; [2021-11-01T16:07:25.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T16:07:26.149Z] + git semver [Pipeline] } [2021-11-01T16:07:26.163Z] $ docker stop --time=1 38fc34f4366e2493a481190003a67a5baea54430258bee4850a183fa201f29ce [2021-11-01T16:07:27.362Z] $ docker rm -f 38fc34f4366e2493a481190003a67a5baea54430258bee4850a183fa201f29ce [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 [2021-11-01T16:07:28.226Z] + '[' -d /w/workspace/edgexfoundry_go-mod-secrets_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:28.518Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:29.074Z] ---> package-listing.sh [2021-11-01T16:07:29.074Z] ++ facter osfamily [2021-11-01T16:07:29.074Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T16:07:29.335Z] + OS_FAMILY=redhat [2021-11-01T16:07:29.335Z] + workspace=/w/workspace/edgexfoundry_go-mod-secrets_main [2021-11-01T16:07:29.335Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T16:07:29.335Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T16:07:29.335Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T16:07:29.335Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T16:07:29.335Z] + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' [2021-11-01T16:07:29.335Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T16:07:29.335Z] + case "${OS_FAMILY}" in [2021-11-01T16:07:29.335Z] + rpm -qa [2021-11-01T16:07:29.335Z] + sort [2021-11-01T16:07:30.275Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T16:07:30.275Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T16:07:30.275Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T16:07:30.275Z] + '[' /w/workspace/edgexfoundry_go-mod-secrets_main ']' [2021-11-01T16:07:30.275Z] + mkdir -p /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ [2021-11-01T16:07:30.275Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_go-mod-secrets_main/archives/ [Pipeline] echo [2021-11-01T16:07:30.287Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 [2021-11-01T16:07:30.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:07:31.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T16:07:31.124Z] [2021-11-01T16:07:31.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T16:07:31.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T16:07:31.424Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T16:07:31.424Z] b4d181a07f80: Pulling fs layer [2021-11-01T16:07:31.424Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T16:07:31.424Z] ed53099fbce6: Pulling fs layer [2021-11-01T16:07:31.424Z] dc539afda2c1: Pulling fs layer [2021-11-01T16:07:31.424Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T16:07:31.424Z] 9065ff56babe: Pulling fs layer [2021-11-01T16:07:31.424Z] d287ab97295c: Pulling fs layer [2021-11-01T16:07:31.424Z] 77bc0d833cb6: Waiting [2021-11-01T16:07:31.424Z] 9065ff56babe: Waiting [2021-11-01T16:07:31.424Z] d287ab97295c: Waiting [2021-11-01T16:07:31.424Z] dc539afda2c1: Waiting [2021-11-01T16:07:31.424Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T16:07:31.424Z] a1111a8f2ec3: Download complete [2021-11-01T16:07:31.424Z] dc539afda2c1: Verifying Checksum [2021-11-01T16:07:31.424Z] dc539afda2c1: Download complete [2021-11-01T16:07:31.424Z] ed53099fbce6: Verifying Checksum [2021-11-01T16:07:31.424Z] ed53099fbce6: Download complete [2021-11-01T16:07:31.424Z] 9065ff56babe: Verifying Checksum [2021-11-01T16:07:31.424Z] 9065ff56babe: Download complete [2021-11-01T16:07:31.691Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T16:07:31.691Z] 77bc0d833cb6: Download complete [2021-11-01T16:07:31.691Z] b4d181a07f80: Verifying Checksum [2021-11-01T16:07:31.691Z] b4d181a07f80: Download complete [2021-11-01T16:07:32.269Z] d287ab97295c: Verifying Checksum [2021-11-01T16:07:32.269Z] d287ab97295c: Download complete [2021-11-01T16:07:33.229Z] b4d181a07f80: Pull complete [2021-11-01T16:07:33.490Z] a1111a8f2ec3: Pull complete [2021-11-01T16:07:34.067Z] ed53099fbce6: Pull complete [2021-11-01T16:07:34.067Z] dc539afda2c1: Pull complete [2021-11-01T16:07:34.332Z] 77bc0d833cb6: Pull complete [2021-11-01T16:07:34.591Z] 9065ff56babe: Pull complete [2021-11-01T16:07:39.918Z] d287ab97295c: Pull complete [2021-11-01T16:07:39.918Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T16:07:39.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T16:07:39.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T16:07:39.982Z] prd-centos7-docker-4c-2g-13687 does not seem to be running inside a container [2021-11-01T16:07:40.018Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 [2021-11-01T16:07:42.498Z] $ docker top 4b9b9c226b23ed040cbc97060638afbcc0e419bd99b418908f19666f9de3efb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T16:07:42.867Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T16:07:43.153Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T16:07:43.449Z] + ls /var/log/sa-host [2021-11-01T16:07:43.449Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T16:07:43.449Z] file_magic: OK [2021-11-01T16:07:43.449Z] HZ: Using current value: 100 [2021-11-01T16:07:43.449Z] file_header: OK [2021-11-01T16:07:43.449Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-01T16:07:43.449Z] Statistics: [2021-11-01T16:07:43.449Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T16:07:43.449Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T16:07:43.449Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T16:07:43.449Z] file_magic: OK [2021-11-01T16:07:43.449Z] HZ: Using current value: 100 [2021-11-01T16:07:43.449Z] file_header: OK [2021-11-01T16:07:43.449Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-01T16:07:43.449Z] Statistics: [2021-11-01T16:07:43.449Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T16:07:43.449Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T16:07:43.529Z] provisioning config files... [2021-11-01T16:07:43.538Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_go-mod-secrets_main@tmp/config2632471175321631770tmp [Pipeline] { [Pipeline] echo [2021-11-01T16:07:43.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:43.838Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T16:07:43.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:44.179Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T16:07:44.188Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:44.473Z] ---> sudo-logs.sh [2021-11-01T16:07:44.474Z] Archiving 'sudo' log.. [2021-11-01T16:07:44.474Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13687.novalocal: Name or service not known [2021-11-01T16:07:44.474Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13687.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T16:07:44.496Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:44.781Z] ---> job-cost.sh [2021-11-01T16:07:44.781Z] lf-activate-venv: SKIPPING [2021-11-01T16:07:44.781Z] DEBUG: total: 0.10999999940395355 [2021-11-01T16:07:44.781Z] INFO: Retrieving Stack Cost... [2021-11-01T16:07:45.352Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T16:07:45.612Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T16:07:45.624Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T16:07:45.912Z] ---> logs-deploy.sh [2021-11-01T16:07:45.912Z] lf-activate-venv: SKIPPING [2021-11-01T16:07:45.912Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/main/11 [2021-11-01T16:07:45.912Z] INFO: archiving workspace using pattern(s): [2021-11-01T16:07:46.487Z] Archives upload complete. [2021-11-01T16:07:46.745Z] INFO: archiving logs to Nexus