[lworld] java/lang/Thread/virtual/stress/Skynet.java#Z fails with RuntimeException: Expected 499999500000

XMLWordPrintable

    • generic
    • generic

      The following test failed in the Valhalla CI:

      java/lang/Thread/virtual/stress/Skynet.java#Z

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/456)----------
      command: main -XX:+UnlockDiagnosticVMOptions -XX:+UseZGC -XX:+ZVerifyOops -XX:ZCollectionInterval=0.01 -Xmx1500m Skynet
      reason: User specified action: run main/othervm/timeout=1600 -XX:+UnlockDiagnosticVMOptions -XX:+UseZGC -XX:+ZVerifyOops -XX:ZCollectionInterval=0.01 -Xmx1500m Skynet
      started: Thu Jan 08 08:35:49.317 GMT 2026
      Mode: othervm [/othervm specified]
      Process id: 74241
      finished: Thu Jan 08 08:35:56.948 GMT 2026
      elapsed time (seconds): 7.631
      ----------configuration:(0/0)----------
      ----------System.out:(1/32)----------
      Result: 499999499998 in 6973 ms
      ----------System.err:(12/637)----------
      java.lang.RuntimeException: Expected 499999500000
      at Skynet.skynet(Skynet.java:62)
      at Skynet.main(Skynet.java:48)
      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.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

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

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected 499999500000
      ----------rerun:(44/6723)*----------

      I'm starting this issue in hotspot/runtime since the test is a virtual
      threads stress test. There are currently 53 of these test failures
      in the Valhalla CI and they occur on all platforms in Mach5.

            Assignee:
            Patricio Chilano Mateo
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: