Results 1 to 7 of 7

Thread: Pause & Resume of Tests??

  1. #1
    Join Date
    Mar 2009
    Posts
    15

    Default 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.

    Is this possible? How?

    Thanks,
    jboehm

  2. #2

    Default

    Hi jboehm,

    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?

    Michael

  3. #3
    Join Date
    Mar 2009
    Posts
    15

    Default

    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

  4. #4

    Default

    Quote Originally Posted by jboehm View Post
    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.

    Would opening up another terminal and issuing some command like:

    touch ~/.phoronix-test-suite/halt-testing

    be suitable for you in your test cases?

  5. #5
    Join Date
    Mar 2009
    Posts
    15

    Default

    Sure, that would work. I would expect to lose the data from the currently active run iteration.

    Jon

  6. #6

    Default

    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.
    Is now in Git.

    http://phorogit.com/index.php?p=phor...9452229e9ee2fb

  7. #7

    Default

    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:

    phoronix-test-suite finish-run mycomparison

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •