benwtrent opened a new issue, #12649:
URL: https://github.com/apache/lucene/issues/12649
### Description
This has failed multiple times in continuous testing environment. I have a
couple different reproduction lines to try, but none seem to replicate the
failure locally. The CI on which these failed is a Linux box using OpenJDK17.
trace:
```
org.apache.lucene.index.TestIndexWriterThreadsToSegments >
testSegmentCountOnFlushRandom FAILED
--
| com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an
uncaught exception in thread: Thread[id=618, name=Thread-542, state=RUNNABLE,
group=TGRP-TestIndexWriterThreadsToSegments]
|
| Caused by:
| java.lang.RuntimeException: java.util.concurrent.BrokenBarrierException
| at __randomizedtesting.SeedInfo.seed([F09778B329E7B1C9]:0)
| at
org.apache.lucene.index.TestIndexWriterThreadsToSegments$2.run(TestIndexWriterThreadsToSegments.java:239)
|
| Caused by:
| java.util.concurrent.BrokenBarrierException
| at
java.base/java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:252)
| at
java.base/java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:364)
| at
org.apache.lucene.index.TestIndexWriterThreadsToSegments$2.run(TestIndexWriterThreadsToSegments.java:236)
|
| com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an
uncaught exception in thread: Thread[id=626, name=Thread-550, state=RUNNABLE,
group=TGRP-TestIndexWriterThreadsToSegments]
|
| Caused by:
| java.lang.AssertionError
| at __randomizedtesting.SeedInfo.seed([F09778B329E7B1C9]:0)
| at org.junit.Assert.fail(Assert.java:87)
| at org.junit.Assert.assertTrue(Assert.java:42)
| at org.junit.Assert.assertTrue(Assert.java:53)
| at
org.apache.lucene.index.TestIndexWriterThreadsToSegments$CheckSegmentCount.run(TestIndexWriterThreadsToSegments.java:150)
| at
java.base/java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222)
| at
java.base/java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:364)
| at
org.apache.lucene.index.TestIndexWriterThreadsToSegments$2.run(TestIndexWriterThreadsToSegments.java:236)
```
Followed by all the traces for the threads complaining about:
```
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an
uncaught exception in thread: Thread[id=619, name=Thread-543, state=RUNNABLE,
group=TGRP-TestIndexWriterThreadsToSegments]
--
|
| Caused by:
| java.lang.RuntimeException: java.util.concurrent.BrokenBarrierException
| at __randomizedtesting.SeedInfo.seed([F09778B329E7B1C9]:0)
| at
org.apache.lucene.index.TestIndexWriterThreadsToSegments$2.run(TestIndexWriterThreadsToSegments.java:239)
|
| Caused by:
| java.util.concurrent.BrokenBarrierException
| at
java.base/java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:252)
| at
java.base/java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:364)
| at
org.apache.lucene.index.TestIndexWriterThreadsToSegments$2.run(TestIndexWriterThreadsToSegments.java:236)
```
### Gradle command to reproduce
```
./gradlew test --tests
TestIndexWriterThreadsToSegments.testSegmentCountOnFlushRandom
-Dtests.seed=F09778B329E7B1C9 -Dtests.nightly=true -Dtests.locale=ee-Latn-GH
-Dtests.timezone=WET -Dtests.asserts=true -Dtests.file.encoding=UTF-8
```
```
./gradlew test --tests
TestIndexWriterThreadsToSegments.testSegmentCountOnFlushRandom
-Dtests.seed=8D41B10F3B89A988 -Dtests.nightly=true -Dtests.locale=bez-Latn-TZ
-Dtests.timezone=SST -Dtests.asserts=true -Dtests.file.encoding=UTF-8
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]