Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 50576 invoked from network); 23 Feb 2011 21:08:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 21:08:16 -0000 Received: (qmail 61498 invoked by uid 500); 23 Feb 2011 21:08:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 61340 invoked by uid 500); 23 Feb 2011 21:08:14 -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 61333 invoked by uid 99); 23 Feb 2011 21:08:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 21:08:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of buschmic@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 21:08:06 +0000 Received: by pzk28 with SMTP id 28so466026pzk.35 for ; Wed, 23 Feb 2011 13:07:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=W+ml0Ze4r+aiDO11v7+aLE9kD456icgRB5/uF0I8b5o=; b=QYCkL8gqsPYv8I/nvVJnP6mTpz2zFhSBrsXQxtdFRCegTswsghXQ4aoNzL6zTPy1iP z50oMJy0fceFetlje9aEdxZlzU+eEqFUK5b+U2xvCylfQd89uioeUV78VXRpmFSl4mQv pSXVOy586HBqAZhfQmYqKW+O5UhZdjUfbTpWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=nA4s7FwLEgZ3KwGTgOQZ3jiGRUA8HZMotDXcv6r7cdGODczWe9pcTZe7I5+KLhBle1 A/SPxJHTE/Ls1MCB9SIhcQRdRCPBhmvzwVriEromNJ1c4eoWRsNC6Br71s/pzltJKuDW vZ4YOWgn6yR4YLI11ov4rqZ9rvHtqKjBLx3d0= Received: by 10.142.48.17 with SMTP id v17mr3559995wfv.262.1298495265988; Wed, 23 Feb 2011 13:07:45 -0800 (PST) Received: from elchbert.local ([174.46.233.130]) by mx.google.com with ESMTPS id z1sm11283255wfd.21.2011.02.23.13.07.43 (version=SSLv3 cipher=OTHER); Wed, 23 Feb 2011 13:07:44 -0800 (PST) Message-ID: <4D65773C.4020907@gmail.com> Date: Wed, 23 Feb 2011 13:08:12 -0800 From: Michael Busch User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: dev@lucene.apache.org Subject: Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure References: <1334395629.2251298430702631.JavaMail.hudson@aegis> <4D64B989.2040001@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I was also able to reproduce this failure locally. So the problem only happens for segments that had document(s) with term vectors, but which all hit non-aborting exceptions. In that case the corresponding FieldInfo(s) will have term vectors enabled, but no TV files will have been written due to the non-aborting exception. I committed a fix which clears the TV bits in FieldInfos in case SegmentWriteState.hasVectors is false on segment flush. This fixes the problem. I will probably keep looking if there's a more elegant way to fix this, but for now the build should be fixed. Michael On 2/23/11 2:24 AM, Simon Willnauer wrote: > Michael did you try with the reproduce commandline? > ant test-core -Dtestcase=TestIndexWriterExceptions > -Dtestmethod=testDocumentsWriterExceptions > -Dtests.seed=5748357769164696038:5339220614554941881 > > that one fails all the time on my machine > > simon > > On Wed, Feb 23, 2011 at 8:38 AM, Michael Busch wrote: >> I just ran this test locally ~15 times and no failure. Weird... I'll keep >> looking >> >> On 2/22/11 11:29 PM, Simon Willnauer wrote: >>> hmm maybe this was caused by LUCENE-2881 but I am not sure. I try to >>> dig this afternoon... >>> >>> simon >>> >>> On Wed, Feb 23, 2011 at 4:11 AM, Apache Hudson Server >>> wrote: >>>> Build: https://hudson.apache.org/hudson/job/Lucene-trunk/1475/ >>>> >>>> 1 tests failed. >>>> REGRESSION: >>>> org.apache.lucene.index.TestIndexWriterExceptions.testDocumentsWriterExceptions >>>> >>>> Error Message: >>>> file _1.tvx does not exist >>>> >>>> Stack Trace: >>>> junit.framework.AssertionFailedError: file _1.tvx does not exist >>>> at >>>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1213) >>>> at >>>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1145) >>>> at >>>> org.apache.lucene.index.IndexWriter.filesExist(IndexWriter.java:3413) >>>> at >>>> org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:3467) >>>> at >>>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:2375) >>>> at >>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2446) >>>> at >>>> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1098) >>>> at >>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1041) >>>> at >>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1005) >>>> at >>>> org.apache.lucene.index.TestIndexWriterExceptions.__CLR2_6_3n67xuk1m6p(TestIndexWriterExceptions.java:565) >>>> at >>>> org.apache.lucene.index.TestIndexWriterExceptions.testDocumentsWriterExceptions(TestIndexWriterExceptions.java:518) >>>> >>>> >>>> >>>> >>>> Build Log (for compile errors): >>>> [...truncated 13598 lines...] >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >>>> For additional commands, e-mail: dev-help@lucene.apache.org >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >>> For additional commands, e-mail: dev-help@lucene.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: dev-help@lucene.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org