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

311 Commits

Author SHA1 Message Date
Randolph Tan
7acafe85d9 SERVER-13425 migrate sharding jstest suite to use write commands api 2014-04-21 16:53:25 -04:00
Eric Milkie
cffd39b33f SERVER-13435 do not run dropdb_race.js in smalloplog 2014-04-01 11:26:50 -04:00
Scott Hernandez
0798ac066e SERVER-13297: have 'smoke.py all' use jsCore instead of js 2014-03-27 18:34:41 -04:00
Mathias Stearn
43d933a286 SERVER-13391 Move slowest tests from noPassthrough* (formerly slow{Weekly,Nightly}) to slow*
slow1 and slow2 are new suites to hold very slow tests. The idea is that we
can create slow3, slow4, etc to keep the time to run the longest suite down.
2014-03-27 17:35:16 -04:00
Mathias Stearn
d0a1e84ab2 SERVER-13391 Rename slowNightly -> noPassthroughWithMongod and slowWeekly -> noPassthrough
This better represents their purpose and the difference between them.
2014-03-27 17:35:16 -04:00
Mathias Stearn
ed7c1769b5 SERVER-13297 support both windows and posix path separators
Also removed legacy [!_] from js and jsCore globs.
2014-03-26 15:54:29 -04:00
Randolph Tan
386f1b32ba SERVER-13191 migrate auth jstest suite to use write commands api 2014-03-26 15:34:37 -04:00
Scott Hernandez
01a5355e05 SERVER-13297: enable core suite for commands and add scons smokeJsCore test 2014-03-26 12:12:41 -04:00
Scott Hernandez
835a7cc8ea SERVER-13297: convert parallel suite to use jsCore tests 2014-03-25 13:46:52 -04:00
Mathias Stearn
346f26f8ca Fix build-failure with small-oplog tests
The theory here is that the test exited with writes still in flight and the
dbhash was executed on the master and the slave at different logical points
in time.
2014-03-14 14:54:20 -04:00
Randolph Tan
eb41492c6f SERVER-13190 migrate replset jstest suite to use write commands api 2014-03-14 12:05:05 -04:00
Spencer T Brody
31332f83af SERVER-10640 re-enable trace_missing_docs_tests.js in auth passthrough 2014-03-13 17:24:16 -04:00
Randolph Tan
3bcbb33bc5 SERVER-13188 Migrate aggregation jstest suite to use write commands api 2014-03-13 17:00:16 -04:00
Scott Hernandez
cc2fbb1b84 smoke small_oplog: don't store dups in lost in master/slave 2014-03-13 09:29:12 -04:00
Scott Hernandez
db2875aee3 smoke.py dbhash and mongod state 2014-03-12 11:47:49 -04:00
Andrew Morrow
9a45a1f363 SERVER-12572 Informatively fail attempts to build C++ client driver targets
The MongoDB C++ client driver now resides in a separate repo and is maintained
independently of the server. The targets in this repo that used to build or test
the driver will now print an error message explaining the change and referring
users to the relevant documentation.
2014-03-04 10:57:42 -05:00
Randolph Tan
f8534ae0d6 SERVER-12127 migrate js tests to jscore suite when not related to writes
Temporarily put back jstest in order not to lose test coverage
2014-03-03 15:29:00 -05:00
Randolph Tan
fafb7dad7b SERVER-12127 migrate js tests to jscore suite when not related to writes
Fix path name in smoke.py
2014-03-03 10:10:46 -05:00
Scott Hernandez
b2b0dd358b smoke.py dbhash oplog printing 2014-02-28 13:53:03 -05:00
Scott Hernandez
7ef1c038a8 SERVER-12786: add smoke.py shell_write_mode 2014-02-27 14:39:02 -05:00
Eric Milkie
9d15c2e8ca omit dbadmin.js from smalloplog suite; calls CloseAllDatabases 2014-02-25 11:33:07 -05:00
Scott Hernandez
9110ba43e6 SERVER-12804: only 'report' dbhash failure on failure 2014-02-23 18:36:34 -05:00
Scott Hernandez
6c6844e9b0 SERVER-12804: use percent for string formatting 2014-02-21 16:34:09 -05:00
Valeri Karpov
68eca9bf07 Don't count skipped tests as successful in smoke.py
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2014-02-21 14:49:38 -05:00
Shaun Verch
f9fac71d2e SERVER-12804 Revert smoke.py log message change causing test failure 2014-02-21 14:20:46 -05:00
Scott Hernandez
4cdbea7616 SERVER-12804:smoke.py small_oplog improvements 2014-02-21 10:41:44 -05:00
Eric Milkie
dd56209bfc turn on autoresync to fix smalloplog suite timing out 2014-02-19 10:42:58 -05:00
mike o'brien
ef817ea803 SERVER-12509 allow overriding default buildlog URL with command line opt to smoke.py 2014-02-06 18:10:48 -05:00
Greg Studer
0d111ff5e5 SERVER-12127 new legacy write suites for tests using GLE 2014-02-06 16:13:23 -05:00
Spencer T Brody
bffe64219d SERVER-10848 Speed up auth passthrough tests by using the internal user instead of a real admin user 2014-02-03 12:15:22 -05:00
Shaun Verch
7f15f0c898 SERVER-12435 Added support for module jstests in smoke.py 2014-01-22 12:34:37 -08:00
Eric Milkie
7798b53d7c Revert "SERVER-11884 Setting sslAllowInvalidCertificates for smoke.py mongod"
This reverts commit 268575e769.
2013-11-29 21:52:35 -05:00
Andreas Nilsson
268575e769 SERVER-11884 Setting sslAllowInvalidCertificates for smoke.py mongod 2013-11-27 16:20:03 -05:00
Randolph Tan
130741d128 SERVER-11772 new jstest suites for write command testing
Added new target 'jsCore' to smoke.py
2013-11-25 18:19:19 -05:00
Wisdom Omuya
75d67cdf5a SERVER-11382: record of skipped tests as 'skip'
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2013-11-18 16:28:20 -05:00
Spencer T Brody
cc9756ce74 SERVER-10420 Re-enable sharding/replmonitor_bad_seed.js test in auth passthrough mode 2013-11-18 16:12:40 -05:00
Andreas Nilsson
8041835681 SERVER-11375 Change names of sslMode states 2013-11-14 19:55:55 +00:00
Mathias Stearn
1c05609c89 SERVER-10868 Add --temp-path parameter to smoke.py 2013-11-12 19:08:06 -05:00
Andreas Nilsson
b5d36ec05c SERVER-10330 SERVER-11195 SSL server hostname validation 2013-11-13 08:50:07 +00:00
gregs
fe59d4249b SERVER-10818 allow turning on batch upconversion (useClusterWriteCommands) via smoke.py 2013-11-11 09:51:18 -05:00
Randolph Tan
b8fd0b3094 SERVER-11627 Make the shell use write commands by default 2013-11-08 10:02:13 -05:00
Mathias Stearn
ca5b94c240 SERVER-11613 Fix some brokenness in test logging
Changes:
* smoke.py captures both stdout and stderr of subprocesses
* Log buffering reduced (main log() function already was line-buffered).
* printStackAndExit writes to stdout rather than stdin.
2013-11-06 19:13:14 -05:00
Andreas Nilsson
50030f55d0 SERVER-8864 Include the sslSpecial build suite in smoke.py 2013-11-01 17:45:16 -04:00
Benety Goh
2e10439eba SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell 2013-10-29 13:11:41 -04:00
Andreas Nilsson
aef38b7e2c SERVER-8864 SSL mixed mode cmd line parameters 2013-10-09 14:24:29 -04:00
Andreas Nilsson
7db361fe2d SERVER-7455 x.509 cluster auth tests 2013-10-03 12:25:08 -04:00
Andreas Nilsson
625e971353 SERVER-7455 x.509 cluster auth tests and expanded use-ssl passthrough 2013-09-30 14:10:54 -04:00
Andy Schwerin
3bc344db79 SERVER-1105 Update AuthorizationSession's logic for collection-level access control.
Also requires changing the privileges of the built-in roles.  This patch takes the opportunity to remove the 2.2-style read-only roles in favor of the 2.4-style "read" and "readAnyDatabase" roles, and renames the 2.2-style read-write roles "dbOwner" and "root".  The "root" name, at least, is subject to change prior to the next unstable release.

Test harnesses are updated as needed to use the correct builtin roles.
2013-09-26 14:33:43 -04:00
Siyuan Zhou
00f71c5019 SERVER-10804 Add more details to test report generated by smoke.py 2013-09-18 11:59:49 -04:00
Siyuan Zhou
168f86f766 SERVER-10803 Fix buildbot url capture in smoke.py on windows 2013-09-18 11:59:49 -04:00
Siyuan Zhou
74b09795ac SERVER-10740 Generate test result report from smoke.py
smoke.py could optionally output a test report to a file. This should be
an json summary of a test suite run, so MCI can report on specific failed
tests.
The following command could generate a detailed test report in json
format. smoke-last.json will have the details as well.
smoke.py --report-file <report-file-path>

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2013-09-12 18:58:59 -04:00
Siyuan Zhou
25257eef8a Remove trailing whitespace.
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2013-09-12 18:58:59 -04:00
Spencer T Brody
ec23a4a358 SERVER-9517 Update tests to pass with new user schema 2013-09-06 12:31:22 -04:00
Spencer T Brody
d328dd5227 SERVER-10640 SERVER-10639 Skip sharding/trace_missing_docs_test.js in auth passthrough 2013-08-29 11:24:30 -04:00
Andrew Morrow
dda99507af SERVER-10497 Remove legacy update framework 2013-08-13 18:02:42 -04:00
Scott Hernandez
b2b0616c61 fix for old python versions 2013-08-13 11:04:16 -04:00
Scott Hernandez
b68af6a0f9 print more info on small-oplog test failures 2013-08-09 08:01:15 -04:00
Spencer T Brody
3e50406c65 SERVER-10420 Skip jstests/sharding/replmonitor_bad_seed.js until we no longer initilize all user data at process startup 2013-08-07 15:54:26 -04:00
Spencer T Brody
7f2c86d893 SERVER-6246 In smoke.py, use command to create user, rather than direct insert to system.users 2013-08-06 16:05:45 -04:00
Spencer T Brody
46f9caf721 SERVER-10344 Skip repl/repl4.js because of race condition in master/slave 2013-07-31 16:44:17 -04:00
Scott Hernandez
6211f4436a add missing set-parameters for replication slaves 2013-07-30 17:35:13 -04:00
Spencer T Brody
761a599423 SERVER-10344 Skip racy test in auth passthrough 2013-07-29 12:12:29 -04:00
Scott Hernandez
cefa4cf1d6 more accurate matching for enabling dbtests for new update framework 2013-07-24 08:21:10 -04:00
Scott Hernandez
0ba6f77490 Allow testing new update framework in dbtests (core) with smoke 2013-07-22 16:23:09 -04:00
Spencer T Brody
41affec0b4 SERVER-10128 skip killop.js in auth passthrough until auth no longer requires a read lock 2013-07-16 12:30:05 -04:00
Scott Hernandez
4d95966d3e MongoRunner setParameters support for smoke.py 2013-07-15 08:53:39 -04:00
Scott Hernandez
03c4a23747 SERVER-6399: allow smoke to accept setParameter 2013-07-10 13:04:47 -04:00
Andrew Morrow
af07d274c2 SERVER-9942 Give shared client tests a unique name to placate buildlogger 2013-06-17 19:38:22 -04:00
Andrew Morrow
8e42456304 SERVER-6514 Don't attempt to test shared library clients for out of tree builds 2013-06-06 13:39:50 -04:00
Andrew Morrow
da8c0fa929 SERVER-6514 Re-add support for building the C++ driver shared library 2013-06-03 20:21:13 -04:00
Tad Marshall
054f48f94a SERVER-8795 Revert "SERVER-8782 disable smalloplog geo_update_btree.js on Solaris"
This reverts commit cafb1081b8.

Fixing SERVER-8795 should make geo_update_btree.js not segfault.
2013-06-03 04:41:43 -04:00
Andreas Nilsson
f844ed02b1 SERVER-9137 Added --httpinterface flag to mongod smoke tests 2013-05-31 16:40:14 +02:00
Greg Studer
6f50df1263 smoke.py allow job reassignment for subprocesses on Windows 7 and above 2013-05-09 17:28:34 -04:00
Randolph Tan
4510b95add SERVER-9174 Race condition on read_pref_rs_client.js after reconfig
Removed read_pref_rs_client.js from skipped test
2013-04-02 16:39:00 -04:00
Spencer T Brody
2d0f6cc207 SERVER-6972 SERVER-6495 Use isMaster instead of replSetGetStatus for monitoring the health of a replica set 2013-04-02 10:41:45 -04:00
Spencer T Brody
37e19cbffb SERVER-8502 Make sure authMechanism is actually used when running auth passthrough tests 2013-03-25 18:45:20 -04:00
Spencer T Brody
ceccc68851 SERVER-6327 Re-enable sync_conn_cmd.js in auth passthrough 2013-03-12 10:33:28 -04:00
Spencer T Brody
4cfc0636c0 SERVER-8769 skip opcounters.js when running small_oplog tests 2013-03-04 13:59:04 -05:00
Eric Milkie
cafb1081b8 SERVER-8782 disable smalloplog geo_update_btree.js on Solaris 2013-03-04 12:43:17 -05:00
Spencer T Brody
3d6337ea89 SERVER-8501 Rename MONGO-CR to MONGODB-CR 2013-02-15 14:19:42 -08:00
Eric Milkie
fccd00cad5 SERVER-8589 disable drop2.js for auth testing 2013-02-15 13:35:38 -05:00
Andy Schwerin
1b2b144a88 SERVER-8414/SERVER-8429 Support SASL authentication in DBClient::auth() method, tools.
Introduces a new overload of the auth() method of DBClientWithCommands to the
C++ driver.  The new overload takes a single BSONObj of authentication
parameters as input, and is analagous to the saslClientAuthenticate method.
This new method supports all SASL methods, if the client has GSASL support and
previously ran the mongo initializers, plus it supports MONGO_CR.  It is the
preferred entry point for authentication in the C++ client, going forward.

The old ::auth() method remains and keeps its existing behavior.
2013-02-12 15:30:24 -05:00
Spencer T Brody
288df8991b Skip jstests/sharding/read_pref.js when running test with auth SERVER-6972 SERVER-4237 2013-02-08 16:58:10 -05:00
Spencer T Brody
ba25727629 SERVER-8414 SERVER-8413 Skip jstests/max_message_size.js when running with auth 2013-01-30 16:24:08 -05:00
Spencer T Brody
4621e405d9 SERVER-4237 SERVER-6972 Skip jstests/sharding/read_pref_cmd.js when run with auth 2013-01-24 15:20:12 -05:00
Eric Milkie
1a4363cb48 SERVER-8222 remove connections_opened.js from small-oplog test 2013-01-18 16:28:28 -05:00
Eric Milkie
1a1f72cc2a SERVER-8209 reverse logic of --sslForceCertificateValidation with --sslWeakCertificateValidation 2013-01-18 14:29:34 -05:00
Spencer T Brody
4c22811792 SERVER-7864 Make copyDB, clone, and cloneCollection work with auth.
copyDB and clone can only be run when auth is enabled if the client is
authenticated as an old-style user. New style users using the extended form
privilege documents cannon run copyDB or clone when auth is enabled.  They can
still run cloneCollection (against the target instance), so long as the source
instance doesn't have auth on.
2013-01-17 13:44:42 -05:00
Eliot Horowitz
e08992e04a try to fix smoke.py when running old failing tests 2013-01-06 20:58:09 -05:00
Mathias Stearn
0eba42b858 Skip --only-old-fails if generated with an old version of smoke.py 2013-01-04 19:04:05 -05:00
Eliot Horowitz
2add89edce move writing of smoke-last.json above where we throw an exception 2013-01-03 17:52:05 -05:00
Andy Schwerin
bfa4ef93ad SERVER-7128 Add --authenticationMechanism parameter to mongo shell. 2013-01-02 19:49:33 -05:00
Andy Schwerin
8c9373d63d SERVER-7128 Changes to smoke.py and utils.js to run tests with sasl authentication. 2013-01-02 13:09:01 -05:00
Andy Schwerin
c1da06e5c4 Revert "SERVER-7128 Changes to smoke.py and utils.js to run tests with sasl authentication."
This reverts commit 43cc1547aa.

Reverting while investigating introduced build break.
2013-01-02 12:59:04 -05:00
Andy Schwerin
43cc1547aa SERVER-7128 Changes to smoke.py and utils.js to run tests with sasl authentication. 2013-01-02 10:07:38 -05:00
Eliot Horowitz
fc54b8f7df smoke.py stores last test results as json 2013-01-01 21:47:25 -05:00
Spencer T Brody
61eef01258 SERVER-7931 Re-enable some tests to run with auth 2012-12-17 18:00:35 -05:00
Spencer T Brody
cc29e330d5 SERVER-7931 Skip jstests/mr_killop.js when running tests with auth 2012-12-14 12:49:44 -05:00
Spencer T Brody
96ca30b9fb SERVER-7931 Skip jstests/evalf.js when running tests with auth 2012-12-14 12:49:44 -05:00
Spencer T Brody
c8884bd574 SERVER-7864 Skip jstests/copydb when running tests with auth 2012-12-14 12:49:44 -05:00