Hi Senthil,

Thanks for all your inputs on this issue.

On 2 April 2013 13:02, Senthil Kumaran <senthil.kumaran@linaro.org> wrote:
Hi Naresh,

As per our IRC discussion yesterday am writing this email to let you
know how to proceed with your requirement in python.

In order to parse the following stdout.log file, you must use the 're'
module in python: 
Below page generated by using
workload.sh (lava-android-test/lava_android_test/test_definitions/hostshells)
which is originally generating result.csv and parsing the results and printing in the below format like keys=values.
http://validation.linaro.org/lava-server/dashboard/attachment/266112/view

while talking to Vishal,
we figured out there is a bug "stdout from subprocesses missing from output.txt
 1127288" and followed by a fix merged yesterday in to lava productions. we will wait for the latest workload automation execution on LAVA on TC2 target and grep the strings from the lava complete log and could redirect it on to result.csv file. this way are planning to get results file.

-Naresh Kamboju
Once the data is parsed you can make use of 'csv' module in python in
order to create a file as given in the following link:

https://pastebin.linaro.org/2080/

Hope this will help you to start writing the script in python. If you
require more inputs feel free to follow up with your queries in this
thread.
Thank You.

--
Senthil Kumaran
http://www.stylesen.org/
http://www.sasenthilkumaran.com/