Changeset: a964637e8deb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a964637e8deb
Modified Files:
testing/Mfilter.py.in
Branch: Aug2011
Log Message:
Mfilter: add pattern for perl DBD errors, fix too greedy pattern
pattern 22 was too greedy and matched nearly all lines, restricted it to
lines starting with [Uu]sage. Added pattern 28 that strips out source
paths for DBD error messages.
diffs (26 lines):
diff --git a/testing/Mfilter.py.in b/testing/Mfilter.py.in
--- a/testing/Mfilter.py.in
+++ b/testing/Mfilter.py.in
@@ -130,12 +130,13 @@
## r'^(variable\(s\) out of scope or unknown: at )(?:.*)\n',
# 18: 1
## r'^(bad usage of XML namespaces: at )(?:.*)\n',
# 19: 1
r"^(QUERY|ERROR)( =.* connect)( to|)( ')(localhost)(' port )([0-9]+)(
.*)\n", # 21: 8
- r"^([Uu]sage: |)(/.*/\.libs/|/.*/lt-|)([A-Za-z0-9_]+:?[ \t].*)\n",
# 22: 3
+ r"^([Uu]sage: )(/.*/\.libs/|/.*/lt-|)([A-Za-z0-9_]+:?[ \t].*)\n",
# 22: 3
## r'^(.*: )(illegal|invalid)( option -- .*)\n',
# 23: 3
# r'^(01/Jan/1970 01:00:00 shttpd_open_port: bind\(|!ERROR:
MAPIlisten:binding to stream socket \()([0-9]+)(\): Address already in use|\)
failed)\n', # 24: 3
r'^(!.*Exception:remote\.[^:]*:\(mapi:monetdb://monetdb@)([^/]*)(/mTests_.*\).*)\n',
# 25: 3
## r'^(ERROR = !sql_stmt symbol\()(.*)(\)->token = CREATE_SCHEMA)\n',
# 26: 3
# r'^(ERROR = !IOException:mapi.connect:Could not connect: getaddrinfo
failed: )(No .* is|.* not)( known[\. ]*)\n', # 27: 3
+ r'^(ERROR REPORTED: DBD::.+ at )([\./].+)(/[^/]+\.pm line [0-9]+\.)\n',
# 28: 3
## r'^(ERROR =| )( !ERROR: | !SQLException:assert:| !SQLException:sql:
| !SQLException:| !MALException:)([^:]+)(: *)([^ ].*)\n', # 90: 5
# r'^(.*: at )(\([0-9]+,[0-9]+\-[0-9]+,[0-9]+\))(: .*)\n',
# 91: 3
## r'^(fatal error|ERROR)(: err:FORG0005, fn:exactly-one called with a
sequence containing zero or more than one item..*)()\n', # 99: 3
@@ -169,6 +170,7 @@
None, 'localhost', None,
# 25: 3
## None, '...', None,
# 26: 3
# None, 'un', 'known',
# 27: 3
+ None, '', None,
# 28: 3
## None, ' !ERROR', '', ': ', None,
# 90: 5
# None, '...', None,
# 91: 3
## '=ERROR', None, '\n#',
# 99: 3
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list