summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKathleen Chen <kchen2013@gmail.com>2016-08-12 16:13:28 -0400
committerdalyd <david.daly@mongodb.com>2016-08-15 15:12:57 -0400
commitb0eb7abc8149f14110e2f7756c9a041ba1382fef (patch)
tree9d0295dd7bc95f7ad2a79f94eaa361fc95b896bc /etc
parent22ec9e93b40c85fc7cae7d56e7d6a02fd811088c (diff)
downloadmongo-b0eb7abc8149f14110e2f7756c9a041ba1382fef.tar.gz
SERVER-25578 Update parameter name of reports directory passed in to post run analysis scripts (sys-perf & perf projects)
(cherry picked from commit 19d3f54fc2978eb6cd9d276fe28d152e8e10df62)
Diffstat (limited to 'etc')
-rw-r--r--etc/perf.yml20
-rw-r--r--etc/system_perf.yml2
2 files changed, 11 insertions, 11 deletions
diff --git a/etc/perf.yml b/etc/perf.yml
index 20c0c12e32f..f82cdcba12d 100644
--- a/etc/perf.yml
+++ b/etc/perf.yml
@@ -139,10 +139,10 @@ functions:
set -o verbose
source ./venv/bin/activate
# Any tasks that want the analysis scripts to analyze mongod.log files should pass in
- # `log_analysis: true` as a var to this function. The following line will select the
+ # `reports_analysis: true` as a var to this function. The following line will select the
# appropriate flags if it's `true`.
- log_analysis_flags="--log-analysis . --perf-file perf-3.2/perf.json"
- cmd_flags=$([ "${log_analysis}" = "true" ] && echo "$log_analysis_flags" || echo "")
+ reports_analysis_flags="--reports-analysis . --perf-file perf-3.2/perf.json"
+ cmd_flags=$([ "${reports_analysis}" = "true" ] && echo "$reports_analysis_flags" || echo "")
python ../dsi/analysis/perf_regression_check.py $cmd_flags -f history.json --rev ${revision} -t tags.json --refTag 3.0.9-Baseline --overrideFile ../dsi/analysis/v3.2/perf_override.json --variant ${build_variant} --threshold 0.10 --threadThreshold 0.15
"run perf tests":
@@ -223,7 +223,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: where
depends_on:
- variant: linux-wt-standalone
@@ -239,7 +239,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: update
depends_on:
- variant: linux-wt-standalone
@@ -255,7 +255,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: insert
depends_on:
- variant: linux-wt-standalone
@@ -271,7 +271,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: geo
depends_on:
- variant: linux-wt-standalone
@@ -287,7 +287,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: misc
depends_on:
- variant: linux-wt-standalone
@@ -303,7 +303,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: singleThreaded
depends_on:
- variant: linux-wt-standalone
@@ -319,7 +319,7 @@ tasks:
- func: "download analysis scripts"
- func: "analyze"
vars:
- log_analysis: true
+ reports_analysis: true
- name: singleThreaded-wt-repl-comp
depends_on:
- name : compile
diff --git a/etc/system_perf.yml b/etc/system_perf.yml
index df70a2ab91b..61d8af0a6cd 100644
--- a/etc/system_perf.yml
+++ b/etc/system_perf.yml
@@ -280,7 +280,7 @@ functions:
script: |
set -o errexit
set -o verbose
- python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --log-analysis .. --rev ${revision} -f history.json -t tags.json --refTag 3.0.6-Baseline --overrideFile ../src/dsi/dsi/analysis/v3.2/system_perf_override.json --project_id sys-perf --task_name ${task_name} --variant ${build_variant}
+ python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --reports-analysis reports --perf-file reports/perf.json --rev ${revision} -f history.json -t tags.json --refTag 3.0.6-Baseline --overrideFile ../src/dsi/dsi/analysis/v3.2/system_perf_override.json --project_id sys-perf --task_name ${task_name} --variant ${build_variant}
"compare":
- command: shell.exec