diff mbox series

[OSSTEST,05/21] starvation: Teach sg-report-flight about starved step state

Message ID 20190418163158.11408-6-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series Abandon jobs which are unreasonably delaying their flight | expand

Commit Message

Ian Jackson April 18, 2019, 4:31 p.m. UTC
We are going to use this for situations where the resources to run the
test weren't available.  In general we are going to treat this as not
a regression.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 sg-report-flight | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/sg-report-flight b/sg-report-flight
index a1adf952..2677c479 100755
--- a/sg-report-flight
+++ b/sg-report-flight
@@ -805,9 +805,9 @@  END
             next;
         }
 
-	if ($st eq 'blocked') {
-	    print MRO "blocked $s->{job} $s->{testid}\n";
-	    print DEBUG " blocked, call it justifiable\n";
+	if ($st eq 'blocked' or $st eq 'starved') {
+	    print MRO "$st $s->{job} $s->{testid}\n";
+	    print DEBUG " $st, call it justifiable\n";
 	    $failv->{Summary}= 'n/a';
             $failv->{Blocker}= '';
 	    next;