Repository navigation
Description
Flaky-test: org.apache.pulsar.broker.stats.ManagedCursorMetricsTest.testManagedCursorMetrics
Number of failures: 10
org.apache.pulsar.broker.stats.ManagedCursorMetricsTest is flaky. The testManagedCursorMetrics test method fails sporadically.
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertTrue(Assert.java:45)
at org.testng.Assert.assertTrue(Assert.java:55)
at org.apache.pulsar.broker.stats.ManagedCursorMetricsTest.testManagedCursorMetrics(ManagedCursorMetricsTest.java:70)
Usage tip: To enable automatic navigation to failure message, open the following links with CTRL/CMD-click.
example failure 2021-03-08T17:30:26.3999781Z
example failure 2021-03-08T11:28:16.6508831Z
example failure 2021-03-08T11:14:45.8989014Z
example failure 2021-03-05T21:58:01.2183193Z
example failure 2021-03-05T09:34:45.4232866Z
example failure 2021-03-05T09:22:25.4442285Z
example failure 2021-03-05T09:10:53.5286506Z
example failure 2021-03-05T08:59:35.6870954Z
example failure 2021-03-04T06:23:51.0098464Z
example failure 2021-03-04T05:17:18.0634430Z
Full exception stacktrace
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertTrue(Assert.java:45)
at org.testng.Assert.assertTrue(Assert.java:55)
at org.apache.pulsar.broker.stats.ManagedCursorMetricsTest.testManagedCursorMetrics(ManagedCursorMetricsTest.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Activity
lhotari commentedon Mar 16, 2021
@limingnihao ManagedCursorMetricsTest was introduced by #9618 and it seems to be flaky. Would you be able to take a look at this issue? Thank you
lhotari commentedon Nov 23, 2021
recent failure: https://github.com/apache/pulsar/runs/4296627245?check_suite_focus=true#step:9:504
lhotari commentedon Jan 5, 2022
recent failure: https://github.com/apache/pulsar/runs/4713066229?check_suite_focus=true#step:9:7671
lhotari commentedon Jan 19, 2022
recent failure: https://github.com/apache/pulsar/runs/4863165088?check_suite_focus=true#step:9:430
lhotari commentedon Jan 31, 2022
recent failure: https://github.com/apache/pulsar/runs/5008959840?check_suite_focus=true#step:9:645
codelipenghui commentedon Mar 4, 2022
The issue had no activity for 30 days, mark with Stale label.
lhotari commentedon Mar 16, 2022
recent failure: https://github.com/apache/pulsar/runs/5566227820?check_suite_focus=true#step:9:1975
[Flaky-test] ManagedCursorMetricsTest.testManagedCursorMetrics (apach…
lhotari commentedon Apr 20, 2022
recent failure: https://github.com/apache/pulsar/runs/6092267620?check_suite_focus=true#step:11:967
[fix][test]: fix flaky test of ManagedCursorMetricsTest.testManagedCu…
[fix][test]: fix flaky test of ManagedCursorMetricsTest.testManagedCu…
[fix][test]: fix flaky test of ManagedCursorMetricsTest.testManagedCu…
[fix][test]: fix flaky test of ManagedCursorMetricsTest.testManagedCu…