Steve Rowe created LUCENE-7422:
----------------------------------

             Summary: TestAllFilesCheckIndexHeader failures
                 Key: LUCENE-7422
                 URL: https://issues.apache.org/jira/browse/LUCENE-7422
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Steve Rowe


>From Policeman Jenkins on master - reproduces for me with Java 1.8 on Linux:

{noformat}
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/17644/
Java: 32bit/jdk-9-ea+132 -server -XX:+UseParallelGC
[...]
  [junit4] Suite: org.apache.lucene.index.TestAllFilesCheckIndexHeader
  [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestAllFilesCheckIndexHeader -Dtests.method=test 
-Dtests.seed=8133F5B315A4BBBA -Dtests.multiplier=3 -Dtests.slow=true 
-Dtests.locale=vai-Latn -Dtests.timezone=America/Fortaleza -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
  [junit4] ERROR   0.32s J2 | TestAllFilesCheckIndexHeader.test <<<
  [junit4]    > Throwable #1: java.io.IOException: file "_e.tvx" was already 
written to
  [junit4]    >         at 
__randomizedtesting.SeedInfo.seed([8133F5B315A4BBBA:967CA69BB58D642]:0)
  [junit4]    >         at 
org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:654)
  [junit4]    >         at 
org.apache.lucene.index.TestAllFilesCheckIndexHeader.checkOneFile(TestAllFilesCheckIndexHeader.java:106)
  [junit4]    >         at 
org.apache.lucene.index.TestAllFilesCheckIndexHeader.checkIndexHeader(TestAllFilesCheckIndexHeader.java:81)
  [junit4]    >         at 
org.apache.lucene.index.TestAllFilesCheckIndexHeader.test(TestAllFilesCheckIndexHeader.java:74)
  [junit4]    >         at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native 
Method)
  [junit4]    >         at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
  [junit4]    >         at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
  [junit4]    >         at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
  [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {}, 
docValues:{}, maxPointsInLeafNode=690, maxMBSortInHeap=6.334662757981386, 
sim=ClassicSimilarity, locale=vai-Latn, timezone=America/Fortaleza
  [junit4]   2> NOTE: Linux 4.4.0-31-generic i386/Oracle Corporation 9-ea 
(32-bit)/cpus=12,threads=1,free=141938112,total=221249536
  [junit4]   2> NOTE: All tests run in this JVM: [Test2BBinaryDocValues, 
TestLucene62SegmentInfoFormat, TestDeterminizeLexicon, Test2BPagedBytes, 
TestLucene53NormsFormat, TestMultiTermsEnum, TestIndexWriterCommit, 
TestVersion, TestSpanExplanations, TestRamUsageEstimator, 
TestIndexWriterReader, TestSparseFixedBitSet, LimitedFiniteStringsIteratorTest, 
TestDirectMonotonic, Test2BPostingsBytes, TestFuzzyQuery, 
TestFastCompressionMode, TestPerSegmentDeletes, TestLazyProxSkipping, 
TestSameScoresWithThreads, TestCollectionUtil, TestBinaryDocValuesUpdates, 
TestAllFilesCheckIndexHeader]
  [junit4] Completed [76/432 (1!)] on J2 in 0.33s, 1 test, 1 error <<< FAILURES!
{noformat}

My Jenkins found this reproducing seed:

{noformat}
   [junit4] Suite: org.apache.lucene.index.TestAllFilesCheckIndexHeader
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestAllFilesCheckIndexHeader -Dtests.method=test 
-Dtests.seed=655499E46A442951 -Dtests.slow=true -Dtests.locale=es-UY 
-Dtests.timezone=Pacific/Fiji -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] ERROR   0.38s J0 | TestAllFilesCheckIndexHeader.test <<<
   [junit4]    > Throwable #1: java.io.IOException: file "_d.nvd" was already 
written to
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([655499E46A442951:ED00A63EC4B844A9]:0)
   [junit4]    >        at 
org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:654)
   [junit4]    >        at 
org.apache.lucene.index.TestAllFilesCheckIndexHeader.checkOneFile(TestAllFilesCheckIndexHeader.java:106)
   [junit4]    >        at 
org.apache.lucene.index.TestAllFilesCheckIndexHeader.checkIndexHeader(TestAllFilesCheckIndexHeader.java:81)
   [junit4]    >        at 
org.apache.lucene.index.TestAllFilesCheckIndexHeader.test(TestAllFilesCheckIndexHeader.java:74)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {}, 
docValues:{}, maxPointsInLeafNode=1437, maxMBSortInHeap=5.3144078057420225, 
sim=RandomSimilarity(queryNorm=false): {titleTokenized=IB LL-D1, body=DFR 
I(n)B2}, locale=es-UY, timezone=Pacific/Fiji
   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
1.8.0_77 (64-bit)/cpus=16,threads=1,free=280750384,total=467664896
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to