← Back to team overview

openjdk team mailing list archive

[Bug 2001576] Re: jtreg jdk test suite failures "Can't connect to X11 window server using ':10' as the value of the DISPLAY variable"

 

** Also affects: openjdk-17 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: openjdk-20 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2001576

Title:
  jtreg jdk test suite failures "Can't connect to X11 window server
  using ':10' as the value of the DISPLAY variable"

Status in openjdk-17 package in Ubuntu:
  New
Status in openjdk-20 package in Ubuntu:
  New
Status in openjdk-lts package in Ubuntu:
  New

Bug description:
  When building openjdk-lts a number of tests from jdk test suite fail
  with the following error:

  ```
  java/beans/XMLEncoder/Test6570354.java                                                                             Failed. Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':10' as the value of the DISPLAY variable.
  javax/accessibility/4170173/AccessibleJTextAfterIndexTest.java                                                     Failed. Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':10' as the value of the DISPLAY variable.
  javax/accessibility/4170173/AccessibleJTextBeforeIndexTest.java                                                    Failed. Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':10' as the value of the DISPLAY variable.
  javax/accessibility/6192422/bug6192422.java                                                                        Failed. Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':10' as the value of the DISPLAY variable.
  javax/imageio/plugins/png/VerifyBitDepthScalingWithTRNSChunk.java                                                  Failed. Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':10' as the value of the DISPLAY variable.
  javax/imageio/plugins/png/WriteInvalidKeywordTest.java                                                             Failed. Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':10' as the value of the DISPLAY variable.

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2001576/+subscriptions



References