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

New test TestCPUTimeSampleThrottling fails intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 26
    • 25, 26
    • hotspot
    • jfr
    • b03

        java.lang.RuntimeException: Expected around 100 events per second, got 88.25001: expected true, was false
        at jdk.test.lib.Asserts.fail(Asserts.java:715)
        at jdk.test.lib.Asserts.assertTrue(Asserts.java:545)
        at jdk.jfr.event.profiling.TestCPUTimeSampleThrottling.testThrottleSettingsPeriod(TestCPUTimeSampleThrottling.java:64)
        at
        We have seen test failures like this:

        jdk.jfr.event.profiling.TestCPUTimeSampleThrottling.main(TestCPUTimeSampleThrottling.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:1474)

        The tolerance "rate > 90 && rate < 110" appears to be insufficient.

              jbechberger Johannes Bechberger
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: