Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
324a4f2147de85183add9392cd3e3d7bd91e55ff
[simgrid.git] / examples / simdag / test_simdag_fail.tesh
1 #! ./tesh
2
3 p Test of the management of failed tasks simdag
4
5 $ $SG_TEST_EXENV ${bindir:=.}/sd_fail
6 > [0.000000] [surf_host/INFO] Switching to the L07 model to handle parallel tasks.
7 > [0.000000] [sd_fail/INFO] First test: COMP_SEQ task
8 > [0.000000] [sd_fail/INFO] Schedule task 'Poor task' on workstation 'Faulty Host'
9 > [10.000000] [sd_task/INFO] Displaying task Poor task
10 > [10.000000] [sd_task/INFO]   - state: not runnable failed
11 > [10.000000] [sd_task/INFO]   - kind: sequential computation
12 > [10.000000] [sd_task/INFO]   - tracing category: COMP_SEQ
13 > [10.000000] [sd_task/INFO]   - amount: 20000000000
14 > [10.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
15 > [10.000000] [sd_fail/INFO] Task 'Poor task' has failed. 20000000000 flops remain to be done
16 > [10.000000] [sd_fail/INFO] let's unschedule task 'Poor task' and reschedule it on the 'Safe Host'
17 > [10.000000] [sd_fail/INFO] Run the simulation again
18 > [50.000000] [sd_task/INFO] Displaying task Poor task
19 > [50.000000] [sd_task/INFO]   - state: not runnable done
20 > [50.000000] [sd_task/INFO]   - kind: sequential computation
21 > [50.000000] [sd_task/INFO]   - tracing category: COMP_SEQ
22 > [50.000000] [sd_task/INFO]   - amount: 20000000000
23 > [50.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
24 > [50.000000] [sd_fail/INFO] Task 'Poor task' start time: 10.000000, finish time: 50.000000
25 > [50.000000] [sd_fail/INFO] Second test: NON TYPED task
26 > [50.000000] [sd_fail/INFO] Schedule task 'Poor parallel task' on workstation 'Faulty Host'
27 > [60.000000] [sd_task/INFO] Displaying task Poor parallel task
28 > [60.000000] [sd_task/INFO]   - state: not runnable failed
29 > [60.000000] [sd_task/INFO]   - amount: 20000000000
30 > [60.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
31 > [60.000000] [sd_fail/INFO] Task 'Poor parallel task' has failed. 20000000000 flops remain to be done
32 > [60.000000] [sd_fail/INFO] let's unschedule task 'Poor parallel task' and reschedule it on the 'Safe Host'
33 > [60.000000] [sd_fail/INFO] Run the simulation again
34 > [100.000000] [sd_task/INFO] Displaying task Poor parallel task
35 > [100.000000] [sd_task/INFO]   - state: not runnable done
36 > [100.000000] [sd_task/INFO]   - amount: 20000000000
37 > [100.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
38 > [100.000000] [sd_fail/INFO] Task 'Poor parallel task' start time: 60.000000, finish time: 100.000000