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 | a75826c | 2014-09-26 00:37:09 -0700 | [diff] [blame^] | 6 | # Failed full tests will be marked with FAILED, |
| 7 | # and a pexpect TIMEOUT is also almost certainly an error |
Bob Lantz | 17ba9c8 | 2014-09-25 17:36:11 -0700 | [diff] [blame] | 8 | error /FAILED/ |
Bob Lantz | a75826c | 2014-09-26 00:37:09 -0700 | [diff] [blame^] | 9 | error /TIMEOUT/ |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 10 | |
Bob Lantz | 667c6aa | 2014-09-26 00:13:34 -0700 | [diff] [blame] | 11 | # Warn on exceptions and sub-errors |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 12 | warn /(?i)^exception/ |
| 13 | warn /ERROR/ |
| 14 | |
Bob Lantz | 667c6aa | 2014-09-26 00:13:34 -0700 | [diff] [blame] | 15 | # Report passed tests in Info |
Bob Lantz | 30f2938 | 2014-09-25 17:45:07 -0700 | [diff] [blame] | 16 | info /Test.*OK/ |
Bob Lantz | 667c6aa | 2014-09-26 00:13:34 -0700 | [diff] [blame] | 17 | info /Sanity.*OK/ |
Bob Lantz | d9e58de | 2014-09-26 00:26:44 -0700 | [diff] [blame] | 18 | info /\.\.\. ok/ |