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 2023/04/04 11:15:13 UTC

[GitHub] [pulsar] lhotari opened a new issue, #20010: Flaky-test: PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor

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

   ### 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/4604351215/jobs/8140558256?pr=20005#step:11:1177
   
   ### Exception stacktrace
   
   <!-- copy-paste the stack trace in the code block below -->
   ```
     Error:  Tests run: 82, Failures: 1, Errors: 0, Skipped: 77, Time elapsed: 48.113 s <<< FAILURE! - in org.apache.pulsar.broker.service.persistent.PersistentTopicTest
     Error:  testCreateTopicWithZombieReplicatorCursor(org.apache.pulsar.broker.service.persistent.PersistentTopicTest)  Time elapsed: 0.367 s  <<< FAILURE!
     java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote
     	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
     	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
     	at org.apache.pulsar.broker.service.persistent.PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor(PersistentTopicTest.java:587)
     	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:833)
     Caused by: java.lang.RuntimeException: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote
     	at org.apache.pulsar.broker.service.BrokerService.lambda$getReplicationClient$47(BrokerService.java:1347)
     	at org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap$Section.put(ConcurrentOpenHashMap.java:409)
     	at org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap.computeIfAbsent(ConcurrentOpenHashMap.java:243)
     	at org.apache.pulsar.broker.service.BrokerService.getReplicationClient(BrokerService.java:1271)
     	at org.apache.pulsar.broker.service.persistent.PersistentTopic.lambda$addReplicationCluster$65(PersistentTopic.java:1719)
     	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
     	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
     	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.handleGetResult(ZKMetadataStore.java:269)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.lambda$batchOperation$5(ZKMetadataStore.java:219)
     	at org.apache.zookeeper.MockZooKeeper.multi(MockZooKeeper.java:1006)
     	at org.apache.zookeeper.MockZooKeeperSession.multi(MockZooKeeperSession.java:191)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.batchOperation(ZKMetadataStore.java:190)
     	at org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore.internalBatchOperation(AbstractBatchedMetadataStore.java:184)
     	at org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore.flush(AbstractBatchedMetadataStore.java:103)
     	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
     	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
     	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
     	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
     	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
     	... 1 more
     Caused by: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote
     	at org.apache.pulsar.broker.service.BrokerService.lambda$getReplicationClient$46(BrokerService.java:1274)
     	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
     	at org.apache.pulsar.broker.service.BrokerService.lambda$getReplicationClient$47(BrokerService.java:1274)
     	... 21 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


[GitHub] [pulsar] lhotari commented on issue #20010: Flaky-test: PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor

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

   again: https://github.com/apache/pulsar/actions/runs/4609863808/jobs/8152451675?pr=20011#step:11:1183
   ```
     Error:  Tests run: 82, Failures: 1, Errors: 0, Skipped: 77, Time elapsed: 49.329 s <<< FAILURE! - in org.apache.pulsar.broker.service.persistent.PersistentTopicTest
     Error:  testCreateTopicWithZombieReplicatorCursor(org.apache.pulsar.broker.service.persistent.PersistentTopicTest)  Time elapsed: 0.307 s  <<< FAILURE!
     java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote
     	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
     	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
     	at org.apache.pulsar.broker.service.persistent.PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor(PersistentTopicTest.java:587)
     	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:833)
     Caused by: java.lang.RuntimeException: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote
     	at org.apache.pulsar.broker.service.BrokerService.lambda$getReplicationClient$47(BrokerService.java:1347)
     	at org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap$Section.put(ConcurrentOpenHashMap.java:409)
     	at org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap.computeIfAbsent(ConcurrentOpenHashMap.java:243)
     	at org.apache.pulsar.broker.service.BrokerService.getReplicationClient(BrokerService.java:1271)
     	at org.apache.pulsar.broker.service.persistent.PersistentTopic.lambda$addReplicationCluster$65(PersistentTopic.java:1719)
     	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
     	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
     	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.handleGetResult(ZKMetadataStore.java:269)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.lambda$batchOperation$5(ZKMetadataStore.java:219)
     	at org.apache.zookeeper.MockZooKeeper.multi(MockZooKeeper.java:1006)
     	at org.apache.zookeeper.MockZooKeeperSession.multi(MockZooKeeperSession.java:191)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.batchOperation(ZKMetadataStore.java:190)
     	at org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore.internalBatchOperation(AbstractBatchedMetadataStore.java:184)
     	at org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore.flush(AbstractBatchedMetadataStore.java:103)
     	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
     	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
     	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
     	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
     	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
     	... 1 more
     Caused by: org.apache.pulsar.metadata.api.MetadataStoreException$NotFoundException: remote
     	at org.apache.pulsar.broker.service.BrokerService.lambda$getReplicationClient$46(BrokerService.java:1274)
     	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
     	at org.apache.pulsar.broker.service.BrokerService.lambda$getReplicationClient$47(BrokerService.java:1274)
     	... 21 more
   ```


-- 
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] poorbarcode commented on issue #20010: Flaky-test: PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor

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

   @lhotari @BewareMyPower 
   
   I pushed a PR https://github.com/apache/pulsar/pull/20025 to fix this flaky test, and please take a look. Thanks


-- 
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] cbornet closed issue #20010: Flaky-test: PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor

Posted by "cbornet (via GitHub)" <gi...@apache.org>.
cbornet closed issue #20010: Flaky-test: PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor
URL: https://github.com/apache/pulsar/issues/20010


-- 
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] lhotari commented on issue #20010: Flaky-test: PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor

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

   @BewareMyPower Do you have a chance to fix this flaky test that was introduced by your PR #19972? thanks


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