Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix order of commands #50

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions logwarn_openqa
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ $logwarn ${options} -m '\[.*:?(debug|info|warn|error)\]' -p ${file} \
'!\[error\].*cmd returned [0-9]*$' \
`# https://progress.opensuse.org/issues/125459` \
'!\[error\].*naive_verify_failed_return' \
'\[.*:?(warn|error)\]' '!\[.*:?(debug|info)\]' \
`# https://progress.opensuse.org/issues/138536` \
'!\[error\].*Worker [0-9]+ has no heartbeat.*' $@
'!\[error\].*Worker [0-9]+ has no heartbeat.*' \
`# this line needs to be the last` \
'\[.*:?(warn|error)\]' '!\[.*:?(debug|info)\]' \ $@
2 changes: 1 addition & 1 deletion test_logwarn
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ is-ignored '\[warn\].* Unable to wakeup scheduler: Request timeout'
is-ignored '\[warn\].* fatal: Invalid revision range .*\.\.'
is-ignored '\[warn\] \[pid:[0-9]*\] $'
is-ignored '\[error\].*cmd returned 32768$'
is-ignored '\[error\] Worker 17519 has no heartbeat \(900 seconds\), restarting \(see FAQ for more\)'
is-ignored '\[error\] Worker 17519 has no heartbeat'
done-testing

# explicitly exit with $rc unless we are run by prove
Expand Down
Loading