Commit Graph

28 Commits

Author SHA1 Message Date
Mark Benvenuto
286c031264 SERVER-40559 Python linters do not run after upgrade to Python 3 2019-04-16 14:33:43 -04:00
Mathew Robinson
2db32e10f3 SERVER-40514 Fix race in Resmoke 2019-04-08 14:08:49 -04:00
Mathew Robinson
8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Mathew Robinson
78a8fa3659 SERVER-39009 Make buildlogger credentials location configurable 2019-01-15 15:12:46 -05:00
Robert Guo
cc00af6b6f SERVER-35800 retry getting build_id and test_id from logkeeper 2018-08-09 09:11:00 -04:00
Max Hirschhorn
6ad26a359f SERVER-35472 Avoid falling back to stderr in resmoke.py.
Instead a special return code of 75 is used to indicate that the log
output would otherwise be incomplete.
2018-06-08 12:45:15 -04:00
Jonathan Abrahams
c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams
36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Yves Duhem
4a69dcaf78 SERVER-33476 Rename CustomBehavior to Hook 2018-02-27 11:29:46 -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
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
Max Hirschhorn
046a5a01c1 SERVER-31470 Move "run tests" logic into evergreen_run_tests.py. 2017-10-18 01:45:51 -04:00
Robert Guo
f3b60130e2 SERVER-25293 log hook testcases only to logkeeper 2017-06-14 19:57:10 -04:00
Max Hirschhorn
a4d2c52dba SERVER-28991 Eliminate having an AlarmClock thread for each test.
Changes resmoke.py to use its FlushThread for managing all calls to
flush() buildlogger handlers.
2017-05-16 12:10:14 -04:00
Robert Guo
a8c2311437 SERVER-28714 Better fallback logger prefix 2017-05-01 10:27:36 -04:00
Yves Duhem
c8a2af0706 SERVER-28477 Resmoke logging refactoring 2017-03-29 10:48:25 -04: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
Yves Duhem
e94d22e967 SERVER-23818 Send Evergreen task Id to logkeeper 2017-02-16 09:39:23 -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
Jonathan Abrahams
333fd85fc8 SERVER-23819 buildlogger client requests should use basic auth instead of digest auth 2016-09-09 10:57:34 -04:00
Max Hirschhorn
00c8c64f6c SERVER-22142 join() FlushThread in resmoke.py after running all tests.
This prevents the FlushThread from running while the interpreter is
shutting down and the import machinery is uninitialized.

Also fixed an issue where a KeyboardInterrupt while running multiple
suites with --continueOnFailure would skip to the next suite, rather
than exiting resmoke.py.
2016-01-15 09:30:39 -05:00
Max Hirschhorn
528d028b50 SERVER-18572 Use the same timestamp format as MongoDB log messages. 2015-06-22 20:18:10 -04:00
Charlie Swanson
15a5fcc644 SERVER-18390 Check dbhash of all databases during small_oplog suites 2015-05-20 11:55:55 -04:00
Max Hirschhorn
424314f65e SERVER-1424 Rewrite smoke.py.
Split out the passthrough tests into separate suites. The MongoDB
deployment is started up by resmoke.py so that we can record the
success/failure of each individual test in MCI.

Added support for parallel execution of tests by dispatching to
multiple MongoDB deployments.

Added support for grouping different kinds of tests (e.g. C++ unit
tests, dbtests, and jstests) so that they can be run together. This
allows for customizability in specifying what tests to execute when
changes are made to a particular part of the code.
2015-05-08 14:49:42 -04:00