Steve Rowe created LUCENE-7690:
----------------------------------

             Summary: TestSimpleTextPointsFormat.testWithExceptions() failure
                 Key: LUCENE-7690
                 URL: https://issues.apache.org/jira/browse/LUCENE-7690
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Steve Rowe


Reproducing branch_6x seed from 
[https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-MacOSX/690/]:

{noformat}
   [junit4] Suite: 
org.apache.lucene.codecs.simpletext.TestSimpleTextPointsFormat
   [junit4] IGNOR/A 0.02s J0 | TestSimpleTextPointsFormat.testRandomBinaryBig
   [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestSimpleTextPointsFormat -Dtests.method=testWithExceptions 
-Dtests.seed=CCE1E867577CFFF6 -Dtests.slow=true -Dtests.locale=uk-UA 
-Dtests.timezone=Asia/Qatar -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.93s J0 | TestSimpleTextPointsFormat.testWithExceptions <<<
   [junit4]    > Throwable #1: java.lang.IllegalStateException: this writer hit 
an unrecoverable error; cannot complete forceMerge
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([CCE1E867577CFFF6:6EB2741BD8F2B00C]:0)
   [junit4]    >        at 
org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1931)
   [junit4]    >        at 
org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1881)
   [junit4]    >        at 
org.apache.lucene.index.RandomIndexWriter.forceMerge(RandomIndexWriter.java:429)
   [junit4]    >        at 
org.apache.lucene.index.BasePointsFormatTestCase.verify(BasePointsFormatTestCase.java:701)
   [junit4]    >        at 
org.apache.lucene.index.BasePointsFormatTestCase.testWithExceptions(BasePointsFormatTestCase.java:224)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
   [junit4]    > Caused by: org.apache.lucene.index.CorruptIndexException: 
Problem reading index from 
MockDirectoryWrapper(NIOFSDirectory@/Users/jenkins/workspace/Lucene-Solr-6.x-MacOSX/lucene/build/codecs/test/J0/temp/lucene.codecs.simpletext.TestSimpleTextPointsFormat_CCE1E867577CFFF6-001/tempDir-001
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@4d6de658) 
(resource=MockDirectoryWrapper(NIOFSDirectory@/Users/jenkins/workspace/Lucene-Solr-6.x-MacOSX/lucene/build/codecs/test/J0/temp/lucene.codecs.simpletext.TestSimpleTextPointsFormat_CCE1E867577CFFF6-001/tempDir-001
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@4d6de658))
   [junit4]    >        at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:140)
   [junit4]    >        at 
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:74)
   [junit4]    >        at 
org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)
   [junit4]    >        at 
org.apache.lucene.index.ReadersAndUpdates.getReaderForMerge(ReadersAndUpdates.java:617)
   [junit4]    >        at 
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4293)
   [junit4]    >        at 
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3940)
   [junit4]    >        at 
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588)
   [junit4]    >        at 
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626)
   [junit4]    > Caused by: java.io.FileNotFoundException: a random IOException 
(_0.inf)
   [junit4]    >        at 
org.apache.lucene.store.MockDirectoryWrapper.maybeThrowIOExceptionOnOpen(MockDirectoryWrapper.java:575)
   [junit4]    >        at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:744)
   [junit4]    >        at 
org.apache.lucene.store.Directory.openChecksumInput(Directory.java:137)
   [junit4]    >        at 
org.apache.lucene.store.MockDirectoryWrapper.openChecksumInput(MockDirectoryWrapper.java:1072)
   [junit4]    >        at 
org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosFormat.read(SimpleTextFieldInfosFormat.java:73)
   [junit4]    >        at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
   [junit4]    >        ... 7 more
   [junit4] IGNOR/A 0.01s J0 | TestSimpleTextPointsFormat.testMergeStability
   [junit4]    > Assumption #1: merge is not stable
   [junit4]   2> NOTE: leaving temporary files on disk at: 
/Users/jenkins/workspace/Lucene-Solr-6.x-MacOSX/lucene/build/codecs/test/J0/temp/lucene.codecs.simpletext.TestSimpleTextPointsFormat_CCE1E867577CFFF6-001
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {}, 
docValues:{}, maxPointsInLeafNode=1626, maxMBSortInHeap=5.745076713359786, 
sim=RandomSimilarity(queryNorm=true,coord=crazy): {}, locale=uk-UA, 
timezone=Asia/Qatar
   [junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_121 
(64-bit)/cpus=3,threads=1,free=153242552,total=251133952
   [junit4]   2> NOTE: All tests run in this JVM: 
[TestSimpleTextFieldInfoFormat, TestDirectPostingsFormat, 
TestSimpleTextTermVectorsFormat, TestFSTOrdPostingsFormat, 
TestSimpleTextPointsFormat]
   [junit4] Completed [16/20 (1!)] on J0 in 22.49s, 18 tests, 1 error, 2 
skipped <<< FAILURES!
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to