diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-05-23 11:03:12 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-05-24 09:21:31 -0400 |
commit | 0bf4879628373dd75b67505862b05d5f5dc61465 (patch) | |
tree | eaf6ee2bedd96f30ea65c19e07f71d3ff6492d53 | |
parent | 7f3e69a63c3ab61bfea2a563ded9d555fb017c8a (diff) | |
download | mongo-0bf4879628373dd75b67505862b05d5f5dc61465.tar.gz |
SERVER-33193 Enable test failure archive for specific tasks and hooks
42 files changed, 144 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/aggregation.yml b/buildscripts/resmokeconfig/suites/aggregation.yml index c7a8c6e64be..0a775a2d93c 100644 --- a/buildscripts/resmokeconfig/suites/aggregation.yml +++ b/buildscripts/resmokeconfig/suites/aggregation.yml @@ -8,6 +8,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/aggregation_ese.yml b/buildscripts/resmokeconfig/suites/aggregation_ese.yml index 395a8a37898..a2d260d91d1 100644 --- a/buildscripts/resmokeconfig/suites/aggregation_ese.yml +++ b/buildscripts/resmokeconfig/suites/aggregation_ese.yml @@ -16,6 +16,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/aggregation_facet_unwind_passthrough.yml b/buildscripts/resmokeconfig/suites/aggregation_facet_unwind_passthrough.yml index 40d248aa22d..476ba72b05d 100644 --- a/buildscripts/resmokeconfig/suites/aggregation_facet_unwind_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/aggregation_facet_unwind_passthrough.yml @@ -8,6 +8,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/aggregation_read_concern_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/aggregation_read_concern_majority_passthrough.yml index 72b838b3c07..5eea3a717bb 100644 --- a/buildscripts/resmokeconfig/suites/aggregation_read_concern_majority_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/aggregation_read_concern_majority_passthrough.yml @@ -31,6 +31,11 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplOplogs + - CheckReplDBHash + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml b/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml index 1cb834a63eb..c5b76c31ef5 100644 --- a/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml @@ -29,6 +29,10 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/bulk_gle_passthrough.yml b/buildscripts/resmokeconfig/suites/bulk_gle_passthrough.yml index 8e88985f671..309dd0364ea 100644 --- a/buildscripts/resmokeconfig/suites/bulk_gle_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/bulk_gle_passthrough.yml @@ -7,6 +7,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: legacy diff --git a/buildscripts/resmokeconfig/suites/concurrency.yml b/buildscripts/resmokeconfig/suites/concurrency.yml index e585902274d..50c565fc566 100644 --- a/buildscripts/resmokeconfig/suites/concurrency.yml +++ b/buildscripts/resmokeconfig/suites/concurrency.yml @@ -12,6 +12,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/core.yml b/buildscripts/resmokeconfig/suites/core.yml index 04a6f97cb7d..9ba9ee4b742 100644 --- a/buildscripts/resmokeconfig/suites/core.yml +++ b/buildscripts/resmokeconfig/suites/core.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/core_auth.yml b/buildscripts/resmokeconfig/suites/core_auth.yml index 72c6c716927..cca107d5afa 100644 --- a/buildscripts/resmokeconfig/suites/core_auth.yml +++ b/buildscripts/resmokeconfig/suites/core_auth.yml @@ -18,6 +18,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/core_compression.yml b/buildscripts/resmokeconfig/suites/core_compression.yml index d09716735da..32e3d381bbc 100644 --- a/buildscripts/resmokeconfig/suites/core_compression.yml +++ b/buildscripts/resmokeconfig/suites/core_compression.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/core_ese.yml b/buildscripts/resmokeconfig/suites/core_ese.yml index 74ab7c9b195..86aa646bdb7 100644 --- a/buildscripts/resmokeconfig/suites/core_ese.yml +++ b/buildscripts/resmokeconfig/suites/core_ese.yml @@ -9,6 +9,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/core_minimum_batch_size.yml b/buildscripts/resmokeconfig/suites/core_minimum_batch_size.yml index 085c32c8c29..3b5a179914b 100644 --- a/buildscripts/resmokeconfig/suites/core_minimum_batch_size.yml +++ b/buildscripts/resmokeconfig/suites/core_minimum_batch_size.yml @@ -13,6 +13,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/core_op_query.yml b/buildscripts/resmokeconfig/suites/core_op_query.yml index 5ec056a57ff..45e57b65376 100644 --- a/buildscripts/resmokeconfig/suites/core_op_query.yml +++ b/buildscripts/resmokeconfig/suites/core_op_query.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: rpcProtocols: opQueryOnly diff --git a/buildscripts/resmokeconfig/suites/decimal.yml b/buildscripts/resmokeconfig/suites/decimal.yml index 62cb11ecab2..6c934554e42 100644 --- a/buildscripts/resmokeconfig/suites/decimal.yml +++ b/buildscripts/resmokeconfig/suites/decimal.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/disk.yml b/buildscripts/resmokeconfig/suites/disk.yml index fd8a5fd54b1..845ce95ea8f 100644 --- a/buildscripts/resmokeconfig/suites/disk.yml +++ b/buildscripts/resmokeconfig/suites/disk.yml @@ -7,6 +7,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/dur_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/dur_jscore_passthrough.yml index 347d23de967..f973f95586c 100644 --- a/buildscripts/resmokeconfig/suites/dur_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/dur_jscore_passthrough.yml @@ -8,6 +8,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/httpinterface.yml b/buildscripts/resmokeconfig/suites/httpinterface.yml index 1f15a873236..c74801ccdf6 100644 --- a/buildscripts/resmokeconfig/suites/httpinterface.yml +++ b/buildscripts/resmokeconfig/suites/httpinterface.yml @@ -7,6 +7,9 @@ selector: - jstests/httpinterface/httpinterface.js executor: js_test: + archive: + hooks: + - ValidateCollections hooks: - class: ValidateCollections fixture: diff --git a/buildscripts/resmokeconfig/suites/integration_tests_replset.yml b/buildscripts/resmokeconfig/suites/integration_tests_replset.yml index 1345b567eeb..f4d3e6e312e 100644 --- a/buildscripts/resmokeconfig/suites/integration_tests_replset.yml +++ b/buildscripts/resmokeconfig/suites/integration_tests_replset.yml @@ -4,6 +4,11 @@ selector: executor: cpp_integration_test: + archive: + hooks: + - CheckReplOplogs + - CheckReplDBHash + - ValidateCollections config: {} hooks: # The CheckReplDBHash hook waits until all operations have replicated to and have been applied diff --git a/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml b/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml index a0e8c16be9b..444c66aa30d 100644 --- a/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml +++ b/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml @@ -6,6 +6,10 @@ selector: executor: cpp_integration_test: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections config: {} hooks: - class: CheckReplDBHash diff --git a/buildscripts/resmokeconfig/suites/integration_tests_standalone.yml b/buildscripts/resmokeconfig/suites/integration_tests_standalone.yml index c594fc6fae1..127a7535568 100644 --- a/buildscripts/resmokeconfig/suites/integration_tests_standalone.yml +++ b/buildscripts/resmokeconfig/suites/integration_tests_standalone.yml @@ -4,6 +4,9 @@ selector: executor: cpp_integration_test: + archive: + hooks: + - ValidateCollections config: {} hooks: - class: ValidateCollections diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz.yml b/buildscripts/resmokeconfig/suites/jstestfuzz.yml index 872c2a1f229..591255038f3 100644 --- a/buildscripts/resmokeconfig/suites/jstestfuzz.yml +++ b/buildscripts/resmokeconfig/suites/jstestfuzz.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_replication.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_replication.yml index a482038899f..f32a24e4ee8 100644 --- a/buildscripts/resmokeconfig/suites/jstestfuzz_replication.yml +++ b/buildscripts/resmokeconfig/suites/jstestfuzz_replication.yml @@ -5,6 +5,11 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplOplogs + - CheckReplDBHash + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml index 034f254494f..d38814a0008 100644 --- a/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml +++ b/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - BackgroundInitialSync config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_replication_resync.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_replication_resync.yml index 1038b99a10c..973914a3c01 100644 --- a/buildscripts/resmokeconfig/suites/jstestfuzz_replication_resync.yml +++ b/buildscripts/resmokeconfig/suites/jstestfuzz_replication_resync.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - BackgroundInitialSync config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml index 9a8a02db6b9..bf2f84fe373 100644 --- a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml +++ b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml @@ -5,6 +5,10 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/master_slave_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/master_slave_jscore_passthrough.yml index a46c0cf29ed..1de4c693009 100644 --- a/buildscripts/resmokeconfig/suites/master_slave_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/master_slave_jscore_passthrough.yml @@ -10,6 +10,10 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections config: shell_options: eval: "testingReplication = true;" diff --git a/buildscripts/resmokeconfig/suites/mmap.yml b/buildscripts/resmokeconfig/suites/mmap.yml index 6fc951c25cb..0aefad2ee53 100644 --- a/buildscripts/resmokeconfig/suites/mmap.yml +++ b/buildscripts/resmokeconfig/suites/mmap.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/no_passthrough_with_mongod.yml b/buildscripts/resmokeconfig/suites/no_passthrough_with_mongod.yml index fa8e62813d1..4e8bfc22bab 100644 --- a/buildscripts/resmokeconfig/suites/no_passthrough_with_mongod.yml +++ b/buildscripts/resmokeconfig/suites/no_passthrough_with_mongod.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/parallel.yml b/buildscripts/resmokeconfig/suites/parallel.yml index 7f42d19c18c..9611ec55c48 100644 --- a/buildscripts/resmokeconfig/suites/parallel.yml +++ b/buildscripts/resmokeconfig/suites/parallel.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml index 22e84bc9c63..d469ff85f75 100644 --- a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml @@ -28,6 +28,11 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplOplogs + - CheckReplDBHash + - ValidateCollections config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml index 114ebcab372..034c0812e90 100644 --- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml @@ -73,6 +73,9 @@ selector: run_hook_interval: &run_hook_interval 20 executor: js_test: + archive: + hooks: + - BackgroundInitialSync config: shell_options: eval: "testingReplication = true;" diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml index c15b23046a9..8fce4506393 100644 --- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml @@ -12,6 +12,9 @@ selector: run_hook_interval: &run_hook_interval 20 executor: js_test: + archive: + hooks: + - IntermediateInitialSync config: shell_options: eval: "testingReplication = true;" diff --git a/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml index f487c1aa113..60da231d3bc 100644 --- a/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml @@ -11,6 +11,11 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplOplogs + - CheckReplDBHash + - ValidateCollections config: shell_options: eval: "testingReplication = true;" diff --git a/buildscripts/resmokeconfig/suites/replica_sets_resync_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_resync_jscore_passthrough.yml index 1e51713a475..c7d605d1184 100644 --- a/buildscripts/resmokeconfig/suites/replica_sets_resync_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/replica_sets_resync_jscore_passthrough.yml @@ -73,6 +73,9 @@ selector: run_hook_interval: &run_hook_interval 20 executor: js_test: + archive: + hooks: + - BackgroundInitialSync config: shell_options: eval: "testingReplication = true;" diff --git a/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml index dc2059879d3..bd26f1c23f8 100644 --- a/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml @@ -12,6 +12,9 @@ selector: run_hook_interval: &run_hook_interval 20 executor: js_test: + archive: + hooks: + - IntermediateInitialSync config: shell_options: eval: "testingReplication = true;" diff --git a/buildscripts/resmokeconfig/suites/rlp.yml b/buildscripts/resmokeconfig/suites/rlp.yml index ef0dfeda45a..16413f1d4a8 100644 --- a/buildscripts/resmokeconfig/suites/rlp.yml +++ b/buildscripts/resmokeconfig/suites/rlp.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/serial_run.yml b/buildscripts/resmokeconfig/suites/serial_run.yml index 4ae010c7ec8..c25e61a980a 100644 --- a/buildscripts/resmokeconfig/suites/serial_run.yml +++ b/buildscripts/resmokeconfig/suites/serial_run.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml index 96674cfc20c..104707d1ac8 100644 --- a/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml @@ -69,6 +69,10 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml index 8879e39f143..5f646fd7653 100644 --- a/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml @@ -19,6 +19,9 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplDBHash config: shell_options: global_vars: diff --git a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml index 496bd265a58..d2cb6ed55f1 100644 --- a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml @@ -51,6 +51,10 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/slow1.yml b/buildscripts/resmokeconfig/suites/slow1.yml index 10c399ec9e5..8a764c39d94 100644 --- a/buildscripts/resmokeconfig/suites/slow1.yml +++ b/buildscripts/resmokeconfig/suites/slow1.yml @@ -5,6 +5,9 @@ selector: executor: js_test: + archive: + hooks: + - ValidateCollections config: shell_options: readMode: commands diff --git a/buildscripts/resmokeconfig/suites/write_concern_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/write_concern_majority_passthrough.yml index 388046d2782..b19989e3656 100644 --- a/buildscripts/resmokeconfig/suites/write_concern_majority_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/write_concern_majority_passthrough.yml @@ -46,6 +46,11 @@ selector: executor: js_test: + archive: + hooks: + - CheckReplOplogs + - CheckReplDBHash + - ValidateCollections config: shell_options: global_vars: |