[lworld] runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails with RuntimeException: 1 < 2

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the Valhalla CI:

      runtime/ErrorHandling/MachCodeFramesInErrorFile.java

      Here's a snippet from the log file:

      #section:driver
      ----------messages:(9/395)----------
      command: driver MachCodeFramesInErrorFile
      reason: User specified action: run driver MachCodeFramesInErrorFile
      started: Sun Feb 15 12:13:23.917 UTC 2026
      Mode: agentvm
      Agent id: 10
      Process id: 821184
      Additional exports to unnamed modules from @modules: java.base/jdk.internal.misc jdk.internal.jvmstat/sun.jvmstat.monitor
      finished: Sun Feb 15 12:13:54.288 UTC 2026
      elapsed time (seconds): 30.371
      ----------configuration:(16/2132)----------

      <snip>

      ----------System.out:(2/1958)----------
      Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-135/linux-x64.jdk/jdk-27/bin/java -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S98673/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cdd78017-abdf-4fbf-a60f-ba65e7457324/runs/51199fb2-1108-47db-8088-4e1df0c9681c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/5/runtime/ErrorHandling/MachCodeFramesInErrorFile.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-135/src.full/open/test/hotspot/jtreg/runtime/ErrorHandling:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S98673/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cdd78017-abdf-4fbf-a60f-ba65e7457324/runs/51199fb2-1108-47db-8088-4e1df0c9681c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/5/runtime/ErrorHandling/MachCodeFramesInErrorFile.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.2.1/1/bundles/jtreg-8.2.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.2.1/1/bundles/jtreg-8.2.1+1.zip/jtreg/lib/junit-platform-console-standalone-1.14.2.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.2.1/1/bundles/jtreg-8.2.1+1.zip/jtreg/lib/testng-7.3.0.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.2.1/1/bundles/jtreg-8.2.1+1.zip/jtreg/lib/jcommander-1.82.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.2.1/1/bundles/jtreg-8.2.1+1.zip/jtreg/lib/guice-5.1.0.jar -Xmx64m --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -XX:-CreateCoredumpOnCrash -Xcomp -XX:-TieredCompilation -XX:CompileCommand=compileonly,MachCodeFramesInErrorFile$Crasher.crashIn* -XX:CompileCommand=dontinline,MachCodeFramesInErrorFile$Crasher.crashIn* -XX:CompileCommand=dontinline,*/Unsafe.getLong MachCodeFramesInErrorFile$Crasher crashInJava ]
      [2026-02-15T12:13:23.965286285Z] Gathering output for process 911093
      ----------System.err:(12/650)----------
      java.lang.RuntimeException: 1 < 2
      at jdk.test.lib.Asserts.fail(Asserts.java:715)
      at MachCodeFramesInErrorFile.run(MachCodeFramesInErrorFile.java:171)
      at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:109)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 < 2

      Please note that the test intentionally crashes so the SIGSEGV
      that resulted in an hs_err_pid is NOT the issue. Also note that
      the hs_err_pid file appears to be complete since it ends with:

      Memory: 4k page, physical 24601120k(18205616k free), swap 5242876k(4279532k free)
      Page Sizes: 4k

      vm_info: Java HotSpot(TM) 64-Bit Server VM (27-valhalla+1-135) for linux-amd64 JRE (27-valhalla+1-135), built on 2026-02-15T03:37:05Z with gcc 14.2.0

      END.

            Assignee:
            Coleen Phillimore
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: