Commit Graph

49 Commits

Author SHA1 Message Date
Juan Gu 7209d62b77 SERVER-99522 Delete dead py linters (#31760)
GitOrigin-RevId: 3aedfa559dda734d4d89fefe0fe1154a5a3cf04d
2025-04-09 19:33:45 +00:00
Alex Neben f9d6427d64 SERVER-87546 Added another example commit for testing
GitOrigin-RevId: e992bd8c5ca99db8e65951aa094fc47ca5e7a0e6
2024-03-06 02:34:41 +00:00
Steve Gross babf160654 SERVER-76796 Enable more lint warnings and fix them 2023-07-16 01:54:51 +00:00
auto-revert-processor 8837a2dfe2 Revert "SERVER-76796 Enable more lint warnings and fix them"
This reverts commit 7e0887b55d.
2023-07-13 20:31:43 +00:00
Steve Gross 7e0887b55d SERVER-76796 Enable more lint warnings and fix them 2023-07-13 15:07:11 +00:00
Tausif Rahman 8a0aabdf03 SERVER-69635 Collect Resmoke metrics 2022-10-19 20:20:31 +00:00
Ryan Timmons 29b8db7147 SERVER-47590 Add undodb Resmoke Subcommand 2020-05-13 18:53:52 +00:00
vrachev 9227199e1c SERVER-46769 Migrate from optparse to argparse 2020-04-30 14:25:56 +00:00
piatrovm 25c7afccb0 SERVER-42607 add quoting to resmoke's invocation for local usage line 2020-04-22 08:58:48 +00:00
piatrovm c20aafdc8b SERVER-42607 add quoting to resmoke's invocation for local usage line 2020-04-22 08:58:48 +00:00
Robert Guo c91e0bd252 SERVER-47214 early exit on incomplete logging even when tests all pass 2020-04-03 13:52:35 +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
Max Hirschhorn c8259b383f SERVER-42228 Skip joining flush thread when logs are already incomplete. 2019-07-15 23:19:32 -04:00
Mathew Robinson f4feba485b SERVER-40542 Remove references to pip2 2019-04-10 11:42:47 -04:00
Mathew Robinson 8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Max Hirschhorn 5acc5f3ef4 SERVER-40241 Log resmoke.py invocation for local usage. 2019-03-27 22:43:28 -04:00
Kim Tao 9acc250dc9 SERVER-39094,SERVER-38136: update Jasper process to reflect RPC changes; fix Windows failures due to sigterm. 2019-03-15 16:29:56 -04:00
Shreyas Kalyan ca5e2e4e33 SERVER-37664 Add support for doing resmoke.py process management through jasper 2018-11-14 16:54:42 -05:00
Max Hirschhorn 8fae595c44 SERVER-35472 Ignore incomplete log output state if all tests passed. 2018-06-08 17:11:33 -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 68005e0ffc SERVER-23312 Enable Python formatting/linting for buildscripts & pytests files 2018-04-11 16:29:32 -04:00
Yves Duhem 2962ff014a SERVER-34356 Reorganize resmoke.py 2018-04-11 13:49:41 -04:00
Max Hirschhorn 265a38952f SERVER-23312 Fix issue with evergreen_run_tests.py stopping early.
Returning true from _execute_suite() causes resmoke.py to interpret that
the test suite's execution was interrupted by the user and for
subsequent test suites to not be run.
2018-04-05 18:19:54 -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 649502fd59 SERVER-33397 New suitesconfig module 2018-02-23 18:23:48 -05:00
Jonathan Abrahams 49c2e3abc7 SERVER-33144 Support archiving data files in Evergreen on test failure - Windows 2018-02-12 12:03:55 -05:00
Jonathan Abrahams 4cc459b6ee SERVER-26884 Support archiving data files in Evergreen on test failure 2018-02-08 12:19:04 -05:00
Kevin Albertson 53b76274a1 SERVER-32121 sys fail on IOError 2017-12-11 09:59:03 -05:00
Yves Duhem 2421e96fa4 SERVER-29924 Display excluded tests in resmoke dry run 2017-11-20 15:56:50 -05: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 65d4cdd857 SERVER-29607 resmoke prints available suites when an invalid one is specified 2017-10-06 13:13:31 -04:00
Robert Guo 7bbda2fbfd SERVER-30839 add back resmoke import checks 2017-10-05 10:14: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
Robert Guo b136dbce0f SERVER-19541 supporting connecting to an external cluster in resmoke.py 2017-08-21 10:30:59 -04:00
Robert Guo f3b60130e2 SERVER-25293 log hook testcases only to logkeeper 2017-06-14 19:57:10 -04:00
Peter Mauldin 19a48549ee SERVER-24783 resmoke.py now prints running tests when encountering timeouts 2017-06-02 11:09:08 -04:00
Jonathan Abrahams b6c1b6b6a9 SERVER-28302 resmoke.py parser should accept files that don't end in .js 2017-05-26 13:59:32 -04:00
Max Hirschhorn 12d5526074 SERVER-28785 Log resmoke.py invocation before running tests. 2017-04-14 17:32:39 -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
Max Hirschhorn 83f31ef26e SERVER-21539 Write report.json file when resmoke.py receives a SIGUSR1. 2017-03-09 13:06:29 -05:00
Mike Grundy 686bd5e0ab SERVER-21841 Add mode to resmoke.py to list under what suites a test runs 2016-05-10 09:51:17 -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 8c8ee18403 SERVER-18756 Write all executions to the report.json file.
Makes it so that a link to the logs for every test that ran is present
in the sidebar of the Evergreen UI. Multiple entries will appear for
the same test file when --repeat is used.

This also fixes an issue where the number of tests skipped would be
incorrect if the same test file was included multiple times in the
"roots" key.
2015-06-22 20:18:10 -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
Greg Studer e88273ac94 SERVER-1424 (re)smoke tag parsing and new test library, v0
Includes:
- Smoke.py options for filtering by jstest tags
- New resmoke.py test utility in v0 alpha
- Lots of example resmoke configurations
- SCons integration for unittests
- Sample tagged jstests
2014-09-18 14:37:45 -04:00
Greg Studer 4677734e7a Revert "SERVER-1424 (re)smoke tag parsing and new test library, v0"
This reverts commit fac5571f67.
2014-09-15 19:42:10 -04:00
Greg Studer fac5571f67 SERVER-1424 (re)smoke tag parsing and new test library, v0
Includes:
- Smoke.py options for filtering by jstest tags
- New resmoke.py test utility in v0 alpha
- Lots of example resmoke configurations
- SCons integration for unittests
- Sample tagged jstests
2014-09-15 19:05:15 -04:00