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

[AOT] Exclude TrackedFlagTest/NotTrackedFlagTest in 11u because of intermittent java.lang.AssertionError: duplicate classes for name Ljava/lang/Boolean;

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      We see intermittent failures in hotspot tests
      compiler/aot/verification/vmflags/TrackedFlagTest.java
      compiler/aot/verification/vmflags/NotTrackedFlagTest.java

      with the following callstack:

      Exception in thread "main" java.lang.AssertionError: duplicate classes for name Ljava/lang/Boolean;
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.getAOTKlassData(AOTCompiledClass.java:341)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.metadataName(AOTCompiledClass.java:440)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.metadataName(AOTCompiledClass.java:446)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.metadataName(AOTCompiledClass.java:452)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.addMetadataEntries(MetadataBuilder.java:185)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.createMethodMetadata(MetadataBuilder.java:119)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.processMetadataClass(MetadataBuilder.java:70)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.processMetadata(MetadataBuilder.java:63)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.DataBuilder.prepareData(DataBuilder.java:161)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.Main.run(Main.java:230)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.Main.run(Main.java:133)
      at jdk.aot@11.0.16-internal/jdk.tools.jaotc.Main.main(Main.java:89)

      JBS research yields similar issues JDK-8201248 and JDK-8203835 which were fixed with Graal update JDK-8215224.

      Since there are no plans to update Graal in 11u, I request the exclusion of these two tests to reduce noise in the CI systems.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              clanger Christoph Langer
              Reporter:
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: