[vtk-developers] Failing Test: TestDescriptiveStatistics needs attention

David Cole david.cole at kitware.com
Mon Dec 28 12:29:05 EST 2009


It might be better to just leave it failing, back out the change or fix it
yourself... Disabling a test is a bad idea because nobody has an impetus to
re-enable the test in the future.

We can wait for a fix. Or if "we" can't then "we" can fix it ourselves...



On Mon, Dec 28, 2009 at 12:20 PM, Dave Partyka <dave.partyka at kitware.com>wrote:

> Hi Bill,
>
> I emailed Philippe the day this broke but have not heard back from him. I
> typically don't cc the vtk list when sending a rubber chicken to those who
> break the dashboard ;-). I suspect he is gone for the holidays so I will
> just disable this test for the time being.
>
>
> On Mon, Dec 28, 2009 at 12:10 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>
>> Folks,
>>
>> The subject test is failing on many platforms:
>>
>> http://www.cdash.org/CDash/testSummary.php?project=11&name=Infovis-TestDescriptiveStatistics&date=2009-12-28
>>
>> According to cdash, the test has been failing since Dec 22 when these
>> files were checked in:
>> http://www.cdash.org/CDash/viewUpdate.php?buildid=499182
>>
>> This continuous build was the first to notice the problem:
>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=498908
>>
>> I ran the test in the debugger and here is the failing statement:
>> Program received signal SIGFPE, Arithmetic exception.
>> 0x0095f351 in vtkDescriptiveStatistics::Test (this=0x8764fe8,
>>    inData=0x87642a0, inMetaDO=0x8766f40, outMetaDO=0x87672b0)
>>    at
>> /home/lorensen/Projects/VTKHead/Infovis/vtkDescriptiveStatistics.cxx:536
>> 536         double s = sqrt( n / ( m22 * m2 ) ) * m3;
>>
>> This is a result of
>> Warning: In
>> /projects/kmorel/dashboard/VTK/Infovis/vtkDescriptiveStatistics.cxx,
>> line 282
>> vtkDescriptiveStatistics (0x59a0c0): InData table does not have a
>> column Metric 3. Ignoring it.
>>
>> Warning: In
>> /projects/kmorel/dashboard/VTK/Infovis/vtkUnivariateStatisticsAlgorithm.cxx,
>> line 122
>> vtkDescriptiveStatistics (0x59a0c0): InData table does not have a
>> column Metric 3. Ignoring it.
>>
>>
>> The test purposely adds a bogus column. This causes the zero divide.
>> Since VTK does not throw exceptions, the bad data needs to be handled
>> in an alternative way to avoid the 0 divide.
>>
>> It is easy to miss a defect like this because the vtk dashboard seems
>> to have many tests failing on a continuing basis.
>>
>> Bill
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20091228/0c9c27d9/attachment.html>


More information about the vtk-developers mailing list