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 2021/04/28 08:45:20 UTC

[GitHub] [pulsar] lhotari commented on issue #10398: Flaky-test: TransactionStablePositionTest.abortTxnTest is flaky

lhotari commented on issue #10398:
URL: https://github.com/apache/pulsar/issues/10398#issuecomment-828272451


   Another flaky test with CoordinatorNotFoundException problem [here](https://github.com/apache/pulsar/pull/10371/checks?check_run_id=2455146689#step:9:529):
   ```
   Error:  Tests run: 7, Failures: 2, Errors: 0, Skipped: 4, Time elapsed: 10.318 s <<< FAILURE! - in org.apache.pulsar.broker.transaction.coordinator.TransactionCoordinatorClientTest
   Error:  testCommitAndAbort(org.apache.pulsar.broker.transaction.coordinator.TransactionCoordinatorClientTest)  Time elapsed: 0.01 s  <<< FAILURE!
   org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException$CoordinatorNotFoundException: Transaction coordinator with id 2 not found!
   	at org.apache.pulsar.client.api.transaction.TransactionCoordinatorClientException.unwrap(TransactionCoordinatorClientException.java:126)
   	at org.apache.pulsar.client.impl.transaction.TransactionCoordinatorClientImpl.newTransaction(TransactionCoordinatorClientImpl.java:155)
   	at org.apache.pulsar.broker.transaction.coordinator.TransactionCoordinatorClientTest.testCommitAndAbort(TransactionCoordinatorClientTest.java:84)
   	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)
   ```
   
   @congbobo184 @gaoran10 please fix the source of flakiness in tests where the problem is about `TransactionCoordinatorClientException$CoordinatorNotFoundException` . Would you be able to take a look? It's this issue #10398 and #9917 & #9918 which are some of the examples.
   


-- 
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:
users@infra.apache.org