Skip to content

Commit

Permalink
Add ignore for 'number of parameters must be between ... (poo#53435)
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Jun 21, 2019
1 parent 743e9f1 commit 19a0394
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions in.log
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ more output that is not properly prefixed
[2018-08-20T11:25:43.0863 UTC] [error] Global symbol "$api_description" requires explicit package name at template not_found.html.ep line 32.
[2019-06-21T03:39:04.0573 UTC] [warn] Unable to get filename from http://openqa.opensuse.org. Ignoring OPENQA_HOST_URL
[2019-06-21T01:39:15.0246 UTC] [warn] gnome:Laptop_64 has no child, check its machine placed or dependency setting typos
[2019-06-21T09:25:50.0548 UTC] [error] DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: number of parameters must be between 0 and 65535 [for Statement "SELECT me.job_id, me.asset_id, me.created_by, me.t_created, me.t_updated, asset.id, asset.type, asset.name, asset.size, asset.checksum, asset.last_use_job_id, asset.fixed, asset.t_created, asset.t_updated FROM jobs_assets me JOIN assets asset ON asset.id = me.asset_id WHERE ( job_id IN ( ?, ) )" with ParamValues: 1='934057', 2='775775', 3='774972', 4='852279', 5='937661', 6='957555', 7='924633', 8='869768', 9='889133', 10='865729', 80516='740865'] at /usr/share/openqa/script/../lib/OpenQA/WebAPI/Controller/API/V1/Job.pm line 133
2 changes: 2 additions & 0 deletions logwarn_openqa
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ $logwarn ${options} -m '\[.*:?(debug|info|warn|error)\]' -p ${file} \
'!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' \
'\[.*:?(warn|error)\]' '!\[.*:?(debug|info)\]' $@
1 change: 1 addition & 0 deletions test_logwarn
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ echo $out | grep -q 'DBI Exception' && exit 2
echo $out | grep -q '\[.*warn\] A message received from unknown worker connection' && exit 2
echo $out | grep -q '\[.*warn\] Unable to get filename' && exit 2
echo $out | grep -q '\[.*warn\] has no child, check its machine placed' && exit 2
echo $out | grep -q '\[error\] DBIx.*number of parameters must be between.*OpenQA/WebAPI/Controller/API/V1/Job.pm' && exit 2
echo "PASSED"

0 comments on commit 19a0394

Please sign in to comment.