You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "thecoop (via GitHub)" <gi...@apache.org> on 2026/09/30 09:54:40 UTC
[I] TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions fails [lucene]
thecoop opened a new issue, #16751:
URL: https://github.com/apache/lucene/issues/16751
### Description
Fails reliably with `./gradlew :lucene:sandbox:test --tests "org.apache.lucene.sandbox.codecs.dedup.TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions" -Ptests.seed=419FB00354F5C142`
java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are still 1 open files: {_16_DedupHnswScalarQuantizedVectorsFormat_0.vdd=1}
at __randomizedtesting.SeedInfo.seed([419FB00354F5C142:29B0DEC7CAFB98E2]:0)
at org.apache.lucene.test_framework@10.6.0-SNAPSHOT/org.apache.lucene.tests.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:886)
at org.apache.lucene.test_framework@10.6.0-SNAPSHOT/org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.testRandomExceptions(BaseIndexFileFormatTestCase.java:737)
...
Caused by:
java.lang.RuntimeException: unclosed IndexInput: _16_DedupHnswScalarQuantizedVectorsFormat_0.vdd
at org.apache.lucene.test_framework@10.6.0-SNAPSHOT/org.apache.lucene.tests.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:784)
at org.apache.lucene.test_framework@10.6.0-SNAPSHOT/org.apache.lucene.tests.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:845)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:101)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:101)
at org.apache.lucene.sandbox.codecs.dedup.DedupScalarQuantizedVectorsReader.openDataInput(DedupScalarQuantizedVectorsReader.java:278)
at org.apache.lucene.sandbox.codecs.dedup.DedupScalarQuantizedVectorsReader.<init>(DedupScalarQuantizedVectorsReader.java:127)
at org.apache.lucene.sandbox.codecs.dedup.DedupScalarQuantizedVectorsFormat.fieldsReader(DedupScalarQuantizedVectorsFormat.java:124)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsWriter.ensureFlatReaderOpen(Lucene99HnswVectorsWriter.java:520)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsWriter.lambda$mergeOneField$0(Lucene99HnswVectorsWriter.java:432)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.codecs.KnnVectorsWriter.merge(KnnVectorsWriter.java:146)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.SegmentMerger.mergeVectorValues(SegmentMerger.java:274)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.SegmentMerger.mergeWithLogging(SegmentMerger.java:317)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:161)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5739)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:5197)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter$IndexWriterMergeSource.merge(IndexWriter.java:7026)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:38)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.executeMerge(IndexWriter.java:2463)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2458)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:6483)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.maybeProcessEvents(IndexWriter.java:6473)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1641)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1926)
at org.apache.lucene.core@10.6.0-SNAPSHOT/org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1501)
at org.apache.lucene.test_framework@10.6.0-SNAPSHOT/org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.testRandomExceptions(BaseIndexFileFormatTestCase.java:658)
### Version and environment details
_No response_
--
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: issues-unsubscribe@lucene.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions fails [lucene]
Posted by "CH-Abhinav (via GitHub)" <gi...@apache.org>.
CH-Abhinav commented on issue #16751:
URL: https://github.com/apache/lucene/issues/16751#issuecomment-5913177985
Seed ? So is this another test which randomly fails .
--
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: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions fails [lucene]
Posted by "kaivalnp (via GitHub)" <gi...@apache.org>.
kaivalnp commented on issue #16751:
URL: https://github.com/apache/lucene/issues/16751#issuecomment-5918352348
Opened #16753 for the fix.
I'll look into the [other failure](https://github.com/apache/lucene/issues/16751#issuecomment-5908837412) shortly.
--
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: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions fails [lucene]
Posted by "kaivalnp (via GitHub)" <gi...@apache.org>.
kaivalnp closed issue #16751: TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions fails
URL: https://github.com/apache/lucene/issues/16751
--
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: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] TestDedupHnswScalarQuantizedVectorsFormat.testRandomExceptions fails [lucene]
Posted by "thecoop (via GitHub)" <gi...@apache.org>.
thecoop commented on issue #16751:
URL: https://github.com/apache/lucene/issues/16751#issuecomment-5908837412
Other related tests also fail - see https://jenkins.thetaphi.de/job/Lucene-main-macOS/18021/
--
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: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org