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


           
   Flaky-test: 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest
   Number of failures: 11
   
   org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest 
is flaky. The txnAckTestNoBatchAndSharedSubMemoryDeleteTest test method fails 
sporadically.
   
   ```
   java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$TransactionNotFoundException:
 
org.apache.pulsar.transaction.coordinator.exceptions.CoordinatorException$TransactionNotFoundException:
 The transaction with this txdID `(1,0)`not found
        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest(PendingAckInMemoryDeleteTest.java:142)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-03-09T06:02:45.2752782Z](https://github.com/apache/pulsar/runs/2063378570?check_suite_focus=true#step:8:278)
   [example failure 
2021-03-08T17:45:34.8823979Z](https://github.com/apache/pulsar/runs/2056548871?check_suite_focus=true#step:8:706)
   [example failure 
2021-03-08T16:58:23.9870873Z](https://github.com/apache/pulsar/runs/2056452413?check_suite_focus=true#step:8:224)
   [example failure 
2021-03-08T11:32:21.6388767Z](https://github.com/apache/pulsar/runs/2055348063?check_suite_focus=true#step:8:224)
   [example failure 
2021-03-08T04:25:22.3404519Z](https://github.com/apache/pulsar/runs/2053540784?check_suite_focus=true#step:8:278)
   [example failure 
2021-03-08T00:28:18.1258513Z](https://github.com/apache/pulsar/runs/2052659365?check_suite_focus=true#step:8:220)
   [example failure 
2021-03-06T04:10:47.1092486Z](https://github.com/apache/pulsar/runs/2044655066?check_suite_focus=true#step:8:692)
   [example failure 
2021-03-05T03:32:06.5092679Z](https://github.com/apache/pulsar/runs/2036557163?check_suite_focus=true#step:8:673)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$TransactionNotFoundException:
 
org.apache.pulsar.transaction.coordinator.exceptions.CoordinatorException$TransactionNotFoundException:
 The transaction with this txdID `(1,0)`not found
        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest(PendingAckInMemoryDeleteTest.java:142)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        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.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   Caused by: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$TransactionNotFoundException:
 
org.apache.pulsar.transaction.coordinator.exceptions.CoordinatorException$TransactionNotFoundException:
 The transaction with this txdID `(1,0)`not found
        at 
org.apache.pulsar.client.impl.TransactionMetaStoreHandler.getExceptionByServerError(TransactionMetaStoreHandler.java:351)
        at 
org.apache.pulsar.client.impl.TransactionMetaStoreHandler.handleEndTxnResponse(TransactionMetaStoreHandler.java:278)
        at 
org.apache.pulsar.client.impl.ClientCnx.handleEndTxnResponse(ClientCnx.java:968)
        at 
org.apache.pulsar.common.protocol.PulsarDecoder.channelRead(PulsarDecoder.java:401)
        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.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
        at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
        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.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792)
        at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        ... 1 more
   
   </pre></code>
   </details>
   
   ```
   java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$CoordinatorNotFoundException:
 Transaction coordinator with id 1 not found!
        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.getTxn(PendingAckInMemoryDeleteTest.java:304)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest(PendingAckInMemoryDeleteTest.java:128)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-03-04T05:37:52.6686345Z](https://github.com/apache/pulsar/runs/2028160618?check_suite_focus=true#step:8:1092)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$CoordinatorNotFoundException:
 Transaction coordinator with id 1 not found!
        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.getTxn(PendingAckInMemoryDeleteTest.java:304)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest(PendingAckInMemoryDeleteTest.java:128)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        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.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   Caused by: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$CoordinatorNotFoundException:
 Transaction coordinator with id 1 not found!
        at 
org.apache.pulsar.client.impl.TransactionMetaStoreHandler.getExceptionByServerError(TransactionMetaStoreHandler.java:347)
        at 
org.apache.pulsar.client.impl.TransactionMetaStoreHandler.handleNewTxnResponse(TransactionMetaStoreHandler.java:157)
        at 
org.apache.pulsar.client.impl.ClientCnx.handleNewTxnResponse(ClientCnx.java:927)
        at 
org.apache.pulsar.common.protocol.PulsarDecoder.channelRead(PulsarDecoder.java:371)
        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.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
        at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
        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.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792)
        at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        ... 1 more
   
   </pre></code>
   </details>
   
   ```
   java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$TransactionNotFoundException:
 
org.apache.pulsar.transaction.coordinator.exceptions.CoordinatorException$TransactionNotFoundException:
 The transaction with this txdID `(2,0)`not found
        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest(PendingAckInMemoryDeleteTest.java:142)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-03-09T00:34:14.8816899Z](https://github.com/apache/pulsar/runs/2061479845?check_suite_focus=true#step:8:539)
   [example failure 
2021-03-07T00:44:04.9500375Z](https://github.com/apache/pulsar/runs/2048395391?check_suite_focus=true#step:8:228)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$TransactionNotFoundException:
 
org.apache.pulsar.transaction.coordinator.exceptions.CoordinatorException$TransactionNotFoundException:
 The transaction with this txdID `(2,0)`not found
        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
        at 
org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest.txnAckTestNoBatchAndSharedSubMemoryDeleteTest(PendingAckInMemoryDeleteTest.java:142)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        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.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   Caused by: 
org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$TransactionNotFoundException:
 
org.apache.pulsar.transaction.coordinator.exceptions.CoordinatorException$TransactionNotFoundException:
 The transaction with this txdID `(2,0)`not found
        at 
org.apache.pulsar.client.impl.TransactionMetaStoreHandler.getExceptionByServerError(TransactionMetaStoreHandler.java:351)
        at 
org.apache.pulsar.client.impl.TransactionMetaStoreHandler.handleEndTxnResponse(TransactionMetaStoreHandler.java:278)
        at 
org.apache.pulsar.client.impl.ClientCnx.handleEndTxnResponse(ClientCnx.java:968)
        at 
org.apache.pulsar.common.protocol.PulsarDecoder.channelRead(PulsarDecoder.java:401)
        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.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
        at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
        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.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792)
        at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        ... 1 more
   
   </pre></code>
   </details>
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to