various changes all over the place
[tests.git] / system / TestNode.py
index 0624269..f9f3979 100644 (file)
@@ -157,7 +157,8 @@ class TestNode:
         utils.header("Starting qemu node %s on %s"%(self.name(),test_box.hostname()))
 
         test_box.run_in_buildname("qemu-%s/env-qemu start >> nodeslogs/%s.log"%(self.name(),self.name()))
-        test_box.run_in_buildname("qemu-%s/start-qemu-node 2>&1 >> nodeslogs/%s.log &"%(self.name(),self.name()))
+        # kick it off in background, as it would otherwise hang
+        test_box.run_in_buildname("qemu-%s/start-qemu-node 2>&1 >> nodeslogs/%s.log &"%(self.name(),self.name()),True)
 
     def list_qemu (self):
         utils.header("Listing qemu for host %s on box %s"%(self.name(),self.test_box().hostname()))
@@ -175,3 +176,10 @@ class TestNode:
         command="qemu-%s/kill-qemu-node %s"%(self.name(),self.name())
         self.test_box().run_in_buildname(command)
         return True
+
+    def gather_qemu_logs (self):
+        utils.header("WARNING - Incomplete logs gathering TestNodes.gather_qemu_logs")
+
+    def gather_var_logs (self):
+        utils.header("WARNING - Incomplete logs gathering TestNodes.gather_var_logs")
+