vsop-479 opened a new issue, #17012:
URL: https://github.com/apache/lucene/issues/17012

   ### Description
   
   ```
   >     java.lang.AssertionError: truncate-si: java.io.EOFException
      >         at 
__randomizedtesting.SeedInfo.seed([C1A55204A4005B8C:482EC94EC2155B7F]:0)
      >         at org.junit.Assert.fail(Assert.java:89)
      >         at org.junit.Assert.assertTrue(Assert.java:42)
      >         at 
org.apache.lucene.index.TestCheckIndex.testCorruptSegmentInfoNamesTheSegment(TestCheckIndex.java:347)
   ```
   
   Reason: 
   For truncate-si, the underlying exception may include the filename in its 
message, e.g.: 
   `cause: org.apache.lucene.index.CorruptIndexException: checksum status 
indeterminate: remaining=0; please run checkindex for more details 
(resource=BufferedChecksumIndexInput(MockIndexInputWrapper((clone of) 
ByteBuffersIndexInput (file=_1.si, buffers=230 bytes, block size: 1, blocks: 1, 
position: 0))))
   `  
   
   However, an EOFException have no similar message.
    
   
   ### Gradle command to reproduce
   
   ```
   gradlew test --tests TestCheckIndex.testCorruptSegmentInfoNamesTheSegment 
-Dtests.seed=C1A55204A4005B8C -Dtests.locale=naq-Latn-NA 
-Dtests.timezone=Europe/Vilnius -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]

Reply via email to