TestBackToBackSensitive fails intermittently after JDK-8365972

XMLWordPrintable

    • jfr
    • b05
    • generic
    • generic

        The new test TestBackToBackSensitive has been added with JDK-8365972 . It failed so far 8 times when running on our test CI. Some failures were on Linux, some on macOS.
        Example from Linux x86_64 :
        ----------System.out:(14/439)----------
        Number of chunk files: 4
        Timestamps for jdk.ThreadDump:
        2025-11-21T04:37:34.151537641Z
        2025-11-21T04:37:34.445521345Z
        2025-11-21T04:37:34.505821878Z
        2025-11-21T04:37:34.531839400Z
        2025-11-21T04:37:35.464585744Z
        2025-11-21T04:37:35.616923820Z
        Timestamps for jdk.ClassLoaderStatistics:
        2025-11-21T04:37:34.445064633Z
        2025-11-21T04:37:34.505582593Z
        2025-11-21T04:37:34.517357380Z
        2025-11-21T04:37:35.464328083Z
        2025-11-21T04:37:35.616658497Z
        ----------System.err:(12/877)----------
        java.lang.Exception: Expected 6 timestamps for event jdk.ClassLoaderStatistics, but got 5
        at jdk.jfr.event.runtime.TestBackToBackSensitive.assertCount(TestBackToBackSensitive.java:119)
        at jdk.jfr.event.runtime.TestBackToBackSensitive.main(TestBackToBackSensitive.java:97)
        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)

              Assignee:
              Erik Gahlin
              Reporter:
              Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: