https://bugs.winehq.org/show_bug.cgi?id=48030
Bug ID: 48030 Summary: Retrieve the reports/logs while the task runs Product: Wine-Testbot Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: unknown Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
Currently the TestBot only retrieves the task reports and logs once the VM-side script running the tests has completed (or timed out).
It could be better to start downloading the reports and logs earlier, retrieving additional chunks as the files grow: * The developer could get feedback a bit sooner (but presenting partial results may require adjustments, particularly one should avoid errors such as 'it looks like the report has been truncated'). * The download could happen concurrently with the task running which could provide a small speedup. * The TestBot would at least get a partial report if the test causes the VM to crash, though that would likely not be the most interesting part. * If taking multiple screenshots (see bug 44709) we'd also likely want to start downloading them before the test has completed. We would not necessarily need to download them piecemeal but this would still imply interleaving GetFile() RPCs with the Wait() one.
In all cases we'd want to limit the time we get stuck in GetFile().