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


   Similar issues in testReplicatePeekAndSkip method.
   
   ```
   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.testReplicatePeekAndSkip(ReplicatorTest.java:451)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-02-01T01:35:59.3930831Z](https://github.com/apache/pulsar/runs/1803320722?check_suite_focus=true#step:9:405)
   [example failure 
2021-01-30T07:38:30.7445931Z](https://github.com/apache/pulsar/runs/1796559473?check_suite_focus=true#step:8:564)
   [example failure 
2021-01-29T04:50:34.1816114Z](https://github.com/apache/pulsar/runs/1789157136?check_suite_focus=true#step:8:405)
   [example failure 
2021-01-29T04:34:55.0968967Z](https://github.com/apache/pulsar/runs/1789139622?check_suite_focus=true#step:8:405)
   [example failure 
2021-01-29T00:06:44.9846566Z](https://github.com/apache/pulsar/runs/1788137301?check_suite_focus=true#step:8:405)
   [example failure 
2021-01-28T18:15:17.5098400Z](https://github.com/apache/pulsar/runs/1784537496?check_suite_focus=true#step:8:553)
   [example failure 
2021-01-26T21:41:25.9914089Z](https://github.com/apache/pulsar/runs/1770934077?check_suite_focus=true#step:8:405)
   [example failure 
2021-01-26T02:02:01.4166027Z](https://github.com/apache/pulsar/runs/1766318508?check_suite_focus=true#step:8:405)
   [example failure 
2021-01-25T22:27:52.2915803Z](https://github.com/apache/pulsar/runs/1762435483?check_suite_focus=true#step:8:564)
   [example failure 
2021-01-25T12:24:27.4867964Z](https://github.com/apache/pulsar/runs/1760320664?check_suite_focus=true#step:8:553)
   [example failure 
2021-01-22T11:39:17.5795634Z](https://github.com/apache/pulsar/runs/1748310523?check_suite_focus=true#step:8:405)
   [example failure 
2021-01-21T21:09:43.2682925Z](https://github.com/apache/pulsar/runs/1743500150?check_suite_focus=true#step:8:544)
   
   
   <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.testReplicatePeekAndSkip(ReplicatorTest.java:451)
        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.testng.internal.thread.ThreadTimeoutException: Method 
org.apache.pulsar.broker.service.ReplicatorTest.testReplicatePeekAndSkip() 
didn't finish within the time-out 30000
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-02-01T09:23:35.2532528Z](https://github.com/apache/pulsar/runs/1804639268?check_suite_focus=true#step:9:220)
   [example failure 
2021-01-29T03:33:46.4897010Z](https://github.com/apache/pulsar/runs/1788935938?check_suite_focus=true#step:8:553)
   [example failure 
2021-01-26T03:18:50.9534725Z](https://github.com/apache/pulsar/runs/1766603038?check_suite_focus=true#step:8:220)
   [example failure 
2021-01-25T22:26:49.8987651Z](https://github.com/apache/pulsar/runs/1762435483?check_suite_focus=true#step:8:220)
   [example failure 
2021-01-23T07:33:59.9204221Z](https://github.com/apache/pulsar/runs/1753234942?check_suite_focus=true#step:8:220)
   [example failure 
2021-01-12T15:04:54.5697148Z](https://github.com/apache/pulsar/runs/1688656661?check_suite_focus=true#step:8:402)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   org.testng.internal.thread.ThreadTimeoutException: Method 
org.apache.pulsar.broker.service.ReplicatorTest.testReplicatePeekAndSkip() 
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.testReplicatePeekAndSkip(ReplicatorTest.java:451)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the 
following links with CTRL/CMD-click.
   [example failure 
2021-02-02T13:46:14.2519579Z](https://github.com/apache/pulsar/runs/1813006738?check_suite_focus=true#step:9:405)
   [example failure 
2021-02-01T03:56:01.4441012Z](https://github.com/apache/pulsar/runs/1803769568?check_suite_focus=true#step:9:564)
   
   
   <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.testReplicatePeekAndSkip(ReplicatorTest.java:451)
        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]


Reply via email to