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

jdk/jfr/tool/TestPrintContextual.java fails with wrong spanId

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 26
    • hotspot
    • jfr
    • x86_64
    • linux

      The following test failed in the JDK26 CI:

      jdk/jfr/tool/TestPrintContextual.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/346)----------
      command: main jdk.jfr.tool.TestPrintContextual
      reason: User specified action: run main/othervm jdk.jfr.tool.TestPrintContextual
      started: Fri Aug 15 22:29:06 UTC 2025
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr
      Process id: 539300
      finished: Fri Aug 15 22:29:06 UTC 2025
      elapsed time (seconds): 0.886
      ----------configuration:(3/35)----------

      <snip>

      ----------System.err:(12/750)----------
      java.lang.Exception: Expected spanId to be 20, but was 19
      at jdk.jfr.tool.TestPrintContextual.testDeepContext(TestPrintContextual.java:255)
      at jdk.jfr.tool.TestPrintContextual.main(TestPrintContextual.java:108)
      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:1474)

      JavaTest Message: Test threw exception: java.lang.Exception: Expected spanId to be 20, but was 19
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Expected spanId to be 20, but was 19
      ----------rerun:(41/7083)*----------

        There are no Sub-Tasks for this issue.

            egahlin Erik Gahlin
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: