rmuir commented on issue #14483: URL: https://github.com/apache/lucene/issues/14483#issuecomment-2802644523
It also happens with a sister test method `testStressUpdateSameDocumentWithMergeOnGetReader`, likely sharing same code and needing similar adjustments: ``` 2 tests failed. FAILED: org.apache.lucene.index.TestIndexWriterMergePolicy.testStressUpdateSameDocumentWithMergeOnGetReader Error Message: java.lang.AssertionError: java.nio.file.FileSystemException: C:\Users\jenkins\workspace\Lucene-MMAPv2-Windows\lucene\core\build\tmp\tests-tmp\lucene.index.TestIndexWriterMergePolicy_B76F692DF88651A-001\index-MMapDirectory-002\_1b8.fdt: Too many open files Stack Trace: java.lang.AssertionError: java.nio.file.FileSystemException: C:\Users\jenkins\workspace\Lucene-MMAPv2-Windows\lucene\core\build\tmp\tests-tmp\lucene.index.TestIndexWriterMergePolicy_B76F692DF88651A-001\index-MMapDirectory-002\_1b8.fdt: Too many open files at __randomizedtesting.SeedInfo.seed([B76F692DF88651A]:0) at org.apache.lucene.index.TestIndexWriterMergePolicy.lambda$stressUpdateSameDocumentWithMergeOnX$0(TestIndexWriterMergePolicy.java:787) at java.base/java.lang.Thread.run(Thread.java:1447) Caused by: java.nio.file.FileSystemException: C:\Users\jenkins\workspace\Lucene-MMAPv2-Windows\lucene\core\build\tmp\tests-tmp\lucene.index.TestIndexWriterMergePolicy_B76F692DF88651A-001\index-MMapDirectory-002\_1b8.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.tests.codecs.asserting.AssertingStoredFieldsFormat.fieldsWriter(AssertingStoredFieldsFormat.java:49) 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.updateDocument(IndexWriter.java:1857) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1497) at org.apache.lucene.tests.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:224) at org.apache.lucene.index.TestIndexWriterMergePolicy.lambda$stressUpdateSameDocumentWithMergeOnX$0(TestIndexWriterMergePolicy.java:783) ... 1 more FAILED: org.apache.lucene.index.TestIndexWriterMergePolicy.classMethod Error Message: java.lang.AssertionError: The test or suite printed 15116 bytes to stdout and stderr, even though the limit was set to 8192 bytes. Increase the limit with @Limit, ignore it completely with @SuppressSysoutChecks or run with -Dtests.verbose=true ``` -- 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 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