← 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-20 - 20+36~us1-0ubuntu1

---------------
openjdk-20 (20+36~us1-0ubuntu1) lunar; urgency=medium

  * OpenJDK 20 release, build 36. See:
    https://mail.openjdk.org/pipermail/jdk-dev/2023-March/007517.html
  * d/{control, compat}: update debhelper-compat version, add jtreg7
    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/build_gtest.patch: build OpenJDK with the system googletest
    (LP: #2012316).
  * d/p/*: add patches for jtreg tests:
    - disable-thumb-assertion.patch: fix JDK-8305481.
    - update-assertion-for-armhf.patch: fix JDK-8305480.
    - misalign-pointer-for-armhf.patch: packaging-specific patch to fix test
      failure introduced by d/p/m68k-support.diff.
    - 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).

 -- Vladimir Petko <vladimir.petko@xxxxxxxxxxxxx>  Mon, 03 Apr 2023
11:27:49 +1200

** Changed in: openjdk-20 (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:
  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