log_parser.py: Find failed test case messages in error logs (#25694)
- Match failed autotest tests show the word "FAILED" near the end - Match "FAIL: ", "FATAL: ", "failed ", "Failed test" of other suites - autotest " ok"$ means the test passed, independend of text before. - autoconf messages showing missing tools are fatal later, show them.
This commit is contained in:
parent
34415f6878
commit
6ccda81368
8
lib/spack/external/ctest_log_parser.py
vendored
8
lib/spack/external/ctest_log_parser.py
vendored
@ -118,7 +118,11 @@ def match(self, text):
|
|||||||
"([^:]+): (Error:|error|undefined reference|multiply defined)",
|
"([^:]+): (Error:|error|undefined reference|multiply defined)",
|
||||||
"([^ :]+) ?: (error|fatal error|catastrophic error)",
|
"([^ :]+) ?: (error|fatal error|catastrophic error)",
|
||||||
"([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)"),
|
"([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)"),
|
||||||
"^FAILED",
|
"^FAIL: ",
|
||||||
|
"^FATAL: ",
|
||||||
|
"^failed ",
|
||||||
|
"FAILED",
|
||||||
|
"Failed test",
|
||||||
"^[Bb]us [Ee]rror",
|
"^[Bb]us [Ee]rror",
|
||||||
"^[Ss]egmentation [Vv]iolation",
|
"^[Ss]egmentation [Vv]iolation",
|
||||||
"^[Ss]egmentation [Ff]ault",
|
"^[Ss]egmentation [Ff]ault",
|
||||||
@ -154,6 +158,7 @@ def match(self, text):
|
|||||||
"ld: 0706-006 Cannot find or open library file: -l ",
|
"ld: 0706-006 Cannot find or open library file: -l ",
|
||||||
"ild: \\(argument error\\) can't find library argument ::",
|
"ild: \\(argument error\\) can't find library argument ::",
|
||||||
"^could not be found and will not be loaded.",
|
"^could not be found and will not be loaded.",
|
||||||
|
"^WARNING: '.*' is missing on your system",
|
||||||
"s:616 string too big",
|
"s:616 string too big",
|
||||||
"make: Fatal error: ",
|
"make: Fatal error: ",
|
||||||
"ld: 0711-993 Error occurred while writing to the output file:",
|
"ld: 0711-993 Error occurred while writing to the output file:",
|
||||||
@ -177,6 +182,7 @@ def match(self, text):
|
|||||||
": warning",
|
": warning",
|
||||||
": \\(Warning\\)",
|
": \\(Warning\\)",
|
||||||
": note",
|
": note",
|
||||||
|
" ok",
|
||||||
"Note:",
|
"Note:",
|
||||||
"makefile:",
|
"makefile:",
|
||||||
"Makefile:",
|
"Makefile:",
|
||||||
|
Loading…
Reference in New Issue
Block a user