[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 674: Neil Williams 2013-09-06 minor tweak to the doc header structure to

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

Commit Message

Neil Williams Sept. 6, 2013, 10:55 a.m.
Merge authors:
  Neil Williams (codehelp)
Related merge proposals:
  https://code.launchpad.net/~codehelp/lava-dispatcher/coordinator-typo/+merge/184103
  proposed by: Neil Williams (codehelp)
  review: Approve - Antonio Terceiro (terceiro)
------------------------------------------------------------
revno: 674 [merge]
committer: Neil Williams <neil.williams@linaro.org>
branch nick: lava-dispatcher
timestamp: Fri 2013-09-06 11:53:29 +0100
message:
  Neil Williams 2013-09-06 minor tweak to the doc header structure to
   simplify the index listing.
  Neil Williams 2013-09-05 lower Multi-Node message to debug as well
  Neil Williams 2013-09-05 downgrade some other debug messages from
   info status.
  Neil Williams 2013-09-05 Fix typo in dispatcher message when there
   is no results bundle.
modified:
  doc/index.rst
  lava/dispatcher/node.py
  lava_dispatcher/job.py


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

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

Patch

=== modified file 'doc/index.rst'
--- doc/index.rst	2013-06-28 10:57:22 +0000
+++ doc/index.rst	2013-09-06 10:52:02 +0000
@@ -3,7 +3,8 @@ 
    liking, but it should at least contain the root `toctree` directive.
 
 LAVA Dispatcher Documentation
-=============================
+*****************************
+
 LAVA Dispatcher is used to dispatch test jobs from server(master node) to the target
 boards in validation farm, and publish the test result back to dashboard. It is
 scheduled by validation scheduler, and it could also run as standalone.

=== modified file 'lava/dispatcher/node.py'
--- lava/dispatcher/node.py	2013-08-23 14:38:22 +0000
+++ lava/dispatcher/node.py	2013-09-05 13:22:41 +0000
@@ -317,7 +317,7 @@ 
         :param json_data: Arbitrary data from the job which will form the result bundle
         """
         if json_data["bundle"] is None:
-            logging.info("Notifyng LAVA Controller of job completion")
+            logging.info("Notifying LAVA Coordinator of job completion")
         else:
             logging.info("Passing results bundle to LAVA Coordinator.")
         reply_str = self._send(json_data)

=== modified file 'lava_dispatcher/job.py'
--- lava_dispatcher/job.py	2013-09-05 23:08:13 +0000
+++ lava_dispatcher/job.py	2013-09-06 10:53:29 +0000
@@ -228,10 +228,10 @@ 
                 metadata['group_size'] = self.job_data['group_size']
                 self.context.test_data.add_metadata(metadata)
 
-            logging.info("[ACTION-B] Multi Node test!")
-            logging.info("[ACTION-B] target_group is (%s)." % self.context.test_data.metadata['target_group'])
+            logging.debug("[ACTION-B] Multi Node test!")
+            logging.debug("[ACTION-B] target_group is (%s)." % self.context.test_data.metadata['target_group'])
         else:
-            logging.info("[ACTION-B] Single node test!")
+            logging.debug("[ACTION-B] Single node test!")
 
         try:
             job_length = len(self.job_data['actions'])
@@ -305,10 +305,10 @@ 
                     logging.info("General Exception: %s" % unicode(str(err)))
                     raise
                 else:
-                    logging.info("setting status pass")
+                    logging.debug("setting status pass")
                     status = 'pass'
                 finally:
-                    logging.info("finally status %s" % status)
+                    logging.debug("finally status %s" % status)
                     err_msg = ""
                     if status == 'fail':
                         # XXX mwhudson, 2013-01-17: I have no idea what this