Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8203393

com/sun/jdi/JdbMethodExitTest.sh and JdbExprTest.sh fail due to timeout

XMLWordPrintable

    • b09

        [Note: This CR was created out of JDK-8171483, which discussed multiple issues and became to cluttered to followed.]

        When running on solaris-sparc, this test often times out. When it passes, stdout ends with:

        main[1]
        --Done: test passed

        When it fails:

        Timeout refired 1200 times

        Before that there is quite a bit of logging for breakpoints, method exits, and stepping. They are exactly the same for the pass and failed cases. So it looks like for the most part the test is running properly, but just not terminating.

        On Solaris, stderr ends with the following whether or not it passes:

        --Finish execution with sending "quit" command to JDB
        --Sending cmd: quit
        --Quit cmd was sent
        --waitForFinish: Waiting for mydojdbCmds() to finish

        On linux it's a bit different. I see:

        --Finish execution with sending "quit" command to JDB
        --Sending cmd: quit
        --Quit cmd was sent
        --waitForFinish: Waiting for all processes to finish

        waitForFinish output comes from ShellScaffold.sh, and it is different for Solaris. The Solaris logic is much more complicated than linux, which just has to do a simple "wait" command.

        Note, these tests will be converted from shell scripts to java as part of JDK-8179318. That should resolve this issue.

              amenkov Alex Menkov
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: