ITK icon indicating copy to clipboard operation
ITK copied to clipboard

Building v5.1.2 fails with BUILD_TESTING=ON

Open rickardcronholm opened this issue 2 years ago • 8 comments

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.

  1. docker run --rm -it rickardcronholm/buildsitk:latest bash
  2. bash build_SimpleITK/build.sh pull
  3. bash build_SimpleITK/build.sh apply_patches
  4. 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

rickardcronholm avatar Sep 07 '21 12:09 rickardcronholm

https://slicer.kitware.com

This server has been retired and is currently only accessible from Kitware internal network at https://slicer-old.kitware.com

jcfr avatar Sep 07 '21 13:09 jcfr

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

thewtex avatar Sep 07 '21 13:09 thewtex

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 avatar Sep 07 '21 13:09 thewtex

@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.

rickardcronholm avatar Oct 25 '21 08:10 rickardcronholm

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.

thewtex avatar Oct 26 '21 15:10 thewtex

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 10:04 stale[bot]

If I remember correctly, there was some work on this. Was this issue resolved?

dzenanz avatar Apr 16 '22 22:04 dzenanz

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: @.***>

rickardcronholm avatar Apr 18 '22 08:04 rickardcronholm