Commit Graph

194 Commits

Author SHA1 Message Date
Jonathan Abrahams
7abb9ada50 SERVER-32762 Module to upload files to S3 2018-02-02 13:21:39 -05:00
Max Hirschhorn
264d971842 SERVER-32691 Add write_concern_majority_passthrough.yml test suite.
Also adds support for using replica set connection strings in resmoke.py
without making all nodes electable.
2018-01-30 19:45:42 -05:00
Mathias Stearn
c52b057749 SERVER-32879 make resmoke clean up after successful dbtest runs 2018-01-29 10:57:53 -05:00
Robert Guo
0aeb5ce7e8 SERVER-32468 Use a 1-node CSRS in non-stepdown sharding passthroughs tests 2018-01-26 11:19:25 -05:00
Judah Schvimer
6a1e6fe87e SERVER-30642 Raise election timeouts in python fixtures 2018-01-23 10:36:37 -05:00
Charlie Swanson
87c9442cc3 SERVER-31785 Use 2 shards in sharded jscore passthrough. 2018-01-19 09:55:59 -05:00
Max Hirschhorn
2c451638c2 SERVER-32474 Fix double logging when using --log=buildlogger.
Exposes an additional logger that uses the test's root logger as the
parent for any TestCase instances constructor by the hook. The fixture
logger still continues to be the parent of the hook logger.

Also changes the CleanEveryN hook to explicitly get marked as a failure
if a ServerFailure exception is thrown, rather than relying on
TestReport.combine() to do so implicitly.
2018-01-10 14:15:35 -05:00
Yves Duhem
5397d13e51 SERVER-28396 Respect logkeeper's POST size limit 2018-01-09 11:20:51 -05:00
Kevin Albertson
af6bd1d39b SERVER-31670 fixture secondary defaults to 0 votes 2018-01-08 10:06:16 -05:00
Judah Schvimer
1038fbaffd SERVER-30538 check that checkpointTimestamp is correct in
PeriodicKillSecondaries hook
2017-12-21 11:03:42 -05:00
Judah Schvimer
5610da9e3e SERVER-30538 PeriodicKillSecondaries hook should account for empty
oplog correctly
2017-12-21 11:03:42 -05:00
Jonathan Abrahams
67e018f8de SERVER-32285 dbtests suite runs no tests in resmoke.py 2017-12-13 16:21:44 -05:00
Judah Schvimer
a49b278699 SERVER-30538 check that oplogTruncateAfterPoint is correct in PeriodicKillSecondaries hook 2017-12-11 15:51:47 -05:00
Kevin Albertson
9c9b303b1a SERVER-27249 add hook to check primary unchanged 2017-12-08 08:57:07 -05:00
Jack Mulrow
51b699b02a SERVER-31194 Add a version of retryable_writes_jscore_passthrough.yml with stepdowns 2017-12-07 14:36:44 -05:00
Max Hirschhorn
26279e8695 SERVER-30979 Run the fuzzer with CSRS primary stepdowns. 2017-12-01 10:20:32 -05:00
Max Hirschhorn
611220640b SERVER-31556 Use fixture logger as parent of hook logger.
This enables the hook logger to log messages to logkeeper when
--log=buildlogger is specified without needing to start a new dynamic
test case.
2017-11-26 12:14:00 -05:00
Jonathan Abrahams
9c6381687e SERVER-30755 KeyError "selector" is raised when no tests or test suites specified to resmoke.py 2017-11-21 09:32:13 -05:00
Yves Duhem
2421e96fa4 SERVER-29924 Display excluded tests in resmoke dry run 2017-11-20 15:56:50 -05:00
Siyuan Zhou
c8fbc9a231 SERVER-31671 Cancel running elections if the term changes after writing my last vote 2017-11-07 16:38:43 -05:00
Eddie Louie
9ebb2aeeeb SERVER-31637 Disable the periodic no-op writer in replica sets started by resmoke.py 2017-11-03 15:10:57 -04:00
Jonathan Abrahams
7d39fcc31b SERVER-30802 Add "with_external_server" to excluded executor_only set in resmoke parser get_named_suites(). 2017-10-25 17:29:19 -04:00
Max Hirschhorn
046a5a01c1 SERVER-31470 Move "run tests" logic into evergreen_run_tests.py. 2017-10-18 01:45:51 -04:00
Ian Boros
a7b2cf5c4b SERVER-29522 better error codes when running concurrent tests in resmoke 2017-10-13 10:28:37 -04:00
samantharitter
45d35fe3fc SERVER-31184 Make servers automatically set up config.system.sessions 2017-10-11 00:52:09 -04:00
Max Hirschhorn
8b3694d704 Revert "SERVER-29522 better error codes when running concurrent tests in resmoke"
This reverts commit 1e2626463b.
2017-10-11 00:11:17 -04:00
Ian Boros
1e2626463b SERVER-29522 better error codes when running concurrent tests in resmoke 2017-10-10 10:08:06 -04:00
Ian Boros
51414083ae SERVER-31472 resmoke returns error code when StepDownThread terminates prematurely 2017-10-10 10:04:12 -04:00
Yves Duhem
1170477971 SERVER-30872 Avoid modifying suite from signal handler 2017-10-09 13:19:42 -04:00
Yves Duhem
203c210332 SERVER-30922 Do not fail on non matching selector pattern 2017-10-06 13:14:47 -04:00
Ian Boros
65d4cdd857 SERVER-29607 resmoke prints available suites when an invalid one is specified 2017-10-06 13:13:31 -04:00
Yves Duhem
5d1c412f41 SERVER-30922 Fail on invalid resmoke test file arguments 2017-10-06 11:00:59 -04:00
Rob Guo
381c7fc06c SERVER-30839 prevent buildscripts/combine_reports.py from overwriting report.json 2017-10-04 15:50:59 -04:00
Yves Duhem
420c06608a SERVER-31309 Fix use of resmoke args for cpp tests 2017-10-03 15:20:08 -04:00
Yves Duhem
f64d3147b9 SERVER-31312 Fix include_suites matching for db_test 2017-10-03 12:26:56 -04:00
Yves Duhem
02e1ac97d8 SERVER-30980 Add tag selector expressions support 2017-09-27 11:11:35 -04:00
Esha Maharishi
62fe0f89e9 SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ShardingTest 2017-09-25 11:27:23 -04:00
Henrik Edin
c79b69d1ea SERVER-31095 Adding an evergreen builder to test the legacy transport layer. Fix so resmoke.py can passthrough the --transportLayer option. 2017-09-22 17:16:02 -04:00
samantharitter
bacb63bbf8 SERVER-30740 Disable background session cache refreshing on tests 2017-09-11 10:48:31 -04:00
Ian Boros
9f8084f2c8 SERVER-30578 resmoke no longer starts more servers than tests 2017-09-07 12:12:22 -04:00
Yves Duhem
c31e309846 SERVER-30684 Add configsvr and shard options to ShardedClusterFixture 2017-09-01 17:46:39 -04:00
Yves Duhem
2f6a2294fe SERVER-30683 Support failovers in ReplicaSetFixture 2017-09-01 17:41:35 -04:00
Yves Duhem
c30149da2e SERVER-30685 New continuous stepdown hook 2017-09-01 16:38:38 -04:00
Sara Golemon
6e2cc35d6d SERVER-27801 define unique KRB5CCNAME per external_auth test 2017-08-28 11:12:47 -04:00
Robert Guo
b136dbce0f SERVER-19541 supporting connecting to an external cluster in resmoke.py 2017-08-21 10:30:59 -04:00
Nick Zolnierz
91f42e4734 SERVER-29593: Integrate the official JSON Schema test corpus into the unit tests 2017-08-11 11:43:45 -04:00
Judah Schvimer
ae59589e23 SERVER-30501 Create rollback logging component 2017-08-07 14:01:55 -04:00
Max Hirschhorn
58a3909a3f SERVER-29642 SERVER-29643 Add Python tests for test lifecycle scripts.
For test_failures.py:
  * Replaces HistoryReport with a TestHistory class that has
    get_history_by_revision() and get_history_by_date() methods. They
    both return a list of ReportEntry tuples that can be used to
    construct a Report instance.
  * Adds Python unit test cases for the Report and ReportEntry classes.
  * Creates Wildcard class as separate concept from Missing class.
  * Enables --sinceDate and --untilDate with a warning that the script
    may not return a complete result set.
  * Adds support for running the script with Python 3.

For update_test_lifecycle.py:
  * Introduces Config namedtuple to represent the test lifecycle model.
  * Adds Python unit tests cases for the update_tags() function.
  * Takes advantage of the partial grouping so that computing summaries
    for (test, task, variant), (test, task), and (test,) combinations do
    not require re-processing the entire result set.
2017-07-17 11:09:34 -04:00
Jonathan Reams
1622c6b7a7 SERVER-29402 Implement ServiceExecutor and fixed-size test executor 2017-07-14 16:19:40 -04:00
Yves Duhem
5fc85a7f11 SERVER-29936 New module for test tags files 2017-07-07 15:49:24 -04:00