Bug 20211 - testsuite resume feature
Summary: testsuite resume feature
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-06 15:55 UTC by Martin Cermak
Modified: 2016-06-08 10:59 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
proposed patch (1.42 KB, patch)
2016-06-06 15:55 UTC, Martin Cermak
Details | Diff
proposed patch (1.67 KB, patch)
2016-06-07 13:30 UTC, Martin Cermak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Cermak 2016-06-06 15:55:58 UTC
Created attachment 9321 [details]
proposed patch

Sometimes the systemtap testsuite breaks the testing box by panicking or stalling it for some reason.  In such a situation, it is desirable to be able to reboot the testing box and resume the testsuite run, skipping already executed tests.  Attached patch tries to help addressing this problem for both serial and parallel testsuite operation mode using the dg-extract-results.sh logs merger added in commit 8093ef39.
Comment 1 Martin Cermak 2016-06-07 13:30:58 UTC
Created attachment 9326 [details]
proposed patch

Improved version of the patch capable of listing unfinished testcases.  When some of the testcases causes kernel panic or stall, the test box can be rebooted and the testsuite re-run skipping all the already executed testcases.  In this case, at leat one of the testcases is left unfinished.  After the testsuite finishes executing the last testcase, one can run make list-unfinished to list testcases that need additional review.  The "make clean" target resets the testing entirely.
Comment 2 Martin Cermak 2016-06-08 10:59:27 UTC
Fixed in commit 82dc4f2e54b1669edfe62d9b75d93da75be7d435