RFR: 8367302: New test jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes.java from JDK-8366082 is failing [v4]
David Holmes
dholmes at openjdk.org
Fri Sep 19 06:31:17 UTC 2025
On Thu, 18 Sep 2025 14:51:33 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> This change hopefully fixes the test failures by making the test cases more resilient.
>
> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove synchronized
The test is still failing in our CI on linux-aarch64-debug:
[58.916s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
[58.916s][info][jfr,startup]
[58.916s][info][jfr,startup] Use jcmd 2600244 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
Lost samples: 41 at 978 start time 1758260993451
Lost samples in time box 0: 0
Lost samples: 5 at 1078 start time 1758260993451
Lost samples in time box 1959: 0
Lost samples in time box 2967: 0
Lost samples in time box 3969: 0
Lost samples in time box 4970: 0
----------System.err:(15/1004)----------
java.lang.RuntimeException: assertTrue: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:715)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:545)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:531)
at jdk.jfr.event.profiling.TestCPUTimeSampleQueueAutoSizes.checkThatLossDecreased(TestCPUTimeSampleQueueAutoSizes.java:154)
at jdk.jfr.event.profiling.TestCPUTimeSampleQueueAutoSizes.main(TestCPUTimeSampleQueueAutoSizes.java:136)
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)
I ran with `-Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+VerifyOops'` as used in some of our higher tier testing where we saw initial failures.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27293#issuecomment-3310786254
More information about the hotspot-jfr-dev
mailing list