Skip to content

Test failure in TestDirectoryReader.testExecutorServicePartialFailure #15466

@romseygeek

Description

@romseygeek

Description

Failure occurs on both main and branch_10x

org.apache.lucene.index.TestDirectoryReader > test suite's output saved to /Users/romseygeek/projects/lucene/lucene/core/build/test-results/test/outputs/OUTPUT-org.apache.lucene.index.TestDirectoryReader.txt, copied below:
  2> Dec 02, 2025 11:53:52 AM org.apache.lucene.internal.vectorization.VectorizationProvider lookup
  2> WARNING: Vector bitsize enforcement; using default vectorization provider outside of testMode
   >     java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are still 1 open files: {_4.cfs=1}
   >         at __randomizedtesting.SeedInfo.seed([DA309CFBAA3E12BA:66178AEB9D4FFEDB]:0)
   >         at org.apache.lucene.tests.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:884)

The test was added by #15428

Gradle command to reproduce

./gradlew test --tests TestDirectoryReader.testExecutorServicePartialFailure -Dtests.seed=DA309CFBAA3E12BA -Dtests.locale=cs-CZ -Dtests.timezone=Africa/Brazzaville -Dtests.asserts=true -Dtests.file.encoding=UTF-8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions