Commit Graph

178 Commits

Author SHA1 Message Date
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
Nathan Myers
c63465a42e SERVER-29405 delay deleting orphaned shard chunks
When deleting the donor range after migrating a chunk off of a shard,
the range deleter will schedule the deletion at some time in the future,
according to a server parameter orphanCleanupDelaySecs, which defaults
to 900, or 15 minutes.  It does not delay range deletions preparatory to
migrating a range in, and does not put off deleting the donor range if
the moveChunk command has set the option _waitForDelete.

The file jstests/sharding/write_commands_sharding_state.js had CR (0x0D)
line endings, which made the patch fail lint.  The substantive changes
in the file were to add "_waitForDelete" options to the moveChunk
commands.
2017-06-30 15:50:39 -04:00
Robert Guo
4d8d1745c9 SERVER-28636 replace --executor with --suite in resmoke.py 2017-06-22 18:29:34 -04:00
Yves Duhem
af35f24b56 SERVER-29486 Filter test membership map by test_kind 2017-06-21 18:02:39 -04:00
Max Hirschhorn
7c92251d7b SERVER-29560 Remove testcases.py now that it has been split up. 2017-06-21 15:42:33 -04:00
Max Hirschhorn
c57ab42219 SERVER-29560 Split testcases.py module into separate files. 2017-06-14 20:44:52 -04:00
Max Hirschhorn
b353d4f012 SERVER-29560 Change fixtures to be registered automatically. 2017-06-14 20:44:52 -04:00
Max Hirschhorn
b8f6239094 SERVER-29560 Split hooks.py module into separate files.
Also defines a generic Registry metaclass for making class declarations
store a reference to the class along with a name so that they can be
looked up later.
2017-06-14 20:44:52 -04:00
Robert Guo
f3b60130e2 SERVER-25293 log hook testcases only to logkeeper 2017-06-14 19:57:10 -04:00
may
ea8402f7ff SERVER-21299 resmoke should default to --shuffle 2017-06-09 10:20:23 -04:00
Kimberly Hou
23f38f73d2 SERVER-26443 clean up error reporting in jstestfuzz_concurrent suite 2017-06-08 12:35:55 -07:00
Eddie Louie
103972cebb SERVER-28590 Invoke validate command on collections before shutting down mongod in JS tests 2017-06-07 14:36:31 -04:00
Yves Duhem
0347baa06a SERVER-29192 Prevent 'silentfail' status for dynamic tests 2017-06-05 14:13:07 -04:00
Spencer T Brody
47aad7d695 SERVER-29433 Improve logging during ReplicaSetFixture initialization 2017-06-02 15:55:04 -04:00
Peter Mauldin
19a48549ee SERVER-24783 resmoke.py now prints running tests when encountering timeouts 2017-06-02 11:09:08 -04:00
Cristopher Stauffer
cb31bfd735 SERVER-26027: Updating log statement to include exit code on tear down in situations where process already stopped 2017-05-31 10:26:08 -04:00
Eddie Louie
50ea467d27 SERVER-29061 Add buildscripts/promote_silent_failures.py script to convert silent
test failures into non-silent test failures
2017-05-30 12:06:39 -04:00