Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky-test: StrategicCompactionTest.testDispatcherMaxReadSizeBytes / CompactionTest testDispatcherMaxReadSizeBytes #21284

Closed
1 of 2 tasks
lhotari opened this issue Oct 1, 2023 · 0 comments · Fixed by #21329
Assignees

Comments

@lhotari
Copy link
Member

lhotari commented Oct 1, 2023

Search before asking

  • I searched in the issues and found nothing similar.

Example failures

Exception stacktrace

Wanted but not invoked:
pulsarTopicCompactionService.readCompactedEntries(
    <any>,
    same(1)
);
-> at org.apache.pulsar.compaction.PulsarTopicCompactionService.readCompactedEntries(PulsarTopicCompactionService.java:69)
Actually, there were zero interactions with this mock.

	at org.apache.pulsar.compaction.PulsarTopicCompactionService.readCompactedEntries(PulsarTopicCompactionService.java:69)
	at org.apache.pulsar.compaction.CompactionTest.testDispatcherMaxReadSizeBytes(CompactionTest.java:1917)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
	at org.testng.internal.invokers.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:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Flaky-test: org.apache.pulsar.compaction.CompactionTest.testDispatcherMaxReadSizeBytes
Number of failures: 2

org.apache.pulsar.compaction.CompactionTest is flaky. The testDispatcherMaxReadSizeBytes test method fails sporadically.

Wanted but not invoked:
pulsarTopicCompactionService.readCompactedEntries(
    <any>,
    same(1)
);
-> at org.apache.pulsar.compaction.PulsarTopicCompactionService.readCompactedEntries(PulsarTopicCompactionService.java:69)
Actually, there were zero interactions with this mock.

	at org.apache.pulsar.compaction.PulsarTopicCompactionService.readCompactedEntries(PulsarTopicCompactionService.java:69)
	at org.apache.pulsar.compaction.CompactionTest.testDispatcherMaxReadSizeBytes(CompactionTest.java:1917)

Usage tip: To enable automatic navigation to failure message, open the following links with CTRL/CMD-click.
example failure 2023-09-30T06:30:59.2955689Z
example failure 2023-09-29T19:23:12.4282155Z

Full exception stacktrace
Wanted but not invoked:
pulsarTopicCompactionService.readCompactedEntries(
    ,
    same(1)
);
-> at org.apache.pulsar.compaction.PulsarTopicCompactionService.readCompactedEntries(PulsarTopicCompactionService.java:69)
Actually, there were zero interactions with this mock.
at org.apache.pulsar.compaction.PulsarTopicCompactionService.readCompactedEntries(PulsarTopicCompactionService.java:69)
at org.apache.pulsar.compaction.CompactionTest.testDispatcherMaxReadSizeBytes(CompactionTest.java:1917)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
at org.testng.internal.invokers.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:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@lhotari lhotari changed the title Flaky-test: StrategicCompactionTest.testDispatcherMaxReadSizeBytes Flaky-test: StrategicCompactionTest.testDispatcherMaxReadSizeBytes / CompactionTest testDispatcherMaxReadSizeBytes Oct 1, 2023
@lhotari lhotari self-assigned this Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant