Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 98578 invoked from network); 27 Apr 2010 16:57:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 16:57:10 -0000 Received: (qmail 40133 invoked by uid 500); 27 Apr 2010 16:57:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 40084 invoked by uid 500); 27 Apr 2010 16:57:08 -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 40077 invoked by uid 99); 27 Apr 2010 16:57:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 16:57:08 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of serera@gmail.com designates 209.85.219.221 as permitted sender) Received: from [209.85.219.221] (HELO mail-ew0-f221.google.com) (209.85.219.221) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 16:57:04 +0000 Received: by ewy21 with SMTP id 21so3502949ewy.5 for ; Tue, 27 Apr 2010 09:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0N4Wfzy//+x2T5yQlXR/GLGhy0eahUkqsv+0G4lDNHE=; b=fanm1Owp3OpReAHQm/+qpZ0V8XQyqlQUf8vmC25kSAF51R2kjpGrJwSDqFNbP86W46 mYWvGVDdFySm6Tn8ORFxO9Euq5kN8orrVFdgH9Op2JSjWEBegO4ZbOPTlOWCMNIOBnLL ZwxdR6fJBue0fLuBXsPD+TCNYbrOVB8yiz08U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ccv5YqsKRb/Cy8VZ5sF1QRx+AiDSFbwNE73TMhFV+JbfQ4DA/PiAs7GVuP2hmRk9IT yqYhVImpZn+4ExXzrG9tKdp01zJ46FRBQbX16TnnOiStl14Kx8tV/dYFAMOvmOXLESga rP+o3HojAeeL7hQJKie1ErMYEita2gUhF+1TE= MIME-Version: 1.0 Received: by 10.103.86.39 with SMTP id o39mr3394523mul.58.1272387401938; Tue, 27 Apr 2010 09:56:41 -0700 (PDT) Received: by 10.103.39.4 with HTTP; Tue, 27 Apr 2010 09:56:41 -0700 (PDT) In-Reply-To: <4BD7112E.6020509@gmail.com> References: <02cf01cae621$a4f06e50$eed14af0$@de> <4BD70E96.2040700@gmail.com> <02da01cae626$8ef9c600$aced5200$@de> <4BD7112E.6020509@gmail.com> Date: Tue, 27 Apr 2010 19:56:41 +0300 Message-ID: Subject: Re: LuceneJUnitResultFormatter sometimes fails to lock From: Shai Erera To: "dev@lucene.apache.org" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Yes it is Windows. Didn't mention it - thought the C:\ part says it all :). I wonder then why it only sometimes happens. And I've never run into such problems w/ NativeFSLock on Windows, only w/ the tests. But I agree it does deserve a closer look =85 Shai On Tuesday, April 27, 2010, Mark Miller wrote: > Ah - didn't look closely. This is while making the lock, not trying to ac= quire it for stdout locking. So that seems like a bug in our native lock im= pl we should try and fix. > > On 4/27/10 12:27 PM, Uwe Schindler wrote: > > When aquiring a test lock it does not wait. It just is not able to produc= e the file there. This happens sometimes on windows and has nothing to do w= ith the tests, is a problem of NativeLockF. > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de > > > > -----Original Message----- > From: Mark Miller [mailto:markrmiller@gmail.com] > Sent: Tuesday, April 27, 2010 6:20 PM > To: dev@lucene.apache.org > Subject: Re: LuceneJUnitResultFormatter sometimes fails to lock > > We might need a higher timeout. Its like 5 seconds now. Otherwise we > should try and isolate the problem. > > - Mark > > On 4/27/10 11:52 AM, Uwe Schindler wrote: > > Windows? > > ----- > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: uwe@thetaphi.de > > *From:* Shai Erera [mailto:serera@gmail.com] > *Sent:* Tuesday, April 27, 2010 5:50 PM > *To:* dev@lucene.apache.org > *Subject:* LuceneJUnitResultFormatter sometimes fails to lock > > Hi > > I ran "ant test-core" today and hit this: > > [junit] Exception in thread "main" java.lang.RuntimeException: Failed > > to > > acquire random test lock; please verify filesystem for lock directory > 'C:\DOCUME~1\shaie\LOCALS~1\Temp\lucene_junit_lock' supports locking > [junit] at > > > org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLoc > kFactory.java:88) > > [junit] at > > > org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactor > y.java:127) > > [junit] at > > > org.apache.lucene.util.LuceneJUnitResultFormatter.(LuceneJUnitRes > ultFormatter.java:74) > > > All the tests still pass, but Ant reports a failure in the end. Also, > this rarely happens, but I've run into it several times already. > > Anyone > > got an idea? > > Shai > > > > > -- > - Mark > > http://www.lucidimagination.com > > --------------------------------------------------------------------- > 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 > > > > > -- > - Mark > > http://www.lucidimagination.com > > --------------------------------------------------------------------- > 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