Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
9c64e176724be41b6e05f736911ba5a6fc8be9ae
[simgrid.git] / examples / deprecated / msg / platform-failures / 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 $ $SG_TEST_EXENV ${bindir:=.}/platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml --cfg=path:${srcdir} --cfg=network/crosstraffic:0 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose
7 > [  0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard'
8 > [  0.000000] (0:maestro@) Deployment includes some initially turned off Hosts ... nevermind.
9 > [  0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process
10 > [  0.000000] (1:master@Tremblay) Send a message to worker-0
11 > [  0.010309] (1:master@Tremblay) Send to worker-0 completed
12 > [  0.010309] (2:worker@Tremblay) Start execution...
13 > [  0.000000] (2:worker@Tremblay) Waiting a message on worker-0
14 > [  0.000000] (3:worker@Jupiter) Waiting a message on worker-1
15 > [  0.000000] (5:worker@Ginette) Waiting a message on worker-3
16 > [  0.000000] (6:worker@Bourassa) Waiting a message on worker-4
17 > [  0.010309] (1:master@Tremblay) Send a message to worker-1
18 > [  1.000000] (0:maestro@) Restart processes on host Fafard
19 > [  1.000000] (7:worker@Fafard) Waiting a message on worker-2
20 > [  1.000000] (1:master@Tremblay) Mmh. Something went wrong with 'worker-1'. Nevermind. Let's keep going!
21 > [  1.000000] (1:master@Tremblay) Send a message to worker-2
22 > [  1.000000] (3:worker@Jupiter) Gloups. The cpu on which I'm running just turned off!. See you!
23 > [  2.000000] (1:master@Tremblay) Mmh. Something went wrong with 'worker-2'. Nevermind. Let's keep going!
24 > [  2.000000] (7:worker@Fafard) Gloups. The cpu on which I'm running just turned off!. See you!
25 > [  2.000000] (0:maestro@) Restart processes on host Jupiter
26 > [  2.000000] (1:master@Tremblay) Send a message to worker-3
27 > [  2.000000] (8:worker@Jupiter) Waiting a message on worker-1
28 > [  2.010309] (2:worker@Tremblay) Execution complete.
29 > [  2.010309] (2:worker@Tremblay) Waiting a message on worker-0
30 > [  3.030928] (1:master@Tremblay) Send to worker-3 completed
31 > [  3.030928] (1:master@Tremblay) Send a message to worker-4
32 > [  3.030928] (5:worker@Ginette) Start execution...
33 > [  4.061856] (1:master@Tremblay) Send to worker-4 completed
34 > [  4.061856] (1:master@Tremblay) Send a message to worker-0
35 > [  4.061856] (6:worker@Bourassa) Start execution...
36 > [  4.072165] (1:master@Tremblay) Send to worker-0 completed
37 > [  4.072165] (1:master@Tremblay) Send a message to worker-1
38 > [  4.072165] (2:worker@Tremblay) Start execution...
39 > [  5.030928] (5:worker@Ginette) Execution complete.
40 > [  5.030928] (5:worker@Ginette) Waiting a message on worker-3
41 > [  5.103093] (1:master@Tremblay) Send to worker-1 completed
42 > [  5.103093] (1:master@Tremblay) Send a message to worker-2
43 > [  5.103093] (8:worker@Jupiter) Start execution...
44 > [  6.061856] (6:worker@Bourassa) Execution complete.
45 > [  6.061856] (6:worker@Bourassa) Waiting a message on worker-4
46 > [  6.072165] (2:worker@Tremblay) Execution complete.
47 > [  6.072165] (2:worker@Tremblay) Waiting a message on worker-0
48 > [  7.103093] (8:worker@Jupiter) Execution complete.
49 > [  7.103093] (8:worker@Jupiter) Waiting a message on worker-1
50 > [ 15.103093] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
51 > [ 15.103093] (1:master@Tremblay) Send a message to worker-3
52 > [ 15.103093] (1:master@Tremblay) Mmh. Something went wrong with 'worker-3'. Nevermind. Let's keep going!
53 > [ 15.103093] (1:master@Tremblay) Send a message to worker-4
54 > [ 15.103093] (5:worker@Ginette) Mmh. Something went wrong. Nevermind. Let's keep going!
55 > [ 15.103093] (5:worker@Ginette) Waiting a message on worker-3
56 > [ 16.134021] (1:master@Tremblay) Send to worker-4 completed
57 > [ 16.134021] (1:master@Tremblay) Send a message to worker-0
58 > [ 16.134021] (6:worker@Bourassa) Start execution...
59 > [ 16.144330] (1:master@Tremblay) Send to worker-0 completed
60 > [ 16.144330] (1:master@Tremblay) Send a message to worker-1
61 > [ 16.144330] (2:worker@Tremblay) Start execution...
62 > [ 17.175258] (1:master@Tremblay) Send to worker-1 completed
63 > [ 17.175258] (1:master@Tremblay) Send a message to worker-2
64 > [ 17.175258] (8:worker@Jupiter) Start execution...
65 > [ 18.134021] (6:worker@Bourassa) Execution complete.
66 > [ 18.134021] (6:worker@Bourassa) Waiting a message on worker-4
67 > [ 18.144330] (2:worker@Tremblay) Execution complete.
68 > [ 18.144330] (2:worker@Tremblay) Waiting a message on worker-0
69 > [ 19.175258] (8:worker@Jupiter) Execution complete.
70 > [ 19.175258] (8:worker@Jupiter) Waiting a message on worker-1
71 > [ 27.175258] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
72 > [ 27.175258] (1:master@Tremblay) Send a message to worker-3
73 > [ 28.206186] (1:master@Tremblay) Send to worker-3 completed
74 > [ 28.206186] (1:master@Tremblay) Send a message to worker-4
75 > [ 28.206186] (1:master@Tremblay) Mmh. Something went wrong with 'worker-4'. Nevermind. Let's keep going!
76 > [ 28.206186] (1:master@Tremblay) Send a message to worker-0
77 > [ 28.206186] (5:worker@Ginette) Start execution...
78 > [ 28.206186] (6:worker@Bourassa) Mmh. Something went wrong. Nevermind. Let's keep going!
79 > [ 28.206186] (6:worker@Bourassa) Waiting a message on worker-4
80 > [ 28.216495] (1:master@Tremblay) Send to worker-0 completed
81 > [ 28.216495] (1:master@Tremblay) Send a message to worker-1
82 > [ 28.216495] (2:worker@Tremblay) Start execution...
83 > [ 29.247423] (1:master@Tremblay) Send to worker-1 completed
84 > [ 29.247423] (1:master@Tremblay) Send a message to worker-2
85 > [ 29.247423] (8:worker@Jupiter) Start execution...
86 > [ 30.206186] (5:worker@Ginette) Execution complete.
87 > [ 30.206186] (5:worker@Ginette) Waiting a message on worker-3
88 > [ 30.216495] (2:worker@Tremblay) Execution complete.
89 > [ 30.216495] (2:worker@Tremblay) Waiting a message on worker-0
90 > [ 31.247423] (8:worker@Jupiter) Execution complete.
91 > [ 31.247423] (8:worker@Jupiter) Waiting a message on worker-1
92 > [ 39.247423] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
93 > [ 39.247423] (1:master@Tremblay) Send a message to worker-3
94 > [ 40.278351] (1:master@Tremblay) Send to worker-3 completed
95 > [ 40.278351] (1:master@Tremblay) Send a message to worker-4
96 > [ 40.278351] (5:worker@Ginette) Start execution...
97 > [ 41.309278] (1:master@Tremblay) Send to worker-4 completed
98 > [ 41.309278] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
99 > [ 41.309278] (2:worker@Tremblay) I'm done. See you!
100 > [ 41.309278] (6:worker@Bourassa) Start execution...
101 > [ 41.309278] (8:worker@Jupiter) I'm done. See you!
102 > [ 42.309278] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
103 > [ 43.309278] (0:maestro@) Simulation time 43.3093
104 > [ 43.309278] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-3'. Nevermind. Let's keep going!
105 > [ 43.309278] (1:master@Tremblay) Goodbye now!
106 > [ 43.309278] (6:worker@Bourassa) Execution complete.
107 > [ 43.309278] (6:worker@Bourassa) Waiting a message on worker-4
108 > [ 43.309278] (6:worker@Bourassa) I'm done. See you!
109
110 p Testing a simple master/worker example application handling failures. TCP crosstraffic ENABLED
111
112 ! output sort 19
113 $ $SG_TEST_EXENV ${bindir:=.}/platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml --cfg=path:${srcdir} "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose
114 > [  0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard'
115 > [  0.000000] (0:maestro@) Deployment includes some initially turned off Hosts ... nevermind.
116 > [  0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process
117 > [  0.000000] (1:master@Tremblay) Send a message to worker-0
118 > [  0.000000] (2:worker@Tremblay) Waiting a message on worker-0
119 > [  0.000000] (3:worker@Jupiter) Waiting a message on worker-1
120 > [  0.000000] (5:worker@Ginette) Waiting a message on worker-3
121 > [  0.000000] (6:worker@Bourassa) Waiting a message on worker-4
122 > [  0.010825] (2:worker@Tremblay) Start execution...
123 > [  0.010825] (1:master@Tremblay) Send to worker-0 completed
124 > [  0.010825] (1:master@Tremblay) Send a message to worker-1
125 > [  1.000000] (0:maestro@) Restart processes on host Fafard
126 > [  1.000000] (7:worker@Fafard) Waiting a message on worker-2
127 > [  1.000000] (1:master@Tremblay) Mmh. Something went wrong with 'worker-1'. Nevermind. Let's keep going!
128 > [  1.000000] (1:master@Tremblay) Send a message to worker-2
129 > [  1.000000] (3:worker@Jupiter) Gloups. The cpu on which I'm running just turned off!. See you!
130 > [  2.000000] (0:maestro@) Restart processes on host Jupiter
131 > [  2.000000] (8:worker@Jupiter) Waiting a message on worker-1
132 > [  2.000000] (1:master@Tremblay) Mmh. Something went wrong with 'worker-2'. Nevermind. Let's keep going!
133 > [  2.000000] (1:master@Tremblay) Send a message to worker-3
134 > [  2.000000] (7:worker@Fafard) Gloups. The cpu on which I'm running just turned off!. See you!
135 > [  2.010825] (2:worker@Tremblay) Execution complete.
136 > [  2.010825] (2:worker@Tremblay) Waiting a message on worker-0
137 > [  3.082474] (5:worker@Ginette) Start execution...
138 > [  3.082474] (1:master@Tremblay) Send to worker-3 completed
139 > [  3.082474] (1:master@Tremblay) Send a message to worker-4
140 > [  4.164948] (6:worker@Bourassa) Start execution...
141 > [  4.164948] (1:master@Tremblay) Send to worker-4 completed
142 > [  4.164948] (1:master@Tremblay) Send a message to worker-0
143 > [  4.175773] (2:worker@Tremblay) Start execution...
144 > [  4.175773] (1:master@Tremblay) Send to worker-0 completed
145 > [  4.175773] (1:master@Tremblay) Send a message to worker-1
146 > [  5.082474] (5:worker@Ginette) Execution complete.
147 > [  5.082474] (5:worker@Ginette) Waiting a message on worker-3
148 > [  5.258247] (8:worker@Jupiter) Start execution...
149 > [  5.258247] (1:master@Tremblay) Send to worker-1 completed
150 > [  5.258247] (1:master@Tremblay) Send a message to worker-2
151 > [  6.164948] (6:worker@Bourassa) Execution complete.
152 > [  6.164948] (6:worker@Bourassa) Waiting a message on worker-4
153 > [  6.175773] (2:worker@Tremblay) Execution complete.
154 > [  6.175773] (2:worker@Tremblay) Waiting a message on worker-0
155 > [  7.258247] (8:worker@Jupiter) Execution complete.
156 > [  7.258247] (8:worker@Jupiter) Waiting a message on worker-1
157 > [ 15.258247] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
158 > [ 15.258247] (1:master@Tremblay) Send a message to worker-3
159 > [ 15.258247] (5:worker@Ginette) Mmh. Something went wrong. Nevermind. Let's keep going!
160 > [ 15.258247] (5:worker@Ginette) Waiting a message on worker-3
161 > [ 15.258247] (1:master@Tremblay) Mmh. Something went wrong with 'worker-3'. Nevermind. Let's keep going!
162 > [ 15.258247] (1:master@Tremblay) Send a message to worker-4
163 > [ 16.340722] (6:worker@Bourassa) Start execution...
164 > [ 16.340722] (1:master@Tremblay) Send to worker-4 completed
165 > [ 16.340722] (1:master@Tremblay) Send a message to worker-0
166 > [ 16.351546] (2:worker@Tremblay) Start execution...
167 > [ 16.351546] (1:master@Tremblay) Send to worker-0 completed
168 > [ 16.351546] (1:master@Tremblay) Send a message to worker-1
169 > [ 17.434021] (8:worker@Jupiter) Start execution...
170 > [ 17.434021] (1:master@Tremblay) Send to worker-1 completed
171 > [ 17.434021] (1:master@Tremblay) Send a message to worker-2
172 > [ 18.340722] (6:worker@Bourassa) Execution complete.
173 > [ 18.340722] (6:worker@Bourassa) Waiting a message on worker-4
174 > [ 18.351546] (2:worker@Tremblay) Execution complete.
175 > [ 18.351546] (2:worker@Tremblay) Waiting a message on worker-0
176 > [ 19.434021] (8:worker@Jupiter) Execution complete.
177 > [ 19.434021] (8:worker@Jupiter) Waiting a message on worker-1
178 > [ 27.434021] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
179 > [ 27.434021] (1:master@Tremblay) Send a message to worker-3
180 > [ 28.516495] (5:worker@Ginette) Start execution...
181 > [ 28.516495] (1:master@Tremblay) Send to worker-3 completed
182 > [ 28.516495] (1:master@Tremblay) Send a message to worker-4
183 > [ 28.516495] (6:worker@Bourassa) Mmh. Something went wrong. Nevermind. Let's keep going!
184 > [ 28.516495] (6:worker@Bourassa) Waiting a message on worker-4
185 > [ 28.516495] (1:master@Tremblay) Mmh. Something went wrong with 'worker-4'. Nevermind. Let's keep going!
186 > [ 28.516495] (1:master@Tremblay) Send a message to worker-0
187 > [ 28.527320] (2:worker@Tremblay) Start execution...
188 > [ 28.527320] (1:master@Tremblay) Send to worker-0 completed
189 > [ 28.527320] (1:master@Tremblay) Send a message to worker-1
190 > [ 29.609794] (8:worker@Jupiter) Start execution...
191 > [ 29.609794] (1:master@Tremblay) Send to worker-1 completed
192 > [ 29.609794] (1:master@Tremblay) Send a message to worker-2
193 > [ 30.516495] (5:worker@Ginette) Execution complete.
194 > [ 30.516495] (5:worker@Ginette) Waiting a message on worker-3
195 > [ 30.527320] (2:worker@Tremblay) Execution complete.
196 > [ 30.527320] (2:worker@Tremblay) Waiting a message on worker-0
197 > [ 31.609794] (8:worker@Jupiter) Execution complete.
198 > [ 31.609794] (8:worker@Jupiter) Waiting a message on worker-1
199 > [ 39.609794] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
200 > [ 39.609794] (1:master@Tremblay) Send a message to worker-3
201 > [ 40.692268] (5:worker@Ginette) Start execution...
202 > [ 40.692268] (1:master@Tremblay) Send to worker-3 completed
203 > [ 40.692268] (1:master@Tremblay) Send a message to worker-4
204 > [ 41.774742] (6:worker@Bourassa) Start execution...
205 > [ 41.774742] (1:master@Tremblay) Send to worker-4 completed
206 > [ 41.774742] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
207 > [ 41.774742] (2:worker@Tremblay) I'm done. See you!
208 > [ 41.774742] (8:worker@Jupiter) I'm done. See you!
209 > [ 42.774742] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-2'. Nevermind. Let's keep going!
210 > [ 43.774742] (6:worker@Bourassa) Execution complete.
211 > [ 43.774742] (6:worker@Bourassa) Waiting a message on worker-4
212 > [ 43.774742] (1:master@Tremblay) Mmh. Got timeouted while speaking to 'worker-3'. Nevermind. Let's keep going!
213 > [ 43.774742] (6:worker@Bourassa) I'm done. See you!
214 > [ 43.774742] (1:master@Tremblay) Goodbye now!
215 > [ 43.774742] (0:maestro@) Simulation time 43.7747
216
217 p NOT testing the mixure of failures and CpuTI: 
218 p This test leads to a deadlock because of a bug somewhere in surf_solve.
219 p We should debug this instead of ignoring the issue, but it's utterly
220 p   complex with such an integration test. One day, we will setup a set of
221 p   unit tests for the surf solver, and such issues will be addressable again.
222 p For the time being, I just give up, sorry.
223
224 p $ $SG_TEST_EXENV ${bindir:=.}/platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml --cfg=path:${srcdir} --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose