Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22cbee060b08d6bb57347bfd7022eba70589ec15 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-ssh17635997398363345910.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9314601689469085834.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5895107027069125391.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16774939612008970278.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh10232592431673292881.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.20 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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Pausing (Preparing for shutdown) Resuming build at Mon Mar 13 23:43:15 UTC 2023 after Jenkins restart Ready to run at Mon Mar 13 23:43:17 UTC 2023 Running on prd-ubuntu20.04-docker-8c-8g-0 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 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 Avoid second fetch Checking out Revision 22cbee060b08d6bb57347bfd7022eba70589ec15 (main) Commit message: "Merge pull request #120 from lenny-intel/go-1.20" > 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 22cbee060b08d6bb57347bfd7022eba70589ec15 # timeout=10 > git rev-list --no-walk ffe0a6f36df4f6863c7a9ab71fb117e8cde56672 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo ========================================================= EdgeX Global Pipelines Version Info ========================================================= [Pipeline] libraryResource [Pipeline] sh ------------------- stable info: ------------------- Commited By: Ernesto Ojeda ernesto.ojeda@intel.com Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a Message: update stable to v1.0.245 ------------------- experimental info: ------------------- Commited By: **** collab-it+edgex@linuxfoundation.org Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22cbee060b08d6bb57347bfd7022eba70589ec15 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22cbee0 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh + git rev-list -1 --merges 22cbee060b08d6bb57347bfd7022eba70589ec15~1..22cbee060b08d6bb57347bfd7022eba70589ec15 [Pipeline] echo -----------> git rev-list -1 --merges 22cbee060b08d6bb57347bfd7022eba70589ec15~1..22cbee060b08d6bb57347bfd7022eba70589ec15 22cbee060b08d6bb57347bfd7022eba70589ec15 22cbee060b08d6bb57347bfd7022eba70589ec15 [false] [Pipeline] sh + git log --format=format:%s -1 22cbee060b08d6bb57347bfd7022eba70589ec15 [Pipeline] echo ========================================================= [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh + git log --format=format:%s -1 22cbee060b08d6bb57347bfd7022eba70589ec15 [Pipeline] echo [semverPrep] GIT_COMMIT: 22cbee060b08d6bb57347bfd7022eba70589ec15, Commit Message: Merge pull request #120 from lenny-intel/go-1.20 [Pipeline] echo [semverPrep] This is not a build commit. [Pipeline] sh + grep github.com ecdsa /etc/ssh/ssh_known_hosts + grep -v github /etc/ssh/ssh_known_hosts + [ -e /tmp/ssh_known_hosts ] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= + sudo tee -a /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 0.1.4: Pulling from edgex-devops/py-git-semver b85a868b505f: Pulling fs layer e2be974225ed: Pulling fs layer 339a4e72a1f5: Pulling fs layer 988bab9f4d93: Pulling fs layer 1469e6f7b9e6: Pulling fs layer eaf3925da568: Pulling fs layer bab4dde63d76: Pulling fs layer bde34c3a00c8: Pulling fs layer b352a97aabf1: Pulling fs layer 4872d77fe225: Pulling fs layer 5851b861e8e6: Pulling fs layer 988bab9f4d93: Waiting bde34c3a00c8: Waiting b352a97aabf1: Waiting 1469e6f7b9e6: Waiting eaf3925da568: Waiting 5851b861e8e6: Waiting bab4dde63d76: Waiting e2be974225ed: Verifying Checksum e2be974225ed: Download complete 988bab9f4d93: Verifying Checksum 988bab9f4d93: Download complete 1469e6f7b9e6: Verifying Checksum 1469e6f7b9e6: Download complete eaf3925da568: Verifying Checksum eaf3925da568: Download complete 339a4e72a1f5: Verifying Checksum 339a4e72a1f5: Download complete bde34c3a00c8: Verifying Checksum bde34c3a00c8: Download complete b352a97aabf1: Verifying Checksum b352a97aabf1: Download complete 4872d77fe225: Verifying Checksum 4872d77fe225: Download complete 5851b861e8e6: Verifying Checksum 5851b861e8e6: Download complete b85a868b505f: Verifying Checksum b85a868b505f: Download complete bab4dde63d76: Verifying Checksum bab4dde63d76: Download complete b85a868b505f: Pull complete e2be974225ed: Pull complete 339a4e72a1f5: Pull complete 988bab9f4d93: Pull complete 1469e6f7b9e6: Pull complete eaf3925da568: Pull complete bab4dde63d76: Pull complete bde34c3a00c8: Pull complete b352a97aabf1: Pull complete 4872d77fe225: Pull complete 5851b861e8e6: Pull complete Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat $ docker top 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 -eo pid,comm 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). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 ssh-agent SSH_AUTH_SOCK=/tmp/ssh-ElQ6DatPPDhA/agent.32 SSH_AGENT_PID=38 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_5408070478240932182.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_5408070478240932182.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git tag --points-at HEAD [Pipeline] } $ docker exec --env ******** --env ******** 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 38 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 ssh-agent SSH_AUTH_SOCK=/tmp/ssh-Ycq5JKHx6ehM/agent.70 SSH_AGENT_PID=76 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_2493105186932826764.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_2493105186932826764.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver init 2023-03-13 23:45:44,942 [run_init] DEBUG init version:0.0.0 force:False 2023-03-13 23:45:44,943 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_go-mod-registry_main/.semver 2023-03-13 23:45:44,943 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/dgexfoundry_go-mod-registry_main/.semver 2023-03-13 23:45:44,944 [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) 2023-03-13 23:45:45,699 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_go-mod-registry_main/.git/info/exclude 2023-03-13 23:45:45,699 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:False 2023-03-13 23:45:45,700 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 2023-03-13 23:45:45,700 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 3.0.0-dev.6 [Pipeline] } $ docker exec --env ******** --env ******** 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 76 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 $ docker rm -f --volumes 44608367444b972eb2ac05d11b166e5425546afbf28e62149698b4ca9278a850 [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash Stashed 1 file(s) [Pipeline] echo [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 63b65145d645: Pulling fs layer a2d21d5440eb: Pulling fs layer 935e6c44a52c: Pulling fs layer 94cc34f8dd06: Pulling fs layer 30dea6a524f1: Pulling fs layer a2aff8979fd8: Pulling fs layer 6808be2612f2: Pulling fs layer f25807f1079a: Pulling fs layer 30dea6a524f1: Waiting a2aff8979fd8: Waiting 6808be2612f2: Waiting f25807f1079a: Waiting a2d21d5440eb: Download complete 94cc34f8dd06: Download complete 30dea6a524f1: Verifying Checksum 30dea6a524f1: Download complete 63b65145d645: Verifying Checksum 63b65145d645: Download complete a2aff8979fd8: Verifying Checksum a2aff8979fd8: Download complete 63b65145d645: Pull complete a2d21d5440eb: Pull complete 935e6c44a52c: Verifying Checksum 935e6c44a52c: Download complete f25807f1079a: Download complete 6808be2612f2: Verifying Checksum 6808be2612f2: Download complete 935e6c44a52c: Pull complete 94cc34f8dd06: Pull complete 30dea6a524f1: Pull complete a2aff8979fd8: Pull complete 6808be2612f2: Pull complete f25807f1079a: Pull complete Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . ci-base-image-x86_64 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** ci-base-image-x86_64 cat $ docker top 6bbde6f290b50202e3ad33795b5b581b90deaf2e91112b5f6f8780e81863c099 -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.20.2 linux/amd64 [Pipeline] } $ docker stop --time=1 6bbde6f290b50202e3ad33795b5b581b90deaf2e91112b5f6f8780e81863c099 $ docker rm -f --volumes 6bbde6f290b50202e3ad33795b5b581b90deaf2e91112b5f6f8780e81863c099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . ci-base-image-x86_64 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat $ docker top 78ea7d339f124d1b396673c1a57c7377f8f5844a19194c75281adc4b959a99df -eo pid,comm [Pipeline] { [Pipeline] sh + git config --global --add safe.directory /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] fileExists [Pipeline] sh + make test CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... go: downloading github.com/stretchr/testify v1.8.2 go: downloading github.com/hashicorp/consul/api v1.19.1 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/stretchr/objx v0.5.0 go: downloading github.com/mitchellh/mapstructure v1.4.1 go: downloading github.com/hashicorp/go-hclog v0.14.1 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 go: downloading github.com/hashicorp/serf v0.10.1 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 Still waiting to schedule task ‘prd-ubuntu20.04-docker-arm64-4c-16g-9982’ is offline go: downloading github.com/mattn/go-isatty v0.0.12 go: downloading github.com/fatih/color v1.9.0 go: downloading golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 go: downloading github.com/mattn/go-colorable v0.1.6 go: downloading github.com/armon/go-metrics v0.3.10 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 go: downloading github.com/hashicorp/golang-lru v0.5.4 ? github.com/edgexfoundry/go-mod-registry/v3/pkg/types [no test files] ? github.com/edgexfoundry/go-mod-registry/v3/registry/mocks [no test files] ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/consul 2.034s coverage: 89.4% of statements ok github.com/edgexfoundry/go-mod-registry/v3/registry 0.006s coverage: 85.7% of statements CGO_ENABLED=0 GO111MODULE=on go vet ./... gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } $ docker stop --time=1 78ea7d339f124d1b396673c1a57c7377f8f5844a19194c75281adc4b959a99df $ docker rm -f --volumes 78ea7d339f124d1b396673c1a57c7377f8f5844a19194c75281adc4b959a99df [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] stash 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 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest latest: Pulling from edgex-lftools-log-publisher 5eb5b503b376: Pulling fs layer 5c69ac0246d0: Pulling fs layer ec43610c2a17: Pulling fs layer 3a2ae6a8a46f: Pulling fs layer 33b1e0a273af: Pulling fs layer 5d3b04190fa2: Pulling fs layer 2f39f015ded8: Pulling fs layer 33b1e0a273af: Waiting 5d3b04190fa2: Waiting 5c69ac0246d0: Verifying Checksum 5c69ac0246d0: Download complete 3a2ae6a8a46f: Download complete 33b1e0a273af: Download complete 5d3b04190fa2: Verifying Checksum 5d3b04190fa2: Download complete ec43610c2a17: Verifying Checksum ec43610c2a17: Download complete 5eb5b503b376: Verifying Checksum 5eb5b503b376: Download complete 2f39f015ded8: Download complete 5eb5b503b376: Pull complete 5c69ac0246d0: Pull complete ec43610c2a17: Pull complete 3a2ae6a8a46f: Pull complete 33b1e0a273af: Pull complete 5d3b04190fa2: Pull complete 2f39f015ded8: Pull complete Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top 351a15264f3b0e3ca7b20d2b708a2c82f6a5d9ec269c84990a26024c9d84eea0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [Pipeline] sh + cat /w/workspace/dgexfoundry_go-mod-registry_main/archives/cost.csv + cut -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] Resource [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh + echo total: 0.2199999988079071 [Pipeline] stash Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] [Pipeline] // lock [Pipeline] } $ docker stop --time=1 351a15264f3b0e3ca7b20d2b708a2c82f6a5d9ec269c84990a26024c9d84eea0 $ docker rm -f --volumes 351a15264f3b0e3ca7b20d2b708a2c82f6a5d9ec269c84990a26024c9d84eea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } Running on prd-ubuntu20.04-docker-arm64-4c-16g-2 in /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] { [Pipeline] ws Running in /w/workspace/go-mod-registry/36 [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/go-mod-registry/36 # 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 Avoid second fetch Checking out Revision 22cbee060b08d6bb57347bfd7022eba70589ec15 (main) Commit message: "Merge pull request #120 from lenny-intel/go-1.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 22cbee060b08d6bb57347bfd7022eba70589ec15 # timeout=10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json + sudo tee /etc/docker/daemon.new { "registry-mirrors": [ "https://nexus3.edgexfoundry.org:10001" ], "bip": "10.250.0.254/24", "hosts": [ "tcp://0.0.0.0:5555", "unix:///var/run/docker.sock" ], "mtu": 1458, "selinux-enabled": true, "seccomp-profile": "/etc/docker/seccomp.json" } [Pipeline] sh + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh + sudo service docker restart [Pipeline] unstash [Pipeline] echo [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 af6eaf76a39c: Pulling fs layer 55522c791124: Pulling fs layer ce5c4a1c91eb: Pulling fs layer 169dfbe0d373: Pulling fs layer e1ff8fa3b103: Pulling fs layer 52ebb69f0ebf: Pulling fs layer 5abe8eddf0d5: Pulling fs layer e1ff8fa3b103: Waiting 52ebb69f0ebf: Waiting 169dfbe0d373: Waiting 5abe8eddf0d5: Waiting 55522c791124: Verifying Checksum 55522c791124: Download complete 169dfbe0d373: Verifying Checksum 169dfbe0d373: Download complete e1ff8fa3b103: Download complete af6eaf76a39c: Verifying Checksum af6eaf76a39c: Download complete af6eaf76a39c: Pull complete 5abe8eddf0d5: Verifying Checksum 5abe8eddf0d5: Download complete 55522c791124: Pull complete ce5c4a1c91eb: Verifying Checksum ce5c4a1c91eb: Download complete 52ebb69f0ebf: Verifying Checksum 52ebb69f0ebf: Download complete ce5c4a1c91eb: Pull complete 169dfbe0d373: Pull complete e1ff8fa3b103: Pull complete 52ebb69f0ebf: Pull complete 5abe8eddf0d5: Pull complete Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-arm64-4c-16g-2 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/36 -v /w/workspace/go-mod-registry/36:/w/workspace/go-mod-registry/36:rw,z -v /w/workspace/go-mod-registry/36@tmp:/w/workspace/go-mod-registry/36@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 $ docker top 31865e2a09eb59e4528cca7c5e7e0e411be89544dea36cf5bb73ba9ce2a01976 -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.20.2 linux/arm64 [Pipeline] } $ docker stop --time=1 31865e2a09eb59e4528cca7c5e7e0e411be89544dea36cf5bb73ba9ce2a01976 $ docker rm -f --volumes 31865e2a09eb59e4528cca7c5e7e0e411be89544dea36cf5bb73ba9ce2a01976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-arm64-4c-16g-2 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-registry/36 -v /w/workspace/go-mod-registry/36:/w/workspace/go-mod-registry/36:rw,z -v /w/workspace/go-mod-registry/36@tmp:/w/workspace/go-mod-registry/36@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 $ docker top 4a87e1d3a0fd090b216e00a1e56c80a9218e0115fa907e553c19ace76b3ecc02 -eo pid,comm [Pipeline] { [Pipeline] sh + git config --global --add safe.directory /w/workspace/go-mod-registry/36 [Pipeline] fileExists [Pipeline] sh + make test CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... go: downloading github.com/stretchr/testify v1.8.2 go: downloading github.com/hashicorp/consul/api v1.19.1 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/stretchr/objx v0.5.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 go: downloading github.com/hashicorp/go-hclog v0.14.1 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 go: downloading github.com/hashicorp/serf v0.10.1 go: downloading github.com/mitchellh/mapstructure v1.4.1 go: downloading github.com/fatih/color v1.9.0 go: downloading github.com/mattn/go-isatty v0.0.12 go: downloading github.com/mattn/go-colorable v0.1.6 go: downloading golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 go: downloading github.com/armon/go-metrics v0.3.10 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 go: downloading github.com/hashicorp/golang-lru v0.5.4 ? github.com/edgexfoundry/go-mod-registry/v3/pkg/types [no test files] ? github.com/edgexfoundry/go-mod-registry/v3/registry/mocks [no test files] ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/consul 2.150s coverage: 89.4% of statements ok github.com/edgexfoundry/go-mod-registry/v3/registry 0.027s coverage: 85.7% of statements WARNING: Linting skipped (not on x86_64 or linter not installed) CGO_ENABLED=0 GO111MODULE=on go vet ./... gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } $ docker stop --time=1 4a87e1d3a0fd090b216e00a1e56c80a9218e0115fa907e553c19ace76b3ecc02 $ docker rm -f --volumes 4a87e1d3a0fd090b216e00a1e56c80a9218e0115fa907e553c19ace76b3ecc02 [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] stash Warning: overwriting stash ‘coverage-report’ 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 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 arm64: Pulling from edgex-lftools-log-publisher 8998bd30e6a1: Pulling fs layer 04944245beec: Pulling fs layer 699f458cf7ca: Pulling fs layer 765212b225bb: Pulling fs layer f23df028b6ca: Pulling fs layer d65c8cfc05b1: Pulling fs layer 2437ff75d9bd: Pulling fs layer d65c8cfc05b1: Waiting 765212b225bb: Waiting f23df028b6ca: Waiting 2437ff75d9bd: Waiting 04944245beec: Verifying Checksum 04944245beec: Download complete 765212b225bb: Verifying Checksum 765212b225bb: Download complete f23df028b6ca: Verifying Checksum f23df028b6ca: Download complete d65c8cfc05b1: Verifying Checksum d65c8cfc05b1: Download complete 699f458cf7ca: Verifying Checksum 699f458cf7ca: Download complete 8998bd30e6a1: Verifying Checksum 8998bd30e6a1: Download complete 2437ff75d9bd: Verifying Checksum 2437ff75d9bd: Download complete 8998bd30e6a1: Pull complete 04944245beec: Pull complete 699f458cf7ca: Pull complete 765212b225bb: Pull complete f23df028b6ca: Pull complete d65c8cfc05b1: Pull complete 2437ff75d9bd: Pull complete Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-arm64-4c-16g-2 does not seem to be running inside a container $ 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/36 -v /w/workspace/go-mod-registry/36:/w/workspace/go-mod-registry/36:rw,z -v /w/workspace/go-mod-registry/36@tmp:/w/workspace/go-mod-registry/36@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 $ docker top 0593ceb22a608b29a72e6ed1811daa2526b45e637322fd5619541db14677f280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [Pipeline] sh + + cutcat -d, /w/workspace/go-mod-registry/36/archives/cost.csv -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] Resource [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh /w/workspace/go-mod-registry/36@tmp/durable-317876a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh + echo total: 0.10999999940395355 [Pipeline] stash Warning: overwriting stash ‘stack-cost’ Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-36-stack-cost] [Pipeline] // lock [Pipeline] } $ docker stop --time=1 0593ceb22a608b29a72e6ed1811daa2526b45e637322fd5619541db14677f280 $ docker rm -f --volumes 0593ceb22a608b29a72e6ed1811daa2526b45e637322fd5619541db14677f280 [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 provisioning config files... copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config8929226880303580996tmp [Pipeline] { [Pipeline] sh + set +x + curl -s https://codecov.io/bash + bash -s -- _____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _` |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \__,_|\___|\___\___/ \_/ Bash-1.0.6 ==> git version 2.25.1 found ==> 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 Release-Date: 2020-01-08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets ==> Jenkins CI detected. current dir:  /w/workspace/dgexfoundry_go-mod-registry_main project root: . --> token set from env Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml ==> Running gcov in . (disable via -X gcov) ==> Python coveragepy not found ==> Searching for coverage reports in: + . -> Found 1 reports ==> Detecting git/mercurial file structure ==> Reading reports + ./coverage.out bytes=12273 ==> Appending adjustments https://docs.codecov.io/docs/fixing-reports + Found adjustments ==> Gzipping contents 4.0K /tmp/codecov.76nJAy.gz ==> Uploading reports url: https://codecov.io query: branch=main&commit=22cbee060b08d6bb57347bfd7022eba70589ec15&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= -> Pinging Codecov 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=22cbee060b08d6bb57347bfd7022eba70589ec15&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= -> Uploading to https://storage.googleapis.com/codecov/v4/raw/2023-03-13/05B643FFA8DEACB6C25F95B2D4D12284/22cbee060b08d6bb57347bfd7022eba70589ec15/a387e278-c019-4976-b353-723ff54bef0e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T235049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f96b69f1933af2bfc0d6c4fa163643a3a227dd45cd9d2783c7c394ba779b87b % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2271 0 0 100 2271 0 10004 --:--:-- --:--:-- --:--:-- 10048 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-registry/commit/22cbee060b08d6bb57347bfd7022eba70589ec15 [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 1.410.4: Pulling from edgex-devops/edgex-snyk-go df9b9388f04a: Pulling fs layer 52dc419b0ee2: Pulling fs layer 25bc292e5bac: Pulling fs layer 114826534d7a: Pulling fs layer 4657fd5d0bcf: Pulling fs layer 6ad1cebc031e: Pulling fs layer 8a3aa393b2d8: Pulling fs layer 114826534d7a: Waiting 8a3aa393b2d8: Waiting 4657fd5d0bcf: Waiting 6ad1cebc031e: Waiting 25bc292e5bac: Verifying Checksum 25bc292e5bac: Download complete 52dc419b0ee2: Download complete 4657fd5d0bcf: Verifying Checksum 4657fd5d0bcf: Download complete df9b9388f04a: Verifying Checksum df9b9388f04a: Download complete df9b9388f04a: Pull complete 6ad1cebc031e: Verifying Checksum 6ad1cebc031e: Download complete 52dc419b0ee2: Pull complete 25bc292e5bac: Pull complete 114826534d7a: Verifying Checksum 114826534d7a: Download complete 8a3aa393b2d8: Verifying Checksum 8a3aa393b2d8: Download complete 114826534d7a: Pull complete 4657fd5d0bcf: Pull complete 6ad1cebc031e: Pull complete 8a3aa393b2d8: Pull complete Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat $ docker top fc03fa9fadc9541844bacbcc9b7fbe7fba34ea928ea867ac2e2b34b874474078 -eo pid,comm [Pipeline] { [Pipeline] echo [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/go-mod-registry:main' [Pipeline] sh + set -o pipefail + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/go-mod-registry:main' Monitoring /w/workspace/dgexfoundry_go-mod-registry_main (github.com/edgexfoundry/go-mod-registry/v3)... Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/248b3a82-0f57-4d08-abdb-bcc7056f415b/history/53d0c39e-f721-454c-afa3-b69fc8576d52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. A medium severity vulnerability was found in the Snyk CLI versions you are using. We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. More details here: https://snyk.co/ue1NS You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } $ docker stop --time=1 fc03fa9fadc9541844bacbcc9b7fbe7fba34ea928ea867ac2e2b34b874474078 $ docker rm -f --volumes fc03fa9fadc9541844bacbcc9b7fbe7fba34ea928ea867ac2e2b34b874474078 [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 + git log --format=format:%s -1 22cbee060b08d6bb57347bfd7022eba70589ec15 [Pipeline] sh + grep github.com ecdsa /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat $ docker top 89a6b4c5b601d1ef5b31115bf13e0dd9ca5d05f493fd39db9a4e4a9b2ae09ad3 -eo pid,comm 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). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 89a6b4c5b601d1ef5b31115bf13e0dd9ca5d05f493fd39db9a4e4a9b2ae09ad3 ssh-agent SSH_AUTH_SOCK=/tmp/ssh-ilXJbECvYU4S/agent.32 SSH_AGENT_PID=38 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_13074098028112729659.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_13074098028112729659.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver tag 2023-03-13 23:51:09,021 [run_tag] DEBUG tag force:False 2023-03-13 23:51:09,021 [check_head_tag] DEBUG check head tag 2023-03-13 23:51:09,022 [execute] INFO git cat-file --batch-check 2023-03-13 23:51:09,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) 2023-03-13 23:51:09,026 [execute] INFO git cat-file --batch 2023-03-13 23:51:09,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) 2023-03-13 23:51:09,045 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 2023-03-13 23:51:09,045 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 2023-03-13 23:51:09,045 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) 2023-03-13 23:51:09,049 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 3.0.0-dev.6 [Pipeline] } $ docker exec --env ******** --env ******** 89a6b4c5b601d1ef5b31115bf13e0dd9ca5d05f493fd39db9a4e4a9b2ae09ad3 ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 38 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 89a6b4c5b601d1ef5b31115bf13e0dd9ca5d05f493fd39db9a4e4a9b2ae09ad3 $ docker rm -f --volumes 89a6b4c5b601d1ef5b31115bf13e0dd9ca5d05f493fd39db9a4e4a9b2ae09ad3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 0.23.1-centos7: Pulling from edgex-lftools ab5ef0e58194: Pulling fs layer 9712f1f96733: Pulling fs layer 63f879dbbcfc: Pulling fs layer 0d9ebad4ef96: Pulling fs layer e9a5061849ea: Pulling fs layer d747dcd14b5f: Pulling fs layer 2de7ff778b66: Pulling fs layer 0d9ebad4ef96: Waiting e9a5061849ea: Waiting d747dcd14b5f: Waiting 2de7ff778b66: Waiting 9712f1f96733: Verifying Checksum 9712f1f96733: Download complete 63f879dbbcfc: Verifying Checksum 63f879dbbcfc: Download complete e9a5061849ea: Verifying Checksum e9a5061849ea: Download complete d747dcd14b5f: Verifying Checksum d747dcd14b5f: Download complete 0d9ebad4ef96: Verifying Checksum 0d9ebad4ef96: Download complete ab5ef0e58194: Verifying Checksum ab5ef0e58194: Download complete 2de7ff778b66: Verifying Checksum 2de7ff778b66: Download complete ab5ef0e58194: Pull complete 9712f1f96733: Pull complete 63f879dbbcfc: Pull complete 0d9ebad4ef96: Pull complete e9a5061849ea: Pull complete d747dcd14b5f: Pull complete 2de7ff778b66: Pull complete Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat $ docker top 4e0befe62aec66c1da7cdb0ac56dff3282281abe0a317f96b39a8010a07a50a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config8638395339280790084tmp copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config3566129076690307480tmp copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config10401881164182347096tmp [Pipeline] { [Pipeline] echo Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh ---> sigul-configuration.sh gpg: directory `/root/.gnupg' created gpg: new configuration file `/root/.gnupg/gpg.conf' created gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run gpg: keyring `/root/.gnupg/secring.gpg' created gpg: keyring `/root/.gnupg/pubring.gpg' created gpg: CAST5 encrypted data gpg: encrypted with 1 passphrase gpg: WARNING: message was not integrity protected [Pipeline] sh + mkdir /home/jenkins + mkdir /home/jenkins/sigul [Pipeline] sh + 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 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh ---> sigul-install.sh Sigul already installed; skipping installation. [Pipeline] sh + git tag --list v0.0.0 v0.1.0 v0.1.1 v0.1.10 v0.1.11 v0.1.12 v0.1.13 v0.1.14 v0.1.15 v0.1.16 v0.1.17 v0.1.18 v0.1.19 v0.1.2 v0.1.20 v0.1.21 v0.1.22 v0.1.23 v0.1.24 v0.1.25 v0.1.26 v0.1.27 v0.1.3 v0.1.4 v0.1.5 v0.1.6 v0.1.7 v0.1.8 v0.1.9 v2.0.0 v2.1.0 v2.2.0 v2.2.1-dev.1 v2.2.1-dev.2 v2.2.1-dev.3 v2.2.1-dev.4 v2.2.1-dev.5 v2.2.1-dev.6 v2.2.1-dev.7 v2.2.1-dev.8 v2.2.1-dev.9 v2.3.0 v2.3.0-dev.10 v2.3.0-dev.11 v2.3.0-dev.12 v2.3.0-dev.9 v2.3.1-dev.1 v3.0.0-dev.1 v3.0.0-dev.2 v3.0.0-dev.3 v3.0.0-dev.4 v3.0.0-dev.5 v3.0.0-dev.6 [Pipeline] sh + lftools sign git-tag v3.0.0-dev.6 Signing Git tag with Sigul... Signing v3.0.0-dev.6 [Pipeline] echo Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh ---> sigul-configuration-cleanup.sh [Pipeline] } Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } $ docker stop --time=1 4e0befe62aec66c1da7cdb0ac56dff3282281abe0a317f96b39a8010a07a50a5 $ docker rm -f --volumes 4e0befe62aec66c1da7cdb0ac56dff3282281abe0a317f96b39a8010a07a50a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh + grep github.com ecdsa /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat $ docker top 7f1b22660b3077a031a28a82b0879c13bab873912aaddd844035f84f2100e82c -eo pid,comm 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). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 7f1b22660b3077a031a28a82b0879c13bab873912aaddd844035f84f2100e82c ssh-agent SSH_AUTH_SOCK=/tmp/ssh-NdfSjhXtBlZy/agent.34 SSH_AGENT_PID=40 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_852909835463252735.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_852909835463252735.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver bump pre 2023-03-13 23:51:30,388 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 2023-03-13 23:51:30,388 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 2023-03-13 23:51:30,388 [bump_version] DEBUG bumped version:3.0.0-dev.7 2023-03-13 23:51:30,388 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:True 2023-03-13 23:51:30,388 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 2023-03-13 23:51:30,388 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 2023-03-13 23:51:30,390 [execute] INFO git cat-file --batch-check 2023-03-13 23:51:30,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 2023-03-13 23:51:30,396 [execute] INFO git cat-file --batch 2023-03-13 23:51:30,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 2023-03-13 23:51:30,400 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 3.0.0-dev.7 [Pipeline] } $ docker exec --env ******** --env ******** 7f1b22660b3077a031a28a82b0879c13bab873912aaddd844035f84f2100e82c ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 40 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 7f1b22660b3077a031a28a82b0879c13bab873912aaddd844035f84f2100e82c $ docker rm -f --volumes 7f1b22660b3077a031a28a82b0879c13bab873912aaddd844035f84f2100e82c [Pipeline] // withDockerContainer [Pipeline] sh + grep github.com ecdsa /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat $ docker top b01d70bf53bf0ddaff49eec85533d74d8ee4eeb6888f2767a7df89e6f26735bb -eo pid,comm 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). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec b01d70bf53bf0ddaff49eec85533d74d8ee4eeb6888f2767a7df89e6f26735bb ssh-agent SSH_AUTH_SOCK=/tmp/ssh-x0iaICy7wamc/agent.33 SSH_AGENT_PID=40 Running ssh-add (command line suppressed) Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_7370378003616360920.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_7370378003616360920.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver push 2023-03-13 23:51:34,450 [run_push] DEBUG push 2023-03-13 23:51:34,450 [execute] INFO git cat-file --batch-check 2023-03-13 23:51:34,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 2023-03-13 23:51:34,454 [execute] INFO git rev-list a5b43930c658a45bea5242a0ce823c2f8c989b9d -- 2023-03-13 23:51:34,454 [execute] DEBUG Popen(['git', 'rev-list', 'a5b43930c658a45bea5242a0ce823c2f8c989b9d', '--'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) 2023-03-13 23:51:34,461 [execute] INFO git fetch -v origin 2023-03-13 23:51:34,462 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=True, shell=None, istream=None) 2023-03-13 23:51:34,979 [run_push] DEBUG no remote changes detected 2023-03-13 23:51:34,980 [execute] INFO git push origin semver 2023-03-13 23:51:34,980 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) 2023-03-13 23:51:35,834 [run_push] DEBUG push all version tags 2023-03-13 23:51:35,834 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 2023-03-13 23:51:35,834 [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) 2023-03-13 23:51:36,584 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 3.0.0-dev.7 [Pipeline] } $ docker exec --env ******** --env ******** b01d70bf53bf0ddaff49eec85533d74d8ee4eeb6888f2767a7df89e6f26735bb ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 40 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 b01d70bf53bf0ddaff49eec85533d74d8ee4eeb6888f2767a7df89e6f26735bb $ docker rm -f --volumes b01d70bf53bf0ddaff49eec85533d74d8ee4eeb6888f2767a7df89e6f26735bb [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 + [ -d /w/workspace/dgexfoundry_go-mod-registry_main/archives ] + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives total 16 drwxr-xr-x 3 root root 4096 Mar 13 23:46 . drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:51 .. drwxr-xr-x 2 root root 4096 Mar 13 23:46 cost -rw-r--r-- 1 root root 86 Mar 13 23:46 cost.csv + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_go-mod-registry_main/archives + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives total 16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:46 . drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:51 .. drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:46 cost -rw-r--r-- 1 jenkins jenkins 86 Mar 13 23:46 cost.csv [Pipeline] libraryResource [Pipeline] sh ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dgexfoundry_go-mod-registry_main + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' + mkdir -p /w/workspace/dgexfoundry_go-mod-registry_main/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [Pipeline] echo 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 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-0 does not seem to be running inside a container $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top ba8939a86c86fb2f34c5235725108179b9203411ff9e2e8616d73c26d8d1fa49 -eo pid,comm [Pipeline] { [Pipeline] sh + touch /tmp/pre-build-complete [Pipeline] sh + mkdir -p /var/log/sysstat [Pipeline] sh + ls /var/log/sa-host ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config4057656352640376308tmp [Pipeline] { [Pipeline] echo Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh ---> create-netrc.sh [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh ---> python-tools-install.sh [Pipeline] echo Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh ---> sudo-logs.sh Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING DEBUG: total: 0.2199999988079071 INFO: Retrieving Stack Cost... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [Pipeline] echo Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh ---> logs-deploy.sh lf-activate-venv: SKIPPING INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/main/36 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus