Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 1 | # Rules for Jenkins Log Parser Plugin |
| 2 | # These should work for parsing the Mininet test log |
Bob Lantz | 17ba9c8 | 2014-09-25 17:36:11 -0700 | [diff] [blame] | 3 | # Rules are in priority order - first matching rule |
| 4 | # triggers and the rest are ignored. |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 5 | |
Bob Lantz | 17ba9c8 | 2014-09-25 17:36:11 -0700 | [diff] [blame] | 6 | # Failed full tests will be marked with FAILED |
| 7 | error /FAILED/ |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 8 | |
| 9 | # Print warnings for specific sub-errors |
| 10 | warn /(?i)^exception/ |
| 11 | warn /ERROR/ |
| 12 | |
Bob Lantz | 17ba9c8 | 2014-09-25 17:36:11 -0700 | [diff] [blame] | 13 | # Passed tests should be marked with OK |
| 14 | ok /Test.*OK/ |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 15 | |
Bob Lantz | 17ba9c8 | 2014-09-25 17:36:11 -0700 | [diff] [blame] | 16 | # Useful information |
Bob Lantz | 30f2938 | 2014-09-25 17:45:07 -0700 | [diff] [blame] | 17 | info /Test.*OK/ |
Bob Lantz | 17ba9c8 | 2014-09-25 17:36:11 -0700 | [diff] [blame] | 18 | info /(?i)booting/ |
| 19 | info /(?i)running tests/ |
| 20 | info /Ran.*tests in/ |