3 p Testing the remote exception raising feature
6 $ $SG_TEST_EXENV exception/exception ${srcdir:=.}/../platforms/platform.xml ${srcdir:=.}/exception/deployment_exception.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [ 0.000000] (1:terrorist@Jacquelin) Let's create a victim.
8 > [ 0.000000] (2:victim@Jacquelin) Let's work.
9 > [ 0.000000] (1:terrorist@Jacquelin) Going to sleep for 1 second
10 > [ 1.000000] (1:terrorist@Jacquelin) Send a first exception (host failure)
11 > [ 1.000000] (1:terrorist@Jacquelin) Sweet, let's prepare a second trick!
12 > [ 1.000000] (1:terrorist@Jacquelin) Going to sleep for 2 seconds
13 > [ 1.000000] (2:victim@Jacquelin) The MSG_task_execute caught the exception for me and returned 8)
14 > [ 1.000000] (2:victim@Jacquelin) Let's get suspended.
15 > [ 3.000000] (1:terrorist@Jacquelin) Send a second exception (host failure)
16 > [ 3.000000] (1:terrorist@Jacquelin) Sweet, let's prepare a third trick!
17 > [ 3.000000] (1:terrorist@Jacquelin) Going to sleep for 3 seconds
18 > [ 3.000000] (2:victim@Jacquelin) The received exception resumed my suspension. Good. Here is it: ----------------------->8----
19 > ** SimGrid: UNCAUGHT EXCEPTION received on exception/exception(2): category: action canceled; value: 0
21 > ** Thrown by () on process 0
22 > [ 3.000000] (2:victim@Jacquelin) Canceled
24 > ** In SIMIX_execution_finish() at /home/alegrand/Work/SimGrid/simgrid-git/src/simix/smx_host.c:557
25 > ** In SIMIX_post_host_execute() at /home/alegrand/Work/SimGrid/simgrid-git/src/simix/smx_host.c:604
26 > ** In SIMIX_simcall_exit() at /home/alegrand/Work/SimGrid/simgrid-git/src/simix/popping.c:39
27 > ** In SIMIX_run() at /home/alegrand/Work/SimGrid/simgrid-git/src/simix/smx_global.c:410
28 > ** In MSG_main() at /home/alegrand/Work/SimGrid/simgrid-git/src/msg/msg_global.c:129
29 > ** In main() at /home/alegrand/Work/SimGrid/simgrid-git/examples/msg/exception/exception.c:156
30 > [ 3.000000] (2:victim@Jacquelin) (end of the second exception) ----8<------------------------
31 > [ 3.000000] (2:victim@Jacquelin) Let's sleep for 10 seconds.
32 > [ 6.000000] (1:terrorist@Jacquelin) Send a third exception (cancellation)
33 > [ 6.000000] (1:terrorist@Jacquelin) OK, goodbye now.
34 > [ 6.000000] (2:victim@Jacquelin) The MSG_process_sleep caught the exception for me and returned 8)
35 > [ 6.000000] (2:victim@Jacquelin) Let's try a last time to do something on something
36 > [ 16.000000] (2:victim@Jacquelin) That's enough now. I quit.
37 > [ 16.000000] (0:@) Simulation time 16