Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 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-ssh3580586184164864722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh13207723177759375669.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3018344878567196685.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15780746939575031101.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17255234606704006253.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63963 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 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 (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 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 # timeout=10 Commit message: "Merge pull request #97 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.1" > git rev-list --no-walk 47fbd55ea138830db6cfe0c6b1e3edabe9984f42 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:27:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:27:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:27:46 ========================================================= 22:27:46 EdgeX Global Pipelines Version Info 22:27:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:27:47 ------------------- 22:27:47 stable info: 22:27:47 ------------------- 22:27:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:27:47 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:27:47 Message: update stable to v1.0.230 22:27:48 ------------------- 22:27:48 experimental info: 22:27:48 ------------------- 22:27:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:27:48 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:27:48 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2051f5e [Pipeline] echo 22:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:27:49 + git rev-list -1 --merges 2051f5ef935029faae7d1f6226b40c63b8e5fcf9~1..2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [Pipeline] echo 22:27:49 -----------> git rev-list -1 --merges 2051f5ef935029faae7d1f6226b40c63b8e5fcf9~1..2051f5ef935029faae7d1f6226b40c63b8e5fcf9 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 22:27:49 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [false] [Pipeline] sh 22:27:49 + git log --format=format:%s -1 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [Pipeline] echo 22:27:49 ========================================================= 22:27:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:27:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:50 + git log --format=format:%s -1 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [Pipeline] echo 22:27:50 [semverPrep] GIT_COMMIT: 2051f5ef935029faae7d1f6226b40c63b8e5fcf9, Commit Message: Merge pull request #97 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.1 [Pipeline] echo 22:27:50 [semverPrep] This is not a build commit. [Pipeline] sh 22:27:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:27:50 + grep -v github /etc/ssh/ssh_known_hosts 22:27:50 + [ -e /tmp/ssh_known_hosts ] 22:27:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:27:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:27:50 + sudo tee -a /etc/ssh/ssh_known_hosts 22:27:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:27:50 22:27:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:27:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:27:51 latest: Pulling from edgex-devops/py-git-semver 22:27:51 1fe172e4850f: Pulling fs layer 22:27:51 caf521ccaac6: Pulling fs layer 22:27:51 3ead6fa29328: Pulling fs layer 22:27:51 5c2a1cbceb83: Pulling fs layer 22:27:51 a8d5f1318db7: Pulling fs layer 22:27:51 c427282e49a2: Pulling fs layer 22:27:51 1827001aaf11: Pulling fs layer 22:27:51 0714d37db230: Pulling fs layer 22:27:51 ac28cf19c067: Pulling fs layer 22:27:51 ca983d60f3e2: Pulling fs layer 22:27:51 9f894cec8388: Pulling fs layer 22:27:51 5c2a1cbceb83: Waiting 22:27:51 a8d5f1318db7: Waiting 22:27:51 c427282e49a2: Waiting 22:27:51 ac28cf19c067: Waiting 22:27:51 1827001aaf11: Waiting 22:27:51 ca983d60f3e2: Waiting 22:27:51 0714d37db230: Waiting 22:27:51 caf521ccaac6: Download complete 22:27:51 5c2a1cbceb83: Verifying Checksum 22:27:51 5c2a1cbceb83: Download complete 22:27:51 3ead6fa29328: Verifying Checksum 22:27:51 3ead6fa29328: Download complete 22:27:51 c427282e49a2: Verifying Checksum 22:27:51 c427282e49a2: Download complete 22:27:51 a8d5f1318db7: Verifying Checksum 22:27:51 a8d5f1318db7: Download complete 22:27:51 0714d37db230: Verifying Checksum 22:27:51 ac28cf19c067: Verifying Checksum 22:27:51 ac28cf19c067: Download complete 22:27:51 ca983d60f3e2: Verifying Checksum 22:27:51 ca983d60f3e2: Download complete 22:27:51 9f894cec8388: Verifying Checksum 22:27:51 9f894cec8388: Download complete 22:27:51 1fe172e4850f: Verifying Checksum 22:27:51 1fe172e4850f: Download complete 22:27:51 1827001aaf11: Verifying Checksum 22:27:51 1827001aaf11: Download complete 22:27:52 1fe172e4850f: Pull complete 22:27:52 caf521ccaac6: Pull complete 22:27:53 3ead6fa29328: Pull complete 22:27:53 5c2a1cbceb83: Pull complete 22:27:53 a8d5f1318db7: Pull complete 22:27:53 c427282e49a2: Pull complete 22:27:55 1827001aaf11: Pull complete 22:27:55 0714d37db230: Pull complete 22:27:55 ac28cf19c067: Pull complete 22:27:55 ca983d60f3e2: Pull complete 22:27:55 9f894cec8388: Pull complete 22:27:55 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:27:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:27:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:27:55 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:27:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:27:57 $ docker top 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 -eo pid,comm 22:27:57 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). 22:27:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:27:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:27:57 [ssh-agent] Looking for ssh-agent implementation... 22:27:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:27:57 $ docker exec 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 ssh-agent 22:27:57 SSH_AUTH_SOCK=/tmp/ssh-BYZTyp8zkyb7/agent.33 22:27:57 SSH_AGENT_PID=39 22:27:57 Running ssh-add (command line suppressed) 22:27:57 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_5424580137305947484.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_5424580137305947484.key) 22:27:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:27:57 + git tag --points-at HEAD [Pipeline] } 22:27:57 $ docker exec --env ******** --env ******** 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 ssh-agent -k 22:27:58 unset SSH_AUTH_SOCK; 22:27:58 unset SSH_AGENT_PID; 22:27:58 echo Agent pid 39 killed; 22:27:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:27:58 [ssh-agent] Looking for ssh-agent implementation... 22:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:27:58 $ docker exec 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 ssh-agent 22:27:58 SSH_AUTH_SOCK=/tmp/ssh-0rKCXJT9IvYp/agent.73 22:27:58 SSH_AGENT_PID=80 22:27:58 Running ssh-add (command line suppressed) 22:27:58 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_4825065374447640366.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_4825065374447640366.key) 22:27:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:27:58 + git semver init 22:27:59 2022-05-17 22:27:59,014 [run_init] DEBUG init version:0.0.0 force:False 22:27:59 2022-05-17 22:27:59,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_go-mod-registry_main/.semver 22:27:59 2022-05-17 22:27:59,015 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/dgexfoundry_go-mod-registry_main/.semver 22:27:59 2022-05-17 22:27:59,016 [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) 22:28:00 2022-05-17 22:27:59,664 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_go-mod-registry_main/.git/info/exclude 22:28:00 2022-05-17 22:27:59,665 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:False 22:28:00 2022-05-17 22:27:59,665 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:28:00 2022-05-17 22:27:59,665 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:28:00 2.2.1-dev.1 [Pipeline] } 22:28:00 $ docker exec --env ******** --env ******** 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 ssh-agent -k 22:28:00 unset SSH_AUTH_SOCK; 22:28:00 unset SSH_AGENT_PID; 22:28:00 echo Agent pid 80 killed; 22:28:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:00 + git semver [Pipeline] } 22:28:00 $ docker stop --time=1 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 22:28:02 $ docker rm -f 2fce02ae8cc193d3e84e76efe4de9689f5f4904ce4142f2696186e6cc3ceeba8 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:02 Stashed 1 file(s) [Pipeline] echo 22:28:02 [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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 22:28:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:02 ========================================================= 22:28:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:28:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:28:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:28:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:03 59bf1c3509f3: Pulling fs layer 22:28:03 666ba61612fd: Pulling fs layer 22:28:03 8ed8ca486205: Pulling fs layer 22:28:03 4fe6c5a15a65: Pulling fs layer 22:28:03 22a0e8bec74d: Pulling fs layer 22:28:03 ca2b28591e48: Pulling fs layer 22:28:03 a51346096db8: Pulling fs layer 22:28:03 daebc70d1ce1: Pulling fs layer 22:28:03 0e18a0eac166: Pulling fs layer 22:28:03 4fe6c5a15a65: Waiting 22:28:03 22a0e8bec74d: Waiting 22:28:03 daebc70d1ce1: Waiting 22:28:03 0e18a0eac166: Waiting 22:28:03 ca2b28591e48: Waiting 22:28:03 a51346096db8: Waiting 22:28:03 8ed8ca486205: Verifying Checksum 22:28:03 8ed8ca486205: Download complete 22:28:03 666ba61612fd: Download complete 22:28:03 22a0e8bec74d: Download complete 22:28:03 ca2b28591e48: Verifying Checksum 22:28:03 ca2b28591e48: Download complete 22:28:03 a51346096db8: Verifying Checksum 22:28:03 59bf1c3509f3: Download complete 22:28:03 daebc70d1ce1: Verifying Checksum 22:28:03 daebc70d1ce1: Download complete 22:28:03 59bf1c3509f3: Pull complete 22:28:03 666ba61612fd: Pull complete 22:28:03 8ed8ca486205: Pull complete 22:28:03 0e18a0eac166: Verifying Checksum 22:28:03 0e18a0eac166: Download complete 22:28:03 4fe6c5a15a65: Verifying Checksum 22:28:03 4fe6c5a15a65: Download complete 22:28:07 4fe6c5a15a65: Pull complete 22:28:07 22a0e8bec74d: Pull complete 22:28:07 ca2b28591e48: Pull complete 22:28:07 a51346096db8: Pull complete 22:28:07 daebc70d1ce1: Pull complete 22:28:10 0e18a0eac166: Pull complete 22:28:10 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:28:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:28:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 22:28:10 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 22:28:10 + docker inspect -f . ci-base-image-x86_64 22:28:10 . [Pipeline] withDockerContainer 22:28:10 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:28:10 $ 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 ******** ci-base-image-x86_64 cat 22:28:12 $ docker top 4b10b3242ae32ad8f9ba0d7fd819365d67b414fd2bba05b1db127700f51fb034 -eo pid,comm [Pipeline] { [Pipeline] sh 22:28:12 + go version 22:28:12 go version go1.17.6 linux/amd64 [Pipeline] } 22:28:12 $ docker stop --time=1 4b10b3242ae32ad8f9ba0d7fd819365d67b414fd2bba05b1db127700f51fb034 22:28:13 $ docker rm -f 4b10b3242ae32ad8f9ba0d7fd819365d67b414fd2bba05b1db127700f51fb034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:28:14 + docker inspect -f . ci-base-image-x86_64 22:28:14 . [Pipeline] withDockerContainer 22:28:14 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:28:14 $ 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 ******** ci-base-image-x86_64 cat 22:28:14 $ docker top f9729ef363d7dd01c3882174f544e3d094b29a82818fb99f95baa0faa7e0cf8d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:28:15 + make test 22:28:15 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:28:15 go: downloading github.com/stretchr/testify v1.7.1 22:28:15 go: downloading github.com/hashicorp/consul/api v1.9.1 22:28:15 go: downloading github.com/davecgh/go-spew v1.1.1 22:28:15 go: downloading github.com/pmezard/go-difflib v1.0.0 22:28:15 go: downloading github.com/stretchr/objx v0.1.0 22:28:15 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:28:15 go: downloading github.com/hashicorp/serf v0.9.5 22:28:15 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:28:15 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:28:15 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:28:15 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:28:15 go: downloading github.com/mattn/go-isatty v0.0.12 22:28:15 go: downloading github.com/fatih/color v1.9.0 22:28:15 go: downloading github.com/mattn/go-colorable v0.1.6 22:28:15 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 22:28:15 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:28:15 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:28:15 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:28:17 Still waiting to schedule task 22:28:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63966’ is offline 22:28:22 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.034s coverage: 89.4% of statements 22:28:22 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 22:28:22 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.005s coverage: 85.7% of statements 22:28:22 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 22:28:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:28:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:28:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 22:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:28:29 $ docker stop --time=1 f9729ef363d7dd01c3882174f544e3d094b29a82818fb99f95baa0faa7e0cf8d 22:28:31 $ docker rm -f f9729ef363d7dd01c3882174f544e3d094b29a82818fb99f95baa0faa7e0cf8d [Pipeline] // withDockerContainer [Pipeline] sh 22:28:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:28:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:32 22:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:32 latest: Pulling from edgex-lftools-log-publisher 22:28:32 5eb5b503b376: Pulling fs layer 22:28:32 5c69ac0246d0: Pulling fs layer 22:28:32 ec43610c2a17: Pulling fs layer 22:28:32 3a2ae6a8a46f: Pulling fs layer 22:28:32 33b1e0a273af: Pulling fs layer 22:28:32 5d3b04190fa2: Pulling fs layer 22:28:32 2f39f015ded8: Pulling fs layer 22:28:32 5d3b04190fa2: Waiting 22:28:32 33b1e0a273af: Waiting 22:28:32 2f39f015ded8: Waiting 22:28:32 3a2ae6a8a46f: Waiting 22:28:32 5c69ac0246d0: Verifying Checksum 22:28:32 5c69ac0246d0: Download complete 22:28:32 3a2ae6a8a46f: Verifying Checksum 22:28:32 3a2ae6a8a46f: Download complete 22:28:32 33b1e0a273af: Verifying Checksum 22:28:32 33b1e0a273af: Download complete 22:28:32 5d3b04190fa2: Verifying Checksum 22:28:32 5d3b04190fa2: Download complete 22:28:32 ec43610c2a17: Verifying Checksum 22:28:32 ec43610c2a17: Download complete 22:28:32 5eb5b503b376: Verifying Checksum 22:28:32 5eb5b503b376: Download complete 22:28:33 2f39f015ded8: Download complete 22:28:33 5eb5b503b376: Pull complete 22:28:33 5c69ac0246d0: Pull complete 22:28:34 ec43610c2a17: Pull complete 22:28:34 3a2ae6a8a46f: Pull complete 22:28:34 33b1e0a273af: Pull complete 22:28:34 5d3b04190fa2: Pull complete 22:28:38 2f39f015ded8: Pull complete 22:28:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:28:39 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:28:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:28:40 $ docker top 0aa08b8367805465bbbb78faf3334031eec44d0f62404fc325710b779507eea7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:40 ---> job-cost.sh 22:28:40 lf-activate-venv: SKIPPING 22:28:40 INFO: No Stack... 22:28:40 INFO: Retrieving Pricing Info for: v3-standard-8 22:28:41 INFO: Archiving Costs [Pipeline] sh 22:28:41 + cat /w/workspace/dgexfoundry_go-mod-registry_main/archives/cost.csv 22:28:41 + cut -d, -f6 [Pipeline] lock 22:28:41 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] 22:28:41 Resource [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] did not exist. Created. 22:28:41 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:42 + echo total: 0.2199999988079071 [Pipeline] stash 22:28:42 Stashed 1 file(s) [Pipeline] } 22:28:42 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:42 $ docker stop --time=1 0aa08b8367805465bbbb78faf3334031eec44d0f62404fc325710b779507eea7 22:28:43 $ docker rm -f 0aa08b8367805465bbbb78faf3334031eec44d0f62404fc325710b779507eea7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:30:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63969 in /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] { [Pipeline] ws 22:30:59 Running in /w/workspace/go-mod-registry/17 [Pipeline] { [Pipeline] checkout 22:31:00 Selected Git installation does not exist. Using Default 22:31:00 The recommended git tool is: NONE 22:31:08 using credential edgex-jenkins-ssh 22:31:08 Cloning the remote Git repository 22:31:08 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 22:31:08 > git init /w/workspace/go-mod-registry/17 # timeout=10 22:31:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:31:08 > git --version # timeout=10 22:31:09 > git --version # 'git version 2.25.1' 22:31:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:10 Avoid second fetch 22:31:10 Checking out Revision 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 (main) 22:31:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:31:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:10 > git config core.sparsecheckout # timeout=10 22:31:10 > git checkout -f 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 # timeout=10 22:31:14 Commit message: "Merge pull request #97 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:31:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:15 Dload Upload Total Spent Left Speed 22:31:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 22:31:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:31:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:31:16 + sudo tee /etc/docker/daemon.new 22:31:16 { 22:31:16 "registry-mirrors": [ 22:31:16 "https://nexus3.edgexfoundry.org:10001" 22:31:16 ], 22:31:16 "bip": "10.250.0.254/24", 22:31:16 "hosts": [ 22:31:16 "tcp://0.0.0.0:5555", 22:31:16 "unix:///var/run/docker.sock" 22:31:16 ], 22:31:16 "mtu": 1458, 22:31:16 "selinux-enabled": true, 22:31:16 "seccomp-profile": "/etc/docker/seccomp.json" 22:31:16 } [Pipeline] sh 22:31:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:31:17 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:36 ========================================================= 22:31:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:31:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:31:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:31:37 9b3977197b4f: Pulling fs layer 22:31:37 1a89e8eeedd5: Pulling fs layer 22:31:37 94645a83ff95: Pulling fs layer 22:31:37 3f3a8bcf1eab: Pulling fs layer 22:31:37 0c92f367c5e7: Pulling fs layer 22:31:37 3096ccb668a1: Pulling fs layer 22:31:37 e8cf19c19ddd: Pulling fs layer 22:31:37 a4caa8a26152: Pulling fs layer 22:31:37 3096ccb668a1: Waiting 22:31:37 3f3a8bcf1eab: Waiting 22:31:37 0c92f367c5e7: Waiting 22:31:37 e8cf19c19ddd: Waiting 22:31:37 a4caa8a26152: Waiting 22:31:37 94645a83ff95: Verifying Checksum 22:31:37 94645a83ff95: Download complete 22:31:37 1a89e8eeedd5: Download complete 22:31:37 0c92f367c5e7: Download complete 22:31:37 3096ccb668a1: Verifying Checksum 22:31:37 3096ccb668a1: Download complete 22:31:37 9b3977197b4f: Verifying Checksum 22:31:37 9b3977197b4f: Download complete 22:31:37 e8cf19c19ddd: Verifying Checksum 22:31:37 e8cf19c19ddd: Download complete 22:31:38 9b3977197b4f: Pull complete 22:31:39 1a89e8eeedd5: Pull complete 22:31:39 94645a83ff95: Pull complete 22:31:39 a4caa8a26152: Verifying Checksum 22:31:39 a4caa8a26152: Download complete 22:31:40 3f3a8bcf1eab: Verifying Checksum 22:31:40 3f3a8bcf1eab: Download complete 22:31:52 3f3a8bcf1eab: Pull complete 22:31:52 0c92f367c5e7: Pull complete 22:31:52 3096ccb668a1: Pull complete 22:31:52 e8cf19c19ddd: Pull complete 22:31:58 a4caa8a26152: Pull complete 22:31:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:31:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 22:31:58 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 22:31:58 + docker inspect -f . ci-base-image-arm64 22:31:58 . [Pipeline] withDockerContainer 22:31:59 prd-ubuntu20.04-docker-arm64-4c-16g-63969 does not seem to be running inside a container 22:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:32:02 $ docker top 29cdfc521c4c5363283e167220db9b49d1001634ebfe3b527771ea3b4cdc8b34 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:03 + go version 22:32:03 go version go1.17.6 linux/arm64 [Pipeline] } 22:32:03 $ docker stop --time=1 29cdfc521c4c5363283e167220db9b49d1001634ebfe3b527771ea3b4cdc8b34 22:32:05 $ docker rm -f 29cdfc521c4c5363283e167220db9b49d1001634ebfe3b527771ea3b4cdc8b34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:32:05 + docker inspect -f . ci-base-image-arm64 22:32:05 . [Pipeline] withDockerContainer 22:32:06 prd-ubuntu20.04-docker-arm64-4c-16g-63969 does not seem to be running inside a container 22:32:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:32:07 $ docker top 369403a4e465e99b4445b0e347580f9d1d0164f33b5fd139541e35cd267c256a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:32:08 + make test 22:32:08 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:32:08 go: downloading github.com/stretchr/testify v1.7.1 22:32:08 go: downloading github.com/hashicorp/consul/api v1.9.1 22:32:08 go: downloading github.com/davecgh/go-spew v1.1.1 22:32:08 go: downloading github.com/pmezard/go-difflib v1.0.0 22:32:08 go: downloading github.com/stretchr/objx v0.1.0 22:32:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:32:09 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:32:09 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:32:09 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:32:09 go: downloading github.com/hashicorp/serf v0.9.5 22:32:09 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:32:09 go: downloading github.com/mattn/go-isatty v0.0.12 22:32:09 go: downloading github.com/fatih/color v1.9.0 22:32:09 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 22:32:09 go: downloading github.com/mattn/go-colorable v0.1.6 22:32:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:32:09 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:32:09 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:32:48 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.125s coverage: 89.4% of statements 22:32:48 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 22:32:48 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.021s coverage: 85.7% of statements 22:32:48 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 22:32:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:32:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:33:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:33:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 22:33:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:33:04 $ docker stop --time=1 369403a4e465e99b4445b0e347580f9d1d0164f33b5fd139541e35cd267c256a 22:33:06 $ docker rm -f 369403a4e465e99b4445b0e347580f9d1d0164f33b5fd139541e35cd267c256a [Pipeline] // withDockerContainer [Pipeline] sh 22:33:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:33:07 Warning: overwriting stash ‘coverage-report’ 22:33:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:08 22:33:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:33:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:08 arm64: Pulling from edgex-lftools-log-publisher 22:33:08 8998bd30e6a1: Pulling fs layer 22:33:08 04944245beec: Pulling fs layer 22:33:08 699f458cf7ca: Pulling fs layer 22:33:08 765212b225bb: Pulling fs layer 22:33:08 f23df028b6ca: Pulling fs layer 22:33:08 d65c8cfc05b1: Pulling fs layer 22:33:08 2437ff75d9bd: Pulling fs layer 22:33:08 765212b225bb: Waiting 22:33:08 f23df028b6ca: Waiting 22:33:08 d65c8cfc05b1: Waiting 22:33:08 2437ff75d9bd: Waiting 22:33:08 04944245beec: Verifying Checksum 22:33:08 04944245beec: Download complete 22:33:08 765212b225bb: Verifying Checksum 22:33:08 765212b225bb: Download complete 22:33:08 f23df028b6ca: Verifying Checksum 22:33:08 f23df028b6ca: Download complete 22:33:08 d65c8cfc05b1: Verifying Checksum 22:33:08 d65c8cfc05b1: Download complete 22:33:09 699f458cf7ca: Verifying Checksum 22:33:09 699f458cf7ca: Download complete 22:33:09 8998bd30e6a1: Verifying Checksum 22:33:09 8998bd30e6a1: Download complete 22:33:12 2437ff75d9bd: Verifying Checksum 22:33:12 2437ff75d9bd: Download complete 22:33:14 8998bd30e6a1: Pull complete 22:33:14 04944245beec: Pull complete 22:33:16 699f458cf7ca: Pull complete 22:33:16 765212b225bb: Pull complete 22:33:17 f23df028b6ca: Pull complete 22:33:17 d65c8cfc05b1: Pull complete 22:33:36 2437ff75d9bd: Pull complete 22:33:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:33:36 prd-ubuntu20.04-docker-arm64-4c-16g-63969 does not seem to be running inside a container 22:33:36 $ 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/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:33:39 $ docker top eafccfbb359cacd4a620e7712099c2a582460baacc87fdd0186bc5ca5acf90a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:40 ---> job-cost.sh 22:33:40 lf-activate-venv: SKIPPING 22:33:40 INFO: No Stack... 22:33:41 INFO: Retrieving Pricing Info for: v3-standard-4 22:33:42 INFO: Archiving Costs [Pipeline] sh 22:33:42 + cat /w/workspace/go-mod-registry/17/archives/cost.csv 22:33:42 + cut -d, -f6 [Pipeline] lock 22:33:42 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] 22:33:42 Resource [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] did not exist. Created. 22:33:42 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:33:43 /w/workspace/go-mod-registry/17@tmp/durable-844ca8e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:33:44 + echo total: 0.10999999940395355 [Pipeline] stash 22:33:44 Warning: overwriting stash ‘stack-cost’ 22:33:44 Stashed 1 file(s) [Pipeline] } 22:33:44 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 22:33:44 $ docker stop --time=1 eafccfbb359cacd4a620e7712099c2a582460baacc87fdd0186bc5ca5acf90a7 22:33:45 $ docker rm -f eafccfbb359cacd4a620e7712099c2a582460baacc87fdd0186bc5ca5acf90a7 [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 22:33:46 provisioning config files... 22:33:46 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config1837176184891792869tmp [Pipeline] { [Pipeline] sh 22:33:46 + set +x 22:33:46 + curl -s https://codecov.io/bash 22:33:46 + bash -s -- 22:33:46 22:33:46 _____ _ 22:33:46 / ____| | | 22:33:46 | | ___ __| | ___ ___ _____ __ 22:33:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:33:46 | |___| (_) | (_| | __/ (_| (_) \ V / 22:33:46 \_____\___/ \__,_|\___|\___\___/ \_/ 22:33:46 Bash-1.0.6 22:33:46 22:33:46 22:33:46 ==> git version 2.25.1 found 22:33:46 ==> 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 22:33:46 Release-Date: 2020-01-08 22:33:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:33:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:33:46 ==> Jenkins CI detected. 22:33:46 current dir:  /w/workspace/dgexfoundry_go-mod-registry_main 22:33:46 project root: . 22:33:46 --> token set from env 22:33:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:33:46 ==> Running gcov in . (disable via -X gcov) 22:33:46 ==> Python coveragepy not found 22:33:46 ==> Searching for coverage reports in: 22:33:46 + . 22:33:46 -> Found 1 reports 22:33:46 ==> Detecting git/mercurial file structure 22:33:46 ==> Reading reports 22:33:46 + ./coverage.out bytes=12273 22:33:46 ==> Appending adjustments 22:33:46 https://docs.codecov.io/docs/fixing-reports 22:33:46 + Found adjustments 22:33:46 ==> Gzipping contents 22:33:46 4.0K /tmp/codecov.5V3XnW.gz 22:33:46 ==> Uploading reports 22:33:46 url: https://codecov.io 22:33:46 query: branch=main&commit=2051f5ef935029faae7d1f6226b40c63b8e5fcf9&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= 22:33:46 -> Pinging Codecov 22:33:46 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=2051f5ef935029faae7d1f6226b40c63b8e5fcf9&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= 22:33:47 -> Uploading to 22:33:47 https://storage.googleapis.com/codecov/v4/raw/2022-05-17/05B643FFA8DEACB6C25F95B2D4D12284/2051f5ef935029faae7d1f6226b40c63b8e5fcf9/7b6ff87b-7cd9-44b4-a9e4-320f77119318.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220517T223347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bea679f62d0102e323eb6d8164aa3a13ad2440c29ab84f06764a2ed1f519f8df 22:33:47 % Total % Received % Xferd Average Speed Time Time Time Current 22:33:47 Dload Upload Total Spent Left Speed 22:33:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2269 0 0 100 2269 0 10702 --:--:-- --:--:-- --:--:-- 10702 22:33:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [Pipeline] } 22:33:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:33:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:33:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:33:47 22:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:33:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:33:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:33:48 188c0c94c7c5: Pulling fs layer 22:33:48 0ef7d3d256c8: Pulling fs layer 22:33:48 de9db76c5a1d: Pulling fs layer 22:33:48 0eba1c9be4d2: Pulling fs layer 22:33:48 0d57e429df01: Pulling fs layer 22:33:48 4e4be7b47b0d: Pulling fs layer 22:33:48 e1f770b5df2f: Pulling fs layer 22:33:48 85a0685a4137: Pulling fs layer 22:33:48 0d57e429df01: Waiting 22:33:48 4e4be7b47b0d: Waiting 22:33:48 0eba1c9be4d2: Waiting 22:33:48 de9db76c5a1d: Verifying Checksum 22:33:48 de9db76c5a1d: Download complete 22:33:48 0ef7d3d256c8: Download complete 22:33:48 0d57e429df01: Download complete 22:33:48 4e4be7b47b0d: Verifying Checksum 22:33:48 4e4be7b47b0d: Download complete 22:33:48 188c0c94c7c5: Verifying Checksum 22:33:48 188c0c94c7c5: Download complete 22:33:48 188c0c94c7c5: Pull complete 22:33:48 e1f770b5df2f: Verifying Checksum 22:33:48 e1f770b5df2f: Download complete 22:33:48 0ef7d3d256c8: Pull complete 22:33:48 de9db76c5a1d: Pull complete 22:33:49 0eba1c9be4d2: Verifying Checksum 22:33:49 0eba1c9be4d2: Download complete 22:33:49 85a0685a4137: Verifying Checksum 22:33:49 85a0685a4137: Download complete 22:33:52 0eba1c9be4d2: Pull complete 22:33:52 0d57e429df01: Pull complete 22:33:52 4e4be7b47b0d: Pull complete 22:33:52 e1f770b5df2f: Pull complete 22:33:55 85a0685a4137: Pull complete 22:33:55 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:33:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:33:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:33:56 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:33:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:33:57 $ docker top 103b9787c014126f214aa8346a534e6a7aeea761f2d871757ae85b44af176afb -eo pid,comm [Pipeline] { [Pipeline] echo 22:33:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:33:57 + set -o pipefail 22:33:57 + snyk monitor '--org=edgex-jenkins' 22:34:00 22:34:00 Monitoring /w/workspace/dgexfoundry_go-mod-registry_main (github.com/edgexfoundry/go-mod-registry/v2)... 22:34:00 22:34:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/e2dd60db-48f3-4c1d-986e-6397089a0464/history/2ffa2ca5-0ffa-4d9f-80a0-93217e4e4867 22:34:00 22:34:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:34:00 22:34:00 [Pipeline] } 22:34:00 $ docker stop --time=1 103b9787c014126f214aa8346a534e6a7aeea761f2d871757ae85b44af176afb 22:34:01 $ docker rm -f 103b9787c014126f214aa8346a534e6a7aeea761f2d871757ae85b44af176afb [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 22:34:02 + git log --format=format:%s -1 2051f5ef935029faae7d1f6226b40c63b8e5fcf9 [Pipeline] sh 22:34:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:34:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:34:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:34:02 . [Pipeline] withDockerContainer 22:34:02 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:34:02 $ 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:latest cat 22:34:03 $ docker top af69d3fea2effb86c9292be193216e40b6a7a0df05a21ab1c07fc81f27e210d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:34:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:34:03 [ssh-agent] Looking for ssh-agent implementation... 22:34:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:34:03 $ docker exec af69d3fea2effb86c9292be193216e40b6a7a0df05a21ab1c07fc81f27e210d3 ssh-agent 22:34:03 SSH_AUTH_SOCK=/tmp/ssh-8bXaqGqeBnWP/agent.33 22:34:03 SSH_AGENT_PID=39 22:34:03 Running ssh-add (command line suppressed) 22:34:03 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_726975516876344295.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_726975516876344295.key) 22:34:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:34:04 + git semver tag 22:34:04 2022-05-17 22:34:04,283 [run_tag] DEBUG tag force:False 22:34:04 2022-05-17 22:34:04,283 [check_head_tag] DEBUG check head tag 22:34:04 2022-05-17 22:34:04,285 [execute] INFO git cat-file --batch-check 22:34:04 2022-05-17 22:34:04,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) 22:34:04 2022-05-17 22:34:04,289 [execute] INFO git cat-file --batch 22:34:04 2022-05-17 22:34:04,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) 22:34:04 2022-05-17 22:34:04,306 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:04 2022-05-17 22:34:04,306 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 22:34:04 2022-05-17 22:34:04,307 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) 22:34:04 2022-05-17 22:34:04,310 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:04 2.2.1-dev.1 [Pipeline] } 22:34:04 $ docker exec --env ******** --env ******** af69d3fea2effb86c9292be193216e40b6a7a0df05a21ab1c07fc81f27e210d3 ssh-agent -k 22:34:04 unset SSH_AUTH_SOCK; 22:34:04 unset SSH_AGENT_PID; 22:34:04 echo Agent pid 39 killed; 22:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:34:04 + git semver [Pipeline] } 22:34:05 $ docker stop --time=1 af69d3fea2effb86c9292be193216e40b6a7a0df05a21ab1c07fc81f27e210d3 22:34:06 $ docker rm -f af69d3fea2effb86c9292be193216e40b6a7a0df05a21ab1c07fc81f27e210d3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:34:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:34:06 22:34:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:34:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:34:07 0.23.1-centos7: Pulling from edgex-lftools 22:34:07 ab5ef0e58194: Pulling fs layer 22:34:07 9712f1f96733: Pulling fs layer 22:34:07 63f879dbbcfc: Pulling fs layer 22:34:07 0d9ebad4ef96: Pulling fs layer 22:34:07 e9a5061849ea: Pulling fs layer 22:34:07 d747dcd14b5f: Pulling fs layer 22:34:07 2de7ff778b66: Pulling fs layer 22:34:07 e9a5061849ea: Waiting 22:34:07 d747dcd14b5f: Waiting 22:34:07 2de7ff778b66: Waiting 22:34:07 0d9ebad4ef96: Waiting 22:34:07 9712f1f96733: Verifying Checksum 22:34:07 9712f1f96733: Download complete 22:34:07 63f879dbbcfc: Verifying Checksum 22:34:07 63f879dbbcfc: Download complete 22:34:07 e9a5061849ea: Verifying Checksum 22:34:07 e9a5061849ea: Download complete 22:34:07 ab5ef0e58194: Verifying Checksum 22:34:07 ab5ef0e58194: Download complete 22:34:07 d747dcd14b5f: Verifying Checksum 22:34:07 d747dcd14b5f: Download complete 22:34:07 0d9ebad4ef96: Verifying Checksum 22:34:07 0d9ebad4ef96: Download complete 22:34:07 2de7ff778b66: Verifying Checksum 22:34:07 2de7ff778b66: Download complete 22:34:10 ab5ef0e58194: Pull complete 22:34:10 9712f1f96733: Pull complete 22:34:11 63f879dbbcfc: Pull complete 22:34:15 0d9ebad4ef96: Pull complete 22:34:15 e9a5061849ea: Pull complete 22:34:15 d747dcd14b5f: Pull complete 22:34:16 2de7ff778b66: Pull complete 22:34:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:34:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:34:16 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:34:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:34:17 $ docker top 9bf2baaeecf2733b9ca56e8752b6a06bedc921fffb020e468584f64b7aaec36c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:34:17 provisioning config files... 22:34:17 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config1630889992959212077tmp 22:34:17 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config3434152461794088878tmp 22:34:17 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config2183607534620130856tmp [Pipeline] { [Pipeline] echo 22:34:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:34:18 ---> sigul-configuration.sh 22:34:18 gpg: directory `/root/.gnupg' created 22:34:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:34:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:34:18 gpg: keyring `/root/.gnupg/secring.gpg' created 22:34:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:34:18 gpg: CAST5 encrypted data 22:34:18 gpg: encrypted with 1 passphrase 22:34:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:34:18 + mkdir /home/jenkins 22:34:18 + mkdir /home/jenkins/sigul [Pipeline] sh 22:34:18 + 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 22:34:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:34:19 ---> sigul-install.sh 22:34:19 Sigul already installed; skipping installation. [Pipeline] sh 22:34:19 + git tag --list 22:34:19 v0.0.0 22:34:19 v0.1.0 22:34:19 v0.1.1 22:34:19 v0.1.10 22:34:19 v0.1.11 22:34:19 v0.1.12 22:34:19 v0.1.13 22:34:19 v0.1.14 22:34:19 v0.1.15 22:34:19 v0.1.16 22:34:19 v0.1.17 22:34:19 v0.1.18 22:34:19 v0.1.19 22:34:19 v0.1.2 22:34:19 v0.1.20 22:34:19 v0.1.21 22:34:19 v0.1.22 22:34:19 v0.1.23 22:34:19 v0.1.24 22:34:19 v0.1.25 22:34:19 v0.1.26 22:34:19 v0.1.27 22:34:19 v0.1.3 22:34:19 v0.1.4 22:34:19 v0.1.5 22:34:19 v0.1.6 22:34:19 v0.1.7 22:34:19 v0.1.8 22:34:19 v0.1.9 22:34:19 v2.0.0 22:34:19 v2.0.0-dev.1 22:34:19 v2.0.0-dev.2 22:34:19 v2.0.0-dev.3 22:34:19 v2.0.0-dev.4 22:34:19 v2.0.0-dev.5 22:34:19 v2.0.0-dev.6 22:34:19 v2.0.0-dev.7 22:34:19 v2.0.0-dev.8 22:34:19 v2.0.1-dev.1 22:34:19 v2.0.1-dev.10 22:34:19 v2.0.1-dev.2 22:34:19 v2.0.1-dev.3 22:34:19 v2.0.1-dev.4 22:34:19 v2.0.1-dev.5 22:34:19 v2.0.1-dev.6 22:34:19 v2.0.1-dev.7 22:34:19 v2.0.1-dev.8 22:34:19 v2.0.1-dev.9 22:34:19 v2.1.0 22:34:19 v2.2.0 22:34:19 v2.2.0-dev.1 22:34:19 v2.2.0-dev.2 22:34:19 v2.2.0-dev.3 22:34:19 v2.2.0-dev.4 22:34:19 v2.2.1-dev.1 [Pipeline] sh 22:34:19 + lftools sign git-tag v2.2.1-dev.1 22:34:20 Signing Git tag with Sigul... 22:34:20 Signing v2.2.1-dev.1 [Pipeline] echo 22:34:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:34:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:34:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:34:20 $ docker stop --time=1 9bf2baaeecf2733b9ca56e8752b6a06bedc921fffb020e468584f64b7aaec36c 22:34:22 $ docker rm -f 9bf2baaeecf2733b9ca56e8752b6a06bedc921fffb020e468584f64b7aaec36c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:34:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:34:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:34:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:34:23 . [Pipeline] withDockerContainer 22:34:23 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:34:23 $ 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:latest cat 22:34:23 $ docker top 849ba95dc96b3594a6157ec770baa64d19449e4c816c72b1243ae5337f0d3054 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:34:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:34:23 [ssh-agent] Looking for ssh-agent implementation... 22:34:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:34:23 $ docker exec 849ba95dc96b3594a6157ec770baa64d19449e4c816c72b1243ae5337f0d3054 ssh-agent 22:34:23 SSH_AUTH_SOCK=/tmp/ssh-9swW9UGJLqco/agent.32 22:34:23 SSH_AGENT_PID=39 22:34:23 Running ssh-add (command line suppressed) 22:34:24 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_9151613421910171065.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_9151613421910171065.key) 22:34:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:34:24 + git semver bump pre 22:34:24 2022-05-17 22:34:24,536 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:24 2022-05-17 22:34:24,537 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev 22:34:24 2022-05-17 22:34:24,537 [bump_version] DEBUG bumped version:2.2.1-dev.2 22:34:24 2022-05-17 22:34:24,537 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:True 22:34:24 2022-05-17 22:34:24,537 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:24 2022-05-17 22:34:24,537 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:24 2022-05-17 22:34:24,539 [execute] INFO git cat-file --batch-check 22:34:24 2022-05-17 22:34:24,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 22:34:24 2022-05-17 22:34:24,544 [execute] INFO git cat-file --batch 22:34:24 2022-05-17 22:34:24,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) 22:34:24 2022-05-17 22:34:24,549 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:24 2.2.1-dev.2 [Pipeline] } 22:34:24 $ docker exec --env ******** --env ******** 849ba95dc96b3594a6157ec770baa64d19449e4c816c72b1243ae5337f0d3054 ssh-agent -k 22:34:24 unset SSH_AUTH_SOCK; 22:34:24 unset SSH_AGENT_PID; 22:34:24 echo Agent pid 39 killed; 22:34:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:34:25 + git semver [Pipeline] } 22:34:25 $ docker stop --time=1 849ba95dc96b3594a6157ec770baa64d19449e4c816c72b1243ae5337f0d3054 22:34:26 $ docker rm -f 849ba95dc96b3594a6157ec770baa64d19449e4c816c72b1243ae5337f0d3054 [Pipeline] // withDockerContainer [Pipeline] sh 22:34:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:34:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:34:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:34:27 . [Pipeline] withDockerContainer 22:34:27 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:34:27 $ 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:latest cat 22:34:27 $ docker top 4390ce3bc79235cefeaa7a57cb3379c3db2fea25cd05143260244e4b6bde8f0f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:34:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:34:27 [ssh-agent] Looking for ssh-agent implementation... 22:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:34:27 $ docker exec 4390ce3bc79235cefeaa7a57cb3379c3db2fea25cd05143260244e4b6bde8f0f ssh-agent 22:34:27 SSH_AUTH_SOCK=/tmp/ssh-6dcCBXqIRqYs/agent.33 22:34:27 SSH_AGENT_PID=39 22:34:28 Running ssh-add (command line suppressed) 22:34:28 Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_3045871509934074102.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_3045871509934074102.key) 22:34:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:34:28 + git semver push 22:34:28 2022-05-17 22:34:28,605 [run_push] DEBUG push 22:34:28 2022-05-17 22:34:28,606 [execute] INFO git push origin semver 22:34:28 2022-05-17 22:34:28,606 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) 22:34:29 2022-05-17 22:34:29,319 [run_push] DEBUG push all version tags 22:34:29 2022-05-17 22:34:29,320 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:34:29 2022-05-17 22:34:29,320 [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) 22:34:30 2022-05-17 22:34:29,990 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main 22:34:30 2.2.1-dev.2 [Pipeline] } 22:34:30 $ docker exec --env ******** --env ******** 4390ce3bc79235cefeaa7a57cb3379c3db2fea25cd05143260244e4b6bde8f0f ssh-agent -k 22:34:30 unset SSH_AUTH_SOCK; 22:34:30 unset SSH_AGENT_PID; 22:34:30 echo Agent pid 39 killed; 22:34:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:34:30 + git semver [Pipeline] } 22:34:30 $ docker stop --time=1 4390ce3bc79235cefeaa7a57cb3379c3db2fea25cd05143260244e4b6bde8f0f 22:34:32 $ docker rm -f 4390ce3bc79235cefeaa7a57cb3379c3db2fea25cd05143260244e4b6bde8f0f [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 22:34:32 + [ -d /w/workspace/dgexfoundry_go-mod-registry_main/archives ] 22:34:32 + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives 22:34:32 total 16 22:34:32 drwxr-xr-x 3 root root 4096 May 17 22:28 . 22:34:32 drwxrwxr-x 9 jenkins jenkins 4096 May 17 22:34 .. 22:34:32 drwxr-xr-x 2 root root 4096 May 17 22:28 cost 22:34:32 -rw-r--r-- 1 root root 85 May 17 22:28 cost.csv 22:34:32 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_go-mod-registry_main/archives 22:34:32 + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives 22:34:32 total 16 22:34:32 drwxr-xr-x 3 jenkins jenkins 4096 May 17 22:28 . 22:34:32 drwxrwxr-x 9 jenkins jenkins 4096 May 17 22:34 .. 22:34:32 drwxr-xr-x 2 jenkins jenkins 4096 May 17 22:28 cost 22:34:32 -rw-r--r-- 1 jenkins jenkins 85 May 17 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:34:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:34:33 ---> package-listing.sh 22:34:33 ++ facter osfamily 22:34:33 ++ tr '[:upper:]' '[:lower:]' 22:34:34 + OS_FAMILY=debian 22:34:34 + workspace=/w/workspace/dgexfoundry_go-mod-registry_main 22:34:34 + START_PACKAGES=/tmp/packages_start.txt 22:34:34 + END_PACKAGES=/tmp/packages_end.txt 22:34:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:34:34 + PACKAGES=/tmp/packages_start.txt 22:34:34 + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' 22:34:34 + PACKAGES=/tmp/packages_end.txt 22:34:34 + case "${OS_FAMILY}" in 22:34:34 + dpkg -l 22:34:34 + grep '^ii' 22:34:34 + '[' -f /tmp/packages_start.txt ']' 22:34:34 + '[' -f /tmp/packages_end.txt ']' 22:34:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:34:34 + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' 22:34:34 + mkdir -p /w/workspace/dgexfoundry_go-mod-registry_main/archives/ 22:34:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [Pipeline] echo 22:34:34 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 22:34:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:35 . [Pipeline] withDockerContainer 22:34:35 prd-ubuntu20.04-docker-8c-8g-63963 does not seem to be running inside a container 22:34:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:34:35 $ docker top 56fbf79080f868670cf80de22fd509067d1a793b24240afbc7d4beb643bcd5eb -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:35 + touch /tmp/pre-build-complete [Pipeline] sh 22:34:35 + mkdir -p /var/log/sysstat [Pipeline] sh 22:34:36 + ls /var/log/sa-host 22:34:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:36 provisioning config files... 22:34:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config1474347814842284527tmp [Pipeline] { [Pipeline] echo 22:34:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:34:36 ---> create-netrc.sh [Pipeline] } 22:34:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:34:37 ---> python-tools-install.sh [Pipeline] echo 22:34:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:34:37 ---> sudo-logs.sh 22:34:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:34:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:34:37 ---> job-cost.sh 22:34:37 lf-activate-venv: SKIPPING 22:34:37 DEBUG: total: 0.2199999988079071 22:34:37 INFO: Retrieving Stack Cost... 22:34:37 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:38 INFO: Archiving Costs [Pipeline] echo 22:34:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:34:38 ---> logs-deploy.sh 22:34:38 lf-activate-venv: SKIPPING 22:34:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/main/17 22:34:38 INFO: archiving workspace using pattern(s): 22:34:39 Archives upload complete. 22:34:39 INFO: archiving logs to Nexus