summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-07-27 10:52:11 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-08-13 12:23:29 -0400
commita444720202d97795b71cf2daaaa2bea94b430ef9 (patch)
tree6fcfe945019d2f3cf47b6b92969f270ffe771bf0 /etc
parent78ca2bc9721cd3a3a0404e7e915ed6a3b5bc1bf6 (diff)
downloadmongo-a444720202d97795b71cf2daaaa2bea94b430ef9.tar.gz
SERVER-36076 Create new resmoke.py test suite for running mongoebench on a desktop
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml135
1 files changed, 135 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index b7e022690b4..f0a4c4859fb 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -175,6 +175,18 @@ variables:
mongod_options: --mongodUsablePorts ${standard_port} ${secret_port} --dbPath=${db_path} --logPath=${log_path}
mongod_extra_options: --mongodOptions=\"--setParameter enableTestCommands=1 --setParameter logComponentVerbosity='{storage:{recovery:2}}'\"
+- &benchrun_embedded
+ name: benchrun_embedded
+ execution_tasks:
+ - benchrun_embedded_aggregation
+ - benchrun_embedded_commands
+ - benchrun_embedded_insert
+ - benchrun_embedded_misc
+ - benchrun_embedded_mixed_and_multi
+ - benchrun_embedded_queries
+ - benchrun_embedded_remove
+ - benchrun_embedded_update
+
- &replica_sets_auth
name: replica_sets_auth
execution_tasks:
@@ -774,6 +786,15 @@ functions:
bucket: mciuploads
extract_to: src
+ "fetch benchmark embedded files" : &fetch_benchrun_embedded_files
+ command: s3.get
+ params:
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ remote_file: ${project}/benchrun_embedded/benchrun_json_files.tgz
+ bucket: mciuploads
+ extract_to: src/benchrun_embedded
+
"get buildnumber" : &get_buildnumber
command: keyval.inc
params:
@@ -1220,6 +1241,13 @@ functions:
- *set_up_credentials
- *fetch_benchmarks
+ "do benchmark embedded setup" :
+ - *git_get_project
+ - *fetch_artifacts
+ - *get_buildnumber
+ - *set_up_credentials
+ - *fetch_benchrun_embedded_files
+
"set up virtualenv" :
command: shell.exec
type: test
@@ -3201,6 +3229,7 @@ test_lifecycle_excluded_tasks:
- aggregation_fuzzer*
- burn_in_tests
- compile*
+- benchmarks*
- dbtest*
- idl_tests
- integration*
@@ -3864,6 +3893,86 @@ tasks:
run_multiple_jobs: false
- func: "send benchmark results"
+- <<: *task_template
+ name: benchrun_embedded_aggregation
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_aggregation
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_commands
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_commands
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_insert
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_insert
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_misc
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_misc
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_mixed_and_multi
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_mixed_and_multi
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_queries
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_queries
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_remove
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_remove
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
+- <<: *task_template
+ name: benchrun_embedded_update
+ commands:
+ - func: "do benchmark embedded setup"
+ - func: "run tests"
+ vars:
+ resmoke_args: --suites=benchrun_embedded_update
+ run_multiple_jobs: false
+ - func: "send benchmark results"
+
- <<: *run_jepsen_template
name: jepsen_register_findAndModify
commands:
@@ -12532,6 +12641,7 @@ buildvariants:
build_mongoreplay: true
additional_targets: mongoebench mongoed
display_tasks:
+ - *benchrun_embedded
- *dbtest
- *unittests
tasks:
@@ -12543,6 +12653,31 @@ buildvariants:
- name: aggregation_facet_unwind_passthrough
- name: auth
- name: concurrency
+ - name: benchrun_embedded_aggregation
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_commands
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_insert
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_misc
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_mixed_and_multi
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_queries
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_remove
+ distros:
+ - centos6-perf
+ - name: benchrun_embedded_update
+ distros:
+ - centos6-perf
+ - name: dbtest
- name: disk_mobile
- name: failpoints
- name: failpoints_auth