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 | 52fe3f7 | 2014-10-07 16:59:13 -0700 | [diff] [blame^] | 8 | error /FAIL:/ |
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 | 068a7b2 | 2014-09-26 00:50:55 -0700 | [diff] [blame] | 11 | # Warn on exceptions, sub-errors, and skipped |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 12 | warn /(?i)^exception/ |
13 | warn /ERROR/ | ||||
Bob Lantz | 52fe3f7 | 2014-10-07 16:59:13 -0700 | [diff] [blame^] | 14 | warn /FAIL/ |
Bob Lantz | 068a7b2 | 2014-09-26 00:50:55 -0700 | [diff] [blame] | 15 | warn /\.\.\. skipped/ |
Bob Lantz | be321b6 | 2014-09-25 17:16:25 -0700 | [diff] [blame] | 16 | |
Bob Lantz | 667c6aa | 2014-09-26 00:13:34 -0700 | [diff] [blame] | 17 | # Report passed tests in Info |
Bob Lantz | 30f2938 | 2014-09-25 17:45:07 -0700 | [diff] [blame] | 18 | info /Test.*OK/ |
Bob Lantz | 667c6aa | 2014-09-26 00:13:34 -0700 | [diff] [blame] | 19 | info /Sanity.*OK/ |
Bob Lantz | d9e58de | 2014-09-26 00:26:44 -0700 | [diff] [blame] | 20 | info /\.\.\. ok/ |
Bob Lantz | a062d02 | 2014-09-29 22:36:16 -0700 | [diff] [blame] | 21 | info /Ran.*tests/ |