pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

Flaky-test: TopicTerminationTest.testTerminateWhilePublishing

Open codelipenghui opened this issue 3 years ago • 3 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Example failure

https://github.com/apache/pulsar/runs/7870706938?check_suite_focus=true

Exception stacktrace

Error: Tests run: 15, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 107.905 s <<< FAILURE! - in org.apache.pulsar.broker.service.TopicTerminationTest Error: testTerminateWhilePublishing(org.apache.pulsar.broker.service.TopicTerminationTest) Time elapsed: 20.068 s <<< FAILURE! org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.broker.service.TopicTerminationTest.testTerminateWhilePublishing() didn't finish within the time-out 20000 at org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNewExecutor(MethodInvocationHelper.java:371) at org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:282) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:605) at org.testng.internal.TestInvoker.retryFailed(TestInvoker.java:214) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:58) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.testng.TestRunner.privateRun(TestRunner.java:764) at org.testng.TestRunner.run(TestRunner.java:585) at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) at org.testng.SuiteRunner.run(SuiteRunner.java:286) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) at org.testng.TestNG.runSuitesLocally(TestNG.java:1140) at org.testng.TestNG.runSuites(TestNG.java:1069) at org.testng.TestNG.run(TestNG.java:1037) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeLazy(TestNGDirectoryTestSuite.java:123) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:90) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

codelipenghui avatar Aug 17 '22 03:08 codelipenghui

I ran this test in my local env multiple times. The test never failed.

mattisonchao avatar Aug 22 '22 01:08 mattisonchao

image

mattisonchao avatar Aug 22 '22 02:08 mattisonchao

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

github-actions[bot] avatar Sep 21 '22 02:09 github-actions[bot]

another one:

  • https://github.com/apache/pulsar/actions/runs/3103950216/jobs/5028076961

poorbarcode avatar Sep 22 '22 13:09 poorbarcode

This test has not failed for a long time, it may have been fixed, so close this issue, if it occurs, can reopen it

congbobo184 avatar Oct 28 '22 03:10 congbobo184