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

jdk/jfr/event/runtime/TestThreadCpuTimeEvent.java failed with "Retry count exceeded"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 22
    • hotspot
    • jfr
    • x86_64
    • windows

      The following test failed in the JDK22 CI:

      jdk/jfr/event/runtime/TestThreadCpuTimeEvent.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/374)----------
      command: main jdk.jfr.event.runtime.TestThreadCpuTimeEvent
      reason: User specified action: run main/othervm jdk.jfr.event.runtime.TestThreadCpuTimeEvent
      started: Thu Aug 17 04:37:35 UTC 2023
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr,jdk.management
      finished: Thu Aug 17 04:37:47 UTC 2023
      elapsed time (seconds): 11.647
      ----------configuration:(3/53)----------
      Boot Layer
        add modules: jdk.jfr jdk.management

      ----------System.out:(12/540)----------
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      Not enough events recorded, trying again...
      ----------System.err:(14/906)----------
      java.lang.RuntimeException: Retry count exceeded
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.jfr.event.runtime.TestThreadCpuTimeEvent.generateEvents(TestThreadCpuTimeEvent.java:159)
      at jdk.jfr.event.runtime.TestThreadCpuTimeEvent.testSimple(TestThreadCpuTimeEvent.java:174)
      at jdk.jfr.event.runtime.TestThreadCpuTimeEvent.main(TestThreadCpuTimeEvent.java:58)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1570)

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

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Retry count exceeded
      ----------rerun:(42/6073)*----------

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: