Failing jtreg test os_linux.decoder_get_source_info_validXXXX

Bug #2015835 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-17 (Ubuntu)
Fix Released
Undecided
Unassigned
openjdk-20 (Ubuntu)
Fix Released
Undecided
Unassigned
openjdk-lts (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Following google test fail due to absence of debug symbols:
[ FAILED ] 3 tests, listed below:
[ FAILED ] os_linux.decoder_get_source_info_valid_vm
[ FAILED ] os_linux.decoder_get_source_info_valid_overflow_vm
[ FAILED ] os_linux.decoder_get_source_info_valid_overflow_minimal_vm

OpenJDK package should include external debug symbols for internal vm stacktrace decoding.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Mon, 03 Apr 2023 11:27:49 +1200

Changed in openjdk-20 (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Fri, 14 Apr 2023 11:29:59 +1200

Changed in openjdk-lts (Ubuntu):
status: New → Fix Released
Revision history for this message
Vladimir Petko (vpa1977) wrote (last edit ):

Verification:

Google tests pass after switching to external debug symbols[1]:

Passed: gtest/GTestWrapper.java

---------------cut----------------------
[ RUN ] os_linux.decoder_get_source_info_valid_vm
[ OK ] os_linux.decoder_get_source_info_valid_vm (7 ms)
[ RUN ] os_linux.decoder_get_source_info_invalid_vm
[ OK ] os_linux.decoder_get_source_info_invalid_vm (0 ms)
[ RUN ] os_linux.decoder_get_source_info_valid_overflow_vm
[ OK ] os_linux.decoder_get_source_info_valid_overflow_vm (1 ms)
[ RUN ] os_linux.decoder_get_source_info_valid_overflow_minimal_vm
[ OK ] os_linux.decoder_get_source_info_valid_overflow_minimal_vm (1 ms)

-----------------------cut--------------------

Note: debug symbols are corrupted/empty (regression)[2].
Native memory tracking issue[3] is not fixed (existing issue).

[1] https://launchpadlibrarian.net/661093204/buildlog_ubuntu-lunar-amd64.openjdk-20_20+36~us1-0ubuntu1_BUILDING.txt.gz
[2] https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2016739
[3] https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2012326

Vladimir Petko (vpa1977)
tags: added: verification-failed-lunar
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-17 - 17.0.6+10-1ubuntu3

---------------
openjdk-17 (17.0.6+10-1ubuntu3) 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/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).
  * 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 17 failures.
  * d/t/jtreg-autopkgtest.in: pass JTREG home to locate junit.jar, regenerate
    d/t/jtreg-autopkgtest.sh (LP: #2016206).

 -- Vladimir Petko <email address hidden> Mon, 27 Mar 2023 11:41:46 +1300

Changed in openjdk-17 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.