If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Pause & Resume of Tests??

Hi,

Newbie to Phoronic Test Suite. Great setup I'm impressed.

After installing all of the test I kicked off
phoronix-test-suite run all
This was about 2 days ago. Is there a way to suspend an in progress test and restart the run later? I would like to run the tests at night. Obviously the most current test/iteration would need to be run from scratch when I resume.

At this time there is no way to suspend and resume testing. This is the first time receiving such a request, but there would be too many different items in play to just assume the test could be safely resumed in a manner comparable to the suspended copy -- the user could have rebooted, upgraded packages, etc. I think it would just lead to more of a headache than it's worth.

Perhaps you might just want to run say universe-cli on one day and then universe-x test suite the nextr day, etc etc?

How about safely halting a test prematurely while preserving the data that has been accumulated so far? I can always start a new test at the end of the day and specify all of the test that still need to be run. Then merge results when the entire test is complete.

How about safely halting a test prematurely while preserving the data that has been accumulated so far? I can always start a new test at the end of the day and specify all of the test that still need to be run. Then merge results when the entire test is complete.

Thanks,
Jon

Hmm this is a possibility to do. I would just need to decide on the signal for how the user can prematurely halt a test.

If while running multiple tests you want to quit the testing prematurely, in a new terminal window type touch ~/.phoronix-test-suite/halt-testing. All results for tests that had already run will be saved (permitting you opted to save the results), except for the test currently being run.

jboehm: While not an option that would be recommended for every-day usage, there is now the ability in the PTS 2.0 code-base to resume testing for incompleted test runs from a saved result file.

If you had saved some results to say a file called mycomparison while running a comparison (resuming is only supported right now when there are multiple test runs within the same file, so it's know where there are missing results), you can run: