[Insight-developers] ITK v4: Best practice for adding test data?
Cory Quammen
cquammen at cs.unc.edu
Thu Jun 16 13:36:13 EDT 2011
Hi Brad,
I have a new problem. I pushed to gerrit and got the output
patronum:test cquammen$ git gerrit-push
Fetching gerrit master
Pushing to gerrit
Counting objects: 53, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (29/29), done.
Writing objects: 100% (34/34), 51.18 KiB, done.
Total 34 (delta 20), reused 0 (delta 0)
remote: Resolving deltas: 5% (1/20)
To cquammen at review.source.kitware.com:ITK
* 81ad9f0a745c5e89568c6df5d5fd5d13c91fe7e9:refs/data/commits/81ad9f0a745c5e89568c6df5d5fd5d13c91fe7e9 [new
branch]
* HEAD:refs/for/master/BUG12236 [new branch]
Done
Pushed refs/data and removed local copy:
MD5/081dc468b8b4a18e624757f4a7d0ec2d
MD5/c88d115502786bc8239ea679dd6a76c5
MD5/ef679bdcb26a6c398506f57c6acb75f5
MD5/f087936dd0415e2557997d2bb0a58a71
A robot build is failing
(http://www.cdash.org/CDash/viewBuildError.php?buildid=1240741)
The first error reported on that page is
-- Fetching "http://www.itk.org/files/ExternalData/MD5/c88d115502786bc8239ea679dd6a76c5"
-- Fetching "http://www.itk.org/files/ExternalData/MD5/ef679bdcb26a6c398506f57c6acb75f5"
-- [download 100% complete]
-- Fetching "http://www.itk.org/files/ExternalData/MD5/081dc468b8b4a18e624757f4a7d0ec2d"
-- [download 100% complete]
-- Fetching "http://www.itk.org/files/ExternalData/MD5/f087936dd0415e2557997d2bb0a58a71"
[ 51%] Building CXX object
Modules/Core/Common/src/CMakeFiles/ITK-Common.dir/itkCovariantVector.cxx.o
-- [download 53% complete]
-- [download 100% complete]
-- [download 100% complete]
CMake Error at /.../ITK-Gerrit/CMake/ExternalData.cmake:594 (message):
Object MD5=081dc468b8b4a18e624757f4a7d0ec2d not found at:
file:////.../ITK-Gerrit/.ExternalData/MD5/081dc468b8b4a18e624757f4a7d0ec2d
("couldn't read a file:// file")
http://midas.kitware.com/api/rest/midas.bitstream.by.hash?hash=081dc468b8b4a18e624757f4a7d0ec2d&algorithm=MD5
(wrong hash MD5=9ecc16940d962a33f6ab8e5e590beea6)
http://www.itk.org/files/ExternalData/MD5/081dc468b8b4a18e624757f4a7d0ec2d
(wrong hash MD5=aee398a5580fad361c375e75364c37a5)
Call Stack (most recent call first):
/.../ITK-Gerrit/CMake/ExternalData.cmake:616 (_ExternalData_download_object)
-- [download 100% complete]
Thanks,
Cory
On Thu, Jun 16, 2011 at 12:38 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
> Thanks Brad.
>
> It looks like ITKData did not build. "make ITKData" fixes that, and
> now my tests run successfully.
>
> - Cory
>
> On Thu, Jun 16, 2011 at 12:19 PM, Brad King <brad.king at kitware.com> wrote:
>> On 06/16/2011 12:07 PM, Cory Quammen wrote:
>>> 1295: Description: Could not create IO object for file
>>> /Users/cquammen/dev/build/ITK-Git-Debug/ExternalData/Modules/Nonunit/Review/test/Input/4x4-constant.png
>>>
>>> My build directory is /Users/cquammen/dev/build/ITK-Git-Debug, but
>>> there is no directory
>>> /Users/cquammen/dev/build/ITK-Git-Debug/ExternalData
>>
>> Did the ITKData target build? Try "make ITKData" at the top
>> of the build tree. Perhaps there is a missing dependency.
>>
>> -Brad
>>
>
>
>
> --
> Cory Quammen
> Computer Integrated Systems for Microscopy and Manipulation (CISMM)
> Department of Computer Science
> University of North Carolina at Chapel Hill
> http://www.cs.unc.edu/~cquammen
>
--
Cory Quammen
Computer Integrated Systems for Microscopy and Manipulation (CISMM)
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen
More information about the Insight-developers
mailing list