-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Labels:None
-
Fully Compatible
-
STM 2020-06-29, STM 2020-07-13, STM 2020-07-27, STM 2020-08-10
-
3
Resmoke will dump all output into either stdout or a log file. When people are running things locally, they often want:
- To save all the detailed output into a log file for perusal
- A way to know that the run may have hit an error condition
- A way to know that the set of tests is making progress
Many people use a series of mrlog, greps, tee and output redirection to achieve this, e.g:
resmoke run --suite sample_suite | mrlog | tee output_file.log | egrep "invariant|fassert|BACKTRACE|failed to load|..."
Additionally, many people that craft those for individual reproduction attempts, haven't yet realized that saving it as a shell alias/function/script would be useful in the future.
The goal of this ticket is to provide a useful starting point for accomplishing the bullet points using the current keywords that MongoDB tests generate.