You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/13 04:17:25 UTC

[GitHub] [pulsar] michaeljmarshall opened a new issue, #18029: Flaky-test: AdminApi2Test.resetClusters

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

   ### 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/3232396920/jobs/5309016207
   
   ### Exception stacktrace
   
   ```
     Error:  Tests run: 77, Failures: 1, Errors: 0, Skipped: 61, Time elapsed: 478.051 s <<< FAILURE! - in org.apache.pulsar.broker.admin.AdminApi2Test
     Error:  resetClusters(org.apache.pulsar.broker.admin.AdminApi2Test)  Time elapsed: 0.235 s  <<< FAILURE!
     org.apache.pulsar.client.admin.PulsarAdminException$ServerSideErrorException: 
     
      --- An unexpected error occurred in the server ---
     
     Message: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     
     Stacktrace:
     
     org.apache.pulsar.metadata.api.MetadataStoreException: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.getException(ZKMetadataStore.java:449)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.handleDeleteResult(ZKMetadataStore.java:279)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.lambda$batchOperation$7(ZKMetadataStore.java:191)
     	at org.apache.zookeeper.MockZooKeeper.multi(MockZooKeeper.java:1006)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.batchOperation(ZKMetadataStore.java:165)
     	at org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore.flush(AbstractBatchedMetadataStore.java:117)
     	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)
     	at java.base/java.lang.Thread.run(Thread.java:833)
     Caused by: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     	at org.apache.zookeeper.KeeperException.create(KeeperException.java:132)
     	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.getException(ZKMetadataStore.java:439)
     	... 12 more
     
     	at org.apache.pulsar.client.admin.PulsarAdminException.wrap(PulsarAdminException.java:252)
     	at org.apache.pulsar.client.admin.internal.BaseResource.sync(BaseResource.java:351)
     	at org.apache.pulsar.client.admin.internal.NamespacesImpl.deleteNamespace(NamespacesImpl.java:231)
     	at org.apache.pulsar.broker.service.BrokerTestBase.deleteNamespaceGraceFully(BrokerTestBase.java:156)
     	at org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest.deleteNamespaceGraceFully(MockedPulsarServiceBaseTest.java:673)
     	at org.apache.pulsar.broker.admin.AdminApi2Test.resetClusters(AdminApi2Test.java:167)
     	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.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
     	at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
     	at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
     	at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
     	at org.testng.internal.TestInvoker.runConfigMethods(TestInvoker.java:701)
     	at org.testng.internal.TestInvoker.runAfterGroupsConfigurations(TestInvoker.java:677)
     	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:661)
     	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
     	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
     	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
     	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
     	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
     	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
     	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
     	at org.testng.TestRunner.privateRun(TestRunner.java:764)
     	at org.testng.TestRunner.run(TestRunner.java:585)
     	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
     	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
     	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
     	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
     	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
     	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
     	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
     	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
     	at org.testng.TestNG.runSuites(TestNG.java:1069)
     	at org.testng.TestNG.run(TestNG.java:1037)
     	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
     	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
     	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeLazy(TestNGDirectoryTestSuite.java:123)
     	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:90)
     	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
     	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
     	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
     	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
     	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
     	Suppressed: org.apache.pulsar.client.admin.PulsarAdminException$ServerSideErrorException: 
      --- An unexpected error occurred in the server ---
     
     Message: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     
     Stacktrace:
     
     org.apache.pulsar.metadata.api.MetadataStoreException: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.getException(ZKMetadataStore.java:449)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.handleDeleteResult(ZKMetadataStore.java:279)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.lambda$batchOperation$7(ZKMetadataStore.java:191)
     	at org.apache.zookeeper.MockZooKeeper.multi(MockZooKeeper.java:1006)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.batchOperation(ZKMetadataStore.java:165)
     	at org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore.flush(AbstractBatchedMetadataStore.java:117)
     	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)
     	at java.base/java.lang.Thread.run(Thread.java:833)
     Caused by: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     	at org.apache.zookeeper.KeeperException.create(KeeperException.java:132)
     	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
     	at org.apache.pulsar.metadata.impl.ZKMetadataStore.getException(ZKMetadataStore.java:439)
     	... 12 more
     
     		at org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:272)
     		at org.apache.pulsar.client.admin.internal.BaseResource$4.failed(BaseResource.java:237)
     		at org.glassfish.jersey.client.JerseyInvocation$1.failed(JerseyInvocation.java:882)
     		at org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:863)
     		at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229)
     		at org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62)
     		at org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173)
     		at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
     		at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
     		at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
     		at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
     		at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
     		at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
     		at org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173)
     		at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$apply$1(AsyncHttpConnector.java:251)
     		at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
     		at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
     		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.client.admin.internal.http.AsyncHttpConnector.lambda$retryOperation$4(AsyncHttpConnector.java:293)
     		at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
     		at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
     		at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
     		at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
     		at org.asynchttpclient.netty.NettyResponseFuture.loadContent(NettyResponseFuture.java:222)
     		at org.asynchttpclient.netty.NettyResponseFuture.done(NettyResponseFuture.java:257)
     		at org.asynchttpclient.netty.handler.AsyncHttpClientHandler.finishUpdate(AsyncHttpClientHandler.java:241)
     		at org.asynchttpclient.netty.handler.HttpHandler.handleChunk(HttpHandler.java:114)
     		at org.asynchttpclient.netty.handler.HttpHandler.handleRead(HttpHandler.java:143)
     		at org.asynchttpclient.netty.handler.AsyncHttpClientHandler.channelRead(AsyncHttpClientHandler.java:78)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
     		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
     		at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
     		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
     		at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
     		at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
     		at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
     		at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
     		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
     		at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
     		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
     		at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
     		at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
     		at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
     		at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
     		at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
     		at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
     		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
     		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
     		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
     		at java.base/java.lang.Thread.run(Thread.java:833)
     	Caused by: javax.ws.rs.InternalServerErrorException: HTTP 500 org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent
     		at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:960)
     		at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:82)
     		... 54 more
     Caused by: [CIRCULAR REFERENCE: javax.ws.rs.InternalServerErrorException: HTTP 500 org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /managed-ledgers/prop-xyz/ns1/persistent]
   ```
   
   ### 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] Technoboy- closed issue #18029: Flaky-test: AdminApi2Test.resetClusters

Posted by GitBox <gi...@apache.org>.
Technoboy- closed issue #18029: Flaky-test: AdminApi2Test.resetClusters
URL: https://github.com/apache/pulsar/issues/18029


-- 
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 #18029: Flaky-test: AdminApi2Test.resetClusters

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

   similar recent issue: #20376 , the problem hasn't gone away.


-- 
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] michaeljmarshall commented on issue #18029: Flaky-test: AdminApi2Test.resetClusters

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #18029:
URL: https://github.com/apache/pulsar/issues/18029#issuecomment-1279297361

   Thanks @poorbarcode!


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