ITK
ITK copied to clipboard
Building v5.1.2 fails with BUILD_TESTING=ON
Description
Building ITK v5.1.2 with DBUILD_TESTING:BOOL=ON failes due to MD5 issues with external data.
Steps to Reproduce
This is conducted through SuperBuild of SimpleITK, however the issue lies with ITK.
- docker run --rm -it rickardcronholm/buildsitk:latest bash
- bash build_SimpleITK/build.sh pull
- bash build_SimpleITK/build.sh apply_patches
- bash build_SimpleITK/build.sh build_develop
Expected behavior
Completed build
Actual behavior
Build fails `CMake Error at /usr/share/cmake-3.10/Modules/ExternalData.cmake:1121 (message):
Object MD5=68046dd24c7824ef346d5a219e271d47 not found at:
https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/68046dd24c7824ef346d5a219e271d47 ("HTTP response code said error")
https://data.kitware.com:443/api/v1/file/hashsum/MD5/68046dd24c7824ef346d5a219e271d47/download ("HTTP response code said error")
https://itk.org/files/ExternalData/MD5/68046dd24c7824ef346d5a219e271d47 ("HTTP response code said error")
https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=68046dd24c7824ef346d5a219e271d47&algorithm=MD5 (wrong hash MD5=3707eb222e3ad27cf5fda82456fe5280)
CMakeFiles/ITKData.dir/build.make:9230: recipe for target 'ExternalData/Modules/Remote/SimpleITKFilters/test/Baseline/ObjectnessMeasureImageFilterTest2.nii-hash-stamp' failed make[5]: *** [ExternalData/Modules/Remote/SimpleITKFilters/test/Baseline/ObjectnessMeasureImageFilterTest2.nii-hash-stamp] Error 1 make[5]: *** Waiting for unfinished jobs.... [ 60%] Building CXX object Modules/Numerics/Statistics/src/CMakeFiles/ITKStatistics.dir/itkChiSquareDistribution.cxx.o [ 60%] Building CXX object Modules/Numerics/Statistics/src/CMakeFiles/ITKStatistics.dir/itkGaussianDistribution.cxx.o [ 60%] Building CXX object Modules/IO/ImageBase/src/CMakeFiles/ITKIOImageBase.dir/itkArchetypeSeriesFileNames.cxx.o Scanning dependencies of target SharedTestLibraryA [ 60%] Building CXX object Modules/Core/Common/test/CMakeFiles/SharedTestLibraryA.dir/SharedTestLibraryA.cxx.o [ 60%] Linking CXX executable ../../../../bin/itkMathTest [ 60%] Built target itkMathTest Scanning dependencies of target SharedTestLibraryB [ 60%] Building CXX object Modules/Core/Common/test/CMakeFiles/SharedTestLibraryB.dir/SharedTestLibraryB.cxx.o CMake Error at /usr/share/cmake-3.10/Modules/ExternalData.cmake:1121 (message):
Object MD5=1fdb74a9029cf33147ace42e2d6c8f15 not found at:
https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/1fdb74a9029cf33147ace42e2d6c8f15 ("HTTP response code said error")
https://data.kitware.com:443/api/v1/file/hashsum/MD5/1fdb74a9029cf33147ace42e2d6c8f15/download ("HTTP response code said error")
https://itk.org/files/ExternalData/MD5/1fdb74a9029cf33147ace42e2d6c8f15 ("HTTP response code said error")
https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=1fdb74a9029cf33147ace42e2d6c8f15&algorithm=MD5 (wrong hash MD5=2f6e8aea5cf37a37decab7892bae0fe3)
`
Reproducibility
100
Versions
v5.1.2
Environment
Ubuntu 18.04, Cmake 3.10.2, python 3.6.9
Additional Information
https://slicer.kitware.com
This server has been retired and is currently only accessible from Kitware internal network at https://slicer-old.kitware.com
This server has been retired and is currently only accessible from Kitware internal network at https://slicer-old.kitware.com
Removed here: https://github.com/InsightSoftwareConsortium/ITK/pull/2718
This is an issue with the ITKSimpleITKFilters repository. @blowekamp can the testing data be uploaded to data.kitware.com and the content links updated to .sha512's?
@thewtex Are there any updates on this issue? As it stands it is not possible to build ITK with unittests due to this data being absent from all servers.
This is an issue with the ITKSimpleITKFilters repository. @blowekamp can the testing data be uploaded to data.kitware.com and the content links updated to .sha512's?
@rickardcronholm the data has to be uploaded as mentioned.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
If I remember correctly, there was some work on this. Was this issue resolved?
Issue persists. Does not lie with ITK but rather with https://github.com/InsightSoftwareConsortium/ITKSimpleITKFilters
On Sun, Apr 17, 2022, 01:00 Dženan Zukić @.***> wrote:
If I remember correctly, there was some work on this. Was this issue resolved?
— Reply to this email directly, view it on GitHub https://github.com/InsightSoftwareConsortium/ITK/issues/2717#issuecomment-1100767317, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYQU5DURDVDYQ2KYGI32O3VFNA63ANCNFSM5DSJT7GQ . You are receiving this because you were mentioned.Message ID: @.***>