You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "BewareMyPower (via GitHub)" <gi...@apache.org> on 2023/06/19 15:02:03 UTC

[GitHub] [pulsar] BewareMyPower opened a new issue, #20610: Flaky-test: ExtensibleLoadManagerTest.testAntiaffinityPolicy

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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Example failure
   
   https://github.com/BewareMyPower/pulsar/actions/runs/5309629850/attempts/2
   
   ### Exception stacktrace
   
   <!-- copy-paste the stack trace in the code block below -->
   ```
   2023-06-19T13:14:44.8868295Z [ERROR] org.apache.pulsar.tests.integration.loadbalance.ExtensibleLoadManagerTest.testAntiaffinityPolicy  Time elapsed: 40.002 s  <<< FAILURE!
   2023-06-19T13:14:44.8869820Z org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.tests.integration.loadbalance.ExtensibleLoadManagerTest.testAntiaffinityPolicy() didn't finish within the time-out 40000
   2023-06-19T13:14:44.8870795Z    at java.base@17.0.7/jdk.internal.misc.Unsafe.park(Native Method)
   2023-06-19T13:14:44.8873449Z    at java.base@17.0.7/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
   2023-06-19T13:14:44.8874567Z    at java.base@17.0.7/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1866)
   2023-06-19T13:14:44.8875386Z    at java.base@17.0.7/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
   2023-06-19T13:14:44.8878108Z    at java.base@17.0.7/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
   2023-06-19T13:14:44.8878761Z    at java.base@17.0.7/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1939)
   2023-06-19T13:14:44.8879489Z    at java.base@17.0.7/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
   2023-06-19T13:14:44.8880139Z    at app//org.apache.pulsar.client.admin.internal.BaseResource.sync(BaseResource.java:342)
   2023-06-19T13:14:44.8919993Z    at app//org.apache.pulsar.client.admin.internal.LookupImpl.lookupPartitionedTopic(LookupImpl.java:65)
   2023-06-19T13:14:44.8921419Z    at app//org.apache.pulsar.tests.integration.loadbalance.ExtensibleLoadManagerTest.testAntiaffinityPolicy(ExtensibleLoadManagerTest.java:283)
   2023-06-19T13:14:44.8922379Z    at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2023-06-19T13:14:44.8923095Z    at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   2023-06-19T13:14:44.8925263Z    at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2023-06-19T13:14:44.8926034Z    at java.base@17.0.7/java.lang.reflect.Method.invoke(Method.java:568)
   2023-06-19T13:14:44.8926901Z    at app//org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
   2023-06-19T13:14:44.8928236Z    at app//org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
   2023-06-19T13:14:44.8928890Z    at app//org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
   2023-06-19T13:14:44.8929473Z    at app//org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
   2023-06-19T13:14:44.8929977Z    at java.base@17.0.7/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   2023-06-19T13:14:44.8930484Z    at java.base@17.0.7/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   2023-06-19T13:14:44.8931232Z    at java.base@17.0.7/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   2023-06-19T13:14:44.8931664Z    at java.base@17.0.7/java.lang.Thread.run(Thread.java:833)
   ```
   
   
   ### 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


[GitHub] [pulsar] nodece commented on issue #20610: Flaky-test: ExtensibleLoadManagerTest.testAntiaffinityPolicy

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

   broker log:
   ```
   2023-06-19T18:10:07,441+0000 [CompletableFutureDelayScheduler] INFO  org.eclipse.jetty.server.RequestLog - 172.19.0.1 - - [19/Jun/2023:18:10:07 +0000] "GET /lookup/v2/topic/persistent/my-tenant/my-ns-filter-anti-affinity-enabled-0/topic-partition-3 HTTP/1.1" 500 771 "-" "Pulsar-Java-v3.1.0-SNAPSHOT" 212
   2023-06-19T18:10:07,445+0000 [CompletableFutureDelayScheduler] INFO  org.eclipse.jetty.server.RequestLog - 172.19.0.1 - - [19/Jun/2023:18:10:07 +0000] "GET /lookup/v2/topic/persistent/my-tenant/my-ns-filter-anti-affinity-enabled-0/topic-partition-13 HTTP/1.1" 500 771 "-" "Pulsar-Java-v3.1.0-SNAPSHOT" 204
   2023-06-19T18:10:07,447+0000 [CompletableFutureDelayScheduler] INFO  org.eclipse.jetty.server.RequestLog - 172.19.0.1 - - [19/Jun/2023:18:10:07 +0000] "GET /lookup/v2/topic/persistent/my-tenant/my-ns-filter-anti-affinity-enabled-0/topic-partition-12 HTTP/1.1" 500 771 "-" "Pulsar-Java-v3.1.0-SNAPSHOT" 144
   2023-06-19T18:10:07,448+0000 [CompletableFutureDelayScheduler] INFO  org.eclipse.jetty.server.RequestLog - 172.19.0.1 - - [19/Jun/2023:18:10:07 +0000] "GET /lookup/v2/topic/persistent/my-tenant/my-ns-filter-anti-affinity-enabled-0/topic-partition-4 HTTP/1.1" 500 771 "-" "Pulsar-Java-v3.1.0-SNAPSHOT" 137
   2023-06-19T18:10:07,449+0000 [CompletableFutureDelayScheduler] WARN  org.apache.pulsar.broker.loadbalance.extensions.channel.ServiceUnitStateChannelImpl - Failed to getOwner for serviceUnit:my-tenant/my-ns-filter-anti-affinity-enabled-0/0x00000000_0xffffffff
   java.util.concurrent.TimeoutException: null
   	at java.util.concurrent.CompletableFuture$Timeout.run(CompletableFuture.java:2874) ~[?:?]
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
   	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
   	at java.lang.Thread.run(Thread.java:833) ~[?:?]
   2023-06-19T18:10:08,062+0000 [broker-client-shared-timer-9-1] INFO  org.apache.pulsar.client.impl.ConnectionHandler - [non-persistent://pulsar/system/loadbalancer-top-bundles-load-data] [MultiLoadManagerTest-a57f551f-538d-4828-b024-e76f7871fe18-0-8] Reconnecting after connection was closed
   ```


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


[GitHub] [pulsar] github-actions[bot] commented on issue #20610: Flaky-test: ExtensibleLoadManagerTest.testAntiaffinityPolicy

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20610:
URL: https://github.com/apache/pulsar/issues/20610#issuecomment-1644881377

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: ExtensibleLoadManagerTest.testAntiaffinityPolicy [pulsar]

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

   Thanks @BewareMyPower for reporting this. `ExtensibleLoadManagerTest.testAntiAffinityPolicy` has run 1,008 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.tests.integration.loadbalance.ExtensibleLoadManagerTest)). The test is now `testAntiAffinityPolicy` (renamed in #24762). 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: ExtensibleLoadManagerTest.testAntiaffinityPolicy [pulsar]

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


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