summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Ingo <henrik.ingo@mongodb.com>2018-05-24 19:46:42 +0300
committerHenrik Ingo <henrik.ingo@mongodb.com>2018-05-25 18:16:27 +0300
commitb67afe29bc56e915cee40a6773498dd2f5627cda (patch)
tree900dd4710687e7e211013cc41360e0b02ab4b2dc
parent61cf4b85f6d8687a4632d429cf924aa5ef3ed049 (diff)
downloadmongo-b67afe29bc56e915cee40a6773498dd2f5627cda.tar.gz
SERVER-35207 Don't use json.get_history in system_perf.yml
(cherry picked from commit 81f3e81d6b0f6ae23a422b47e9e58262de816cd7)
-rw-r--r--etc/longevity.yml14
-rw-r--r--etc/system_perf.yml30
2 files changed, 2 insertions, 42 deletions
diff --git a/etc/longevity.yml b/etc/longevity.yml
index 0bcec55d0e5..fbcbceb382e 100644
--- a/etc/longevity.yml
+++ b/etc/longevity.yml
@@ -176,19 +176,7 @@ functions:
cat perf.json | egrep "name|ops_per_sec"
"analyze":
- - command: json.get_history
- params:
- task: ${task_name}
- file: "work/history.json"
- name: "perf"
- - command: json.get_history
- params:
- tags: true
- task: ${task_name}
- file: "work/tags.json"
- name: "perf"
- command: shell.exec
- # post_run_check.py and longevity_override.json for DSI tests are part of dsi repo
type : test
params:
working_dir: work
@@ -198,7 +186,7 @@ functions:
TAG="3.0.12-Baseline"
PROJECT="mongo-longevity"
OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/longevity_override.json"
- python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --reports-analysis reports --perf-file perf.json --rev ${revision} -f history.json -t tags.json --refTag $TAG --overrideFile $OVERRIDEFILE --project_id $PROJECT --task_name ${task_name} --variant ${build_variant}
+ 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 $PROJECT --task_name ${task_name} --variant ${build_variant}
tasks:
- name: compile
diff --git a/etc/system_perf.yml b/etc/system_perf.yml
index 592dbb003aa..3df5c0cf9eb 100644
--- a/etc/system_perf.yml
+++ b/etc/system_perf.yml
@@ -283,34 +283,6 @@ functions:
file: "work/perf.json"
"analyze":
- - command: json.get_history
- params:
- task: ${task_name}
- file: "work/history.json"
- name: "perf"
- - command: json.get_history
- params:
- tags: true
- task: ${task_name}
- file: "work/tags.json"
- name: "perf"
- - command: shell.exec
- # generate dashboard data
- type : test
- params:
- working_dir: work
- silent: true
- script: |
- set -o errexit
- TAGS="3.2.17-Baseline"
- OVERRIDEFILE="../src/dsi/dsi/analysis/v3.2/system_perf_override.json"
- python -u ../src/dsi/dsi/analysis/dashboard_gen.py --rev ${revision} -f history.json -t tags.json --refTag $TAGS --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name} --jira-user ${perf_jira_user} --jira-password ${perf_jira_pw} || true
- - command: "json.send"
- params:
- name: "dashboard"
- file: "work/dashboard.json"
- - command: shell.exec
- # post_run_check.py and override.json for DSI tests are part of dsi repo
type : test
params:
working_dir: work
@@ -319,7 +291,7 @@ functions:
set -o verbose
TAG="3.2.17-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} -f history.json -t tags.json --refTag $TAG --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name}
+ 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}
#######################################
# Tasks #