blob: cfc7dfadd4913a3fa2bf1efdea3268ff563755a2 [file] [log] [blame]
Bob Lantzbe321b62014-09-25 17:16:25 -07001# Rules for Jenkins Log Parser Plugin
2# These should work for parsing the Mininet test log
Bob Lantz17ba9c82014-09-25 17:36:11 -07003# Rules are in priority order - first matching rule
4# triggers and the rest are ignored.
Bob Lantzbe321b62014-09-25 17:16:25 -07005
Bob Lantza75826c2014-09-26 00:37:09 -07006# Failed full tests will be marked with FAILED,
7# and a pexpect TIMEOUT is also almost certainly an error
Bob Lantz52fe3f72014-10-07 16:59:13 -07008error /FAIL:/
Bob Lantza75826c2014-09-26 00:37:09 -07009error /TIMEOUT/
Bob Lantzbe321b62014-09-25 17:16:25 -070010
Bob Lantz068a7b22014-09-26 00:50:55 -070011# Warn on exceptions, sub-errors, and skipped
Bob Lantzbe321b62014-09-25 17:16:25 -070012warn /(?i)^exception/
13warn /ERROR/
Bob Lantz52fe3f72014-10-07 16:59:13 -070014warn /FAIL/
Bob Lantz068a7b22014-09-26 00:50:55 -070015warn /\.\.\. skipped/
Bob Lantzbe321b62014-09-25 17:16:25 -070016
Bob Lantz667c6aa2014-09-26 00:13:34 -070017# Report passed tests in Info
Bob Lantz30f29382014-09-25 17:45:07 -070018info /Test.*OK/
Bob Lantz667c6aa2014-09-26 00:13:34 -070019info /Sanity.*OK/
Bob Lantzd9e58de2014-09-26 00:26:44 -070020info /\.\.\. ok/
Bob Lantza062d022014-09-29 22:36:16 -070021info /Ran.*tests/