Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9036C8E10 for ; Wed, 10 Aug 2011 17:04:51 +0000 (UTC) Received: (qmail 99658 invoked by uid 500); 10 Aug 2011 17:04:50 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 99551 invoked by uid 500); 10 Aug 2011 17:04:49 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 99537 invoked by uid 99); 10 Aug 2011 17:04:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 17:04:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 17:04:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C5947B64C2 for ; Wed, 10 Aug 2011 17:04:27 +0000 (UTC) Date: Wed, 10 Aug 2011 17:04:27 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: <724930472.24392.1312995867806.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <351717669.24124.1312991967326.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3372) TestIndexWriterOnDiskFull.testAddDocumentOnDiskFull seed failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Willnauer updated LUCENE-3372: ------------------------------------ Attachment: LUCENE-3372.patch ah I already added this to 3.x but it seems to be missing in the 4.0 patch. Anyway, if we fail during a merge we need to decrement the commit (SIS or rather their files references) here is a patch > TestIndexWriterOnDiskFull.testAddDocumentOnDiskFull seed failure > ---------------------------------------------------------------- > > Key: LUCENE-3372 > URL: https://issues.apache.org/jira/browse/LUCENE-3372 > Project: Lucene - Java > Issue Type: Bug > Reporter: selckin > Assignee: Simon Willnauer > Attachments: LUCENE-3372.patch > > > version: trunk r1155278 > reproduce-able: always > {code} > [junit] Testsuite: org.apache.lucene.index.TestIndexWriterOnDiskFull > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.847 sec > [junit] > [junit] ------------- Standard Error ----------------- > [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterOnDiskFull -Dtestmethod=testAddDocumentOnDiskFull -Dtests.seed=-3cc23002ebad518d:70ae722281b31c9f:57406021f8789a22 > [junit] NOTE: test params are: codec=RandomCodecProvider: {content=MockFixedIntBlock(blockSize=1081)}, locale=hr_HR, timezone=Atlantic/Jan_Mayen > [junit] NOTE: all tests run in this JVM: > [junit] [TestIndexWriterOnDiskFull] > [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_26 (64-bit)/cpus=8,threads=1,free=85252968,total=125632512 > [junit] ------------- ---------------- --------------- > [junit] Testcase: testAddDocumentOnDiskFull(org.apache.lucene.index.TestIndexWriterOnDiskFull): Caused an ERROR > [junit] no segments* file found in MockDirWrapper(org.apache.lucene.store.RAMDirectory@65dcc2a3 lockFactory=MockLockFactoryWrapper(org.apache.lucene.store.SingleInstanceLockFactory@6e8f94)): files: [_1.cfs, _1.cfe, _0.cfe, _0.cfs] > [junit] org.apache.lucene.index.IndexNotFoundException: no segments* file found in MockDirWrapper(org.apache.lucene.store.RAMDirectory@65dcc2a3 lockFactory=MockLockFactoryWrapper(org.apache.lucene.store.SingleInstanceLockFactory@6e8f94)): files: [_1.cfs, _1.cfe, _0.cfe, _0.cfs] > [junit] at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:657) > [junit] at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:534) > [junit] at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:284) > [junit] at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:277) > [junit] at org.apache.lucene.index.TestIndexWriter.assertNoUnreferencedFiles(TestIndexWriter.java:158) > [junit] at org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddDocumentOnDiskFull(TestIndexWriterOnDiskFull.java:114) > [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1526) > [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1428) > [junit] > [junit] > [junit] Test org.apache.lucene.index.TestIndexWriterOnDiskFull FAILED > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org