Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 99548 invoked from network); 29 Nov 2010 19:58:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Nov 2010 19:58:33 -0000 Received: (qmail 76969 invoked by uid 500); 29 Nov 2010 19:58:32 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 76859 invoked by uid 500); 29 Nov 2010 19:58:32 -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 76852 invoked by uid 99); 29 Nov 2010 19:58:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 19:58:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yseeley@gmail.com designates 209.85.213.176 as permitted sender) Received: from [209.85.213.176] (HELO mail-yx0-f176.google.com) (209.85.213.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 19:58:26 +0000 Received: by yxm8 with SMTP id 8so2718079yxm.35 for ; Mon, 29 Nov 2010 11:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=RhgOmK/yF7qy+KJI9LQrMP8oh9hldUK4FYy9Mhlba2M=; b=wpRRB4D1nyo3/AjsDWTc41ndRnjPCENpAtGGQ+ZRGW4LAanYsEEGug1iHMUUXOeRRL E6j/1v/hlIru98LiR4rTru1hQR+yIpKTn7KbceMhpUOi8YeF+F1jIb5VOMGhF9JZQG9s 53Sy6ttkK558ThGrcg9n8tbF67fi0evFXGjFg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=NxaLXhaE0XEzvvsmnreYKMHicJYaL0+bPLhCjPmErX9gzS+ih0lAZhCXkcyxnGL1Or ltIHOXOw4L8WUD3Z1T5t2B5E/I1qm9lijoP8SiNLNh8pSGRLY4VqlhnCY78+EzwtWNqb /aLeIYH8XfUWoVe75oHsGdsKrXicPJ7FimGVw= MIME-Version: 1.0 Received: by 10.223.100.9 with SMTP id w9mr5865126fan.12.1291060684615; Mon, 29 Nov 2010 11:58:04 -0800 (PST) Sender: yseeley@gmail.com Reply-To: yonik@lucidimagination.com Received: by 10.223.74.202 with HTTP; Mon, 29 Nov 2010 11:58:04 -0800 (PST) In-Reply-To: References: <525940760.11261291036412560.JavaMail.hudson@aegis> Date: Mon, 29 Nov 2010 14:58:04 -0500 X-Google-Sender-Auth: dtSIvHraqQdexmolWPhm8nFIhxA Message-ID: Subject: Re: Lucene-Solr-tests-only-3.x - Build # 1950 - Failure From: Yonik Seeley To: Michael McCandless Cc: dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Nov 29, 2010 at 2:52 PM, Michael McCandless wrote: > On Mon, Nov 29, 2010 at 2:20 PM, Yonik Seeley > wrote: >> On Mon, Nov 29, 2010 at 1:30 PM, Michael McCandless >> wrote: >>> I ran my while(1) test for 4.5 hours and no failure! >>> >>> The failure is odd... because the test had just tested TermRangeFilter >>> w/ includeUpper and includeLower both true, and it passed (10001 >>> matches). >>> >>> Then it runs same query, but changing includeUpper to false, expecting >>> 10000 matches, but it got only 9999. >>> >>> So in both cases it's running identical code except for the one if >>> that checks for !includeUpper so it's hard to see how it could be >>> different the 2nd time. >>> >>> I think this could be a JRE bug... >> >> Or just a test bug? >> I took a very quick look at the test... and it looks like the range is >> over a random field - hence there's no reason to think that the upper >> bound matched exactly one doc? =A0If the upper bound value matched more >> than one doc, then you would see this failure? > > I like that theory! > > Meaning, in pulling 10,001 random numbers we got the max value twice. > > Though why doesn't the random seed reproduce it? Excellent question. Perhaps temporarily lower the range of random numbers generated to increase the odds of this happening, and then see if it's reproducible with the same seed (and then maybe it will be easier to track down why it's not). -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org