[lworld] StrictInstanceFieldsTest.java and StrictStaticFieldsTest.java fail with jasm failed

XMLWordPrintable

    • generic
    • generic

      The following two tests fail in the Valhalla CI:

      runtime/valhalla/inlinetypes/verifier/StrictInstanceFieldsTest.java
      runtime/valhalla/inlinetypes/verifier/StrictStaticFieldsTest.java

      Here's a snippet from a StrictInstanceFieldsTest.java failure:

      #section:script_messages
      ----------messages:(4/480)----------
      JDK under test: /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/macosx-aarch64-debug.jdk/jdk-27/fastdebug
      java version "27-jep401ea2" 2026-09-15
      Java(TM) SE Runtime Environment (fastdebug build 27-jep401ea2-2026-01-31-0043562.daniel.daugherty.8376235forvalhalla.git)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 27-jep401ea2-2026-01-31-0043562.daniel.daugherty.8376235forvalhalla.git, mixed mode, sharing)

      #section:compile
      ----------messages:(5/2032)----------
      command: compile /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/BadChild.jasm /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/BadChild1.jasm /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/ControlFlowChildBad.jasm /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/TryCatchChildBad.jasm /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/NestedEarlyLarval.jcod /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/EndsInEarlyLarval.jcod /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/StrictFieldsNotSubset.jcod /System/Volumes/Data/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/InvalidIndexInEarlyLarval.jcod
      reason: User specified action: run compile BadChild.jasm BadChild1.jasm ControlFlowChildBad.jasm TryCatchChildBad.jasm NestedEarlyLarval.jcod EndsInEarlyLarval.jcod StrictFieldsNotSubset.jcod InvalidIndexInEarlyLarval.jcod
      started: Sat Jan 31 01:13:46.499 GMT 2026
      finished: Sat Jan 31 01:13:46.500 GMT 2026
      elapsed time (seconds): 0.001
      ----------configuration:(0/0)----------

      <snip>

      ----------jasm:(0/0)----------
      result: Failed. jasm failed


      test result: Failed. jasm failed


      Here's a snippet from a StrictStaticFieldsTest.java failure:

      #section:script_messages
      ----------messages:(4/469)----------
      JDK under test: /opt/mach5/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/linux-aarch64-debug.jdk/jdk-27/fastdebug
      java version "27-jep401ea2" 2026-09-15
      Java(TM) SE Runtime Environment (fastdebug build 27-jep401ea2-2026-01-31-0043562.daniel.daugherty.8376235forvalhalla.git)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 27-jep401ea2-2026-01-31-0043562.daniel.daugherty.8376235forvalhalla.git, mixed mode, sharing)

      #section:compile
      ----------messages:(5/1263)----------
      command: compile /opt/mach5/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/Bnoinit_BAD.jasm /opt/mach5/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/Brbefore_BAD.jasm /opt/mach5/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/Cwreflective_OK.jasm /opt/mach5/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/Creflbefore_BAD.jasm /opt/mach5/mesos/work_dir/jib-master/install/2026-01-31-0043562.daniel.daugherty.8376235_for_valhalla.git/src.full/open/test/hotspot/jtreg/runtime/valhalla/inlinetypes/verifier/WriteAfterReadRefl.jasm
      reason: User specified action: run compile Bnoinit_BAD.jasm Brbefore_BAD.jasm Cwreflective_OK.jasm Creflbefore_BAD.jasm WriteAfterReadRefl.jasm
      started: Sat Jan 31 01:24:59.788 UTC 2026
      finished: Sat Jan 31 01:24:59.789 UTC 2026
      elapsed time (seconds): 0.001
      ----------configuration:(0/0)----------

      <snip>

      ----------jasm:(0/0)----------
      result: Failed. jasm failed

      Both of these tests are currently on a ProblemList:

      $ grep CODETOOLS-7904031 `cat ~/Projects/8376235/valhalla_entry.{closed,open}.list`
      open/test/hotspot/jtreg/ProblemList.txt:runtime/valhalla/inlinetypes/verifier/StrictInstanceFieldsTest.java CODETOOLS-7904031 generic-all
      open/test/hotspot/jtreg/ProblemList.txt:runtime/valhalla/inlinetypes/verifier/StrictStaticFieldsTest.java CODETOOLS-7904031 generic-all

      This issue is closed as "Won't Fix":

          CODETOOLS-7904031 Release jtreg 7.6

      with this comment:

      Christian Stein added a comment - 2025-08-26 05:52
      Superseded by release of jtreg 8.0

      The test failure sightings that I'm documenting in this issue used:

      [2026-01-31T01:06:55,602Z] [jib LOG] JT_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg

      so this issue has NOT been fixed by a new version of JTREG.

      Also, these two tests should not have been ProblemListed with
      a CODETOOLS issue. They should have been ProblemListed
      with JBS issue filed against repo-valhalla. If the problem itself
      is solved by a newer JTREG version, then the JBS issue should
      be closed as "External" with a link to the CODETOOLS issue
      and the "Switch to JTREG..." issue.

            Assignee:
            Matias Saavedra Silva
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: