lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3855) TestStressNRT failures (reproducible)
Date Thu, 08 Mar 2012 21:11:57 GMT


Dawid Weiss commented on LUCENE-3855:

Mike, would it help if we dumped a linear sequence of each thread's ops on indexwriter/ segmentinfos,
whatever else? If you can tell me which classes and methods would be of interest then I can
provide such dumps with relative ease (using an aspect or even hardcoded printlns).

Alternatively, can you express certain assertions that should always hold wrt multi-threaded
access? I mean something that I could try to weave into the code so that we can catch an abnormal
interaction pattern while it's happening (as opposed just seing the result)?
> TestStressNRT failures (reproducible)
> -------------------------------------
>                 Key: LUCENE-3855
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 4.0
>         Attachments: hoss-r1298470-fixed-seed__TEST-org.apache.lucene.index.TestStressNRT.xml,
output1.log, output2.log, output3.log, output4.log
> Build server logs. Reproduces on at least two machines.
> {noformat}
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressNRT -Dtestmethod=test
-Dtests.seed=69468941c1bbf693:19e66d58475da929:69e9d2f81769b6d0 -Dargs="-Dfile.encoding=UTF-8"
>     [junit] NOTE: test params are: codec=Lucene3x, sim=RandomSimilarityProvider(queryNorm=true,coord=false):
{}, locale=ro, timezone=Etc/GMT+1
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressNRT]
>     [junit] NOTE: Linux 3.0.0-16-generic amd64/Sun Microsystems Inc. 1.6.0_27 (64-bit)/cpus=2,threads=1,free=74960064,total=135987200
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: test(org.apache.lucene.index.TestStressNRT):	Caused an ERROR
>     [junit] MockDirectoryWrapper: cannot close: there are still open files: {_ng.cfs=8}
>     [junit] java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are
still open files: {_ng.cfs=8}
>     [junit] 	at
>     [junit] 	at org.apache.lucene.index.TestStressNRT.test(
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(
>     [junit] 	at org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(
>     [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(
>     [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(
>     [junit] 	at org.apache.lucene.util.StoreClassNameRule$1.evaluate(
>     [junit] 	at org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(
>     [junit] Caused by: java.lang.RuntimeException: unclosed IndexInput: _ng.cfs
>     [junit] 	at
>     [junit] 	at$1.openSlice(
>     [junit] 	at
>     [junit] 	at org.apache.lucene.codecs.lucene3x.TermInfosReader.<init>(
>     [junit] 	at org.apache.lucene.codecs.lucene3x.Lucene3xFields.<init>(
>     [junit] 	at org.apache.lucene.codecs.lucene3x.PreFlexRWPostingsFormat$1.<init>(
>     [junit] 	at org.apache.lucene.codecs.lucene3x.PreFlexRWPostingsFormat.fieldsProducer(
>     [junit] 	at org.apache.lucene.index.SegmentCoreReaders.<init>(
>     [junit] 	at org.apache.lucene.index.SegmentReader.<init>(
>     [junit] 	at org.apache.lucene.index.IndexWriter$ReadersAndLiveDocs.getMergeReader(
>     [junit] 	at org.apache.lucene.index.IndexWriter.mergeMiddle(
>     [junit] 	at org.apache.lucene.index.IndexWriter.merge(
>     [junit] 	at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(
>     [junit] 	at org.apache.lucene.index.ConcurrentMergeScheduler$
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressNRT FAILED
> {noformat}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message