Closed barchetta closed 1 month ago
Adding thread dumps for the record when issue happens, although it does not show the issue: dump.txt
The issue is only happening in TenantTest#test2
. It seems that is invoking one method Bean2#test
that is supposed to fail and execute a fallbackMethod.
In my code, this was the relevant part of thread dump I could find:
' - parking to wait for <0x00000000c1923010> (a java.util.concurrent.CompletableFuture$Signaller)'.
' at java.util.concurrent.locks.LockSupport.park(java.base@21/LockSupport.java:221)'.
' at java.util.concurrent.CompletableFuture$Signaller.block(java.base@21/CompletableFuture.java:1864)'.
' at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@21/ForkJoinPool.java:3780)'.
' at java.util.concurrent.ForkJoinPool.managedBlock(java.base@21/ForkJoinPool.java:3725)'.
' at java.util.concurrent.CompletableFuture.waitingGet(java.base@21/CompletableFuture.java:1898)'.
' at java.util.concurrent.CompletableFuture.join(java.base@21/CompletableFuture.java:2117)'.
' at io.helidon.tests.functional.requestscope.TenantTest.asyncCalls(TenantTest.java:65)'.
' at io.helidon.tests.functional.requestscope.TenantTest.test2(TenantTest.java:50)'.
' at io.helidon.tests.functional.requestscope.TenantTest$Proxy$_$$_WeldClientProxy.test2(Unknown Source)'.
Except for the listener, this was the only other Helidon code in the stack trace
In my code, this was the relevant part of thread dump I could find:
' - parking to wait for <0x00000000c1923010> (a java.util.concurrent.CompletableFuture$Signaller)'. ' at java.util.concurrent.locks.LockSupport.park(java.base@21/LockSupport.java:221)'. ' at java.util.concurrent.CompletableFuture$Signaller.block(java.base@21/CompletableFuture.java:1864)'. ' at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@21/ForkJoinPool.java:3780)'. ' at java.util.concurrent.ForkJoinPool.managedBlock(java.base@21/ForkJoinPool.java:3725)'. ' at java.util.concurrent.CompletableFuture.waitingGet(java.base@21/CompletableFuture.java:1898)'. ' at java.util.concurrent.CompletableFuture.join(java.base@21/CompletableFuture.java:2117)'. ' at io.helidon.tests.functional.requestscope.TenantTest.asyncCalls(TenantTest.java:65)'. ' at io.helidon.tests.functional.requestscope.TenantTest.test2(TenantTest.java:50)'. ' at io.helidon.tests.functional.requestscope.TenantTest$Proxy$_$$_WeldClientProxy.test2(Unknown Source)'.
Except for the listener, this was the only other Helidon code in the stack trace
I had the same thing in my thread dump. I guess the fault tolerance has a scheduler that is not running, or it run and it didn't commit the response.
Environment Details
Problem Description
Intermittently the
build
job in the validate workflow times out. I've seen this a couple times and each time the build appears to be stuck in: