← 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"

 

This bug was fixed in the package openjdk-lts - 11.0.18+10-0ubuntu5

---------------
openjdk-lts (11.0.18+10-0ubuntu5) lunar; urgency=medium

  * d/control: add jtreg6 dependencies, regenerate control.
  * d/t/{jdk,hotspot,jaxp,lantools}: run tier1 and tier2 jtreg tests only,
    add test options from OpenJDK makefile.
  * d/t/*: fix test environment: add missing -nativepath (LP: #2001563).
  * d/t/jdk: provide dbus session for the window manager (LP: #2001576).
  * d/p/*: add patches for jtreg tests:
    - disable-thumb-assertion.patch: fix JDK-8305481.
    - update-assertion-for-armhf.patch: fix JDK-8305480.
    - log-generated-classes-test.patch: workaround JDK-8166162.
    - update-permission-test.patch: add security permissions for testng 7.
    - ldap-timeout-test-use-ip.patch, test-use-ip-address.patch: Ubuntu-specific
      patches to workaround missing DNS resolver on the build machines.
    - exclude_broken_tests.patch: quarantine failing tests.
  * d/rules: package external debug symbols (LP: #2015835).
  * drop d/p/{jaw-classpath.diff, jaw-optional.diff}: the atk wrapper is disabled
    and these patches cause class data sharing tests to fail (LP: #2016194).
  * d/p/exclude-broken-tests.patch: add OpenJDK 11 failures.
  * d/t/jtreg-autopkgtest.in: pass JTREG home to locate junit.jar, regenerate
    d/t/jtreg-autopkgtest.sh (LP: #2016206).
  * d/t/control.in: disable jtreg autopkgtests in line with openjdk 17,
    regenerate control (LP: #2016438).

 -- Vladimir Petko <vladimir.petko@xxxxxxxxxxxxx>  Fri, 14 Apr 2023
11:29:59 +1200

** Changed in: openjdk-lts (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released
Status in openjdk-lts package in Ubuntu:
  Fix Released

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