[Insight-developers] gzip and metaIO

kent williams norman-k-williams at uiowa.edu
Wed Dec 15 11:22:25 EST 2010


I just checked in a change to MetaIO which has now propogated to ITK master.
It makes the code in MetaImage that calls MET_UncompressStream check for
errors, and return false if that call fails.

This will get itkMetaImageIOGzTest out of its endless loop spewing error
messages.

It doesn't explain why that test was failing in the first place.

On my machine (os x 10.6, g++-4.2) I have no test failures at all!


On 12/15/10 5:31 AM, "Gaëtan Lehmann" <gaetan.lehmann at jouy.inra.fr> wrote:

> 
> Hi Kent,
> 
> For some days, some of my build were failing badly, sometimes crashing
> the host where they are running after running short in memory.
> The problem seems to be with the test itkMetaImageIOGzTest which
> produce a lot (several GB!) of warnings - see the logs at the end of
> the mail.
> ctest can't survive to this huge amount of data and die eventually,
> without reporting any problem on the dashboard.
> 
> Any idea on what is wrong?
> 
> Gaëtan
> 
> 
> [glehmann at itk1 ITK-sse64]$ ctest -R itkMetaImageIOGzTest -V | head -n100
> UpdateCTestConfiguration  from :/home/papha/glehmann/src/tests/ITK-
> sse64/DartConfiguration.tcl
> Parse Config file:/home/papha/glehmann/src/tests/ITK-sse64/
> DartConfiguration.tcl
>   Add coverage exclude regular expressions.
>   Add coverage exclude: /CMakeFiles/CMakeTmp/
>   Add coverage exclude: .*/Testing/.*
>   Add coverage exclude: .*/Wrapping/.*
>   Add coverage glob: Source/.*/*.h
>   Add coverage glob: Source/.*/*.txx
>   Add coverage glob: Source/.*/*.cxx
> UpdateCTestConfiguration  from :/home/papha/glehmann/src/tests/ITK-
> sse64/DartConfiguration.tcl
> Parse Config file:/home/papha/glehmann/src/tests/ITK-sse64/
> DartConfiguration.tcl
> Test project /home/papha/glehmann/src/tests/ITK-sse64
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> test 1141
>      Start 1141: itkMetaImageIOGzTest
> 
> 1141: Test command: /home/papha/glehmann/src/tests/ITK-sse64/bin/
> itkIOTests "itkMetaImageIOGzTest" "/home/papha/glehmann/src/tests/ITK-
> sse64/Testing/Temporary"
> 1141: Test timeout computed to be: 1500
> 1141: Test whether MetaIO will search for a compressed data file
> 1141: if it can't find the uncompressed data file
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 1141: MET_UncompressStream: ERROR Stream is not valid!
> 
> 
> 
> 



More information about the Insight-developers mailing list