Announcement

Collapse
No announcement yet.

Pause & Resume of Tests??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      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

      Comment


      • #4
        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?
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


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

          Jon

          Comment


          • #6
            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.

            Michael Larabel
            https://www.michaellarabel.com/

            Comment


            • #7
              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
              Michael Larabel
              https://www.michaellarabel.com/

              Comment

              Working...
              X