https://bugs.winehq.org/show_bug.cgi?id=44709
Bug ID: 44709 Summary: Take live/regular screenshots 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: ---
The TestBot used to have a 'live screenshot' feature. This feature had to be disabled due to Libvirt/QEmu issues and because it required the TestBot server to make a long blocking call.
It would be nice to bring back this feature in some form.
However it may be even better to bring it in a different form and simply take screenshots every 10 or 30 seconds and timestamp them. For a lot of tests the screenshots are likely to all be identical so this could be used for deduplication so that the storage footprint would not be too large. Then the JobDetails.pl page would allow the user to browse through the screenshots for each test run (making this nice would likely require some JavaScript).
From a technical standpoint an advantage of taking regular screenshots is that
it would not involve the web server. Instead it would happen in a separate thread or a fork of WineRunTask.pl (see TakeScreenshot()). So this would side-step the blocking call issue.
From a developer point of view, all long-running tests would have multiple
screenshots, even after they are completed (which is not the case for 'live screenshots').