106 lines
3.4 KiB
JSON
106 lines
3.4 KiB
JSON
{
|
|
"version": "2.1",
|
|
"groups": [
|
|
{
|
|
"name": "errors-and-warnings",
|
|
"urls": [
|
|
"http://logs.openstack.org",
|
|
"http://logs.rdoproject.org",
|
|
"https://ci.centos.org",
|
|
"https://logs.rdoproject.org",
|
|
"https://zuul.openstack.org"
|
|
],
|
|
"substitutions": [
|
|
{
|
|
"input": "^(.*failed[=:]\\s?[1-9]\\d*.*)",
|
|
"inputType": "regexp",
|
|
"output": "<mark style='color: red;' title='rule1'>$1</mark>",
|
|
"caseSensitive": true
|
|
},
|
|
{
|
|
"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": "<mark style='color: red;'>$1</mark>",
|
|
"caseSensitive": false
|
|
},
|
|
{
|
|
"input": "(\\[(DEPRECATION )?WARNING\\]|WARNING:).*",
|
|
"inputType": "regexp",
|
|
"output": "<mark style='color: orange;'>$&</mark>",
|
|
"caseSensitive": true
|
|
},
|
|
{
|
|
"input": "(Exception |failed: [^0]|Could not find or access |Timed out waiting for).*",
|
|
"inputType": "regexp",
|
|
"output": "<mark style='color: red;'>$&</mark>",
|
|
"caseSensitive": true
|
|
},
|
|
{
|
|
"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": "<mark style='color: red;'>$1</mark>",
|
|
"caseSensitive": true
|
|
},
|
|
{
|
|
"input": "^.*No such file or directory",
|
|
"inputType": "regexp",
|
|
"output": "<mark style='color: orange;'>$&</mark>",
|
|
"caseSensitive": false
|
|
}
|
|
],
|
|
"html": "output",
|
|
"enabled": true,
|
|
"mode": "auto&manual"
|
|
},
|
|
{
|
|
"name": "hyperlinks-logs",
|
|
"urls": [
|
|
"http://logs.openstack.org",
|
|
"http://logs.rdoproject.org",
|
|
"https://ci.centos.org",
|
|
"https://logs.rdoproject.org"
|
|
],
|
|
"substitutions": [
|
|
{
|
|
"input": "/home/zuul/workspace/logs/(\\w+\\.log)",
|
|
"inputType": "regexp",
|
|
"output": "<a href=\"logs/$1\" style=\"color: blue;\">$&</a>",
|
|
"caseSensitive": false
|
|
},
|
|
{
|
|
"input": "(\\/home\\/zuul\\/(?!workspace\\/)[^.]*\\.log)(?!\\.)",
|
|
"inputType": "regexp",
|
|
"output": "<a href=\"logs/undercloud/$1.txt.gz\" style=\"color: blue;\">$1</a>",
|
|
"caseSensitive": false
|
|
},
|
|
{
|
|
"input": "(\\/home\\/zuul\\/(?!workspace\\/)[^.]*\\.sh)(?!\\.)",
|
|
"inputType": "regexp",
|
|
"output": "<a href=\"logs/undercloud/$1\" style=\"color: blue;\">$1</a>",
|
|
"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": "<a href=\"https://review.openstack.org/#/c/$1\" style=\"color: blue;\">$&</a>",
|
|
"caseSensitive": false
|
|
}
|
|
],
|
|
"html": "output",
|
|
"enabled": true,
|
|
"mode": "auto&manual"
|
|
}
|
|
]
|
|
}
|