This is maybe the same as
https://issues.apache.org/jira/browse/LUCENE-6684?  But in that issue
I think the assert was during flush, not close ...

It's a scary assert trip: it means IW was asked to delete a non-existent file.

But it only seems to happen on Windows (can someone w/ Windows install
see if the seed at least repros?).

Mike McCandless

http://blog.mikemccandless.com


On Tue, Jul 21, 2015 at 10:15 PM, Policeman Jenkins Server
<jenk...@thetaphi.de> wrote:
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/5052/
> Java: 64bit/jdk1.8.0_45 -XX:+UseCompressedOops -XX:+UseG1GC
>
> 1 tests failed.
> FAILED:  org.apache.lucene.store.TestSimpleFSLockFactory.testStressLocks
>
> Error Message:
> Captured an uncaught exception in thread: Thread[id=712, name=Thread-500, 
> state=RUNNABLE, group=TGRP-TestSimpleFSLockFactory]
>
> Stack Trace:
> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
> uncaught exception in thread: Thread[id=712, name=Thread-500, state=RUNNABLE, 
> group=TGRP-TestSimpleFSLockFactory]
>         at 
> __randomizedtesting.SeedInfo.seed([D84E895A7ED9E6D6:867FC7A762752EB0]:0)
> Caused by: java.lang.AssertionError: hit unexpected NoSuchFileException: 
> file=_m.cfs
>         at __randomizedtesting.SeedInfo.seed([D84E895A7ED9E6D6]:0)
>         at 
> org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:750)
>         at 
> org.apache.lucene.index.IndexFileDeleter.deletePendingFiles(IndexFileDeleter.java:528)
>         at 
> org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:636)
>         at 
> org.apache.lucene.index.IndexWriter.finishCommit(IndexWriter.java:3020)
>         at 
> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2970)
>         at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1066)
>         at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1109)
>         at 
> org.apache.lucene.store.BaseLockFactoryTestCase$WriterThread.run(BaseLockFactoryTestCase.java:221)
>
>
>
>
> Build Log:
> [...truncated 1022 lines...]
>    [junit4] Suite: org.apache.lucene.store.TestSimpleFSLockFactory
>    [junit4]   2> de jul. 21, 2015 9:12:46 PM 
> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
>  uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: 
> Thread[Thread-500,5,TGRP-TestSimpleFSLockFactory]
>    [junit4]   2> java.lang.AssertionError: hit unexpected 
> NoSuchFileException: file=_m.cfs
>    [junit4]   2>        at 
> __randomizedtesting.SeedInfo.seed([D84E895A7ED9E6D6]:0)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:750)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexFileDeleter.deletePendingFiles(IndexFileDeleter.java:528)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:636)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.finishCommit(IndexWriter.java:3020)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2970)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1066)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1109)
>    [junit4]   2>        at 
> org.apache.lucene.store.BaseLockFactoryTestCase$WriterThread.run(BaseLockFactoryTestCase.java:221)
>    [junit4]   2>
>    [junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestSimpleFSLockFactory -Dtests.method=testStressLocks 
> -Dtests.seed=D84E895A7ED9E6D6 -Dtests.slow=true -Dtests.locale=ca_ES 
> -Dtests.timezone=America/Indiana/Knox -Dtests.asserts=true 
> -Dtests.file.encoding=ISO-8859-1
>    [junit4] ERROR   2.96s J1 | TestSimpleFSLockFactory.testStressLocks <<<
>    [junit4]    > Throwable #1: 
> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
> uncaught exception in thread: Thread[id=712, name=Thread-500, state=RUNNABLE, 
> group=TGRP-TestSimpleFSLockFactory]
>    [junit4]    >        at 
> __randomizedtesting.SeedInfo.seed([D84E895A7ED9E6D6:867FC7A762752EB0]:0)
>    [junit4]    > Caused by: java.lang.AssertionError: hit unexpected 
> NoSuchFileException: file=_m.cfs
>    [junit4]    >        at 
> __randomizedtesting.SeedInfo.seed([D84E895A7ED9E6D6]:0)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:750)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexFileDeleter.deletePendingFiles(IndexFileDeleter.java:528)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:636)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.finishCommit(IndexWriter.java:3020)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2970)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1066)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1109)
>    [junit4]    >        at 
> org.apache.lucene.store.BaseLockFactoryTestCase$WriterThread.run(BaseLockFactoryTestCase.java:221)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): 
> {content=PostingsFormat(name=LuceneVarGapDocFreqInterval)}, docValues:{}, 
> sim=RandomSimilarityProvider(queryNorm=false,coord=yes): {content=DFR GL1}, 
> locale=ca_ES, timezone=America/Indiana/Knox
>    [junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_45 
> (64-bit)/cpus=3,threads=1,free=304611952,total=331350016
>    [junit4]   2> NOTE: All tests run in this JVM: 
> [TestIndexWriterLockRelease, TestPerFieldDocValuesFormat, TestAutomatonQuery, 
> TestSearchForDuplicates, TestBlockPostingsFormat2, 
> TestTrackingDirectoryWrapper, TestFixedBitDocIdSet, TestSetOnce, 
> TestIndexInput, TestMixedCodecs, TestLSBRadixSorter, TestTieredMergePolicy, 
> TestSortRandom, TestCachingWrapperQuery, TestSloppyPhraseQuery, 
> TestBufferedIndexInput, TestSpanNearQuery, TestMathUtil, TestBooleanScorer, 
> TestParallelTermEnum, TestFuzzyQuery, TestNewestSegment, Test4GBStoredFields, 
> TestSentinelIntSet, TestTimSorter, TestIndexWriterMergePolicy, 
> TestSpanCollection, TestIndexSearcher, TestIndexWriterNRTIsCurrent, 
> TestTragicIndexWriterDeadlock, TestDateSort, TestPerSegmentDeletes, 
> TestAttributeSource, TestPrefixInBooleanQuery, TestLucene50CompoundFormat, 
> TestLucene50SegmentInfoFormat, TestDefaultSimilarity, 
> TestIndexWriterOutOfFileDescriptors, TestConsistentFieldNumbers, TestSearch, 
> TestReaderClosed, TestPayloads, TestDocCount, TestDeterminism, 
> TestTotalHitCountCollector, TestByteBlockPool, TestFilterSpans, TestRegExp, 
> TestMaxTermFrequency, TestFileSwitchDirectory, TestWildcardRandom, 
> TestPayloadsOnVectors, TestIndexReaderClose, TestFastCompressionMode, 
> TestWildcard, TestCharsRefBuilder, TestFieldsReader, 
> TestSizeBoundedForceMerge, TestByteArrayDataInput, TestStressAdvance, 
> TestIntBlockPool, TestMixedDocValuesUpdates, TestIndexWriterOnJRECrash, 
> TestConjunctions, TestNumericDocValuesUpdates, TestTimeLimitingCollector, 
> TestNoMergeScheduler, TestRegexpQuery, TestPersistentSnapshotDeletionPolicy, 
> TestControlledRealTimeReopenThread, TestNoDeletionPolicy, TestDocValues, 
> TestRollback, TestCachingTokenFilter, TestSparseFixedBitSet, 
> TestDocumentWriter, TestCheckIndex, TestDocBoost, TestCachingCollector, 
> TestFixedBitSet, TestVirtualMethod, TestConstantScoreQuery, 
> TestPayloadNearQuery, TestPackedTokenAttributeImpl, TestTopFieldCollector, 
> TestBlockPostingsFormat, TestRegexpRandom, TestBagOfPostings, 
> TestNumericRangeQuery32, TestDemoParallelLeafReader, TestSimpleFSLockFactory]
>    [junit4] Completed [197/398] on J1 in 8.48s, 7 tests, 1 error <<< FAILURES!
>
> [...truncated 677 lines...]
> BUILD FAILED
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:526: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:474: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:61: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\extra-targets.xml:39:
>  The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\lucene\build.xml:50:
>  The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\lucene\common-build.xml:1426:
>  The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\lucene\common-build.xml:981:
>  There were test failures: 398 suites, 3212 tests, 1 error, 57 ignored (53 
> assumptions)
>
> Total time: 5 minutes 10 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to