[jira] [Commented] (LUCENE-7887) TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce() failure: numTerms2=0 vs -8

2017-06-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068092#comment-16068092
 ] 

ASF subversion and git services commented on LUCENE-7887:
-

Commit c9c0121d9399ff0009c51d6a32632dd0962e8c8f in lucene-solr's branch 
refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c9c0121 ]

LUCENE-7887: don't clear BufferedUpdatesStream on abort


> TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce()
>  failure: numTerms2=0 vs -8
> 
>
> Key: LUCENE-7887
> URL: https://issues.apache.org/jira/browse/LUCENE-7887
> Project: Lucene - Core
>  Issue Type: Bug
>Reporter: Steve Rowe
>
> Non-reproducing failure from 
> [https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1338/]:
> {noformat}
> Checking out Revision 9f56698d33d1db9fab6a0d6f63b360b334f71583 
> (refs/remotes/origin/master)
> [...]
>[junit4] Suite: org.apache.lucene.index.TestIndexWriterWithThreads
>[junit4]   1> Thread-12393: ERROR: unexpected Throwable:
>[junit4]   1> java.lang.AssertionError: numTerms2=0 vs -8
>[junit4]   1>  at 
> org.apache.lucene.index.BufferedUpdatesStream.checkDeleteStats(BufferedUpdatesStream.java:376)
>[junit4]   1>  at 
> org.apache.lucene.index.BufferedUpdatesStream.push(BufferedUpdatesStream.java:85)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.publishFrozenUpdates(IndexWriter.java:2655)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.finishFlush(DocumentsWriterFlushQueue.java:205)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue$SegmentFlushTicket.publish(DocumentsWriterFlushQueue.java:248)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge(DocumentsWriterFlushQueue.java:116)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue.forcePurge(DocumentsWriterFlushQueue.java:138)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriter.purgeBuffer(DocumentsWriter.java:200)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.purge(IndexWriter.java:5004)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriter$ForcedPurgeEvent.process(DocumentsWriter.java:751)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:5061)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:5049)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1719)
>[junit4]   1>  at 
> org.apache.lucene.index.TestIndexWriterWithThreads$IndexerThread.run(TestIndexWriterWithThreads.java:86)
>[junit4]   2> NOTE: download the large Jenkins line-docs file by running 
> 'ant get-jenkins-line-docs' in the lucene directory.
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestIndexWriterWithThreads 
> -Dtests.method=testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce 
> -Dtests.seed=66484822FD0371B5 -Dtests.multiplier=2 -Dtests.nightly=true 
> -Dtests.slow=true 
> -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
>  -Dtests.locale=es-CR -Dtests.timezone=America/Manaus -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>[junit4] FAILURE 0.06s J2 | 
> TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce
>  <<<
>[junit4]> Throwable #1: java.lang.AssertionError: hit unexpected 
> Throwable
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([66484822FD0371B5:2A23C9E43BA35250]:0)
>[junit4]>  at 
> org.apache.lucene.index.TestIndexWriterWithThreads._testMultipleThreadsFailure(TestIndexWriterWithThreads.java:300)
>[junit4]>  at 
> org.apache.lucene.index.TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce(TestIndexWriterWithThreads.java:497)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
>[junit4]   2> NOTE: leaving temporary files on disk at: 
> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/checkout/lucene/build/core/test/J2/temp/lucene.index.TestIndexWriterWithThreads_66484822FD0371B5-001
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {date=PostingsFormat(name=LuceneVarGapFixedInterval), 
> field=PostingsFormat(name=LuceneVarGapFixedInterval), 
> docid=PostingsFormat(name=Asserting), 
> titleTokenized=PostingsFormat(name=LuceneFixedGap), 
> body=PostingsFormat(name=LuceneVarGapFixedInterval), 
> title=Lucene50(blocksize=128)}, docValues:{dv=DocValuesFo

[jira] [Commented] (LUCENE-7887) TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce() failure: numTerms2=0 vs -8

2017-06-28 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067568#comment-16067568
 ] 

Michael McCandless commented on LUCENE-7887:


I'll dig; looks fun :)

> TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce()
>  failure: numTerms2=0 vs -8
> 
>
> Key: LUCENE-7887
> URL: https://issues.apache.org/jira/browse/LUCENE-7887
> Project: Lucene - Core
>  Issue Type: Bug
>Reporter: Steve Rowe
>
> Non-reproducing failure from 
> [https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1338/]:
> {noformat}
> Checking out Revision 9f56698d33d1db9fab6a0d6f63b360b334f71583 
> (refs/remotes/origin/master)
> [...]
>[junit4] Suite: org.apache.lucene.index.TestIndexWriterWithThreads
>[junit4]   1> Thread-12393: ERROR: unexpected Throwable:
>[junit4]   1> java.lang.AssertionError: numTerms2=0 vs -8
>[junit4]   1>  at 
> org.apache.lucene.index.BufferedUpdatesStream.checkDeleteStats(BufferedUpdatesStream.java:376)
>[junit4]   1>  at 
> org.apache.lucene.index.BufferedUpdatesStream.push(BufferedUpdatesStream.java:85)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.publishFrozenUpdates(IndexWriter.java:2655)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.finishFlush(DocumentsWriterFlushQueue.java:205)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue$SegmentFlushTicket.publish(DocumentsWriterFlushQueue.java:248)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge(DocumentsWriterFlushQueue.java:116)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriterFlushQueue.forcePurge(DocumentsWriterFlushQueue.java:138)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriter.purgeBuffer(DocumentsWriter.java:200)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.purge(IndexWriter.java:5004)
>[junit4]   1>  at 
> org.apache.lucene.index.DocumentsWriter$ForcedPurgeEvent.process(DocumentsWriter.java:751)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:5061)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:5049)
>[junit4]   1>  at 
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1719)
>[junit4]   1>  at 
> org.apache.lucene.index.TestIndexWriterWithThreads$IndexerThread.run(TestIndexWriterWithThreads.java:86)
>[junit4]   2> NOTE: download the large Jenkins line-docs file by running 
> 'ant get-jenkins-line-docs' in the lucene directory.
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestIndexWriterWithThreads 
> -Dtests.method=testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce 
> -Dtests.seed=66484822FD0371B5 -Dtests.multiplier=2 -Dtests.nightly=true 
> -Dtests.slow=true 
> -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
>  -Dtests.locale=es-CR -Dtests.timezone=America/Manaus -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>[junit4] FAILURE 0.06s J2 | 
> TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce
>  <<<
>[junit4]> Throwable #1: java.lang.AssertionError: hit unexpected 
> Throwable
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([66484822FD0371B5:2A23C9E43BA35250]:0)
>[junit4]>  at 
> org.apache.lucene.index.TestIndexWriterWithThreads._testMultipleThreadsFailure(TestIndexWriterWithThreads.java:300)
>[junit4]>  at 
> org.apache.lucene.index.TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce(TestIndexWriterWithThreads.java:497)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
>[junit4]   2> NOTE: leaving temporary files on disk at: 
> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/checkout/lucene/build/core/test/J2/temp/lucene.index.TestIndexWriterWithThreads_66484822FD0371B5-001
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {date=PostingsFormat(name=LuceneVarGapFixedInterval), 
> field=PostingsFormat(name=LuceneVarGapFixedInterval), 
> docid=PostingsFormat(name=Asserting), 
> titleTokenized=PostingsFormat(name=LuceneFixedGap), 
> body=PostingsFormat(name=LuceneVarGapFixedInterval), 
> title=Lucene50(blocksize=128)}, docValues:{dv=DocValuesFormat(name=Direct), 
> docid_intDV=DocValuesFormat(name=Memory), field=DocValuesFormat(name=Direct), 
> titleDV=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=1926, 
> maxMBSortInHeap=6.378832546318826, sim=RandomSimilarity(queryNorm=false)