Windows test failure: `arrows/qt/image_io`
The following tests fail with similar error
486 - qt:image_io.type<struct image_type<unsigned char,1,24>> (Failed)
487 - qt:image_io.type<struct image_type<unsigned char,3,13>> (Failed)
489 - qt:image_io.type<struct image_type<bool,1,1>> (Failed)
Note: Google Test filter = image_io/0.type
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from image_io/0, where TypeParam = struct image_type<unsigned char,1,24>
[ RUN ] image_io/0.type
INFO: Could not load default logger factory. Using built-in logger.
2024-04-16 11:35:40.431 ERROR image_io.cxx(83): Could not save image ./test-a03236.tiff
unknown file: error: C++ exception with description "Path does not exist: ./test-a03236.tiff, thrown from C:\glr\builds\kwiver\kwiver\vital\algo\image_io.cxx:38" thrown in the test body.
[ FAILED ] image_io/0.type, where TypeParam = struct image_type<unsigned char,1,24> (23 ms)
[----------] 1 test from image_io/0 (23 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (23 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] image_io/0.type, where TypeParam = struct image_type<unsigned char,1,24>
From limited investigation it looks like QtImage.save
fails when the file is of .tiff
type.
Could it that we are missing some Qt module ?
They are currently excluded in the ci. Remove the corresponding line in https://gitlab.kitware.com/kwiver/kwiver/-/blob/main/.gitlab/ci/ctest_exclusions.cmake to replicate the failure.
Edited by Christos Tsolakis