Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 8951510B94 for ; Sun, 11 Jan 2015 18:21:49 +0000 (UTC) Received: (qmail 97149 invoked by uid 500); 11 Jan 2015 18:21:50 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 97017 invoked by uid 500); 11 Jan 2015 18:21:50 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 97005 invoked by uid 99); 11 Jan 2015 18:21:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2015 18:21:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of phil.steitz@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-pa0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2015 18:21:43 +0000 Received: by mail-pa0-f52.google.com with SMTP id eu11so27999356pac.11 for ; Sun, 11 Jan 2015 10:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=7KZTOkfzazhP9C8TU2QqKeN+A4gR5g5cVLMvN3WLMBc=; b=PmEhYC29HebISJLFJ/3NItF64pkXx63h2OMCF8biOyirny6k0S4haRp+LknBRRQrsR XYNyGuUtd2whjzpavZY5XeAH7l3A8I6GvJ9Gi8LUcwVZKNV6RqrwskhtfBIxJ13emkcB gDC/fxAz6tJ4ITN6KVFDK60/kO+SZrax822XPt/aixW2Sn6l7hJeXBMkWeMjq6eiP7KH NpB7tnNEH4KeLmIgkTmHsUQrF5p0xu7roweX7xijl1jdENfTDjxreLQ8uXVC25j4/DlP iT+tM7fvfB0Ueq5s819wsbu9H9QMRztiA95uz3FsvQkYZDWliBPaEeAyNRUd4AxKE8/L Sv/w== X-Received: by 10.66.250.225 with SMTP id zf1mr39385020pac.31.1421000347770; Sun, 11 Jan 2015 10:19:07 -0800 (PST) Received: from psteitz-mbp.local (ip72-222-135-20.ph.ph.cox.net. [72.222.135.20]) by mx.google.com with ESMTPSA id vz3sm12487035pab.2.2015.01.11.10.19.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jan 2015 10:19:06 -0800 (PST) Message-ID: <54B2BE98.6060902@gmail.com> Date: Sun, 11 Jan 2015 11:19:04 -0700 From: Phil Steitz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Commons Developers List Subject: Re: [MATH] Jenkins unit test failure References: <54B079FD.3040407@gmail.com> <54B20ED1.80100@gmail.com> In-Reply-To: <54B20ED1.80100@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 1/10/15 10:49 PM, Phil Steitz wrote: > On 1/9/15 6:09 PM, sebb wrote: >> On 10 January 2015 at 01:01, Phil Steitz wrote: >>> On 1/9/15 5:32 PM, sebb wrote: >>>> On 9 January 2015 at 23:48, sebb wrote: >>>>> Of the last 6 runs, only 1 had a problem with unit test failures. >>>>> >>>>> All the builds ran on ubuntu3, apart from the failure which ran on H10. >>>>> This may have some bearing on the result; I don't yet know. >>>>> >>>>> I had a quick look at 2 tests that failed: >>>>> >>>>> SimpleRegressionTest.testPerfect >>>>> >>>>> SimpleRegressionTest.testPerfectNegative >>>>> >>>>> Although the test case has some instance data, these particular tests >>>>> do not use any, so it does not look like a concurrency issue in the >>>>> unit test itself. >>>>> >>>>> The SimpleRegression class has mutable instance data, but the test >>>>> cases create their own instance. >>>>> >>>>> I don't know anything about the math functions involved, but it looks >>>>> as though Infinity might result from getSignificance() if >>>>> getSlopeStdErr() returns 0, as the latter is used as a divisor. Or if >>>>> the field sumXX is 0 because that is also used as a divisor. >>>>> >>>>> Maybe the H10 host has different floating point hardware? >>>>> >>>>> I'll try running some more tests on H10. >>>> the build failed again on H10; exactly the same tests failed as before: >>>> >>>> This test: >>>> https://builds.apache.org/job/Commons%20Math%20H10/1/console >>>> >>>> Previous failure: >>>> https://builds.apache.org/job/Commons%20Math/14/console >>> This is actually a bug. Thanks, sebb (and Jenkins)! >>> >>> Has been here since 1.x. What is going on is that the data sets >>> used in the test cases are set up to be perfect linear >>> relationships, which should in fact lead to mean square error (and >>> hence slope standard error) equal to 0. The Jenkins box must be >>> getting exact 0. The funny thing is the test is there to validate >>> correct performance for models like this. Its success unfortunately >>> depends on poor precision. >>> >>> I will open a JIRA for this. I don't think it is a release blocker >>> for 3.4.1, as I am sure you would get the same thing in any earlier >>> version of [math]. >> OK good to know. >> >> I'll leave the H10 Jenkins job for now to make it easy to retest. > My first guess here was wrong. The infinities are being handled > correctly for the JDKs I have. Something must be going awry in the > t distribution cumulative probability computation for +INF on the > box that is failing. Is there a way to find out exactly what JDK > and OS version are being used? I just committed a test that tests the t distribution computations directly. It seems to have run clean; but the other test ran clean too. Is there any way to force the build to use the host that fails? Phil > > Phil >>> Phil >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>>> For additional commands, e-mail: dev-help@commons.apache.org >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> For additional commands, e-mail: dev-help@commons.apache.org >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org