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

jtreg time out of CtrlASCII.java seems to hang the Xserver.


    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 14, 15, 16
    • Fix Version/s: 17
    • Component/s: client-libs
    • Labels:


      We have multiple cases where the test java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java times out (after 4 minutes) when running on Ubuntu Linux 20.04 and 19.10 at which point jtreg kills the test.
      The very next test to run then fails with
      java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

      So it looks as if the Xserver is sensitive to whatever the test is doing at the moment it is killed.

      It does not happen every time. I found one test run where the test is killed for timeout and then on re-run in the same job passes in 45 seconds and everything is OK and the whole task completes with 100% success.

      So we need to look into what the test is doing and see if there's an obvious problem.
      In any case we also need to problem list this ASAP for the stability of all the other tests.


          Issue Links



              • Assignee:
                serb Sergey Bylokhov
                prr Philip Race
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: