You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "nodece (via GitHub)" <gi...@apache.org> on 2024/03/26 01:46:22 UTC

[I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

nodece opened a new issue, #22347:
URL: https://github.com/apache/pulsar/issues/22347

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Example failure
   
   https://github.com/apache/pulsar/actions/runs/8419142906/job/23063610336#step:11:11301
   
   ### Exception stacktrace
   
   Error:  org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.testGetNumberOfEntriesInStorage  Time elapsed: 10.041 s  <<< FAILURE!
     org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a org.apache.bookkeeper.mledger.impl.ManagedLedgerTest expected [3] but found [4] within 10 seconds.
     	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
     	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
     	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
     	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
     	at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
     	at org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.testGetNumberOfEntriesInStorage(ManagedLedgerTest.java:2650)
     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
     	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
     	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
     	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
     	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
     	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
     	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     	at java.base/java.lang.Thread.run(Thread.java:840)
     Caused by: java.lang.AssertionError: expected [3] but found [4]
     	at org.testng.Assert.fail(Assert.java:110)
     	at org.testng.Assert.failNotEquals(Assert.java:1577)
     	at org.testng.Assert.assertEqualsImpl(Assert.java:149)
     	at org.testng.Assert.assertEquals(Assert.java:131)
     	at org.testng.Assert.assertEquals(Assert.java:1418)
     	at org.testng.Assert.assertEquals(Assert.java:1382)
     	at org.testng.Assert.assertEquals(Assert.java:1428)
     	at org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.lambda$testGetNumberOfEntriesInStorage$16(ManagedLedgerTest.java:2651)
     	at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
     	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
     	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
     	... 4 more
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #22347:
URL: https://github.com/apache/pulsar/issues/22347#issuecomment-2022641674

   Oh, it's already fixed by #22344. Closing this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on issue #22347:
URL: https://github.com/apache/pulsar/issues/22347#issuecomment-2019315709

   https://github.com/apache/pulsar/pull/22034 breaks this test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #22347:
URL: https://github.com/apache/pulsar/issues/22347#issuecomment-2022618129

   same problem: https://github.com/apache/pulsar/actions/runs/8448669057/job/23147779766?pr=22361#step:11:11301


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

Posted by "coderzc (via GitHub)" <gi...@apache.org>.
coderzc commented on issue #22347:
URL: https://github.com/apache/pulsar/issues/22347#issuecomment-2019292302

   +1 https://github.com/apache/pulsar/actions/runs/8415552736/job/23084102366


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #22347:
URL: https://github.com/apache/pulsar/issues/22347#issuecomment-2022614068

   @liangyepianzhou your change #22034 seems to have made this test flaky. do you have a chance to fix this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #22347: Flaky-test: ManagedLedgerTest.testGetNumberOfEntriesInStorage
URL: https://github.com/apache/pulsar/issues/22347


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org