You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2026/09/29 05:05:00 UTC

[jira] [Comment Edited] (OAK-12421) ForkJoinUtilsTest can be flaky

    [ https://issues.apache.org/jira/browse/OAK-12421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120468#comment-18120468 ] 

Julian Reschke edited comment on OAK-12421 at 9/29/26 5:04 AM:
---------------------------------------------------------------

It appears that this did not fix it:

 
{noformat}

*00:09:32* [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.21 s <<< FAILURE! – in org.apache.jackrabbit.oak.commons.internal.concurrent.ForkJoinUtilsTest*00:09:32* [ERROR] org.apache.jackrabbit.oak.commons.internal.concurrent.ForkJoinUtilsTest.isInCommonPool – Time elapsed: 10.15 s <<< FAILURE!{*}00:09:32{*} java.lang.AssertionError: *00:09:32* *00:09:32* Expected size: 9 but was: 8 in:{*}00:09:32{*} \{0=true, 1=true, 2=true, 3=true, 4=true, 7=true, 8=true, 9=true}{*}00:09:32{*} at org.apache.jackrabbit.oak.commons.internal.concurrent.ForkJoinUtilsTest.isInCommonPool(ForkJoinUtilsTest.java:47){*}00:09:32{*} at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103){*}00:09:32{*} at java.base/java.lang.reflect.Method.invoke(Method.java:580){*}00:09:32{*} at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59){*}00:09:32{*} at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12){*}00:09:32{*} at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56){*}00:09:32{*} at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17){*}00:09:32{*} at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306){*}00:09:32{*} at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
  {noformat}



was (Author: reschke):
It appears that this did not fix it:
*00:09:32*  [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.21 s <<< FAILURE! -- in org.apache.jackrabbit.oak.commons.internal.concurrent.ForkJoinUtilsTest*00:09:32*  [ERROR] org.apache.jackrabbit.oak.commons.internal.concurrent.ForkJoinUtilsTest.isInCommonPool -- Time elapsed: 10.15 s <<< FAILURE!*00:09:32*  java.lang.AssertionError: *00:09:32* *00:09:32*  Expected size: 9 but was: 8 in:*00:09:32*  \{0=true, 1=true, 2=true, 3=true, 4=true, 7=true, 8=true, 9=true}*00:09:32*  	at org.apache.jackrabbit.oak.commons.internal.concurrent.ForkJoinUtilsTest.isInCommonPool(ForkJoinUtilsTest.java:47)*00:09:32*  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)*00:09:32*  	at java.base/java.lang.reflect.Method.invoke(Method.java:580)*00:09:32*  	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)*00:09:32*  	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)*00:09:32*  	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)*00:09:32*  	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)*00:09:32*  	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)*00:09:32*  	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
 

> ForkJoinUtilsTest can be flaky
> ------------------------------
>
>                 Key: OAK-12421
>                 URL: https://issues.apache.org/jira/browse/OAK-12421
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: commons
>    Affects Versions: 2.6.0
>            Reporter: Julian Sedding
>            Assignee: Julian Sedding
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> The test {{ForkJoinUtilsTest.isInCommonPool}} has been seen to fail in a CI/CD run.
> {noformat}
> 05:36:51  [ERROR] Failures: 
> 05:36:51  [ERROR]   ForkJoinUtilsTest.isInCommonPool:47 
> 05:36:51  Expected size to be between: 9 and 10 but was: 8 in:
> 05:36:51  {0=true, 1=true, 2=true, 3=true, 4=true, 7=true, 8=true, 9=true}
> {noformat}
> Adjust the test-case to avoid the race condition leading to this failure.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)