[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 15/21] starvation: Propagate starved job status into dependent jobs



If a build job is starved, then the same status

(No jobs are marked `starved' yet.)

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest/JobDB/Executive.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Osstest/JobDB/Executive.pm b/Osstest/JobDB/Executive.pm
index 2e11c8f3..be5588fc 100644
--- a/Osstest/JobDB/Executive.pm
+++ b/Osstest/JobDB/Executive.pm
@@ -380,6 +380,8 @@ END
             } else {
                 die "job $oflight.$ojob ($why) queued (we are $ourstatus)";
             }
+        } elsif ($jstatus eq 'starved') {
+            broken("job $oflight.$ojob ($why) $jstatus", $jstatus);
         } else {
             broken("job $oflight.$ojob ($why) $jstatus", 'blocked');
         }
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.