`ioTvKmzProductWriterWithGCP` fails on my computer™
UpdateCTestConfiguration from :/home/me/Projects/otb-build/OTB/build/DartConfiguration.tcl
Parse Config file:/home/me/Projects/otb-build/OTB/build/DartConfiguration.tcl
Add coverage exclude regular expressions.
Add coverage exclude: /CMakeFiles/CMakeTmp/
Add coverage exclude: .*/test/.*
Add coverage exclude: .*/Testing/.*
Add coverage exclude: .*/Modules/ThirdParty/.*
Add coverage exclude: .*/Utilities/.*
Add coverage exclude: .*/Modules/Wrappers/SWIG/src/python/otbApplicationPYTHON_wrap.*
Add coverage exclude: .*/Modules/Wrappers/SWIG/src/java/otbApplicationJAVA_wrap.*
Add coverage exclude: .*moc_.*
UpdateCTestConfiguration from :/home/me/Projects/otb-build/OTB/build/DartConfiguration.tcl
Parse Config file:/home/me/Projects/otb-build/OTB/build/DartConfiguration.tcl
Test project /home/me/Projects/otb-build/OTB/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1222
Start 1222: ioTvKmzProductWriterWithGCP
1222: Test command: /home/me/Projects/otb-build/OTB/build/bin/otbKMZWriterTestDriver "otbKmzProductWriter" "/home/me/Projects/otb/Data/Input/Haiti1.jpeg" "/home/me/Projects/otb/Data/Input/DEM/srtm_directory" "/home/me/Projects/otb-build/OTB/build/Testing/Temporary/ioTuHaitiKmzProduct.kmz" "1980.000000" "1986.000000" "-72.351257" "18.555075" "0.000000" "1963.000000" "1944.000000" "-72.352051" "18.556946" "0.000000" "2078.000000" "1566.000000" "-72.346130" "18.574358" "0.000000" "2154.000000" "1430.000000" "-72.342377" "18.580441" "0.000000" "2432.000000" "1408.000000" "-72.328964" "18.581335" "0.000000" "2558.000000" "934.000000" "-72.322571" "18.602974" "0.000000" "3492.000000" "1397.000000" "-72.278343" "18.580887" "0.000000" "2890.000000" "1439.000000" "-72.306908" "18.579464" "0.000000" "2098.000000" "2469.000000" "-72.345741" "18.532839" "0.000000" "1941.000000" "2473.000000" "-72.353317" "18.532595" "0.00000" "1644.000000" "2409.000000" "-72.367691" "18.535810" "0.000000" "1440.000000" "2448.000000" "-72.377457" "18.534243" "0.000000" "687.000000" "2005.000000" "-72.413315" "18.554974" "0.000000" "741.000000" "2366.000000" "-72.410934" "18.538496" "0.000000" "855.000000" "2802.000000" "-72.405739" "18.518456" "0.000000" "1936.000000" "2855.000000" "-72.353920" "18.515240" "0.000000" "3338.000000" "2824.000000" "-72.286240" "18.515160" "0.000000" "3715.000000" "1772.000000" "-72.267570" "18.563681" "0.000000" "3676.000000" "1580.000000" "-72.269203" "18.572529" "0.000000" "3395.000000" "931.000000" "-72.282402" "18.602425" "0.000000" "3426.000000" "856.000000" "-72.280792" "18.605862" "0.000000" "2822.000000" "707.000000" "-72.309692" "18.613203" "0.000000" "1891.000000" "360.000000" "-72.354301" "18.629776" "0.000000" "3989.000000" "2639.000000" "-72.255020" "18.523664" "0.000000" "417.000000" "2317.000000" "-72.426552" "18.540876" "0.000000"
1222: Test timeout computed to be: 1500
1222: 2021-02-10 20:53:57 (INFO): Default RAM limit for OTB is 256 MB
1222: 2021-02-10 20:53:57 (INFO): GDAL maximum cache size is 3214 MB
1222: 2021-02-10 20:53:57 (INFO): OTB will use at most 32 threads
1222: Receiving 25 from command line.
1222: 2021-02-10 20:53:57 (WARNING): file /home/me/Projects/otb/Modules/Filtering/Projection/src/otbRPCSolver.cxx, line 228, Only 25 ground control points are provided, can not estimate a RPC model with elevation support (at least 40 points required). Elevation support will be disabled for RPC estimation. All coefficients related to elevation will be set to zero, and elevation will have no effect on the resulting transform.
1222: Residual ground error: 2.20415101856792627899039871409
1222: otbTestMain 'otbKmzProductWriter': exception caught:
1222: /home/me/Projects/otb/Modules/IO/KMZWriter/include/otbKmzProductWriter.hxx:102:
1222: itk::ERROR: KmzProductWriter(0x560e3f1e0f20): The input image have empty keyword list, please use an image with metadata information
1/2 Test #1222: ioTvKmzProductWriterWithGCP ...............***Failed 0.09 sec
test 1223
Start 1223: ioTvKmzProductWriterWithGCP_Logo_Legend
1223: Test command: /home/me/Projects/otb-build/OTB/build/bin/otbKMZWriterTestDriver "otbKmzProductWriterWithLogoAndLegend" "/home/me/Projects/otb/Data/Input/Haiti1.jpeg" "/home/me/Projects/otb/Data/Input/cnes.png" "/home/me/Projects/otb/Data/Input/otb_big.png" "/home/me/Projects/otb/Data/Input/DEM/srtm_directory" "/home/me/Projects/otb-build/OTB/build/Testing/Temporary/ioTuHaitiKmzProductWithLogoAndLegend.kmz" "1980.000000" "1986.000000" "-72.351257" "18.555075" "0.000000" "1963.000000" "1944.000000" "-72.352051" "18.556946" "0.000000" "2078.000000" "1566.000000" "-72.346130" "18.574358" "0.000000" "2154.000000" "1430.000000" "-72.342377" "18.580441" "0.000000" "2432.000000" "1408.000000" "-72.328964" "18.581335" "0.000000" "2558.000000" "934.000000" "-72.322571" "18.602974" "0.000000" "3492.000000" "1397.000000" "-72.278343" "18.580887" "0.000000" "2890.000000" "1439.000000" "-72.306908" "18.579464" "0.000000" "2098.000000" "2469.000000" "-72.345741" "18.532839" "0.000000" "1941.000000" "2473.000000" "-72.353317" "18.532595" "0.00000" "1644.000000" "2409.000000" "-72.367691" "18.535810" "0.000000" "1440.000000" "2448.000000" "-72.377457" "18.534243" "0.000000" "687.000000" "2005.000000" "-72.413315" "18.554974" "0.000000" "741.000000" "2366.000000" "-72.410934" "18.538496" "0.000000" "855.000000" "2802.000000" "-72.405739" "18.518456" "0.000000" "1936.000000" "2855.000000" "-72.353920" "18.515240" "0.000000" "3338.000000" "2824.000000" "-72.286240" "18.515160" "0.000000" "3715.000000" "1772.000000" "-72.267570" "18.563681" "0.000000" "3676.000000" "1580.000000" "-72.269203" "18.572529" "0.000000" "3395.000000" "931.000000" "-72.282402" "18.602425" "0.000000" "3426.000000" "856.000000" "-72.280792" "18.605862" "0.000000" "2822.000000" "707.000000" "-72.309692" "18.613203" "0.000000" "1891.000000" "360.000000" "-72.354301" "18.629776" "0.000000" "3989.000000" "2639.000000" "-72.255020" "18.523664" "0.000000" "417.000000" "2317.000000" "-72.426552" "18.540876" "0.000000"
1223: Test timeout computed to be: 1500
1223: 2021-02-10 20:53:57 (INFO): Default RAM limit for OTB is 256 MB
1223: 2021-02-10 20:53:57 (INFO): GDAL maximum cache size is 3214 MB
1223: 2021-02-10 20:53:57 (INFO): OTB will use at most 32 threads
1223: Receiving 125 from command line.
1223: 2021-02-10 20:53:57 (WARNING): file /home/me/Projects/otb/Modules/Filtering/Projection/src/otbRPCSolver.cxx, line 228, Only 25 ground control points are provided, can not estimate a RPC model with elevation support (at least 40 points required). Elevation support will be disabled for RPC estimation. All coefficients related to elevation will be set to zero, and elevation will have no effect on the resulting transform.
1223: Residual ground error: 2.20415101856792627899039871409
1223: otbTestMain 'otbKmzProductWriterWithLogoAndLegend': exception caught:
1223: /home/me/Projects/otb/Modules/IO/KMZWriter/include/otbKmzProductWriter.hxx:102:
1223: itk::ERROR: KmzProductWriter(0x55721d549290): The input image have empty keyword list, please use an image with metadata information
2/2 Test #1223: ioTvKmzProductWriterWithGCP_Logo_Legend ...***Failed 0.07 sec
0% tests passed, 2 tests failed out of 2
Label Time Summary:
OTBKMZWriter = 0.16 sec*proc (2 tests)
Total Test time (real) = 0.22 sec
The following tests FAILED:
1222 - ioTvKmzProductWriterWithGCP (Failed)
1223 - ioTvKmzProductWriterWithGCP_Logo_Legend (Failed)
Errors while running CTest
Edited by Laurențiu Nicola