0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

117 Commits

Author SHA1 Message Date
Jonathan Abrahams
abeacd9572 SERVER-28439 Add "silentfail" test status and --reportFailureStatus option to resmoke.py 2017-04-03 11:33:09 -04:00
Eddie Louie
b6d2b5e5c6 SERVER-21842 Generate report.json file and dump resmoke stacks on Windows 2017-03-31 18:21:53 -04:00
Yves Duhem
c8a2af0706 SERVER-28477 Resmoke logging refactoring 2017-03-29 10:48:25 -04:00
Eddie Louie
bc5c3286fb SERVER-26224 Add --staggerJobs option to resmoke.py 2017-03-27 16:57:58 -04:00
Eddie Louie
422a7e6ddd SERVER-27770 Remove other references to EXCLUDE_WITH_ALL_TAGS and
INCLUDE_WITH_ALL_TAGS
2017-03-27 14:33:21 -04:00
Eddie Louie
5e47fab7c9 SERVER-27770 Remove resmoke.py's includeWithAllTags and excludeWithAllTags options 2017-03-27 12:35:11 -04:00
Eddie Louie
9178a39893 SERVER-26897 Add resmoke.py support for prepending scripts to mongo eval list 2017-03-27 11:39:28 -04:00
Andrew Morrow
b38e0199d0 SERVER-19677 Add support for running the intel decimal library test 2017-03-22 11:16:36 -04:00
Max Hirschhorn
66188320dc SERVER-21539 Release TestReport._lock when recomputing stats. 2017-03-20 13:56:53 -04:00
Robert Guo
761a96d3fc SERVER-27854 initiate replicasets faster in resmoke.py 2017-03-14 13:28:29 -04:00
William Schultz
4bda560cd9 SERVER-27908 Log every heartbeat during testing 2017-03-09 13:16:13 -05:00
Max Hirschhorn
83f31ef26e SERVER-21539 Write report.json file when resmoke.py receives a SIGUSR1. 2017-03-09 13:06:29 -05:00
Spencer Jackson
957549cd11 SERVER-27570: Enforce stricter checks on top level command BSON objects 2017-03-08 09:28:29 -05:00
Max Hirschhorn
5cd4ba841e SERVER-27627 Tolerate much older versions of Python's requests package. 2017-03-01 12:41:47 -05:00
Robert Guo
c203a3be80 SERVER-27627 use requests instead of urllib2 in resmoke.py 2017-02-28 13:08:08 -05:00
Robert Guo
973b8b9da3 Revert "SERVER-27627 use requests instead of urllib2 in resmoke.py"
This reverts commit 14f16f384a.
2017-02-24 11:48:46 -05:00
Robert Guo
14f16f384a SERVER-27627 use requests instead of urllib2 in resmoke.py 2017-02-24 10:50:48 -05:00
Robert Guo
6ec5d44bc3 SERVER-27158 teardown_flag does not exist except for the final iteration 2017-02-23 17:43:28 -05:00
Robert Guo
18be5b3302 SERVER-27158 shutdown fixtures when a job finishes 2017-02-22 10:34:47 -05:00
Yves Duhem
e94d22e967 SERVER-23818 Send Evergreen task Id to logkeeper 2017-02-16 09:39:23 -05:00
Max Hirschhorn
e02c3c769b SERVER-27285 Fix exception handling in PeriodicKillSecondaries.
The exception needs a name in order to access its 'args' attribute.
2017-02-01 17:12:17 -05:00
Max Hirschhorn
07f5d15330 SERVER-27285 Run jsCore tests while periodically killing secondaries.
Adds a new core_small_oplog_rs_kill_secondaries.yml suite that after
running tests for a certain period of time (defaults to 30 seconds),
resmoke.py will send a SIGKILL to all of the replica set's secondaries.
Each node is then restarted individually with the primary disabled to
verify it reaches the SECONDARY state within 5 minutes of starting up.
2017-01-30 20:33:17 -05:00
Robert Guo
a1363d00d0 SERVER-27408 Allow resmoke to take more than one tag-related arguments.
Each tag argument can also be specified more than once and in both the
YAML suite definition and on the command line.

Tag argments will be agnostic to ordering, with each argument narrowing
down test files to be run. No tag is allowed to override another tag.
2017-01-26 15:49:59 -05:00
Judah Schvimer
9710251a20 SERVER-27551 added retries to replSetInitiate call in python test fixture 2017-01-24 17:27:52 -05:00
Robert Guo
8478c3b4f7 SERVER-22348 propagate binary paths from resmoke to MongoRunner 2017-01-10 11:13:47 -05:00
Robert Guo
d4a7012d56 SERVER-26485 ensure JS hooks always have a logger 2017-01-10 11:13:47 -05:00
Judah Schvimer
585a8a9cb8 SERVER-26522 Made CleanEveryN into a TestCase 2017-01-10 09:53:58 -05:00
Andy Schwerin
cdc7af4c6d SERVER-27490 Stop consulting storage engine isDurable flag in ReplicationCoordinatorImpl
... and simplify ReplCoordTestFixture

ReplicationCoordinatorImpl consults the storage engine's isDurable flag for two purposes:

1. To choose whether to present the durable or applied optime when standing for
election in pv1

2. To decide how to interpret w:majority without an explicit j field when
waiting for write concern.

In the first case, it is unnecessary to choose which optime to apply based on
the isDurable flag. It is always safe and correct to present the applied optime,
because if the node presenting it wins election, it will attempt to commit that
applied optime. That means that voters may safely vote for that node.

In the second case, using the value of the local node's storage engine's
isDurable flag to adjust the meaning of w:majority is out of spec. Whether
w:majority writes wait for journaling is a function only of the
writeConcernMajorityJournalDefault flag when a write concern omits the "j"
field.

This patch removes the unnecessary consultation of the isDurable flag, and
uses the opportunity to simplify the constructor of
ReplicationCoordinatorImpl and its test fixture.
2017-01-07 15:08:22 -05:00
Max Hirschhorn
396b5eced4 SERVER-20983 Add requirements.txt for resmoke.py. 2016-12-27 13:26:16 -05:00
Robert Guo
b74f90afc1 SERVER-26806 randomly restart initial sync 2016-12-13 18:02:41 -05:00
Robert Guo
e8a3a9266c SERVER-26523 mark resmoke teardown failures as ServerFailures 2016-12-08 17:04:37 -05:00
Spencer T Brody
ccc7e32094 SERVER-26754 Disallow read concern majority reads with protocol version 0.
This reverts commit 3349bcb22a from SERVER-26754
2016-12-07 10:59:09 -05:00
Max Hirschhorn
93989f1023 SERVER-26445 Make emit() not wait for flush() to complete.
Changes the BufferedHandler to always delegate the actual flushing of
the logs (perhaps via a long-running, blocking network operation) to the
timer thread that's running in the background.
2016-12-05 15:19:53 -05:00
Robert Guo
6a8e08ce4c SERVER-25917 add initialsync fuzzer suite 2016-12-02 14:33:43 -05:00
Judah Schvimer
a79c8b6455 SERVER-26553 Log OperationFailures to test fixture in initial sync hooks 2016-11-08 14:14:55 -05:00
Spencer T Brody
3349bcb22a SERVER-26754 Allow readConcern majority reads with protocol version 0 2016-10-25 18:37:42 -04:00
Robert Guo
240a12e251 SERVER-26516 resmoke should wait for initsync node to be in SECONDARY state before running tests 2016-10-14 10:11:54 -04:00
Judah Schvimer
2b116377bb SERVER-26390 Use fixture logger in initial sync passthroughs 2016-10-05 18:04:58 -04:00
Jonathan Abrahams
d4b173439a SERVER-25376 Add checkOplog hook for replica sets 2016-09-30 16:25:50 -04:00
Robert Guo
147ad2bd82 Revert "SERVER-25917 add initialsync fuzzer suite"
This reverts commit 95d0f75423.
2016-09-28 10:16:16 -04:00
Robert Guo
95d0f75423 SERVER-25917 add initialsync fuzzer suite 2016-09-27 09:55:58 -04:00
Judah Schvimer
5f40282b37 SERVER-25068 Add passthrough hook to include periodic initial sync members 2016-09-13 10:06:25 -04:00
Jonathan Abrahams
333fd85fc8 SERVER-23819 buildlogger client requests should use basic auth instead of digest auth 2016-09-09 10:57:34 -04:00
Eddie Louie
90353265fa SERVER-25127 Remove unused class definition TypeSensitiveSON 2016-09-08 16:48:14 -04:00
Judah Schvimer
63640ef8a5 SERVER-25252 create static initial sync passthrough that uses resync to restart initial sync 2016-09-02 11:45:19 -04:00
Kyle Suarez
7486388e02 SERVER-25768 skip hooks in fuzzer suites when invalid views present
Skips the validate and dbhash hooks for jstestfuzz* suites when listCollections
fails with an InvalidViewDefinition error.
2016-08-24 17:39:00 -04:00
Robert Guo
b13bac6c1b SERVER-25358 resmoke should shutdown mongod cleanly on Windows 2016-08-16 10:52:20 -04:00
Esha Maharishi
3daf1fb89b SERVER-25543 add shardsvr startup option for shards in ShardedClusterFixture 2016-08-10 15:53:04 -04:00
Judah Schvimer
43ab2d9e0b SERVER-25399 Disable chaining in initial sync static passthrough 2016-08-09 13:19:12 -04:00
iwysiu
0c9a7a497a SERVER-24729 stagger the launching of resmoke jobs 2016-07-20 12:15:14 -04:00