diff --git a/coats/FoxReplace.json b/coats/FoxReplace.json index ef430e3..79bf1a2 100644 --- a/coats/FoxReplace.json +++ b/coats/FoxReplace.json @@ -2,7 +2,7 @@ "version": "2.1", "groups": [ { - "name": "failed2", + "name": "errors-and-warnings", "urls": [ "http://logs.openstack.org", "http://logs.rdoproject.org", @@ -12,64 +12,40 @@ ], "substitutions": [ { - "input": "(failed[=:]\\s?[1-9]\\d*.*)", + "input": "^(.*failed[=:]\\s?[1-9]\\d*.*)", "inputType": "regexp", - "output": "$1", + "output": "$1", "caseSensitive": true }, { - "input": "(\\*\\*\\* FAILED with status: .*)", + "input": "^(.*(ERROR|ERR|Finished: ABORTED|\\*\\*\\* FAILED with status|error|fatal|RUN END RESULT_TIMED_OUT|Failed \\d+ tests - output below:|Traceback \\(most recent call last\\))[:\\!] .*)", "inputType": "regexp", - "output": "$1", - "caseSensitive": true - }, - { - "input": "(.* failed with error code .*)", - "inputType": "regexp", - "output": "$1", - "caseSensitive": true - }, - { - "input": "((ERROR|error|fatal|RUN END RESULT_TIMED_OUT)[:\\!] .*)", - "inputType": "regexp", - "output": "$1", + "output": "$1", "caseSensitive": false }, { - "input": "(Failed \\d+ tests - output below:)", + "input": "(\\[(DEPRECATION )?WARNING\\]|WARNING:).*", "inputType": "regexp", - "output": "$1", + "output": "$&", "caseSensitive": true }, { - "input": "(\\[(DEPRECATION )?WARNING\\].*)", + "input": "(Exception |failed: [^0]|Could not find or access |Timed out waiting for).*", "inputType": "regexp", - "output": "$1", + "output": "$&", "caseSensitive": true }, { - "input": "(.*CREATE_FAILED.*)", + "input": "^(.* (failed with error code .*|CREATE_FAILED.*|Terminated|marked build as failure|No such file or directory|found a duplicate dict key|which is incompatible\\.|unbound variable))$", "inputType": "regexp", - "output": "$1", + "output": "$1", "caseSensitive": true }, { - "input": "(Exception registering nodes|failed: [^0]|Could not find or access ).*", + "input": "^.*No such file or directory", "inputType": "regexp", - "output": "$&", - "caseSensitive": true - }, - { - "input": "(error:.*)", - "inputType": "regexp", - "output": "$1", + "output": "$&", "caseSensitive": false - }, - { - "input": "(.* (marked build as failure|No such file or directory))", - "inputType": "regexp", - "output": "$1", - "caseSensitive": true } ], "html": "output", @@ -77,19 +53,47 @@ "mode": "auto&manual" }, { - "name": "hyperlinking-logs", + "name": "hyperlinks-logs", "urls": [ "http://logs.openstack.org", "http://logs.rdoproject.org", "https://ci.centos.org", - "https://logs.rdoproject.org", - "https://zuul.openstack.org" + "https://logs.rdoproject.org" ], "substitutions": [ { - "input": "/home/zuul/workspace/logs/(\\w+)\\.log", + "input": "/home/zuul/workspace/logs/(\\w+\\.log)", "inputType": "regexp", - "output": "$&", + "output": "$&", + "caseSensitive": false + }, + { + "input": "(\\/home\\/zuul\\/(?!workspace\\/)[^.]*\\.log)(?!\\.)", + "inputType": "regexp", + "output": "$1", + "caseSensitive": false + }, + { + "input": "(\\/home\\/zuul\\/(?!workspace\\/)[^.]*\\.sh)(?!\\.)", + "inputType": "regexp", + "output": "$1", + "caseSensitive": false + } + ], + "html": "output", + "enabled": true, + "mode": "auto&manual" + }, + { + "name": "hyperlinks-taiga", + "urls": [ + "https://tree.taiga.io" + ], + "substitutions": [ + { + "input": "CR\\s?(\\d+)", + "inputType": "regexp", + "output": "$&", "caseSensitive": false } ],