jtreg could try killing descendants of stuck test, before timing out the test

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Withdrawn
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      In https://bugs.openjdk.org/browse/JDK-8286345 we have a timing out / failing test. The test itself doesn't appear stuck - it's the child process that gets stuck, which causes the test itself to timeout.

      A solution could be to try and kill any descendants before deciding to timeout the test, using a pre timeout alarm. If that doesn't get the test unstuck, then we should proceed as normal and timeout the test.

      Additional benefit of un-stucking the test is that the err/out streams of stuck child get read and printed out in the parent process and we can see the output that otherwise goes missing.

            Assignee:
            Gerard Ziemski (Inactive)
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: