diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 550: testdef_meta data has not yet been approved in our bundle format

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

Commit Message

Andy Doan Jan. 30, 2013, 5:46 a.m. UTC
------------------------------------------------------------
revno: 550
tags: release-0.32.1
committer: Andy Doan <andy.doan@linaro.org>
branch nick: lava-dispatcher
timestamp: Tue 2013-01-29 23:33:55 -0600
message:
  testdef_meta data has not yet been approved in our bundle format
  
  we need to release today but we aren't yet ready to include the
  proposed update to the bundle format. For now, I'm just backing
  out the part of revno 548 that added this information to the bundle
modified:
  lava_dispatcher/lava_test_shell.py
  lava_dispatcher/test_data.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
diff mbox

Patch

=== modified file 'lava_dispatcher/lava_test_shell.py'
--- lava_dispatcher/lava_test_shell.py	2013-01-28 08:29:21 +0000
+++ lava_dispatcher/lava_test_shell.py	2013-01-30 05:33:55 +0000
@@ -292,11 +292,11 @@ 
     uuid = _read_content(os.path.join(test_run_dir, 'analyzer_assigned_uuid'))
     attachments = _get_run_attachments(test_run_dir, testdef, stdout)
     attributes = _attributes_from_dir(os.path.join(test_run_dir, 'attributes'))
-    testdef_metadata = _read_content(os.path.join(test_run_dir,
-                                                  'testdef_metadata'))
+    # XXX testdef_metadata = _read_content(os.path.join(test_run_dir,
+    # XXX                                              'testdef_metadata'))
 
     testdef = yaml.load(testdef)
-    testdef_metadata = yaml.load(testdef_metadata)
+    # XXX testdef_metadata = yaml.load(testdef_metadata)
     if uuid in testdefs_by_uuid:
         sw_sources = testdefs_by_uuid[uuid]._sw_sources
     else:
@@ -314,7 +314,7 @@ 
         'hardware_context': hwcontext,
         'attachments': attachments,
         'attributes': attributes,
-        'testdef_metadata': testdef_metadata,
+        # XXX 'testdef_metadata': testdef_metadata,
     }
 
 

=== modified file 'lava_dispatcher/test_data.py'
--- lava_dispatcher/test_data.py	2013-01-28 08:29:21 +0000
+++ lava_dispatcher/test_data.py	2013-01-30 05:33:55 +0000
@@ -34,8 +34,8 @@ 
     def __init__(self, test_id='lava'):
         self.job_status = 'pass'
         self.metadata = {}
-        self._test_run = { 'test_results':[], 'attachments':[], 'tags':[],
-                           'testdef_metadata':{} }
+        self._test_run = { 'test_results':[], 'attachments':[], 'tags':[], }
+                           # XXX 'testdef_metadata':{} }
         self._test_run['test_id'] = test_id
         self._assign_date()
         self._assign_uuid()