Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a6b27960648a30bcff0b9a9b8f4cdedc81189249 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-ssh4819385520062708128.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2722949338932526746.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-registry/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-registry/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5803845534665110579.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh13951020075830728394.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-registry/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-registry/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9329433484520443203.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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-registry, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-registry 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-16885 in /w/workspace/dgexfoundry_go-mod-registry_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 Avoid second fetch Checking out Revision a6b27960648a30bcff0b9a9b8f4cdedc81189249 (main) Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/dgexfoundry_go-mod-registry_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.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 a6b27960648a30bcff0b9a9b8f4cdedc81189249 # timeout=10 Commit message: "Merge pull request #104 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.8.0" > git rev-list --no-walk ffcdcd0c1aba57417692a0238b776c7f2cfad9e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:40:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:40:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:40:41 ========================================================= 15:40:41 EdgeX Global Pipelines Version Info 15:40:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:40:41 ------------------- 15:40:41 stable info: 15:40:41 ------------------- 15:40:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:40:41 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:40:41 Message: update stable to v1.0.234 15:40:42 ------------------- 15:40:42 experimental info: 15:40:42 ------------------- 15:40:42 Commited By: **** collab-it+edgex@linuxfoundation.org 15:40:42 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 15:40:42 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6b27960648a30bcff0b9a9b8f4cdedc81189249 [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6b2796 [Pipeline] echo 15:40:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:40:43 + git rev-list -1 --merges a6b27960648a30bcff0b9a9b8f4cdedc81189249~1..a6b27960648a30bcff0b9a9b8f4cdedc81189249 [Pipeline] echo 15:40:43 -----------> git rev-list -1 --merges a6b27960648a30bcff0b9a9b8f4cdedc81189249~1..a6b27960648a30bcff0b9a9b8f4cdedc81189249 a6b27960648a30bcff0b9a9b8f4cdedc81189249 15:40:43 a6b27960648a30bcff0b9a9b8f4cdedc81189249 [false] [Pipeline] sh 15:40:43 + git log --format=format:%s -1 a6b27960648a30bcff0b9a9b8f4cdedc81189249 [Pipeline] echo 15:40:43 ========================================================= 15:40:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:40:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:43 + git log --format=format:%s -1 a6b27960648a30bcff0b9a9b8f4cdedc81189249 [Pipeline] echo 15:40:43 [semverPrep] GIT_COMMIT: a6b27960648a30bcff0b9a9b8f4cdedc81189249, Commit Message: Merge pull request #104 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.8.0 [Pipeline] echo 15:40:43 [semverPrep] This is not a build commit. [Pipeline] sh 15:40:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:40:44 + grep -v github /etc/ssh/ssh_known_hosts 15:40:44 + [ -e /tmp/ssh_known_hosts ] 15:40:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:40:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:40:44 + sudo tee -a /etc/ssh/ssh_known_hosts 15:40:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:45 15:40:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:45 0.1.4: Pulling from edgex-devops/py-git-semver 15:40:45 42c077c10790: Pulling fs layer 15:40:45 f63e77b7563a: Pulling fs layer 15:40:45 bd5fdadae976: Pulling fs layer 15:40:45 205491f53016: Pulling fs layer 15:40:45 df18705c85c3: Pulling fs layer 15:40:45 bdb3f477010e: Pulling fs layer 15:40:45 c8a8fc8e1c8f: Pulling fs layer 15:40:45 2c6e9b1d212d: Pulling fs layer 15:40:45 bdb8f0575790: Pulling fs layer 15:40:45 386e3cb2ff24: Pulling fs layer 15:40:45 2343380bae48: Pulling fs layer 15:40:45 c8a8fc8e1c8f: Waiting 15:40:45 2c6e9b1d212d: Waiting 15:40:45 bdb8f0575790: Waiting 15:40:45 386e3cb2ff24: Waiting 15:40:45 df18705c85c3: Waiting 15:40:45 bdb3f477010e: Waiting 15:40:45 205491f53016: Waiting 15:40:45 f63e77b7563a: Download complete 15:40:45 205491f53016: Verifying Checksum 15:40:45 205491f53016: Download complete 15:40:45 df18705c85c3: Verifying Checksum 15:40:45 df18705c85c3: Download complete 15:40:45 bdb3f477010e: Download complete 15:40:45 bd5fdadae976: Verifying Checksum 15:40:45 bd5fdadae976: Download complete 15:40:45 2c6e9b1d212d: Download complete 15:40:45 bdb8f0575790: Verifying Checksum 15:40:45 bdb8f0575790: Download complete 15:40:45 386e3cb2ff24: Verifying Checksum 15:40:45 386e3cb2ff24: Download complete 15:40:45 2343380bae48: Verifying Checksum 15:40:45 2343380bae48: Download complete 15:40:45 42c077c10790: Verifying Checksum 15:40:45 42c077c10790: Download complete 15:40:45 c8a8fc8e1c8f: Download complete 15:40:47 42c077c10790: Pull complete 15:40:47 f63e77b7563a: Pull complete 15:40:47 bd5fdadae976: Pull complete 15:40:47 205491f53016: Pull complete 15:40:48 df18705c85c3: Pull complete 15:40:48 bdb3f477010e: Pull complete 15:40:49 c8a8fc8e1c8f: Pull complete 15:40:50 2c6e9b1d212d: Pull complete 15:40:50 bdb8f0575790: Pull complete 15:40:50 386e3cb2ff24: Pull complete 15:40:50 2343380bae48: Pull complete 15:40:50 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:40:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:50 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:40:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:40:52 $ docker top 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f -eo pid,comm 15:40:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:40:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:40:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:52 [ssh-agent] Looking for ssh-agent implementation... 15:40:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:52 $ docker exec 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f ssh-agent 15:40:52 SSH_AUTH_SOCK=/tmp/ssh-bd7yIt8NtZNr/agent.33 15:40:52 SSH_AGENT_PID=40 15:40:52 Running ssh-add (command line suppressed) 15:40:52 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_8853624857662548279.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_8853624857662548279.key) 15:40:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:52 + git tag --points-at HEAD [Pipeline] } 15:40:52 $ docker exec --env ******** --env ******** 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f ssh-agent -k 15:40:53 unset SSH_AUTH_SOCK; 15:40:53 unset SSH_AGENT_PID; 15:40:53 echo Agent pid 40 killed; 15:40:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:40:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:53 [ssh-agent] Looking for ssh-agent implementation... 15:40:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:53 $ docker exec 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f ssh-agent 15:40:53 SSH_AUTH_SOCK=/tmp/ssh-Qqn6B2W0xWa5/agent.74 15:40:53 SSH_AGENT_PID=80 15:40:53 Running ssh-add (command line suppressed) 15:40:53 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_410199564171945847.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_410199564171945847.key) 15:40:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:53 + git semver init 15:40:54 2022-07-04 15:40:54,027 [run_init] DEBUG init version:0.0.0 force:False 15:40:54 2022-07-04 15:40:54,028 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_go-mod-registry_main/.semver 15:40:54 2022-07-04 15:40:54,029 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/dgexfoundry_go-mod-registry_main/.semver 15:40:54 2022-07-04 15:40:54,029 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-registry.git', '/w/workspace/dgexfoundry_go-mod-registry_main/.semver'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) 15:40:55 2022-07-04 15:40:54,683 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_go-mod-registry_main/.git/info/exclude 15:40:55 2022-07-04 15:40:54,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:False 15:40:55 2022-07-04 15:40:54,683 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:40:55 2022-07-04 15:40:54,683 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:40:55 2.2.1-dev.7 [Pipeline] } 15:40:55 $ docker exec --env ******** --env ******** 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f ssh-agent -k 15:40:55 unset SSH_AUTH_SOCK; 15:40:55 unset SSH_AGENT_PID; 15:40:55 echo Agent pid 80 killed; 15:40:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:40:55 + git semver [Pipeline] } 15:40:55 $ docker stop --time=1 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f 15:40:57 $ docker rm -f 6bb521092854e2624fd815cf3b5aacdc8a0c08cb41e9426d4cfad761d26a5f4f [Pipeline] // withDockerContainer [Pipeline] sh 15:40:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:40:57 Stashed 1 file(s) [Pipeline] echo 15:40:57 [edgeXSemver]: initialized semver on version 2.2.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:40:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:57 ========================================================= 15:40:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:40:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:40:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:40:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:40:58 59bf1c3509f3: Pulling fs layer 15:40:58 666ba61612fd: Pulling fs layer 15:40:58 8ed8ca486205: Pulling fs layer 15:40:58 cc1cd167ecdc: Pulling fs layer 15:40:58 c516ae0d96e1: Pulling fs layer 15:40:58 684cea983483: Pulling fs layer 15:40:58 dd3240ac7de5: Pulling fs layer 15:40:58 b1e948a4e11c: Pulling fs layer 15:40:58 a8fd76ee1af6: Pulling fs layer 15:40:58 646ad004c059: Pulling fs layer 15:40:58 c516ae0d96e1: Waiting 15:40:58 dd3240ac7de5: Waiting 15:40:58 684cea983483: Waiting 15:40:58 b1e948a4e11c: Waiting 15:40:58 646ad004c059: Waiting 15:40:58 a8fd76ee1af6: Waiting 15:40:58 cc1cd167ecdc: Waiting 15:40:58 8ed8ca486205: Verifying Checksum 15:40:58 8ed8ca486205: Download complete 15:40:58 666ba61612fd: Download complete 15:40:58 c516ae0d96e1: Verifying Checksum 15:40:58 c516ae0d96e1: Download complete 15:40:58 684cea983483: Download complete 15:40:58 dd3240ac7de5: Download complete 15:40:58 59bf1c3509f3: Verifying Checksum 15:40:58 b1e948a4e11c: Verifying Checksum 15:40:58 b1e948a4e11c: Download complete 15:40:58 59bf1c3509f3: Pull complete 15:40:58 666ba61612fd: Pull complete 15:40:58 8ed8ca486205: Pull complete 15:40:58 646ad004c059: Verifying Checksum 15:40:58 646ad004c059: Download complete 15:40:58 a8fd76ee1af6: Verifying Checksum 15:40:58 a8fd76ee1af6: Download complete 15:40:58 cc1cd167ecdc: Verifying Checksum 15:40:58 cc1cd167ecdc: Download complete 15:41:03 cc1cd167ecdc: Pull complete 15:41:03 c516ae0d96e1: Pull complete 15:41:03 684cea983483: Pull complete 15:41:03 dd3240ac7de5: Pull complete 15:41:03 b1e948a4e11c: Pull complete 15:41:05 a8fd76ee1af6: Pull complete 15:41:06 646ad004c059: Pull complete 15:41:06 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:41:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 15:41:06 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:06 + docker inspect -f . ci-base-image-x86_64 15:41:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:06 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:41:09 $ docker top 6cbe9d1ad491ceca52ee2d47fc1c5b7c5a221802e981086857b8c73009102469 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:09 + go version 15:41:09 go version go1.17.7 linux/amd64 [Pipeline] } 15:41:09 $ docker stop --time=1 6cbe9d1ad491ceca52ee2d47fc1c5b7c5a221802e981086857b8c73009102469 15:41:10 $ docker rm -f 6cbe9d1ad491ceca52ee2d47fc1c5b7c5a221802e981086857b8c73009102469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:11 + docker inspect -f . ci-base-image-x86_64 15:41:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:11 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:41:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:41:11 $ docker top 425f99c27886be125a39137ca72f852c3d38d897123b20a807f8ff8aa20305f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:41:12 + make test 15:41:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:41:12 go: downloading github.com/stretchr/testify v1.8.0 15:41:12 go: downloading github.com/hashicorp/consul/api v1.13.0 15:41:12 go: downloading github.com/stretchr/objx v0.4.0 15:41:12 go: downloading github.com/pmezard/go-difflib v1.0.0 15:41:12 go: downloading github.com/davecgh/go-spew v1.1.1 15:41:12 go: downloading gopkg.in/yaml.v3 v3.0.1 15:41:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:41:12 go: downloading github.com/hashicorp/serf v0.9.6 15:41:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:41:12 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:41:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:41:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:41:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:41:12 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:41:12 go: downloading github.com/mattn/go-isatty v0.0.12 15:41:12 go: downloading github.com/fatih/color v1.9.0 15:41:12 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 15:41:12 go: downloading github.com/mattn/go-colorable v0.1.6 15:41:12 Still waiting to schedule task 15:41:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16886’ 15:41:20 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.037s coverage: 89.4% of statements 15:41:20 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 15:41:20 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.006s coverage: 85.7% of statements 15:41:20 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 15:41:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:41:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:41:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:41:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:41:30 $ docker stop --time=1 425f99c27886be125a39137ca72f852c3d38d897123b20a807f8ff8aa20305f1 15:41:32 $ docker rm -f 425f99c27886be125a39137ca72f852c3d38d897123b20a807f8ff8aa20305f1 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:41:32 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] withEnv [Pipeline] { [Pipeline] sh 15:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:33 15:41:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:33 latest: Pulling from edgex-lftools-log-publisher 15:41:33 5eb5b503b376: Pulling fs layer 15:41:33 5c69ac0246d0: Pulling fs layer 15:41:33 ec43610c2a17: Pulling fs layer 15:41:33 3a2ae6a8a46f: Pulling fs layer 15:41:33 33b1e0a273af: Pulling fs layer 15:41:33 5d3b04190fa2: Pulling fs layer 15:41:33 2f39f015ded8: Pulling fs layer 15:41:33 5d3b04190fa2: Waiting 15:41:33 3a2ae6a8a46f: Waiting 15:41:33 33b1e0a273af: Waiting 15:41:33 5c69ac0246d0: Download complete 15:41:33 3a2ae6a8a46f: Download complete 15:41:33 33b1e0a273af: Verifying Checksum 15:41:33 33b1e0a273af: Download complete 15:41:33 ec43610c2a17: Verifying Checksum 15:41:33 ec43610c2a17: Download complete 15:41:33 5d3b04190fa2: Verifying Checksum 15:41:33 5d3b04190fa2: Download complete 15:41:33 5eb5b503b376: Download complete 15:41:34 2f39f015ded8: Download complete 15:41:35 5eb5b503b376: Pull complete 15:41:35 5c69ac0246d0: Pull complete 15:41:35 ec43610c2a17: Pull complete 15:41:35 3a2ae6a8a46f: Pull complete 15:41:36 33b1e0a273af: Pull complete 15:41:36 5d3b04190fa2: Pull complete 15:41:41 2f39f015ded8: Pull complete 15:41:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:41:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:41 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:41:41 $ 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/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:41:43 $ docker top 5a81287b162ba14bee7fbcae4ceecf326380e4addb8b9298e72ad0276a0bfadf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:43 ---> job-cost.sh 15:41:43 lf-activate-venv: SKIPPING 15:41:43 INFO: No Stack... 15:41:44 INFO: Retrieving Pricing Info for: v3-standard-8 15:41:44 INFO: Archiving Costs [Pipeline] sh 15:41:44 + cat /w/workspace/dgexfoundry_go-mod-registry_main/archives/cost.csv 15:41:44 + cut -d, -f6 [Pipeline] lock 15:41:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] 15:41:44 Resource [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] did not exist. Created. 15:41:44 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:41:45 + echo total: 0.2199999988079071 [Pipeline] stash 15:41:45 Stashed 1 file(s) [Pipeline] } 15:41:45 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 15:41:45 $ docker stop --time=1 5a81287b162ba14bee7fbcae4ceecf326380e4addb8b9298e72ad0276a0bfadf 15:41:46 $ docker rm -f 5a81287b162ba14bee7fbcae4ceecf326380e4addb8b9298e72ad0276a0bfadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:44:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16887 in /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] { [Pipeline] ws 15:44:50 Running in /w/workspace/go-mod-registry/23 [Pipeline] { [Pipeline] checkout 15:44:50 Selected Git installation does not exist. Using Default 15:44:50 The recommended git tool is: NONE 15:44:57 using credential edgex-jenkins-ssh 15:44:57 Cloning the remote Git repository 15:44:57 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 15:44:57 > git init /w/workspace/go-mod-registry/23 # timeout=10 15:44:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 15:44:57 > git --version # timeout=10 15:44:57 > git --version # 'git version 2.25.1' 15:44:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:44:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:44:59 Avoid second fetch 15:44:59 Checking out Revision a6b27960648a30bcff0b9a9b8f4cdedc81189249 (main) 15:44:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 15:44:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:44:59 > git config core.sparsecheckout # timeout=10 15:44:59 > git checkout -f a6b27960648a30bcff0b9a9b8f4cdedc81189249 # timeout=10 15:45:03 Commit message: "Merge pull request #104 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:45:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:04 Dload Upload Total Spent Left Speed 15:45:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88151 0 --:--:-- --:--:-- --:--:-- 88789 [Pipeline] sh 15:45:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:45:05 + sudo tee /etc/docker/daemon.new 15:45:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:45:05 { 15:45:05 "registry-mirrors": [ 15:45:05 "https://nexus3.edgexfoundry.org:10001" 15:45:05 ], 15:45:05 "bip": "10.250.0.254/24", 15:45:05 "hosts": [ 15:45:05 "tcp://0.0.0.0:5555", 15:45:05 "unix:///var/run/docker.sock" 15:45:05 ], 15:45:05 "mtu": 1458, 15:45:05 "selinux-enabled": true, 15:45:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:45:05 } [Pipeline] sh 15:45:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:45:06 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 15:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:25 ========================================================= 15:45:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:45:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:45:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:45:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:45:26 9b3977197b4f: Pulling fs layer 15:45:26 1a89e8eeedd5: Pulling fs layer 15:45:26 94645a83ff95: Pulling fs layer 15:45:26 e6fb740bc735: Pulling fs layer 15:45:26 3a77bd46dcc9: Pulling fs layer 15:45:26 355e64cbe906: Pulling fs layer 15:45:26 63ab81a10011: Pulling fs layer 15:45:26 555d1d1c4555: Pulling fs layer 15:45:26 7d9057610161: Pulling fs layer 15:45:26 e6fb740bc735: Waiting 15:45:26 63ab81a10011: Waiting 15:45:26 555d1d1c4555: Waiting 15:45:26 7d9057610161: Waiting 15:45:26 3a77bd46dcc9: Waiting 15:45:26 355e64cbe906: Waiting 15:45:26 94645a83ff95: Verifying Checksum 15:45:26 94645a83ff95: Download complete 15:45:26 1a89e8eeedd5: Download complete 15:45:26 3a77bd46dcc9: Verifying Checksum 15:45:26 3a77bd46dcc9: Download complete 15:45:26 355e64cbe906: Verifying Checksum 15:45:26 355e64cbe906: Download complete 15:45:26 9b3977197b4f: Verifying Checksum 15:45:26 9b3977197b4f: Download complete 15:45:26 63ab81a10011: Download complete 15:45:27 9b3977197b4f: Pull complete 15:45:27 7d9057610161: Verifying Checksum 15:45:27 7d9057610161: Download complete 15:45:27 1a89e8eeedd5: Pull complete 15:45:28 94645a83ff95: Pull complete 15:45:28 555d1d1c4555: Verifying Checksum 15:45:28 555d1d1c4555: Download complete 15:45:29 e6fb740bc735: Verifying Checksum 15:45:29 e6fb740bc735: Download complete 15:45:41 e6fb740bc735: Pull complete 15:45:41 3a77bd46dcc9: Pull complete 15:45:41 355e64cbe906: Pull complete 15:45:41 63ab81a10011: Pull complete 15:45:48 555d1d1c4555: Pull complete 15:45:49 7d9057610161: Pull complete 15:45:49 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 15:45:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:45:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 15:45:49 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:50 + docker inspect -f . ci-base-image-arm64 15:45:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:50 prd-ubuntu20.04-docker-arm64-4c-16g-16887 does not seem to be running inside a container 15:45:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/23 -v /w/workspace/go-mod-registry/23:/w/workspace/go-mod-registry/23:rw,z -v /w/workspace/go-mod-registry/23@tmp:/w/workspace/go-mod-registry/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:45:53 $ docker top 36527f66ce4c8481ba3e80ac3c98b6ccabb4b318bc03a85dd0d56b5765a6536d -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:54 + go version 15:45:54 go version go1.17.7 linux/arm64 [Pipeline] } 15:45:54 $ docker stop --time=1 36527f66ce4c8481ba3e80ac3c98b6ccabb4b318bc03a85dd0d56b5765a6536d 15:45:55 $ docker rm -f 36527f66ce4c8481ba3e80ac3c98b6ccabb4b318bc03a85dd0d56b5765a6536d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:56 + docker inspect -f . ci-base-image-arm64 15:45:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:56 prd-ubuntu20.04-docker-arm64-4c-16g-16887 does not seem to be running inside a container 15:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/23 -v /w/workspace/go-mod-registry/23:/w/workspace/go-mod-registry/23:rw,z -v /w/workspace/go-mod-registry/23@tmp:/w/workspace/go-mod-registry/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:45:58 $ docker top 6e8ff377cfcd3af79e9c785c7f38d2885fd19f347b9304798045b8076f88399a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:45:58 + make test 15:45:58 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:45:58 go: downloading github.com/stretchr/testify v1.8.0 15:45:58 go: downloading github.com/hashicorp/consul/api v1.13.0 15:45:59 go: downloading github.com/davecgh/go-spew v1.1.1 15:45:59 go: downloading github.com/pmezard/go-difflib v1.0.0 15:45:59 go: downloading github.com/stretchr/objx v0.4.0 15:45:59 go: downloading gopkg.in/yaml.v3 v3.0.1 15:45:59 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:45:59 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:45:59 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:45:59 go: downloading github.com/hashicorp/serf v0.9.6 15:45:59 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:45:59 go: downloading github.com/fatih/color v1.9.0 15:45:59 go: downloading github.com/mattn/go-isatty v0.0.12 15:45:59 go: downloading github.com/mattn/go-colorable v0.1.6 15:45:59 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 15:45:59 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:45:59 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:45:59 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:46:32 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.115s coverage: 89.4% of statements 15:46:32 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 15:46:32 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.022s coverage: 85.7% of statements 15:46:32 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 15:46:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:46:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:46:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:46:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:46:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:46:47 $ docker stop --time=1 6e8ff377cfcd3af79e9c785c7f38d2885fd19f347b9304798045b8076f88399a 15:46:49 $ docker rm -f 6e8ff377cfcd3af79e9c785c7f38d2885fd19f347b9304798045b8076f88399a [Pipeline] // withDockerContainer [Pipeline] sh 15:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:46:49 Warning: overwriting stash ‘coverage-report’ 15:46:50 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] withEnv [Pipeline] { [Pipeline] sh 15:46:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:46:50 15:46:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:46:51 arm64: Pulling from edgex-lftools-log-publisher 15:46:51 8998bd30e6a1: Pulling fs layer 15:46:51 04944245beec: Pulling fs layer 15:46:51 699f458cf7ca: Pulling fs layer 15:46:51 765212b225bb: Pulling fs layer 15:46:51 f23df028b6ca: Pulling fs layer 15:46:51 d65c8cfc05b1: Pulling fs layer 15:46:51 2437ff75d9bd: Pulling fs layer 15:46:51 f23df028b6ca: Waiting 15:46:51 d65c8cfc05b1: Waiting 15:46:51 2437ff75d9bd: Waiting 15:46:51 765212b225bb: Waiting 15:46:51 04944245beec: Verifying Checksum 15:46:51 04944245beec: Download complete 15:46:51 765212b225bb: Verifying Checksum 15:46:51 765212b225bb: Download complete 15:46:51 f23df028b6ca: Verifying Checksum 15:46:51 f23df028b6ca: Download complete 15:46:51 d65c8cfc05b1: Verifying Checksum 15:46:51 d65c8cfc05b1: Download complete 15:46:51 699f458cf7ca: Verifying Checksum 15:46:51 699f458cf7ca: Download complete 15:46:51 8998bd30e6a1: Verifying Checksum 15:46:51 8998bd30e6a1: Download complete 15:46:54 2437ff75d9bd: Verifying Checksum 15:46:54 2437ff75d9bd: Download complete 15:46:56 8998bd30e6a1: Pull complete 15:46:56 04944245beec: Pull complete 15:46:58 699f458cf7ca: Pull complete 15:46:58 765212b225bb: Pull complete 15:46:58 f23df028b6ca: Pull complete 15:46:59 d65c8cfc05b1: Pull complete 15:47:14 2437ff75d9bd: Pull complete 15:47:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:47:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:14 prd-ubuntu20.04-docker-arm64-4c-16g-16887 does not seem to be running inside a container 15:47:14 $ 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-registry/23 -v /w/workspace/go-mod-registry/23:/w/workspace/go-mod-registry/23:rw,z -v /w/workspace/go-mod-registry/23@tmp:/w/workspace/go-mod-registry/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:47:16 $ docker top d92010059a52495299e432374efaef9ae8120fc9fef814c7e61cb77dd492f753 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:17 ---> job-cost.sh 15:47:17 lf-activate-venv: SKIPPING 15:47:17 INFO: No Stack... 15:47:18 INFO: Retrieving Pricing Info for: v3-standard-4 15:47:19 INFO: Archiving Costs [Pipeline] sh 15:47:19 + cat /w/workspace/go-mod-registry/23/archives/cost.csv 15:47:19 + cut -d, -f6 [Pipeline] lock 15:47:19 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] 15:47:19 Resource [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] did not exist. Created. 15:47:19 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:20 /w/workspace/go-mod-registry/23@tmp/durable-9a0d9bbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:47:21 + echo total: 0.10999999940395355 [Pipeline] stash 15:47:21 Warning: overwriting stash ‘stack-cost’ 15:47:21 Stashed 1 file(s) [Pipeline] } 15:47:21 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:21 $ docker stop --time=1 d92010059a52495299e432374efaef9ae8120fc9fef814c7e61cb77dd492f753 15:47:22 $ docker rm -f d92010059a52495299e432374efaef9ae8120fc9fef814c7e61cb77dd492f753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:47:23 provisioning config files... 15:47:23 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config3547218688995897089tmp [Pipeline] { [Pipeline] sh 15:47:23 + set +x 15:47:23 + curl -s https://codecov.io/bash 15:47:23 + bash -s -- 15:47:23 15:47:23 _____ _ 15:47:23 / ____| | | 15:47:23 | | ___ __| | ___ ___ _____ __ 15:47:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:47:23 | |___| (_) | (_| | __/ (_| (_) \ V / 15:47:23 \_____\___/ \__,_|\___|\___\___/ \_/ 15:47:23 Bash-1.0.6 15:47:23 15:47:23 15:47:23 ==> git version 2.25.1 found 15:47:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:47:23 Release-Date: 2020-01-08 15:47:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:47:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:47:23 ==> Jenkins CI detected. 15:47:23 current dir:  /w/workspace/dgexfoundry_go-mod-registry_main 15:47:23 project root: . 15:47:23 --> token set from env 15:47:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:47:23 ==> Running gcov in . (disable via -X gcov) 15:47:23 ==> Python coveragepy not found 15:47:23 ==> Searching for coverage reports in: 15:47:23 + . 15:47:23 -> Found 1 reports 15:47:23 ==> Detecting git/mercurial file structure 15:47:23 ==> Reading reports 15:47:23 + ./coverage.out bytes=12273 15:47:23 ==> Appending adjustments 15:47:23 https://docs.codecov.io/docs/fixing-reports 15:47:23 + Found adjustments 15:47:23 ==> Gzipping contents 15:47:23 4.0K /tmp/codecov.Lumjzi.gz 15:47:23 ==> Uploading reports 15:47:23 url: https://codecov.io 15:47:23 query: branch=main&commit=a6b27960648a30bcff0b9a9b8f4cdedc81189249&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= 15:47:23 -> Pinging Codecov 15:47:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=main&commit=a6b27960648a30bcff0b9a9b8f4cdedc81189249&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= 15:47:24 -> Uploading to 15:47:24 https://storage.googleapis.com/codecov/v4/raw/2022-07-04/05B643FFA8DEACB6C25F95B2D4D12284/a6b27960648a30bcff0b9a9b8f4cdedc81189249/eeba8d57-806f-4049-99d3-140166bcd9c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220704%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220704T154723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e08b61c8f97c56c47a78e0aa033bee7cb9520986a5b3dd5bb2ce61d8eb19c0a 15:47:24 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:24 Dload Upload Total Spent Left Speed 15:47:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2275 0 0 100 2275 0 8817 --:--:-- --:--:-- --:--:-- 8817 15:47:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/a6b27960648a30bcff0b9a9b8f4cdedc81189249 [Pipeline] } 15:47:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:47:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:47:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:47:24 15:47:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:47:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:47:25 df9b9388f04a: Pulling fs layer 15:47:25 52dc419b0ee2: Pulling fs layer 15:47:25 25bc292e5bac: Pulling fs layer 15:47:25 114826534d7a: Pulling fs layer 15:47:25 4657fd5d0bcf: Pulling fs layer 15:47:25 6ad1cebc031e: Pulling fs layer 15:47:25 8a3aa393b2d8: Pulling fs layer 15:47:25 4657fd5d0bcf: Waiting 15:47:25 6ad1cebc031e: Waiting 15:47:25 8a3aa393b2d8: Waiting 15:47:25 114826534d7a: Waiting 15:47:25 25bc292e5bac: Verifying Checksum 15:47:25 25bc292e5bac: Download complete 15:47:25 52dc419b0ee2: Download complete 15:47:25 4657fd5d0bcf: Verifying Checksum 15:47:25 4657fd5d0bcf: Download complete 15:47:25 df9b9388f04a: Download complete 15:47:25 6ad1cebc031e: Verifying Checksum 15:47:25 6ad1cebc031e: Download complete 15:47:25 df9b9388f04a: Pull complete 15:47:25 52dc419b0ee2: Pull complete 15:47:25 25bc292e5bac: Pull complete 15:47:26 114826534d7a: Download complete 15:47:26 8a3aa393b2d8: Verifying Checksum 15:47:26 8a3aa393b2d8: Download complete 15:47:29 114826534d7a: Pull complete 15:47:29 4657fd5d0bcf: Pull complete 15:47:29 6ad1cebc031e: Pull complete 15:47:32 8a3aa393b2d8: Pull complete 15:47:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:47:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:47:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:32 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:47:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:47:34 $ docker top bae55e040f62199ef516fd028c419b739beddb94de2ae1618874a14a49c24069 -eo pid,comm [Pipeline] { [Pipeline] echo 15:47:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/go-mod-registry:main' [Pipeline] sh 15:47:35 + set -o pipefail 15:47:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/go-mod-registry:main' 15:47:36 15:47:36 Monitoring /w/workspace/dgexfoundry_go-mod-registry_main (github.com/edgexfoundry/go-mod-registry/v2)... 15:47:36 15:47:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/248b3a82-0f57-4d08-abdb-bcc7056f415b/history/251bab4a-5e91-4241-8f5f-b40ac08bccbe 15:47:36 15:47:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:47:36 15:47:36 15:47:36 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:47:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:47:37 $ docker stop --time=1 bae55e040f62199ef516fd028c419b739beddb94de2ae1618874a14a49c24069 15:47:38 $ docker rm -f bae55e040f62199ef516fd028c419b739beddb94de2ae1618874a14a49c24069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:39 + git log --format=format:%s -1 a6b27960648a30bcff0b9a9b8f4cdedc81189249 [Pipeline] sh 15:47:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:47:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:39 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_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/py-git-semver:0.1.4 cat 15:47:40 $ docker top 05b3db84f082dbf360a08db5036693df402fd3aa9c2bcc8e60d05fc5978e2447 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:40 [ssh-agent] Looking for ssh-agent implementation... 15:47:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:40 $ docker exec 05b3db84f082dbf360a08db5036693df402fd3aa9c2bcc8e60d05fc5978e2447 ssh-agent 15:47:40 SSH_AUTH_SOCK=/tmp/ssh-GinIPMiO3KOA/agent.33 15:47:40 SSH_AGENT_PID=39 15:47:40 Running ssh-add (command line suppressed) 15:47:40 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_7044387246151120148.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_7044387246151120148.key) 15:47:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:40 + git semver tag 15:47:41 2022-07-04 15:47:41,192 [run_tag] DEBUG tag force:False 15:47:41 2022-07-04 15:47:41,192 [check_head_tag] DEBUG check head tag 15:47:41 2022-07-04 15:47:41,193 [execute] INFO git cat-file --batch-check 15:47:41 2022-07-04 15:47:41,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) 15:47:41 2022-07-04 15:47:41,196 [execute] INFO git cat-file --batch 15:47:41 2022-07-04 15:47:41,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) 15:47:41 2022-07-04 15:47:41,211 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:47:41 2022-07-04 15:47:41,211 [execute] INFO git tag -a v2.2.1-dev.7 -m v2.2.1-dev.7 15:47:41 2022-07-04 15:47:41,211 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.7', '-m', 'v2.2.1-dev.7'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) 15:47:41 2022-07-04 15:47:41,216 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:47:41 2.2.1-dev.7 [Pipeline] } 15:47:41 $ docker exec --env ******** --env ******** 05b3db84f082dbf360a08db5036693df402fd3aa9c2bcc8e60d05fc5978e2447 ssh-agent -k 15:47:41 unset SSH_AUTH_SOCK; 15:47:41 unset SSH_AGENT_PID; 15:47:41 echo Agent pid 39 killed; 15:47:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:41 + git semver [Pipeline] } 15:47:41 $ docker stop --time=1 05b3db84f082dbf360a08db5036693df402fd3aa9c2bcc8e60d05fc5978e2447 15:47:43 $ docker rm -f 05b3db84f082dbf360a08db5036693df402fd3aa9c2bcc8e60d05fc5978e2447 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:43 15:47:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:43 0.23.1-centos7: Pulling from edgex-lftools 15:47:43 ab5ef0e58194: Pulling fs layer 15:47:43 9712f1f96733: Pulling fs layer 15:47:43 63f879dbbcfc: Pulling fs layer 15:47:43 0d9ebad4ef96: Pulling fs layer 15:47:43 e9a5061849ea: Pulling fs layer 15:47:43 d747dcd14b5f: Pulling fs layer 15:47:43 2de7ff778b66: Pulling fs layer 15:47:43 e9a5061849ea: Waiting 15:47:43 d747dcd14b5f: Waiting 15:47:43 2de7ff778b66: Waiting 15:47:43 0d9ebad4ef96: Waiting 15:47:43 9712f1f96733: Verifying Checksum 15:47:43 9712f1f96733: Download complete 15:47:44 63f879dbbcfc: Verifying Checksum 15:47:44 63f879dbbcfc: Download complete 15:47:44 e9a5061849ea: Verifying Checksum 15:47:44 e9a5061849ea: Download complete 15:47:44 d747dcd14b5f: Download complete 15:47:44 0d9ebad4ef96: Verifying Checksum 15:47:44 0d9ebad4ef96: Download complete 15:47:44 ab5ef0e58194: Verifying Checksum 15:47:44 ab5ef0e58194: Download complete 15:47:44 2de7ff778b66: Verifying Checksum 15:47:44 2de7ff778b66: Download complete 15:47:47 ab5ef0e58194: Pull complete 15:47:47 9712f1f96733: Pull complete 15:47:47 63f879dbbcfc: Pull complete 15:47:52 0d9ebad4ef96: Pull complete 15:47:52 e9a5061849ea: Pull complete 15:47:52 d747dcd14b5f: Pull complete 15:47:53 2de7ff778b66: Pull complete 15:47:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:47:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:53 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:47:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:47:55 $ docker top 0c2310fc206026f42e9080f88d19a974e3667eff156d7050a4b74b0fd67a6f23 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:47:55 provisioning config files... 15:47:55 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config9019530030096656129tmp 15:47:55 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config7332930819265503084tmp 15:47:55 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config6967763459397216557tmp [Pipeline] { [Pipeline] echo 15:47:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:47:55 ---> sigul-configuration.sh 15:47:55 gpg: directory `/root/.gnupg' created 15:47:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:47:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:47:55 gpg: keyring `/root/.gnupg/secring.gpg' created 15:47:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:47:55 gpg: CAST5 encrypted data 15:47:55 gpg: encrypted with 1 passphrase 15:47:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:47:56 + mkdir /home/jenkins 15:47:56 + mkdir /home/jenkins/sigul [Pipeline] sh 15:47:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:47:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:47:56 ---> sigul-install.sh 15:47:56 Sigul already installed; skipping installation. [Pipeline] sh 15:47:56 + git tag --list 15:47:56 v0.0.0 15:47:56 v0.1.0 15:47:56 v0.1.1 15:47:56 v0.1.10 15:47:56 v0.1.11 15:47:56 v0.1.12 15:47:56 v0.1.13 15:47:56 v0.1.14 15:47:56 v0.1.15 15:47:56 v0.1.16 15:47:56 v0.1.17 15:47:56 v0.1.18 15:47:56 v0.1.19 15:47:56 v0.1.2 15:47:56 v0.1.20 15:47:56 v0.1.21 15:47:56 v0.1.22 15:47:56 v0.1.23 15:47:56 v0.1.24 15:47:56 v0.1.25 15:47:56 v0.1.26 15:47:56 v0.1.27 15:47:56 v0.1.3 15:47:56 v0.1.4 15:47:56 v0.1.5 15:47:56 v0.1.6 15:47:56 v0.1.7 15:47:56 v0.1.8 15:47:56 v0.1.9 15:47:56 v2.0.0 15:47:56 v2.1.0 15:47:56 v2.2.0 15:47:56 v2.2.1-dev.1 15:47:56 v2.2.1-dev.2 15:47:56 v2.2.1-dev.3 15:47:56 v2.2.1-dev.4 15:47:56 v2.2.1-dev.5 15:47:56 v2.2.1-dev.6 15:47:56 v2.2.1-dev.7 [Pipeline] sh 15:47:57 + lftools sign git-tag v2.2.1-dev.7 15:47:57 Signing Git tag with Sigul... 15:47:57 Signing v2.2.1-dev.7 [Pipeline] echo 15:47:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:47:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:47:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:47:58 $ docker stop --time=1 0c2310fc206026f42e9080f88d19a974e3667eff156d7050a4b74b0fd67a6f23 15:48:00 $ docker rm -f 0c2310fc206026f42e9080f88d19a974e3667eff156d7050a4b74b0fd67a6f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:48:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:00 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:48:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_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/py-git-semver:0.1.4 cat 15:48:01 $ docker top 6f5a697afdd18869c392592a51b05247b738fe29c4e3724e7b0472c4d71314be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:01 [ssh-agent] Looking for ssh-agent implementation... 15:48:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:01 $ docker exec 6f5a697afdd18869c392592a51b05247b738fe29c4e3724e7b0472c4d71314be ssh-agent 15:48:01 SSH_AUTH_SOCK=/tmp/ssh-MJkKgQENC19F/agent.32 15:48:01 SSH_AGENT_PID=38 15:48:01 Running ssh-add (command line suppressed) 15:48:01 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_2094346310300375557.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_2094346310300375557.key) 15:48:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:02 + git semver bump pre 15:48:02 2022-07-04 15:48:02,319 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:48:02 2022-07-04 15:48:02,319 [bump_version] DEBUG bumping version:2.2.1-dev.7 on axis:pre with prefix:dev 15:48:02 2022-07-04 15:48:02,319 [bump_version] DEBUG bumped version:2.2.1-dev.8 15:48:02 2022-07-04 15:48:02,319 [write_version] DEBUG write version:2.2.1-dev.8 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:True 15:48:02 2022-07-04 15:48:02,319 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:48:02 2022-07-04 15:48:02,319 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:48:02 2022-07-04 15:48:02,321 [execute] INFO git cat-file --batch-check 15:48:02 2022-07-04 15:48:02,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:02 2022-07-04 15:48:02,327 [execute] INFO git cat-file --batch 15:48:02 2022-07-04 15:48:02,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:02 2022-07-04 15:48:02,333 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:48:02 2.2.1-dev.8 [Pipeline] } 15:48:02 $ docker exec --env ******** --env ******** 6f5a697afdd18869c392592a51b05247b738fe29c4e3724e7b0472c4d71314be ssh-agent -k 15:48:02 unset SSH_AUTH_SOCK; 15:48:02 unset SSH_AGENT_PID; 15:48:02 echo Agent pid 38 killed; 15:48:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:02 + git semver [Pipeline] } 15:48:03 $ docker stop --time=1 6f5a697afdd18869c392592a51b05247b738fe29c4e3724e7b0472c4d71314be 15:48:04 $ docker rm -f 6f5a697afdd18869c392592a51b05247b738fe29c4e3724e7b0472c4d71314be [Pipeline] // withDockerContainer [Pipeline] sh 15:48:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:05 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_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/py-git-semver:0.1.4 cat 15:48:05 $ docker top 09b5d41fa10345b8e28d85aeab17fd473432d6e3ddd310fbedfb12e2c8ee3994 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:05 [ssh-agent] Looking for ssh-agent implementation... 15:48:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:06 $ docker exec 09b5d41fa10345b8e28d85aeab17fd473432d6e3ddd310fbedfb12e2c8ee3994 ssh-agent 15:48:06 SSH_AUTH_SOCK=/tmp/ssh-Fujwd8bgBh4g/agent.34 15:48:06 SSH_AGENT_PID=41 15:48:06 Running ssh-add (command line suppressed) 15:48:06 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_1507306695923657369.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_1507306695923657369.key) 15:48:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:06 + git semver push 15:48:06 2022-07-04 15:48:06,812 [run_push] DEBUG push 15:48:06 2022-07-04 15:48:06,813 [execute] INFO git cat-file --batch-check 15:48:06 2022-07-04 15:48:06,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 15:48:06 2022-07-04 15:48:06,817 [execute] INFO git rev-list 039acb8dc551b25da4480c132cbcfd510a7bacc9 -- 15:48:06 2022-07-04 15:48:06,817 [execute] DEBUG Popen(['git', 'rev-list', '039acb8dc551b25da4480c132cbcfd510a7bacc9', '--'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) 15:48:06 2022-07-04 15:48:06,824 [execute] INFO git fetch -v origin 15:48:06 2022-07-04 15:48:06,824 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=True, shell=None, istream=None) 15:48:07 2022-07-04 15:48:07,294 [run_push] DEBUG no remote changes detected 15:48:07 2022-07-04 15:48:07,295 [execute] INFO git push origin semver 15:48:07 2022-07-04 15:48:07,295 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) 15:48:08 2022-07-04 15:48:08,035 [run_push] DEBUG push all version tags 15:48:08 2022-07-04 15:48:08,035 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:48:08 2022-07-04 15:48:08,036 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) 15:48:08 2022-07-04 15:48:08,711 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 15:48:08 2.2.1-dev.8 [Pipeline] } 15:48:08 $ docker exec --env ******** --env ******** 09b5d41fa10345b8e28d85aeab17fd473432d6e3ddd310fbedfb12e2c8ee3994 ssh-agent -k 15:48:09 unset SSH_AUTH_SOCK; 15:48:09 unset SSH_AGENT_PID; 15:48:09 echo Agent pid 41 killed; 15:48:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:09 + git semver [Pipeline] } 15:48:09 $ docker stop --time=1 09b5d41fa10345b8e28d85aeab17fd473432d6e3ddd310fbedfb12e2c8ee3994 15:48:11 $ docker rm -f 09b5d41fa10345b8e28d85aeab17fd473432d6e3ddd310fbedfb12e2c8ee3994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:48:11 + [ -d /w/workspace/dgexfoundry_go-mod-registry_main/archives ] 15:48:11 + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives 15:48:11 total 16 15:48:11 drwxr-xr-x 3 root root 4096 Jul 4 15:41 . 15:48:11 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 15:47 .. 15:48:11 drwxr-xr-x 2 root root 4096 Jul 4 15:41 cost 15:48:11 -rw-r--r-- 1 root root 86 Jul 4 15:41 cost.csv 15:48:11 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_go-mod-registry_main/archives 15:48:11 + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives 15:48:11 total 16 15:48:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 15:41 . 15:48:11 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 15:47 .. 15:48:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 15:41 cost 15:48:11 -rw-r--r-- 1 jenkins jenkins 86 Jul 4 15:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:48:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:48:12 ---> package-listing.sh 15:48:12 ++ facter osfamily 15:48:12 ++ tr '[:upper:]' '[:lower:]' 15:48:13 + OS_FAMILY=debian 15:48:13 + workspace=/w/workspace/dgexfoundry_go-mod-registry_main 15:48:13 + START_PACKAGES=/tmp/packages_start.txt 15:48:13 + END_PACKAGES=/tmp/packages_end.txt 15:48:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:48:13 + PACKAGES=/tmp/packages_start.txt 15:48:13 + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' 15:48:13 + PACKAGES=/tmp/packages_end.txt 15:48:13 + case "${OS_FAMILY}" in 15:48:13 + dpkg -l 15:48:13 + grep '^ii' 15:48:13 + '[' -f /tmp/packages_start.txt ']' 15:48:13 + '[' -f /tmp/packages_end.txt ']' 15:48:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:48:13 + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' 15:48:13 + mkdir -p /w/workspace/dgexfoundry_go-mod-registry_main/archives/ 15:48:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [Pipeline] echo 15:48:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_go-mod-registry_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:48:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:48:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:13 prd-ubuntu20.04-docker-8c-8g-16885 does not seem to be running inside a container 15:48:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_go-mod-registry_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:48:14 $ docker top c5b4d05b3de14129fcef0a2bcd4901905dea86c1850aa3f898b70e0560954a27 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:14 + touch /tmp/pre-build-complete [Pipeline] sh 15:48:14 + mkdir -p /var/log/sysstat [Pipeline] sh 15:48:15 + ls /var/log/sa-host 15:48:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:15 provisioning config files... 15:48:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config4395353144329315381tmp [Pipeline] { [Pipeline] echo 15:48:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:48:15 ---> create-netrc.sh [Pipeline] } 15:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:48:15 ---> python-tools-install.sh [Pipeline] echo 15:48:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:48:16 ---> sudo-logs.sh 15:48:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:48:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:48:16 ---> job-cost.sh 15:48:16 lf-activate-venv: SKIPPING 15:48:16 DEBUG: total: 0.2199999988079071 15:48:16 INFO: Retrieving Stack Cost... 15:48:16 INFO: Retrieving Pricing Info for: v3-standard-8 15:48:17 INFO: Archiving Costs [Pipeline] echo 15:48:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:48:17 ---> logs-deploy.sh 15:48:17 lf-activate-venv: SKIPPING 15:48:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/main/23 15:48:17 INFO: archiving workspace using pattern(s): 15:48:18 Archives upload complete. 15:48:18 INFO: archiving logs to Nexus