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


   <!--- 
   
   Instructions for reporting a flaky test using this issue template:
   
   1. Replace [test class] in title and body with the test class 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 leat the exception message and the line 
of test code where the stacktrace occured.
   5. Replace "full exception stacktrace here" with the full exception 
stacktrace from logs. This section will be hidded by default.
   6. Remove all unused fields / content to unclutter the reported issue. 
Remove this comment too.
   
   -->
   ReplicatorTest is flaky. The testTopicReplicatedAndProducerCreate test 
method fails sporadically.
   
   [example 
failure](https://github.com/apache/pulsar/pull/11681/checks?check_run_id=3359802221#step:10:393)
   
   ```
   Error:  
testTopicReplicatedAndProducerCreate(org.apache.pulsar.broker.service.ReplicatorTest)
  Time elapsed: 34.34 s  <<< FAILURE!
   org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.TimeoutException: Read timeout to 
localhost/127.0.0.1:33811 after 30000 ms
        at 
org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:1074)
        at 
org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:95)
        at 
org.apache.pulsar.broker.service.ReplicatorTest.testTopicReplicatedAndProducerCreate(ReplicatorTest.java:1102)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
        at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
        at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
        at 
org.testng.internal.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:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
   Caused by: java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.TimeoutException: Read timeout to 
localhost/127.0.0.1:33811 after 30000 ms
        at 
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
        at 
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
        at 
org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:93)
        ... 13 more
   Caused by: org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.TimeoutException: Read timeout to 
localhost/127.0.0.1:33811 after 30000 ms
        at 
org.apache.pulsar.client.impl.HttpClient.lambda$get$1(HttpClient.java:204)
        at 
java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
        at 
java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
        at 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
        at 
java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
        at 
org.asynchttpclient.netty.NettyResponseFuture.abort(NettyResponseFuture.java:273)
        at 
org.asynchttpclient.netty.request.NettyRequestSender.abort(NettyRequestSender.java:473)
        at 
org.asynchttpclient.netty.timeout.TimeoutTimerTask.expire(TimeoutTimerTask.java:43)
        at 
org.asynchttpclient.netty.timeout.ReadTimeoutTimerTask.run(ReadTimeoutTimerTask.java:56)
        at 
io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:669)
        at 
io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:744)
        at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:469)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        ... 1 more
   Caused by: java.util.concurrent.TimeoutException: Read timeout to 
localhost/127.0.0.1:33811 after 30000 ms
        ... 7 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-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to