diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2023-03-17 21:59:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-17 23:19:39 +0000 |
commit | 45a15910bf47c12f3da5a69950656b28c7abef75 (patch) | |
tree | 4c180db4020b46c292f5e679397036ec7152b16a | |
parent | 9e92c3a32d4d9e70121fdecef84c6b76e2690f36 (diff) | |
download | mongo-45a15910bf47c12f3da5a69950656b28c7abef75.tar.gz |
SERVER-74991 build metrics evergreen stats scripts fails to find debug
-rwxr-xr-x | buildscripts/evergreen_gen_build_metrics_tasks.py | 3 | ||||
-rw-r--r-- | evergreen/build_metric_cedar_report.py | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/buildscripts/evergreen_gen_build_metrics_tasks.py b/buildscripts/evergreen_gen_build_metrics_tasks.py index 16689ffdda4..63b2314a48f 100755 --- a/buildscripts/evergreen_gen_build_metrics_tasks.py +++ b/buildscripts/evergreen_gen_build_metrics_tasks.py @@ -36,7 +36,7 @@ def main(): "compiling_for_test": "true", }) for step_flags in scons_task_steps ] - + task_steps.append(FunctionCall("attach build metrics")) task_steps.append(FunctionCall("print top N metrics")) return task_steps @@ -121,7 +121,6 @@ def main(): teardown_task=[ FunctionCall("f_expansions_write"), FunctionCall("attach scons logs"), - FunctionCall("attach build metrics"), FunctionCall("kill processes"), FunctionCall("save disk statistics"), FunctionCall("save system resource information"), diff --git a/evergreen/build_metric_cedar_report.py b/evergreen/build_metric_cedar_report.py index a7959329495..af86580ff98 100644 --- a/evergreen/build_metric_cedar_report.py +++ b/evergreen/build_metric_cedar_report.py @@ -73,7 +73,9 @@ with open(clean_build_metrics_json) as f: mongod_metrics = None for artifact in build_metrics['artifact_metrics']['artifacts']: - if artifact['name'] == 'build/metrics/mongo/db/mongod': + if not mongod_metrics and artifact['name'] == 'build/metrics/mongo/db/mongod': + mongod_metrics = artifact + if artifact['name'] == 'build/metrics/mongo/db/mongod.debug': mongod_metrics = artifact break |