Skip to content

Commit

Permalink
Makes bsc#1170322 to have a softfail
Browse files Browse the repository at this point in the history
Use of Negative Lookahead in the regex to
filter /nothing provides/ and match all but not the one in the bug report.
Then move it to be catched in the %y2log_known_errors which gives us
a softfail report.
  • Loading branch information
b10n1k committed Jun 16, 2020
1 parent 8ce5508 commit 1f1f562
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/opensusebasetest.pm
Expand Up @@ -233,14 +233,15 @@ sub investigate_yast2_failure {
my %y2log_errors = (
"No textdomain configured" => undef, # Detecting missing translations
# Detecting specific errors proposed by the YaST dev team
"nothing provides" => undef, # Detecting missing required packages
"(nothing provides) (?!\/bin\/sh)" => undef, # Detecting missing required packages
"but this requirement cannot be provided" => undef, # Detecting package conflicts
"Could not load icon|Couldn't load pixmap" => undef, # Detecting missing icons
"Internal error. Please report a bug report" => undef, # Detecting internal errors
"error.*@.*is not allowed" => undef, # Detecting incompatible type classes, see bsc#1158589
);
# Hash with known errors which we don't want to track in each postfail hook
my %y2log_known_errors = (
"<1>.*nothing provides \/bin\/sh" => 'bsc#1170322',
"<3>.*QueryWidget failed.*RichText.*VScrollValue" => 'bsc#1167248',
"<3>.*Solverrun finished with an ERROR" => 'bsc#1170322',
"<3>.*3 packages failed.*badlist" => 'bsc#1170322',
Expand Down

0 comments on commit 1f1f562

Please sign in to comment.