Test: server crashes on runner crash in "test-example-simulation1"
When Melissa DA was built with FTI (-WITH_FTI=ON
) and the config.fti
is missing, then the runner crashes and with it the server. The expected behavior is that the server does not crash.
Test execution
$ ctest -V --timeout 60 -R test-example-simulation1
UpdateCTestConfiguration from :/tmp/build.melissa-da/DartConfiguration.tcl
UpdateCTestConfiguration from :/tmp/build.melissa-da/DartConfiguration.tcl
Test project /tmp/build.melissa-da
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 1
Start 1: test-example-simulation1
1: Test command: /bin/sh "-c" ". /tmp/install.melissa-da/bin/melissa-da_set_env.sh; $@" "/bin/sh" "python3" "-u" "./script.py"
1: Test timeout computed to be: 60
1: Welcome
1: Welcome
1: melissa_server: no process found
1: gdb: no process found
1: xterm: no process found
1: /usr/bin/mpiexec: no process found
1: simulation1: no process found
1: WARNING:root:Warning: no 'create_study' key in USER_FUNCTIONS
1: WARNING:root:Warning: no 'create_group' key in USER_FUNCTIONS
1: WARNING:root:Warning: no 'restart_group' key in USER_FUNCTIONS
1: WARNING:root:Warning: no 'postprocessing' key in USER_FUNCTIONS
1: WARNING:root:Warning: no 'finalize' key in USER_FUNCTIONS
1: bind to recv port 5555
1: filling: [3, 3, 0, 5, 1, 'dell-christoph']
1: Launching /usr/bin/mpiexec -n 2 -x MELISSA_TIMING_NULL=1600877968157 -x LD_LIBRARY_PATH=/tmp/install.fti/lib:/tmp/install.melissa-da/lib:/usr/include/../lib:/lib:/tmp/install.melissa-sa/lib: /tmp/install.melissa-da/bin/melissa_server 3 3 0 5 1 dell-christoph
1: Process id: 11581
1/1 Test #1: test-example-simulation1 .........***Timeout 60.01 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 60.02 sec
The following tests FAILED:
1 - test-example-simulation1 (Timeout)
Errors while running CTest
STATS/server.log
:
[ FTI Information ] : Reading FTI configuration file (config.fti)...
[ FTI Warning 000000 ] : FTI configuration file NOT accessible.
[ FTI Warning 000000 ] : FTI failed to read configuration.
[ FTI Warning 000000 ] : Error => No such file or directory
[ FTI Warning 000000 ] : FTI failed to load configuration.
[ FTI Warning 000000 ] : Error => No such file or directory
[dell-christoph:06252] *** Process received signal ***
[dell-christoph:06252] Signal: Segmentation fault (11)
[dell-christoph:06252] Signal code: Address not mapped (1)
[dell-christoph:06252] Failing at address: (nil)
[ FTI Warning 000001 ] : FTI configuration file NOT accessible.
[ FTI Warning 000001 ] : FTI failed to read configuration.
[ FTI Warning 000001 ] : Error => No such file or directory
[ FTI Warning 000001 ] : FTI failed to load configuration.
[ FTI Warning 000001 ] : Error => No such file or directory
[dell-christoph:06253] *** Process received signal ***
[dell-christoph:06253] Signal: Segmentation fault (11)
[dell-christoph:06253] Signal code: Address not mapped (1)
[dell-christoph:06253] Failing at address: (nil)
[dell-christoph:06252] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7fd5635a6fd0]
[dell-christoph:06252] [ 1] /tmp/install.fti/lib/libfti.so(FTI_DefineGlobalDataset+0x2a2)[0x7fd5641eaddc]
[dell-christoph:06252] [dell-christoph:06253] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7f690a014fd0]
[dell-christoph:06253] [ 1] /tmp/install.fti/lib/libfti.so(FTI_DefineGlobalDataset+0x2a2)[0x7f690ac58ddc]
[dell-christoph:06253] [ 2] [ 2] /tmp/install.melissa-da/bin/melissa_server(_ZN8FTmodule4initER10MpiManagerRi+0x15a)[0x55d154262b72]
[dell-christoph:06252] [ 3] /tmp/install.melissa-da/bin/melissa_server(main+0x1e2)[0x55d154272d0c]
[dell-christoph:06252] [ 4] /tmp/install.melissa-da/bin/melissa_server(_ZN8FTmodule4initER10MpiManagerRi+0x15a)[0x557f9657bb72]
[dell-christoph:06253] [ 3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fd563589b97]
[dell-christoph:06252] [ 5] /tmp/install.melissa-da/bin/melissa_server(main+0x1e2)[0x557f9658bd0c]
[dell-christoph:06253] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f6909ff7b97]
[dell-christoph:06253] [ 5] /tmp/install.melissa-da/bin/melissa_server(_start+0x2a)[0x55d1542552ea]
[dell-christoph:06252] *** End of error message ***
/tmp/install.melissa-da/bin/melissa_server(_start+0x2a)[0x557f9656e2ea]
[dell-christoph:06253] *** End of error message ***
--------------------------------------------------------------------------
mpiexec noticed that process rank 1 with PID 0 on node dell-christoph exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
Edited by Christoph Conrads