[Branch,~linaro-validation/lava-scheduler/trunk] Rev 215: even more debugging for the lost job problem

Message ID 20120923232911.1801.25414.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson Sept. 23, 2012, 11:29 p.m.
------------------------------------------------------------
revno: 215
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Mon 2012-09-24 11:28:45 +1200
message:
  even more debugging for the lost job problem
modified:
  lava_scheduler_daemon/board.py


--
lp:lava-scheduler
https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk

You are subscribed to branch lp:lava-scheduler.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription

Patch

=== modified file 'lava_scheduler_daemon/board.py'
--- lava_scheduler_daemon/board.py	2012-08-30 03:58:19 +0000
+++ lava_scheduler_daemon/board.py	2012-09-23 23:28:45 +0000
@@ -64,6 +64,10 @@ 
                 self.job.cancel("exceeded log size limit")
         self.log_file.flush()
 
+    def childConnectionLost(self, childFD):
+        self.logger.info("childConnectionLost for %s: %s",
+            self.job.board_name, childFD)
+
     def processExited(self, reason):
         self.logger.info("processExited for %s: %s",
             self.job.board_name, reason.value)