Dear Andreas,


On 01/02/2023 13:35, Andreas Tille wrote:
Hi Emmanuel,

Am Tue, Jan 31, 2023 at 01:53:15PM +0100 schrieb Emmanuel Promayon:
could you simply push your patch and we can see the build log in
Salsa CI?
I just pushed both (VTK9 compatibility and dicom component disability) to
salsa (in the main branch, hopefully that's ok)
Unfortunately Salsa CI failed for whatever reason in the first stage.

Yes I noticed that (it seems it does that since the setup of the CI for this project). I don't know where to look to fix this (it looks like an disk access mis-configuration).

If I try to build the package in my local pbuilder chroot all
tests are failing:

...
543: Test command: /usr/bin/cmake "-DCAMITK_TEST_COMMAND=/build/camitk-5.0.2/camitk-build/bin/camitk-testloggercrash" 
"-DCAMITK_TEST_COMMAND_ARG=-d /build/camitk-5.0.2/camitk-build/     tutorials/applications/testloggercrash/testlogger" 
"-DCAMITK_TEST_PASS_FILE=/build/camitk-5.0.2/tutorials/applications/testloggercrash/log-default.log" "-DCAMITK_TEST_OUTPUT_DIR=/build/ 
camitk-5.0.2/camitk-build/Testing/Temporary/application-testloggercrash-5" "-DCAMITK_TEST_NAME=application-testloggercrash-5" 
"-P" "/build/camitk-5.0.2/sdk/cmake/modules/macros/camitk/  test/CamiTKTestPassFile.cmake"
543: Working Directory: /build/camitk-5.0.2/camitk-build
543: Test timeout computed to be: 1800
543: /build/camitk-5.0.2/camitk-build/bin/camitk-testloggercrash: error while 
loading shared libraries: libjawt.so: cannot open shared object file: No such 
file or directory
543: -- Comparing file 
"/build/camitk-5.0.2/tutorials/applications/testloggercrash/log-default.log" to 
"/build/camitk-5.0.2/camitk-build/Testing/Temporary/application-testloggercrash-5/ 
command-output"...
543: -- [FAIL]
543: CMake Error at 
/build/camitk-5.0.2/sdk/cmake/modules/macros/camitk/test/CamiTKTestPassFile.cmake:67
 (message):
543:   application-testloggercrash-5:
543:   
/build/camitk-5.0.2/camitk-build/Testing/Temporary/application-testloggercrash-5/command-output
543:   does not match
543:   
/build/camitk-5.0.2/tutorials/applications/testloggercrash/log-default.log
543:
543:
543/543 Test #543: application-testloggercrash-5 
...............................***Failed    0.03 sec

0% tests passed, 505 tests failed out of 506

...

The following tests FAILED:
           1 - component-msh-level3-1 (Failed)
           2 - component-msh-level3-2 (Failed)
           3 - component-obj-level3-1 (Failed)
           4 - component-obj-level3-2 (Failed)
...
         541 - application-testloggercrash-3 (Failed)
         542 - application-testloggercrash-4 (Failed)
         543 - application-testloggercrash-5 (Failed)
Errors while running CTest
Output from these tests are in: 
/build/camitk-5.0.2/camitk-build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

Are you able to reproduce this and do you have any idea what might be
wrong here?

Thank you for trying.
Yes I have exactly the same problem on my own machine.
libjawt.so is provided by openjd. There is nothing in CamiTK source itself that depends on Java. That's made me think the error is linked with a Java installation problem (maybe temporary?). Or may be due to some linkage problem in one of the CamiTK dependency.

I will try to invistigate using ldd on camitk-testloggercrash and let you know as soon as possible.

Best regards,
Emmanuel

Reply via email to