Project

General

Profile

action #57419

Updated by okurz over 4 years ago

## Motivation 
 openQA displays a time spent on whole tests. It would test. 
 But it'd be useful to have the information info about the time spent on each test module. 

 ## Acceptance criteria 

 * **AC1:** Elapsed time per test module is visible in the job details webUI page 
 * **AC2:** Same as *AC1* for API 


 ## Suggestions 

 We already have the information available this info in the scope of os-autoinst, e.g. as visible from autoinst-log.txt . We should make the information available autoinst-log.txt, but this would help to openQA in a structured manner and render it accordingly over API and webUI. have quicker overview. 

 * Put elapsed time I mean to add this info into module test result, e.g. existing json file in os-autoinst scope 
 * When parsing module results also read out the elapsed time templates/test/module_table.html.ep 
 * Provide the elapsed time when job details are requested over API into <td class="component"> 

 https://openqa.suse.de/tests/3402176 
 * Provide the elapsed time in the job details webUI page boot_ltp (time spent), cve-2011-0999 (time spent), ... 

 https://openqa.suse.de/tests/3401148 
 isosize (time spent), bootloader (time spent), ...

Back