This repository has been archived by the owner on Nov 20, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
logwarn_openqa
executable file
·52 lines (52 loc) · 2.87 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
#!/bin/sh -e
file="${file:-"${1:-"/var/log/openqa"}"}"
options="${options:-""}"
logwarn="${logwarn:-$(which 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/17784` \
'!Error sending AMQP event: Channel is not open' \
`# https://progress.opensuse.org/issues/18048` \
'!warn\] AMQP connection closed' \
`# https://progress.opensuse.org/issues/18052` \
'!warn\] Error on AMQP channel received: Failed closing channel: Unknown channel id received: 1' \
`# 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/19756` \
'!websockets:error\] Unknown property received from worker .*' \
`# https://progress.opensuse.org/issues/19794` \
'!websockets:warn\] dead job .* aborted as incomplete' \
`# https://progress.opensuse.org/issues/21018` \
'!warn\] Stopping worker .* immediately' \
'\[.*:(warn|error)\]' '!\[.*:(debug|info)\]' $@