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 17:59:27 +0300
commit39fedb702bd89716d7218c45c21251112eba50a5 (patch)
tree6baf7f5892f9fc5fa9e93bd93e74d56fc8c825b7
parent29116784f5da27db0232dd91af056bfd646c109c (diff)
downloadmongo-39fedb702bd89716d7218c45c21251112eba50a5.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 f8f1ce5bdce..4a2188f0809 100644
--- a/etc/longevity.yml
+++ b/etc/longevity.yml
@@ -174,19 +174,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
@@ -196,7 +184,7 @@ functions:
TAG="3.2.1-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 4f221c30010..b94e8c7dfcf 100644
--- a/etc/system_perf.yml
+++ b/etc/system_perf.yml
@@ -284,34 +284,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.4.14-Baseline 3.2.17-Baseline 3.6.0-Baseline 3.6.1-Baseline"
- OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/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
@@ -320,7 +292,7 @@ functions:
set -o verbose
TAG="3.4.14-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 #