Julian Reschke created OAK-11373:
------------------------------------
Summary: flaky test
org.apache.jackrabbit.oak.segment.remote.queue.SegmentWriteQueueTest
Key: OAK-11373
URL: https://issues.apache.org/jira/browse/OAK-11373
Project: Jackrabbit Oak
Issue Type: Bug
Components: segmentmk
Reporter: Julian Reschke
Attachments: SegmentWriteQueueTest.threaddump.txt
This test occasionally *hangs* on my system (maybe 1/4 of the time). System is
Windows 11, JDK 11.
Thread dump shows:
{code}
"main" #1 prio=5 os_prio=0 cpu=1031.25ms elapsed=7127.88s
tid=0x000002d7d2b3f000 nid=0x7ba4 in Object.wait() [0x000000e002afd000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait([email protected]/Native Method)
- waiting on <no object reference available>
at
org.apache.jackrabbit.oak.segment.remote.queue.SegmentWriteQueue.waitWhileBroken(SegmentWriteQueue.java:246)
- waiting to re-lock in wait() <0x00000000ec644d78> (a java.lang.Object)
at
org.apache.jackrabbit.oak.segment.remote.queue.SegmentWriteQueue.addToQueue(SegmentWriteQueue.java:162)
at
org.apache.jackrabbit.oak.segment.remote.queue.SegmentWriteQueueTest.testRuntimeExceptionInSegmentConsumer(SegmentWriteQueueTest.java:295)
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0([email protected]/Native
Method)
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke([email protected]/NativeMethodAccessorImpl.java:62)
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke([email protected]/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke([email protected]/Method.java:566)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)