Bug: Flaky ActiveRepairServiceTest.testRejectWhenPoolFullStrategy
Status: Resolved
Priority: Normal
Resolution: Fixed
Created: 21/May/21 09:39
Resolved: 11/Jun/21 06:54

Flaky [ActiveRepairServiceTest.testRejectWhenPoolFullStrategy|https://ci-cassandra.apache.org/job/Cassandra-4.0/50/testReport/junit/org.apache.cassandra.service/ActiveRepairServiceTest/testRejectWhenPoolFullStrategy_compression/]

{noformat}
Error Message

Task java.util.concurrent.FutureTask@63553e9f[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@52cb52bd[Wrapped task = org.apache.cassandra.service.ActiveRepairServiceTest$Task@1d1c37d5]] rejected from org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor@218df7d6[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]

Stacktrace

java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@63553e9f[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@52cb52bd[Wrapped task = org.apache.cassandra.service.ActiveRepairServiceTest$Task@1d1c37d5]] rejected from org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor@218df7d6[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
	at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2055)
	at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:825)
	at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1355)
	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.execute(DebuggableThreadPoolExecutor.java:176)
	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
	at org.apache.cassandra.service.ActiveRepairServiceTest.testRejectWhenPoolFullStrategy(ActiveRepairServiceTest.java:380)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Standard Output

INFO  [main] 2021-05-18 22:04:31,694 YamlConfigurationLoader.java:93 - Configuration location: file:////home/cassandra/cassandra/build/test/cassandra.compressed.yaml
DEBUG [main] 2021-05-18 22:04:31,698 YamlConfigurationLoader.java:112 - Loading settings from file:////home/cassandra/cassandra/build/test/cassandra.compressed.yaml
DEBUG [main] 2021-05-18 22:04:31,807 InternalLoggerFactory.java:63 - Using SLF4J as the default logging framework
DEBUG [main] 2021-05-18 22:04:31,827 PlatformDependent0
...[truncated 95289 chars]...
andra/build/test/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/nb_txn_flush_08e70270-b825-11eb-a393-871312b17b94.log 
DEBUG [MemtableFlushWriter:1] 2021-05-18 22:04:36,792 ColumnFamilyStore.java:1197 - Flushed to [BigTableReader(path='/home/cassandra/cassandra/build/test/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/nb-15-big-Data.db')] (1 sstables, 4.944KiB), biggest 4.944KiB, smallest 4.944KiB
DEBUG [main] 2021-05-18 22:04:36,795 StorageService.java:1619 - NORMAL
{noformat}