Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix regression tests
[simgrid.git] / examples / cpp / platform-failures / s4u-platform-failures.tesh
1 #!/usr/bin/env tesh
2
3 p Testing a simple master/worker example application handling failures TCP crosstraffic DISABLED
4
5 ! output sort 19
6 $ ${bindir:=.}/s4u-platform-failures --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir:=.}/s4u-platform-failures_d.xml --cfg=path:${srcdir} --cfg=network/crosstraffic:0 "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=res_cpu.t:verbose
7 > [  0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard'
8 > [  0.000000] (0:maestro@) Starting actor worker(Fafard) failed because its host is turned off.
9 > [  0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process
10 > [  0.000000] (7:sleeper@Lilibeth) Start sleeping...
11 > [  0.000000] (1:master@Tremblay) Send a message to worker-0
12 > [  0.000000] (2:worker@Tremblay) Waiting a message on worker-0
13 > [  0.000000] (3:worker@Jupiter) Waiting a message on worker-1
14 > [  0.000000] (5:worker@Ginette) Waiting a message on worker-3
15 > [  0.000000] (6:worker@Bourassa) Waiting a message on worker-4
16 > [  0.010309] (1:master@Tremblay) Send to worker-0 completed
17 > [  0.010309] (2:worker@Tremblay) Start execution...
18 > [  0.010309] (1:master@Tremblay) Send a message to worker-1
19 > [  1.000000] (0:maestro@) Restart actors on host Fafard
20 > [  1.000000] (1:master@Tremblay) Mmh. The communication with 'worker-1' failed. Nevermind. Let's keep going!
21 > [  1.000000] (7:sleeper@Lilibeth) done sleeping.
22 > [  1.000000] (1:master@Tremblay) Send a message to worker-2
23 > [  1.000000] (8:worker@Fafard) Waiting a message on worker-2
24 > [  2.000000] (0:maestro@) Restart actors on host Jupiter
25 > [  2.000000] (1:master@Tremblay) Mmh. The communication with 'worker-2' failed. Nevermind. Let's keep going!
26 > [  2.000000] (9:worker@Jupiter) Waiting a message on worker-1
27 > [  2.000000] (1:master@Tremblay) Send a message to worker-3
28 > [  2.010309] (2:worker@Tremblay) Execution complete.
29 > [  2.010309] (2:worker@Tremblay) Waiting a message on worker-0
30 > [  3.030928] (5:worker@Ginette) Start execution...
31 > [  3.030928] (1:master@Tremblay) Send to worker-3 completed
32 > [  3.030928] (1:master@Tremblay) Send a message to worker-4
33 > [  4.061856] (6:worker@Bourassa) Start execution...
34 > [  4.061856] (1:master@Tremblay) Send to worker-4 completed
35 > [  4.061856] (1:master@Tremblay) Send a message to worker-0
36 > [  4.072165] (2:worker@Tremblay) Start execution...
37 > [  4.072165] (1:master@Tremblay) Send to worker-0 completed
38 > [  4.072165] (1:master@Tremblay) Send a message to worker-1
39 > [  5.000000] (0:maestro@) Restart actors on host Lilibeth
40 > [  5.000000] (10:sleeper@Lilibeth) Start sleeping...
41 > [  5.030928] (5:worker@Ginette) Execution complete.
42 > [  5.030928] (5:worker@Ginette) Waiting a message on worker-3
43 > [  5.103093] (9:worker@Jupiter) Start execution...
44 > [  5.103093] (1:master@Tremblay) Send to worker-1 completed
45 > [  5.103093] (1:master@Tremblay) Send a message to worker-2
46 > [  6.000000] (10:sleeper@Lilibeth) done sleeping.
47 > [  6.061856] (6:worker@Bourassa) Execution complete.
48 > [  6.061856] (6:worker@Bourassa) Waiting a message on worker-4
49 > [  6.072165] (2:worker@Tremblay) Execution complete.
50 > [  6.072165] (2:worker@Tremblay) Waiting a message on worker-0
51 > [  7.103093] (9:worker@Jupiter) Execution complete.
52 > [  7.103093] (9:worker@Jupiter) Waiting a message on worker-1
53 > [ 15.000000] (0:maestro@) Restart actors on host Lilibeth
54 > [ 15.000000] (11:sleeper@Lilibeth) Start sleeping...
55 > [ 15.103093] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
56 > [ 15.103093] (1:master@Tremblay) Send a message to worker-3
57 > [ 15.103093] (5:worker@Ginette) Mmh. Something went wrong. Nevermind. Let's keep going!
58 > [ 15.103093] (5:worker@Ginette) Waiting a message on worker-3
59 > [ 15.103093] (1:master@Tremblay) Mmh. The communication with 'worker-3' failed. Nevermind. Let's keep going!
60 > [ 15.103093] (1:master@Tremblay) Send a message to worker-4
61 > [ 16.000000] (11:sleeper@Lilibeth) done sleeping.
62 > [ 16.134021] (6:worker@Bourassa) Start execution...
63 > [ 16.134021] (1:master@Tremblay) Send to worker-4 completed
64 > [ 16.134021] (1:master@Tremblay) Send a message to worker-0
65 > [ 16.144330] (2:worker@Tremblay) Start execution...
66 > [ 16.144330] (1:master@Tremblay) Send to worker-0 completed
67 > [ 16.144330] (1:master@Tremblay) Send a message to worker-1
68 > [ 17.175258] (9:worker@Jupiter) Start execution...
69 > [ 17.175258] (1:master@Tremblay) Send to worker-1 completed
70 > [ 17.175258] (1:master@Tremblay) Send a message to worker-2
71 > [ 18.134021] (6:worker@Bourassa) Execution complete.
72 > [ 18.134021] (6:worker@Bourassa) Waiting a message on worker-4
73 > [ 18.144330] (2:worker@Tremblay) Execution complete.
74 > [ 18.144330] (2:worker@Tremblay) Waiting a message on worker-0
75 > [ 19.175258] (9:worker@Jupiter) Execution complete.
76 > [ 19.175258] (9:worker@Jupiter) Waiting a message on worker-1
77 > [ 25.000000] (0:maestro@) Restart actors on host Lilibeth
78 > [ 25.000000] (12:sleeper@Lilibeth) Start sleeping...
79 > [ 26.000000] (12:sleeper@Lilibeth) done sleeping.
80 > [ 27.175258] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
81 > [ 27.175258] (1:master@Tremblay) Send a message to worker-3
82 > [ 28.206186] (5:worker@Ginette) Start execution...
83 > [ 28.206186] (1:master@Tremblay) Send to worker-3 completed
84 > [ 28.206186] (1:master@Tremblay) Send a message to worker-4
85 > [ 28.206186] (6:worker@Bourassa) Mmh. Something went wrong. Nevermind. Let's keep going!
86 > [ 28.206186] (6:worker@Bourassa) Waiting a message on worker-4
87 > [ 28.206186] (1:master@Tremblay) Mmh. The communication with 'worker-4' failed. Nevermind. Let's keep going!
88 > [ 28.206186] (1:master@Tremblay) Send a message to worker-0
89 > [ 28.216495] (2:worker@Tremblay) Start execution...
90 > [ 28.216495] (1:master@Tremblay) Send to worker-0 completed
91 > [ 28.216495] (1:master@Tremblay) Send a message to worker-1
92 > [ 29.247423] (9:worker@Jupiter) Start execution...
93 > [ 29.247423] (1:master@Tremblay) Send to worker-1 completed
94 > [ 29.247423] (1:master@Tremblay) Send a message to worker-2
95 > [ 30.206186] (5:worker@Ginette) Execution complete.
96 > [ 30.206186] (5:worker@Ginette) Waiting a message on worker-3
97 > [ 30.216495] (2:worker@Tremblay) Execution complete.
98 > [ 30.216495] (2:worker@Tremblay) Waiting a message on worker-0
99 > [ 31.247423] (9:worker@Jupiter) Execution complete.
100 > [ 31.247423] (9:worker@Jupiter) Waiting a message on worker-1
101 > [ 35.000000] (0:maestro@) Restart actors on host Lilibeth
102 > [ 35.000000] (13:sleeper@Lilibeth) Start sleeping...
103 > [ 36.000000] (13:sleeper@Lilibeth) done sleeping.
104 > [ 39.247423] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
105 > [ 39.247423] (1:master@Tremblay) Send a message to worker-3
106 > [ 40.278351] (5:worker@Ginette) Start execution...
107 > [ 40.278351] (1:master@Tremblay) Send to worker-3 completed
108 > [ 40.278351] (1:master@Tremblay) Send a message to worker-4
109 > [ 41.309278] (6:worker@Bourassa) Start execution...
110 > [ 41.309278] (1:master@Tremblay) Send to worker-4 completed
111 > [ 41.309278] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
112 > [ 41.309278] (2:worker@Tremblay) I'm done. See you!
113 > [ 41.309278] (9:worker@Jupiter) I'm done. See you!
114 > [ 42.309278] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
115 > [ 43.309278] (6:worker@Bourassa) Execution complete.
116 > [ 43.309278] (6:worker@Bourassa) Waiting a message on worker-4
117 > [ 43.309278] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-3'. Nevermind. Let's keep going!
118 > [ 43.309278] (6:worker@Bourassa) I'm done. See you!
119 > [ 43.309278] (1:master@Tremblay) Goodbye now!
120 > [ 43.309278] (0:maestro@) Simulation time 43.3093
121
122
123 p Testing a simple master/worker example application handling failures. TCP crosstraffic ENABLED
124
125 ! output sort 19
126 $ ${bindir:=.}/s4u-platform-failures --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir:=.}/s4u-platform-failures_d.xml --cfg=path:${srcdir} "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=res_cpu.t:verbose
127 > [  0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard'
128 > [  0.000000] (0:maestro@) Starting actor worker(Fafard) failed because its host is turned off.
129 > [  0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process
130 > [  0.000000] (7:sleeper@Lilibeth) Start sleeping...
131 > [  0.000000] (1:master@Tremblay) Send a message to worker-0
132 > [  0.000000] (2:worker@Tremblay) Waiting a message on worker-0
133 > [  0.000000] (3:worker@Jupiter) Waiting a message on worker-1
134 > [  0.000000] (5:worker@Ginette) Waiting a message on worker-3
135 > [  0.000000] (6:worker@Bourassa) Waiting a message on worker-4
136 > [  0.010825] (1:master@Tremblay) Send to worker-0 completed
137 > [  0.010825] (2:worker@Tremblay) Start execution...
138 > [  0.010825] (1:master@Tremblay) Send a message to worker-1
139 > [  1.000000] (0:maestro@) Restart actors on host Fafard
140 > [  1.000000] (1:master@Tremblay) Mmh. The communication with 'worker-1' failed. Nevermind. Let's keep going!
141 > [  1.000000] (7:sleeper@Lilibeth) done sleeping.
142 > [  1.000000] (1:master@Tremblay) Send a message to worker-2
143 > [  1.000000] (8:worker@Fafard) Waiting a message on worker-2
144 > [  2.000000] (0:maestro@) Restart actors on host Jupiter
145 > [  2.000000] (1:master@Tremblay) Mmh. The communication with 'worker-2' failed. Nevermind. Let's keep going!
146 > [  2.000000] (9:worker@Jupiter) Waiting a message on worker-1
147 > [  2.000000] (1:master@Tremblay) Send a message to worker-3
148 > [  2.010825] (2:worker@Tremblay) Execution complete.
149 > [  2.010825] (2:worker@Tremblay) Waiting a message on worker-0
150 > [  3.082474] (5:worker@Ginette) Start execution...
151 > [  3.082474] (1:master@Tremblay) Send to worker-3 completed
152 > [  3.082474] (1:master@Tremblay) Send a message to worker-4
153 > [  4.164948] (6:worker@Bourassa) Start execution...
154 > [  4.164948] (1:master@Tremblay) Send to worker-4 completed
155 > [  4.164948] (1:master@Tremblay) Send a message to worker-0
156 > [  4.175773] (2:worker@Tremblay) Start execution...
157 > [  4.175773] (1:master@Tremblay) Send to worker-0 completed
158 > [  4.175773] (1:master@Tremblay) Send a message to worker-1
159 > [  5.000000] (0:maestro@) Restart actors on host Lilibeth
160 > [  5.000000] (10:sleeper@Lilibeth) Start sleeping...
161 > [  5.082474] (5:worker@Ginette) Execution complete.
162 > [  5.082474] (5:worker@Ginette) Waiting a message on worker-3
163 > [  5.258247] (9:worker@Jupiter) Start execution...
164 > [  5.258247] (1:master@Tremblay) Send to worker-1 completed
165 > [  5.258247] (1:master@Tremblay) Send a message to worker-2
166 > [  6.000000] (10:sleeper@Lilibeth) done sleeping.
167 > [  6.164948] (6:worker@Bourassa) Execution complete.
168 > [  6.164948] (6:worker@Bourassa) Waiting a message on worker-4
169 > [  6.175773] (2:worker@Tremblay) Execution complete.
170 > [  6.175773] (2:worker@Tremblay) Waiting a message on worker-0
171 > [  7.258247] (9:worker@Jupiter) Execution complete.
172 > [  7.258247] (9:worker@Jupiter) Waiting a message on worker-1
173 > [ 15.000000] (0:maestro@) Restart actors on host Lilibeth
174 > [ 15.000000] (11:sleeper@Lilibeth) Start sleeping...
175 > [ 15.258247] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
176 > [ 15.258247] (1:master@Tremblay) Send a message to worker-3
177 > [ 15.258247] (5:worker@Ginette) Mmh. Something went wrong. Nevermind. Let's keep going!
178 > [ 15.258247] (5:worker@Ginette) Waiting a message on worker-3
179 > [ 15.258247] (1:master@Tremblay) Mmh. The communication with 'worker-3' failed. Nevermind. Let's keep going!
180 > [ 15.258247] (1:master@Tremblay) Send a message to worker-4
181 > [ 16.000000] (11:sleeper@Lilibeth) done sleeping.
182 > [ 16.340722] (6:worker@Bourassa) Start execution...
183 > [ 16.340722] (1:master@Tremblay) Send to worker-4 completed
184 > [ 16.340722] (1:master@Tremblay) Send a message to worker-0
185 > [ 16.351546] (2:worker@Tremblay) Start execution...
186 > [ 16.351546] (1:master@Tremblay) Send to worker-0 completed
187 > [ 16.351546] (1:master@Tremblay) Send a message to worker-1
188 > [ 17.434021] (9:worker@Jupiter) Start execution...
189 > [ 17.434021] (1:master@Tremblay) Send to worker-1 completed
190 > [ 17.434021] (1:master@Tremblay) Send a message to worker-2
191 > [ 18.340722] (6:worker@Bourassa) Execution complete.
192 > [ 18.340722] (6:worker@Bourassa) Waiting a message on worker-4
193 > [ 18.351546] (2:worker@Tremblay) Execution complete.
194 > [ 18.351546] (2:worker@Tremblay) Waiting a message on worker-0
195 > [ 19.434021] (9:worker@Jupiter) Execution complete.
196 > [ 19.434021] (9:worker@Jupiter) Waiting a message on worker-1
197 > [ 25.000000] (0:maestro@) Restart actors on host Lilibeth
198 > [ 25.000000] (12:sleeper@Lilibeth) Start sleeping...
199 > [ 26.000000] (12:sleeper@Lilibeth) done sleeping.
200 > [ 27.434021] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
201 > [ 27.434021] (1:master@Tremblay) Send a message to worker-3
202 > [ 28.516495] (5:worker@Ginette) Start execution...
203 > [ 28.516495] (1:master@Tremblay) Send to worker-3 completed
204 > [ 28.516495] (1:master@Tremblay) Send a message to worker-4
205 > [ 28.516495] (6:worker@Bourassa) Mmh. Something went wrong. Nevermind. Let's keep going!
206 > [ 28.516495] (6:worker@Bourassa) Waiting a message on worker-4
207 > [ 28.516495] (1:master@Tremblay) Mmh. The communication with 'worker-4' failed. Nevermind. Let's keep going!
208 > [ 28.516495] (1:master@Tremblay) Send a message to worker-0
209 > [ 28.527320] (2:worker@Tremblay) Start execution...
210 > [ 28.527320] (1:master@Tremblay) Send to worker-0 completed
211 > [ 28.527320] (1:master@Tremblay) Send a message to worker-1
212 > [ 29.609794] (9:worker@Jupiter) Start execution...
213 > [ 29.609794] (1:master@Tremblay) Send to worker-1 completed
214 > [ 29.609794] (1:master@Tremblay) Send a message to worker-2
215 > [ 30.516495] (5:worker@Ginette) Execution complete.
216 > [ 30.516495] (5:worker@Ginette) Waiting a message on worker-3
217 > [ 30.527320] (2:worker@Tremblay) Execution complete.
218 > [ 30.527320] (2:worker@Tremblay) Waiting a message on worker-0
219 > [ 31.609794] (9:worker@Jupiter) Execution complete.
220 > [ 31.609794] (9:worker@Jupiter) Waiting a message on worker-1
221 > [ 35.000000] (0:maestro@) Restart actors on host Lilibeth
222 > [ 35.000000] (13:sleeper@Lilibeth) Start sleeping...
223 > [ 36.000000] (13:sleeper@Lilibeth) done sleeping.
224 > [ 39.609794] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
225 > [ 39.609794] (1:master@Tremblay) Send a message to worker-3
226 > [ 40.692268] (5:worker@Ginette) Start execution...
227 > [ 40.692268] (1:master@Tremblay) Send to worker-3 completed
228 > [ 40.692268] (1:master@Tremblay) Send a message to worker-4
229 > [ 41.774742] (6:worker@Bourassa) Start execution...
230 > [ 41.774742] (1:master@Tremblay) Send to worker-4 completed
231 > [ 41.774742] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
232 > [ 41.774742] (2:worker@Tremblay) I'm done. See you!
233 > [ 41.774742] (9:worker@Jupiter) I'm done. See you!
234 > [ 42.774742] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
235 > [ 43.774742] (6:worker@Bourassa) Execution complete.
236 > [ 43.774742] (6:worker@Bourassa) Waiting a message on worker-4
237 > [ 43.774742] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-3'. Nevermind. Let's keep going!
238 > [ 43.774742] (6:worker@Bourassa) I'm done. See you!
239 > [ 43.774742] (1:master@Tremblay) Goodbye now!
240 > [ 43.774742] (0:maestro@) Simulation time 43.7747
241