Commit Graph

52 Commits

Author SHA1 Message Date
Robert Guo
a3a87f936f SERVER-65672 upgrade python packages to support 3.10 2022-04-24 02:12:33 +00:00
Robert Guo
9563cadc7d SERVER-65071 remove resmoke gRPC integration 2022-04-24 01:45:17 +00:00
Mikhail Shchatko
22f548f63f SERVER-63872 Tighter task and idle timeouts 2022-03-01 13:18:14 +00:00
Varun Ravichandran
25b90f8895 SERVER-55828: Replace urllib3's 'method_whitelist' attribute with 'allowed_methods' 2021-04-28 23:43:56 +00:00
julianedwards
e2702b9a7e SERVER-54663: Pass group id to evergreen when running with resmoke with jasper. 2021-03-15 14:54:05 +00:00
Mikhail Shchatko
8022d8830d SERVER-54723 Shorten resmoke log prefixes 2021-03-04 21:05:37 +00:00
Robert Guo
43df182276 SERVER-54866 Don't call get() on mocked object 2021-03-04 14:45:33 +00:00
julianedwards
ee1e7ff457 SERVER-51016: Add Python logging.Handler for LogKeeper V3 2021-01-22 15:14:08 +00:00
julianedwards
fff7a4baa0 SERVER-49504: Allow resmoke's mongo shell to log to Jasper 2020-12-14 18:27:30 +00:00
Robert Guo
2c50126f91 Revert "SERVER-49504: Allow resmoke's mongo shell to log to Jasper"
This reverts commit 3c179e4935.
2020-12-07 19:21:59 +00:00
julianedwards
3c179e4935 SERVER-49504: Revert "Revert "SERVER-49504: Allow resmoke's mongo shell to log to Jasper"" 2020-11-06 17:23:31 +00:00
Robert Guo
e62f90245b Revert "SERVER-49504: Allow resmoke's mongo shell to log to Jasper"
This reverts commit e9e1635d6c.
2020-10-15 13:38:36 +00:00
julianedwards
e9e1635d6c SERVER-49504: Allow resmoke's mongo shell to log to Jasper 2020-10-14 19:12:24 +00:00
Ben Caimano
8468e69c2e Revert "SERVER-49504: Allow resmoke's mongo shell to log to Jasper"
This reverts commit 308cc2fa21.
2020-10-12 23:00:38 +00:00
julianedwards
308cc2fa21 SERVER-49504: Allow resmoke's mongo shell to log to Jasper 2020-10-12 20:59:36 +00:00
Daniel Gottlieb
19dd40b181 SERVER-48951: Add usability options for resmoke output.
--mrlog will pipe all stdout through mrlog.

--userFriendlyOutput=<file> will `tee` all output to <file>. It will filter
stdout with a grep to highlight test progress and possible failures.
2020-07-23 23:28:54 +00:00
Mikhail Shchatko
f46630dd3a SERVER-48112 Use Absolute Imports in Resmoke 2020-06-18 10:21:48 +00:00
Carl Raiden Worley
c81a9f3165 SERVER-48150 Streamline resmoke loggers 2020-06-17 17:45:50 +00:00
Carl Raiden Worley
c90e5cbaab SERVER-48145 Extract resmoke logging configurations 2020-05-27 16:50:40 +00:00
Robert Guo
51c13694fb SERVER-46436 wait up to 5 minutes for the flush thread to finish after a task ends 2020-03-09 20:10:39 +00:00
Robert Guo
6525cf4dad SERVER-46250 increase resmoke HTTP POST timeout to 65 seconds 2020-02-20 23:01:02 +00:00
Robert Guo
ec4ed7fe73 SERVER-46250 increase resmoke HTTP POST timeout to 20 seconds 2020-02-19 17:37:42 +00:00
Robert Guo
e609eacb52 SERVER-46250 Hardcode buildlogger payload limit in resmoke 2020-02-19 17:09:41 +00:00
Max Hirschhorn
6d38158e6b SERVER-42623 Remove events from scheduler using is operator. 2019-08-06 10:52:55 -04:00
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