Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

ISSUE-9458: Flaky-test: ReplicatorTest.testReplication #2112

Open
sijie opened this issue Feb 3, 2021 · 0 comments
Open

ISSUE-9458: Flaky-test: ReplicatorTest.testReplication #2112

sijie opened this issue Feb 3, 2021 · 0 comments

Comments

@sijie
Copy link
Member

sijie commented Feb 3, 2021

Original Issue: apache#9458


org.apache.pulsar.broker.service.ReplicatorTest is flaky. The testReplication test method fails sporadically.

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.testReplication(ReplicatorTest.java:295)

Usage tip: To enable automatic navigation to failure message, open the following links with CTRL/CMD-click.
example failure 2021-02-01T01:35:59.4539012Z
example failure 2021-02-01T01:35:59.4493873Z
example failure 2021-01-30T07:38:30.7674464Z
example failure 2021-01-30T07:38:30.7639225Z
example failure 2021-01-29T04:50:34.2255253Z
example failure 2021-01-29T04:50:34.2177223Z
example failure 2021-01-29T04:34:55.1330899Z
example failure 2021-01-29T04:34:55.1231886Z
example failure 2021-01-29T00:06:45.0299447Z
example failure 2021-01-29T00:06:45.0264300Z
example failure 2021-01-28T18:15:18.2988053Z
example failure 2021-01-28T18:15:18.2959689Z
example failure 2021-01-26T21:41:26.0735469Z
example failure 2021-01-26T21:41:26.0647243Z
example failure 2021-01-26T02:02:01.4445808Z
example failure 2021-01-26T02:02:01.4403253Z
example failure 2021-01-25T22:27:52.3506097Z
example failure 2021-01-25T22:27:52.3451779Z
example failure 2021-01-25T12:24:27.5671729Z
example failure 2021-01-25T12:24:27.5516331Z
example failure 2021-01-22T11:39:17.6190592Z
example failure 2021-01-22T11:39:17.6113423Z
example failure 2021-01-21T21:09:43.3224477Z
example failure 2021-01-21T21:09:43.3183952Z

Full exception stacktrace
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.(ReplicatorTestBase.java:301)
	at org.apache.pulsar.broker.service.ReplicatorTest.testReplication(ReplicatorTest.java:295)
	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)

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.testReplication(ReplicatorTest.java:295)

Usage tip: To enable automatic navigation to failure message, open the following links with CTRL/CMD-click.
example failure 2021-02-02T13:46:14.3051150Z
example failure 2021-02-02T13:46:14.2968169Z
example failure 2021-02-01T03:56:01.5185348Z
example failure 2021-02-01T03:56:01.5079380Z

Full exception stacktrace
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.(ReplicatorTestBase.java:301)
	at org.apache.pulsar.broker.service.ReplicatorTest.testReplication(ReplicatorTest.java:295)
	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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant