You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2024/08/30 17:27:20 UTC

[I] Flaky-test: ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener [pulsar]

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

   ### 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/10630398758/job/29469187663?pr=23237#step:9:2298
   
   ### Exception stacktrace
   
   <!-- copy-paste the stack trace in the code block below -->
   ```
     Error:  Tests run: 46, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 169.02 s <<< FAILURE! - in org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest
     Error:  org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener  Time elapsed: 10.195 s  <<< FAILURE!
     org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest expected [2] but found [1] 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.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener(ExtensibleLoadManagerImplTest.java:462)
     	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:569)
     	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 [2] but found [1]
     	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.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest.lambda$testNamespaceOwnershipListener$7(ExtensibleLoadManagerImplTest.java:463)
     	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: ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener [pulsar]

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

   Thanks @lhotari for reporting this. `ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener` has run 821 times in Pulsar CI over the last 180 days with no failures and no flaky retries ([Develocity test history](https://develocity.apache.org/scans/tests?search.rootProjectNames=pulsar&search.tags=CI&search.relativeStartTime=P180D&search.timeZoneId=UTC&tests.container=org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest)). Closing this as no longer flaky. Please reopen it, with a link to the failing run, if it fails again.


-- 
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: ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener [pulsar]

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

   This should be fixed by this change. https://github.com/apache/pulsar/pull/23301/files#diff-744119c61c9f6a1b786c3966acd1e0f63748985cf68a6a1a15418c8d9900a9a8R461-R466


-- 
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: ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat closed issue #23240: Flaky-test: ExtensibleLoadManagerImplTest.testNamespaceOwnershipListener
URL: https://github.com/apache/pulsar/issues/23240


-- 
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