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/06/23 14:10:04 UTC

[GitHub] [pulsar] lhotari opened a new issue #11050: Flaky-test: ServerCnxTest.testDuplicateConcurrentSubscribeCommand

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


   <!--- 
   
   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.
   
   -->
   ServerCnxTest is flaky. The testDuplicateConcurrentSubscribeCommand test method fails sporadically.
   
   [example failure](https://github.com/apache/pulsar/pull/11026/checks?check_run_id=2894465015#step:10:356)
   
   ```
   Error:  Tests run: 72, Failures: 30, Errors: 0, Skipped: 31, Time elapsed: 8.306 s <<< FAILURE! - in org.apache.pulsar.broker.service.ServerCnxTest
   Error:  testDuplicateConcurrentSubscribeCommand(org.apache.pulsar.broker.service.ServerCnxTest)  Time elapsed: 0.684 s  <<< FAILURE!
   java.lang.AssertionError: Response is not CommandError but org.apache.pulsar.common.api.proto.CommandSuccess@2b7fae67 expected [true] but found [false]
   	at org.testng.Assert.fail(Assert.java:99)
   	at org.testng.Assert.failNotEquals(Assert.java:1037)
   	at org.testng.Assert.assertTrue(Assert.java:45)
   	at org.apache.pulsar.broker.service.ServerCnxTest.testDuplicateConcurrentSubscribeCommand(ServerCnxTest.java:767)
   	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)
   ```


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



[GitHub] [pulsar] lhotari commented on issue #11050: Flaky-test: ServerCnxTest.testDuplicateConcurrentSubscribeCommand

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


   Another [recent failure](https://github.com/apache/pulsar/pull/11343/checks?check_run_id=3089235382#step:10:1299).


-- 
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] codelipenghui commented on issue #11050: Flaky-test: ServerCnxTest.testDuplicateConcurrentSubscribeCommand

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


   The issue had no activity for 30 days, mark with Stale label.


-- 
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 #11050: Flaky-test: ServerCnxTest.testDuplicateConcurrentSubscribeCommand

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


   @mattisonchao [Yet another recent failure](https://github.com/apache/pulsar/pull/11387/checks?check_run_id=3130780794#step:10:2056).
   
   ```
   Thu, 22 Jul 2021 05:52:17 GMT
   Error:  testDuplicateConcurrentSubscribeCommand(org.apache.pulsar.broker.service.ServerCnxTest)  Time elapsed: 10.626 s  <<< FAILURE!
   Thu, 22 Jul 2021 05:52:17 GMT
   org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a lambda expression in org.apache.pulsar.broker.service.ServerCnxTest Response is not CommandError but org.apache.pulsar.common.api.proto.CommandSuccess@7604884 expected [true] but found [false] within 10 seconds.
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:679)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.apache.pulsar.broker.service.ServerCnxTest.testDuplicateConcurrentSubscribeCommand(ServerCnxTest.java:779)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/java.lang.Thread.run(Thread.java:829)
   Thu, 22 Jul 2021 05:52:17 GMT
   Caused by: java.util.concurrent.TimeoutException
   Thu, 22 Jul 2021 05:52:17 GMT
   	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
   Thu, 22 Jul 2021 05:52:17 GMT
   	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:101)
   Thu, 22 Jul 2021 05:52:17 GMT
   	... 17 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-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] lhotari commented on issue #11050: Flaky-test: ServerCnxTest.testDuplicateConcurrentSubscribeCommand

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


   A [recent failure](https://github.com/apache/pulsar/pull/11343/checks?check_run_id=3089235382#step:10:529).


-- 
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] mattisonchao commented on issue #11050: Flaky-test: ServerCnxTest.testDuplicateConcurrentSubscribeCommand

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


   I want to fix this flaky test. : )


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