I just committed a fix for this in lava-dispatcher trunk @ r578. Following is the patch for reference:
<snip> === modified file 'lava_dispatcher/lava_test_shell.py' --- lava_dispatcher/lava_test_shell.py 2013-04-05 09:27:07 +0000 +++ lava_dispatcher/lava_test_shell.py 2013-04-08 04:31:13 +0000 @@ -239,6 +239,13 @@ continue res['log_lineno'] = lineno res['log_filename'] = 'stdout.log' + if 'measurement' in res: + try: + res['measurement'] = decimal.Decimal(res['measurement']) + except decimal.InvalidOperation: + logging.warning("Invalid measurement %s" % ( + res['measurement'])) + del res['measurement'] results_from_log_file.append(res)
results_from_directories = [] </snip>
I just committed a fix for this in lava-dispatcher trunk @ r578. Following is the patch for reference:
<snip> r/lava_ test_shell. py' /lava_test_ shell.py 2013-04-05 09:27:07 +0000 /lava_test_ shell.py 2013-04-08 04:31:13 +0000
continue
res[ 'log_lineno' ] = lineno
res[ 'log_filename' ] = 'stdout.log' Decimal( res['measuremen t']) InvalidOperatio n: warning( "Invalid measurement %s" % ( t']))
results_ from_log_ file.append( res)
=== modified file 'lava_dispatche
--- lava_dispatcher
+++ lava_dispatcher
@@ -239,6 +239,13 @@
+ if 'measurement' in res:
+ try:
+ res['measurement'] = decimal.
+ except decimal.
+ logging.
+ res['measuremen
+ del res['measurement']
results_ from_directorie s = []
</snip>