Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill both SimDag and Jedule bindings. Cleanups will follow
[simgrid.git] / examples / cpp / dag-failure / s4u-dag-failure.tesh
1 #!/usr/bin/env tesh
2
3 p Test of the management of failed dag activities 
4
5 $ ${bindir:=.}/s4u-dag-failure ${platfdir}/faulty_host.xml --log=s4u_activity.t:verbose "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
6 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'ptask_L07'
7 > [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
8 > [  0.000000] (0:maestro@) First test: sequential Exec activity
9 > [  0.000000] (0:maestro@) Schedule Activity 'Poor task' on 'Faulty Host'
10 > [  0.000000] (0:maestro@) 'Poor task' is assigned to a resource and all dependencies are solved. Let's start
11 > [  0.000000] (0:maestro@) Run the simulation
12 > [ 10.000000] (0:maestro@) Activity 'Poor task' has failed. 20000000000 flops remain to be done
13 > [ 10.000000] (0:maestro@) let's unschedule Activity 'Poor task' and reschedule it on the 'Safe Host'
14 > [ 10.000000] (0:maestro@) 'Poor task' is assigned to a resource and all dependencies are solved. Let's start
15 > [ 10.000000] (0:maestro@) Run the simulation again
16 > [ 50.000000] (0:maestro@) Activity 'Poor task' is complete (start time: 10.000000, finish time: 50.000000)
17 > [ 50.000000] (0:maestro@) Remove a dependency from 'Poor task' on 'Child'
18 > [ 50.000000] (0:maestro@) 'Child' is assigned to a resource and all dependencies are solved. Let's start
19 > [ 90.000000] (0:maestro@) Activity 'Child' is complete (start time: 50.000000, finish time: 90.000000)
20 > [ 90.000000] (0:maestro@) Second test: parallel Exec activity
21 > [ 90.000000] (0:maestro@) Schedule Activity 'Poor parallel task' on 'Safe Host' and 'Faulty Host'
22 > [ 90.000000] (0:maestro@) 'Poor parallel task' is assigned to a resource and all dependencies are solved. Let's start
23 > [ 90.000000] (0:maestro@) Run the simulation
24 > [100.000000] (0:maestro@) Activity 'Poor parallel task' has failed. 100 % remain to be done
25 > [100.000000] (0:maestro@) let's unschedule Activity 'Poor parallel task' and reschedule it only on the 'Safe Host'
26 > [100.000000] (0:maestro@) 'Poor parallel task' is assigned to a resource and all dependencies are solved. Let's start
27 > [100.000000] (0:maestro@) Run the simulation again
28 > [180.000000] (0:maestro@) Activity 'Poor parallel task' is complete (start time: 100.000000, finish time: 180.000000)
29 > [180.000000] (0:maestro@) Remove a dependency from 'Poor parallel task' on 'Child'
30 > [180.000000] (0:maestro@) 'Child' is assigned to a resource and all dependencies are solved. Let's start
31 > [220.000000] (0:maestro@) Activity 'Child' is complete (start time: 180.000000, finish time: 220.000000)
32