From 971f88711eb859c308be510ddf48d10066c3ea62 Mon Sep 17 00:00:00 2001 From: Mikhail Shchatko Date: Tue, 18 Jan 2022 16:16:32 +0300 Subject: SERVER-62180 Enable signal processing (or red/green) checks for Google Microbenchmark --- etc/evergreen.yml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 43d5f926bff..911507a566f 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -130,6 +130,9 @@ variables: resmoke_args: --help resmoke_jobs_max: 1 - func: "send benchmark results" + - func: "analyze benchmark results" + vars: + suite: benchmark_suite - &jepsen_config_vars jepsen_key_time_limit: --key-time-limit 15 @@ -860,10 +863,28 @@ functions: display_name: Pip Requirements "send benchmark results": - command: json.send - params: - name: perf - file: src/perf.json + - command: json.send + params: + name: perf + file: src/perf.json + + - command: perf.send + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + bucket: mciuploads + prefix: ${task_id}_${execution} + file: src/cedar_report.json + + "analyze benchmark results": + - *f_expansions_write + - *configure_evergreen_api_credentials + - command: subprocess.exec + type: test + params: + binary: bash + args: + - "./src/evergreen/functions/benchmark_results_analyze.sh" "cleanup environment": &cleanup_environment command: subprocess.exec @@ -3029,6 +3050,9 @@ tasks: exec_timeout_secs: 10800 # 3 hour timeout. resmoke_jobs_max: 1 - func: "send benchmark results" + - func: "analyze benchmark results" + vars: + suite: benchmarks - <<: *benchmark_template name: benchmarks_sharding @@ -3040,6 +3064,7 @@ tasks: suite: benchmarks_sharding resmoke_jobs_max: 1 - func: "send benchmark results" + - func: "analyze benchmark results" - <<: *benchmark_template name: benchmarks_cst @@ -3051,6 +3076,7 @@ tasks: suite: benchmarks_cst resmoke_jobs_max: 1 - func: "send benchmark results" + - func: "analyze benchmark results" - <<: *benchmark_template name: benchmarks_bsoncolumn @@ -3062,6 +3088,7 @@ tasks: suite: benchmarks_bsoncolumn resmoke_jobs_max: 1 - func: "send benchmark results" + - func: "analyze benchmark results" - <<: *run_jepsen_template name: jepsen_register_findAndModify -- cgit v1.2.1