Description
the following seed fails reliably for me on master...
[junit4] 2> 1370568 INFO (TEST-HdfsDirectoryTest.testEOF-seed#[A0D22782D87E1CE2]) [ ] o.a.s.SolrTestCaseJ4 ###Ending testEOF [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=HdfsDirectoryTest -Dtests.method=testEOF -Dtests.seed=A0D22782D87E1CE2 -Dtests.slow=true -Dtests.locale=es-PR -Dtests.timezone=Indian/Mauritius -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1 [junit4] ERROR 0.13s J0 | HdfsDirectoryTest.testEOF <<< [junit4] > Throwable #1: java.lang.NullPointerException [junit4] > at __randomizedtesting.SeedInfo.seed([A0D22782D87E1CE2:31B9658A9A5ABA9E]:0) [junit4] > at org.apache.lucene.store.RAMInputStream.readByte(RAMInputStream.java:69) [junit4] > at org.apache.solr.store.hdfs.HdfsDirectoryTest.testEof(HdfsDirectoryTest.java:159) [junit4] > at org.apache.solr.store.hdfs.HdfsDirectoryTest.testEOF(HdfsDirectoryTest.java:151) [junit4] > at java.lang.Thread.run(Thread.java:745)
git bisect says this is the first commit where it started failing..
ddc65d977f920013c5fca16c8ac75ae2c6895f9d is the first bad commit commit ddc65d977f920013c5fca16c8ac75ae2c6895f9d Author: Michael McCandless <mikemccand@apache.org> Date: Thu Jan 21 17:50:28 2016 +0000 LUCENE-6932: RAMInputStream now throws EOFException if you seek beyond the end of the file git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726039 13f79535-47bb-0310-9956-ffa450edef68
...which seems remarkable relevant and likely to indicate a problem that needs fixed in the HdfsDirectory code (or perhaps just the test)
Attachments
Attachments
Issue Links
- is broken by
-
LUCENE-6932 Seek past EOF with RAMDirectory should throw EOFException
- Resolved
- is duplicated by
-
SOLR-8895 HdfsDirectoryTest.testEOF() failure: NPE
- Resolved
-
SOLR-10212 HdfsDirectoryTest.testEof failure
- Resolved
- relates to
-
SOLR-10032 Create report to assess Solr test quality at a commit point.
- Closed