lhotari opened a new issue #9450: URL: https://github.com/apache/pulsar/issues/9450
org.apache.pulsar.broker.service.ReplicatorTest is flaky. The testResetCursorNotFail test method fails sporadically. ``` org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.broker.service.ReplicatorTest.testResetCursorNotFail() didn't finish within the time-out 30000 ``` Usage tip: To enable automatic navigation to failure message, open the links with CTRL/CMD-click. [example failure 2021-02-03T01:05:58.8564231Z](https://github.com/apache/pulsar/runs/1818716441?check_suite_focus=true#step:9:220) [example failure 2021-02-02T16:11:47.7564123Z](https://github.com/apache/pulsar/runs/1813603235?check_suite_focus=true#step:9:368) [example failure 2021-02-02T16:03:18.2799391Z](https://github.com/apache/pulsar/runs/1813537588?check_suite_focus=true#step:9:379) [example failure 2021-02-02T16:01:08.0326536Z](https://github.com/apache/pulsar/runs/1813537588?check_suite_focus=true#step:9:220) [example failure 2021-02-02T13:49:56.6101213Z](https://github.com/apache/pulsar/runs/1813006738?check_suite_focus=true#step:9:1045) [example failure 2021-02-01T23:49:57.6075482Z](https://github.com/apache/pulsar/runs/1810789556?check_suite_focus=true#step:9:220) [example failure 2021-02-01T23:16:15.9997490Z](https://github.com/apache/pulsar/runs/1810616944?check_suite_focus=true#step:9:220) [example failure 2021-02-01T20:11:13.5145694Z](https://github.com/apache/pulsar/runs/1809549378?check_suite_focus=true#step:9:220) [example failure 2021-02-01T18:24:10.9311136Z](https://github.com/apache/pulsar/runs/1808358118?check_suite_focus=true#step:9:220) [example failure 2021-02-01T16:24:25.1910906Z](https://github.com/apache/pulsar/runs/1807470436?check_suite_focus=true#step:9:220) [example failure 2021-02-01T15:44:16.9748908Z](https://github.com/apache/pulsar/runs/1807437482?check_suite_focus=true#step:9:538) [example failure 2021-02-01T15:42:02.4182452Z](https://github.com/apache/pulsar/runs/1807437482?check_suite_focus=true#step:9:379) [example failure 2021-02-01T15:39:41.2878811Z](https://github.com/apache/pulsar/runs/1807437482?check_suite_focus=true#step:9:220) [example failure 2021-02-01T09:27:54.9174939Z](https://github.com/apache/pulsar/runs/1804639268?check_suite_focus=true#step:9:599) [example failure 2021-02-01T09:25:44.3137183Z](https://github.com/apache/pulsar/runs/1804639268?check_suite_focus=true#step:9:440) [example failure 2021-02-01T03:58:24.9345942Z](https://github.com/apache/pulsar/runs/1803769568?check_suite_focus=true#step:9:1139) [example failure 2021-02-01T03:54:51.8139627Z](https://github.com/apache/pulsar/runs/1803769568?check_suite_focus=true#step:9:220) [example failure 2021-01-31T12:12:19.0872946Z](https://github.com/apache/pulsar/runs/1800964447?check_suite_focus=true#step:8:368) [example failure 2021-01-21T23:26:21.8643558Z](https://github.com/apache/pulsar/runs/1745443217?check_suite_focus=true#step:8:220) <details> <summary>Full exception stacktrace</summary> <code><pre> org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.broker.service.ReplicatorTest.testResetCursorNotFail() didn't finish within the time-out 30000 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.util.ArrayList.forEach(ArrayList.java:1257) 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.execute(TestNGDirectoryTestSuite.java:99) 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) </pre></code> </details> ``` org.apache.pulsar.client.api.PulsarClientException$AuthorizationException: Client is not authorized to Produce at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:979) at org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:95) at org.apache.pulsar.broker.service.ReplicatorTestBase$MessageProducer.<init>(ReplicatorTestBase.java:301) at org.apache.pulsar.broker.service.ReplicatorTest.testResetCursorNotFail(ReplicatorTest.java:507) ``` Usage tip: To enable automatic navigation to failure message, open the links with CTRL/CMD-click. [example failure 2021-02-02T13:46:14.3674803Z](https://github.com/apache/pulsar/runs/1813006738?check_suite_focus=true#step:9:714) [example failure 2021-02-01T03:56:01.6136236Z](https://github.com/apache/pulsar/runs/1803769568?check_suite_focus=true#step:9:873) <details> <summary>Full exception stacktrace</summary> <code><pre> org.apache.pulsar.client.api.PulsarClientException$AuthorizationException: Client is not authorized to Produce at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:979) at org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:95) at org.apache.pulsar.broker.service.ReplicatorTestBase$MessageProducer.<init>(ReplicatorTestBase.java:301) at org.apache.pulsar.broker.service.ReplicatorTest.testResetCursorNotFail(ReplicatorTest.java:507) 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) </pre></code> </details> ``` org.apache.pulsar.client.api.PulsarClientException$AuthorizationException: Client is not authorized to Produce at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:979) at org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:94) at org.apache.pulsar.broker.service.ReplicatorTestBase$MessageProducer.<init>(ReplicatorTestBase.java:301) at org.apache.pulsar.broker.service.ReplicatorTest.testResetCursorNotFail(ReplicatorTest.java:507) ``` Usage tip: To enable automatic navigation to failure message, open the links with CTRL/CMD-click. [example failure 2021-02-01T01:35:59.5083094Z](https://github.com/apache/pulsar/runs/1803320722?check_suite_focus=true#step:9:714) <details> <summary>Full exception stacktrace</summary> <code><pre> org.apache.pulsar.client.api.PulsarClientException$AuthorizationException: Client is not authorized to Produce at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:979) at org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:94) at org.apache.pulsar.broker.service.ReplicatorTestBase$MessageProducer.<init>(ReplicatorTestBase.java:301) at org.apache.pulsar.broker.service.ReplicatorTest.testResetCursorNotFail(ReplicatorTest.java:507) 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) </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]
