rmuir opened a new issue, #14483:
URL: https://github.com/apache/lucene/issues/14483

   ### Description
   
   Haven't dug in yet: this test probably just needs tweaking to use less 
files, there are some helper methods we can use to do it.
   
   ```
   Build: https://jenkins.thetaphi.de/job/Lucene-nightly-main-Linux/9/
   Java: 64bit/hotspot/jdk-24 -XX:-UseCompressedOops -XX:+UseG1GC
   
   1 tests failed.
   FAILED:  
org.apache.lucene.index.TestIndexWriterMergePolicy.testStressUpdateSameDocumentWithMergeOnCommit
   
   Error Message:
   java.lang.IllegalStateException: this writer hit an unrecoverable error; 
cannot commit
   
   Stack Trace:
   java.lang.IllegalStateException: this writer hit an unrecoverable error; 
cannot commit
           at 
org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:5603)
           at 
org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:3805)
           at 
org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:4146)
           at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4108)
           at 
org.apache.lucene.tests.index.RandomIndexWriter.commit(RandomIndexWriter.java:388)
           at 
org.apache.lucene.tests.index.RandomIndexWriter.commit(RandomIndexWriter.java:370)
           at 
org.apache.lucene.index.TestIndexWriterMergePolicy.stressUpdateSameDocumentWithMergeOnX(TestIndexWriterMergePolicy.java:808)
           at 
org.apache.lucene.index.TestIndexWriterMergePolicy.testStressUpdateSameDocumentWithMergeOnCommit(TestIndexWriterMergePolicy.java:747)
         ...
   Caused by: java.nio.file.FileSystemException: 
/home/jenkins/workspace/Lucene-nightly-main-Linux/lucene/core/build/tmp/tests-tmp/lucene.index.TestIndexWriterMergePolicy_D1A5025C440EEC99-001/index-MMapDirectory-001/_5yt.fdt:
 Too many open files
           at 
org.apache.lucene.tests.mockfile.HandleLimitFS.onOpen(HandleLimitFS.java:67)
           at 
org.apache.lucene.tests.mockfile.HandleTrackingFS.callOpenHook(HandleTrackingFS.java:82)
           at 
org.apache.lucene.tests.mockfile.HandleTrackingFS.newOutputStream(HandleTrackingFS.java:163)
           at 
org.apache.lucene.tests.mockfile.FilterFileSystemProvider.newOutputStream(FilterFileSystemProvider.java:200)
           at java.base/java.nio.file.Files.newOutputStream(Files.java:215)
           at 
org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:389)
           at 
org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:382)
           at 
org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:215)
           at 
org.apache.lucene.tests.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:718)
           at 
org.apache.lucene.store.LockValidatingDirectoryWrapper.createOutput(LockValidatingDirectoryWrapper.java:43)
           at 
org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:41)
           at 
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsWriter.<init>(Lucene90CompressingStoredFieldsWriter.java:138)
           at 
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsFormat.fieldsWriter(Lucene90CompressingStoredFieldsFormat.java:140)
           at 
org.apache.lucene.codecs.lucene90.Lucene90StoredFieldsFormat.fieldsWriter(Lucene90StoredFieldsFormat.java:154)
           at 
org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter(StoredFieldsConsumer.java:50)
           at 
org.apache.lucene.index.StoredFieldsConsumer.startDocument(StoredFieldsConsumer.java:57)
           at 
org.apache.lucene.index.IndexingChain.startStoredFields(IndexingChain.java:544)
           at 
org.apache.lucene.index.IndexingChain.processDocument(IndexingChain.java:575)
           at 
org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:274)
           at 
org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:425)
           at 
org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1572)
           at 
org.apache.lucene.index.IndexWriter.softUpdateDocument(IndexWriter.java:1890)
           at 
org.apache.lucene.tests.index.RandomIndexWriter.updateDocument(RandomIndexWriter.java:319)
           at 
org.apache.lucene.index.TestIndexWriterMergePolicy.lambda$stressUpdateSameDocumentWithMergeOnX$0(TestIndexWriterMergePolicy.java:781)
           ... 1 more
   ```
   
   ### 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-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to