-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlogwarn_openqa
executable file
·90 lines (90 loc) · 5.32 KB
/
logwarn_openqa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/bin/sh -e
file="${file:-"${1:-"/var/log/openqa"}"}"
options="${options:-""}"
logwarn="${logwarn:-$(command -v logwarn)}"
$logwarn ${options} -m '\[.*:?(debug|info|warn|error)\]' -p ${file} \
`# ignore known warnings mentioned in https://progress.opensuse.org/issues/13952` \
'!got a status update but has no worker' \
'!got an artefact but has no worker' \
`# ignore broken registered assets https://progress.opensuse.org/issues/13938` \
'!error\] Registering asset iso/.*:' \
'!warn\] asset name .* invalid or does not exist' \
'!is not in any job group, DELETE from assets where' \
'!Registering asset' \
`# https://progress.opensuse.org/issues/14904` \
'!Can.*t call method .*DISTRI.* on an undefined value' \
`# https://progress.opensuse.org/issues/14906` \
'!Can.*t locate object method .*start_range.* via package .*Mojolicious::Plugin::AssetPack::Asset.*' \
`# https://progress.opensuse.org/issues/15202` \
'!is not in any job group, will delete in.*' \
`# https://progress.opensuse.org/issues/17600` \
'!duplicate key value violates unique constraint "job_templates_product_id_machine_id_test_suite_id"' \
`# https://progress.opensuse.org/issues/17652` \
'!Not an OpenID message' \
`# https://progress.opensuse.org/issues/17762` \
'!.*AMQP.*Connect timeout.*' \
`# https://progress.opensuse.org/issues/17708` \
'!dead job [0-9]+ aborted and duplicated [0-9]+' \
`# https://progress.opensuse.org/issues/18048` \
'!warn\] AMQP connection closed' \
`# https://progress.opensuse.org/issues/18076 ` \
'!warn\] no products found, retrying version wildcard' \
`# https://progress.opensuse.org/issues/18162 ` \
'!warn\] START_AFTER_TEST=.* not found - check for typos and dependency cycles' \
`# https://progress.opensuse.org/issues/19424 ` \
'!Worker not found for given connection during connection close' \
`# https://progress.opensuse.org/issues/19674 ` \
'!warn\] AMQP connection error: SSL connect attempt failed with unknown error' \
`# https://progress.opensuse.org/issues/19730` \
'!warn\] can.t remove.*png' \
`# https://progress.opensuse.org/issues/19732` \
'!scheduler:warn\] .* wants to grab a new job - killing the old one.*' \
`# https://progress.opensuse.org/issues/20218` \
'!error\] Failed to login: OpenID provider returned invalid data\. Please retry again' \
`# https://progress.opensuse.org/issues/21836` \
'!websockets:warn\] A message received from unknown worker connection' \
`# https://progress.opensuse.org/issues/21018` \
'!warn\] Stopping worker .* immediately' \
`# https://progress.opensuse.org/issues/106613` \
'!error\].* DBIx::Class::Row::update\(\): Can.t update OpenQA::Schema::Result::JobLocks=.* row not found' \
`# https://progress.opensuse.org/issues/23536` \
'!error\] org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.' \
`# https://progress.opensuse.org/issues/19674 ` \
'!warn\] AMQP connection error: No route to host' \
`# https://progress.opensuse.org/issues/29289` \
'!warn\].*\/needles\/.*: No such file or directory' \
'!error] Could not parse needle:.*' \
`# https://progress.opensuse.org/issues/29478` \
'!error\] Global symbol.*api_description.*not_found\.html\.ep' \
`# https://progress.opensuse.org/issues/29481` \
'!:error\] .*DBI Exception.*ERROR: invalid input syntax for integer.* at .*Controller/Test.pm' \
`# https://progress.opensuse.org/issues/40007` \
'!warn\].*A message received from unknown worker connection' \
`# https://progress.opensuse.org/issues/53399` \
'!warn\].*Unable to get filename from .* Ignoring OPENQA_HOST_URL' \
`# https://progress.opensuse.org/issues/53405` \
'!warn\].*has no child, check its machine placed or dependency setting typos' \
`# https://progress.opensuse.org/issues/53435` \
'!error\].*DBIx.*number of parameters must be between.*OpenQA/WebAPI/Controller/API/V1/Job' \
`# https://progress.opensuse.org/issues/53474` \
'!error\].*File exists at.*Schema/Result/Jobs' \
`# https://progress.opensuse.org/issues/105921` \
'!\[error\].* Cannot read symbolic link .*/.run_last): No such file or directory' \
`# https://progress.opensuse.org/issues/105915` \
'!\[error\].* Needle file .*.json not found within /.*\.' \
`# https://progress.opensuse.org/issues/105903` \
'!\[error\].* Publishing .* failed: Connect timeout \([1-9][0-9]* attempts left\)' \
`# https://progress.opensuse.org/issues/105900` \
'!\[warn\].* Unable to wakeup scheduler: Request timeout' \
`# https://progress.opensuse.org/issues/105918` \
'!\[warn\].* fatal: Invalid revision range .*\.\.' \
`# https://progress.opensuse.org/issues/105930` \
'!\[warn\] \[pid:[0-9]*\] $' \
`# https://progress.opensuse.org/issues/106756` \
'!\[error\].*cmd returned [0-9]*$' \
`# https://progress.opensuse.org/issues/125459` \
'!\[error\].*naive_verify_failed_return' \
`# https://progress.opensuse.org/issues/138536` \
'!\[error\].*Worker [0-9]+ has no heartbeat.*' \
`# this line needs to be the last` \
'\[.*:?(warn|error)\]' '!\[.*:?(debug|info)\]' \ $@