diff options
author | Jim OLeary <jim.oleary@gmail.com> | 2019-03-21 20:55:52 +0000 |
---|---|---|
committer | Jim OLeary <jim.oleary@gmail.com> | 2019-03-21 20:55:52 +0000 |
commit | 90d5c1fca5c1dd47929d02c28fac95d91fc917bf (patch) | |
tree | c39fef4fe7f94ee6494d606a4b772e3a4ff7586b /etc | |
parent | e3970d050b4ff6523317616e76c0dc97d87b332e (diff) | |
download | mongo-90d5c1fca5c1dd47929d02c28fac95d91fc917bf.tar.gz |
SERVER-40237 detect outliers must run after post_run_check.py
Diffstat (limited to 'etc')
-rw-r--r-- | etc/system_perf.yml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/etc/system_perf.yml b/etc/system_perf.yml index 620e6c19032..50a9fec0e16 100644 --- a/etc/system_perf.yml +++ b/etc/system_perf.yml @@ -317,6 +317,17 @@ functions: script: | ../src/dsi/dsi/run-dsi detect-changes - command: shell.exec + type: test + params: + working_dir: work + script: | + set -o verbose + TAG="4.0.2-Baseline" + OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/system_perf_override.json" + python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --reports-analysis reports --perf-file perf.json --rev ${revision} --refTag $TAG --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name} + # detect outliers needs to run, so defer the post_run_check exit status to later + echo $? > post_run_check.status + - command: shell.exec params: working_dir: work script: | @@ -326,11 +337,8 @@ functions: params: working_dir: work script: | - set -o errexit set -o verbose - TAG="4.0.2-Baseline" - OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/system_perf_override.json" - python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --reports-analysis reports --perf-file perf.json --rev ${revision} --refTag $TAG --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name} + exit $(cat post_run_check.status) ####################################### # Tasks # |