lhotari opened a new issue, #15652: URL: https://github.com/apache/pulsar/issues/15652
<!--- Instructions for reporting a flaky test using this issue template: 1. Replace test_class in title and body with the short test class name WITHOUT the package name. 2. Replace test_method in title and body with the test method that failed. Multiple methods are flaky, remove the content that refers to the test method. 3. Replace "url here" with a url to an example failure. In the Github Actions workflow run logs, you can right click on the line number to copy a link to the line. Example of such url is https://github.com/apache/pulsar/pull/8892/checks?check_run_id=1531075794#step:9:377 . The logs are available for a limited amount of time (usually for a few weeks). 4. Replace "relevant parts of the exception stacktrace here" with the a few lines of the stack trace that shows at least the exception message and the line of test code where the stacktrace occurred. 5. Replace "full exception stacktrace here" with the full exception stacktrace from logs. This section will be hidden by default. 6. Remove all unused fields / content to unclutter the reported issue. Remove this comment too. --> ReaderMessagingTest.testReaderReconnectAndRead is flaky. It fails sporadically. [example failure](https://github.com/apache/pulsar/runs/6484025367?check_suite_focus=true#step:12:17310) ``` 2022-05-18T06:44:24,018 - INFO - [docker-java-stream--110056506:DockerUtils$2@252] - DOCKER.exec(ReaderMessagingTest-cpgsi-pulsar-broker-1:/pulsar/bin/pulsar-admin namespaces create public/ns-ivorhkkv --clusters ReaderMessagingTest-cpgsi): STDOUT: 2022-05-18T06:44:24,012+0000 [AsyncHttpClient-7-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/namespaces/public/ns-ivorhkkv] Failed to perform http put request: javax.ws.rs.InternalServerErrorException: HTTP 500 Failed to get data from /admin/policies/public 2022-05-18T06:44:24,079 - INFO - [docker-java-stream--110056506:DockerUtils$2@252] - DOCKER.exec(ReaderMessagingTest-cpgsi-pulsar-broker-1:/pulsar/bin/pulsar-admin namespaces create public/ns-ivorhkkv --clusters ReaderMessagingTest-cpgsi): STDERR: --- An unexpected error occurred in the server --- Message: Failed to get data from /admin/policies/public Stacktrace: org.apache.pulsar.metadata.api.MetadataStoreException: Failed to get data from /admin/policies/public at org.apache.pulsar.broker.resources.BaseResources.get(BaseResources.java:88) at org.apache.pulsar.broker.resources.TenantResources.getTenant(TenantResources.java:62) at org.apache.pulsar.broker.web.PulsarWebResource.validateClusterForTenant(PulsarWebResource.java:401) at org.apache.pulsar.broker.admin.impl.NamespacesBase.lambda$validatePolicies$89(NamespacesBase.java:2068) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at org.apache.pulsar.broker.admin.impl.NamespacesBase.validatePolicies(NamespacesBase.java:2068) at org.apache.pulsar.broker.admin.impl.NamespacesBase.lambda$internalCreateNamespace$3(NamespacesBase.java:136) at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) at java.base/java.util.concurrent.CompletableF 2022-05-18T06:44:24,079 - INFO - [docker-java-stream--110056506:DockerUtils$2@252] - DOCKER.exec(ReaderMessagingTest-cpgsi-pulsar-broker-1:/pulsar/bin/pulsar-admin namespaces create public/ns-ivorhkkv --clusters ReaderMessagingTest-cpgsi): STDERR: uture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147) at org.apache.pulsar.metadata.impl.ZKMetadataStore.lambda$existsFromStore$8(ZKMetadataStore.java:315) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) 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: java.util.concurrent.TimeoutException at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960) at java.base/java.util.concurr ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
