Module: tools
Branch: master
Commit: 9201d1b1a63397c14e009993b05a0f8012198ba1
URL: https://gitlab.winehq.org/winehq/tools/-/commit/9201d1b1a63397c14e009993b05…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Wed Nov 30 16:19:47 2022 +0100
testbot/LogUtils: Don't try to match deleted known failures.
Entries marked deleted will actually be deleted once nothing references
them anymore. But that may not happen if the TestBot keeps trying to
match them and potentially adding new references.
---
testbot/lib/WineTestBot/LogUtils.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 241eda46..c381906d 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -1469,6 +1469,7 @@ sub MatchLogFailures($$)
my $ConfigName = $Task->VMName .":$LogInfo->{LogName}";
$LogFailures->{Collection} = CreateFailures();
+ $LogFailures->{Collection}->AddFilter("BugStatus", ["deleted"], "<>");
foreach my $Failure (@{$LogFailures->{Collection}->GetItems()})
{
# Ignore failures that don't apply to this configuration