Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git] / teshsuite / s4u / monkey-masterworkers / monkey-masterworkers.py.tesh
1
2 p Smoke test: do one arbitrary run of the monkey, just to make sure that *something* is happening.
3
4 $ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${srcdir:=.}/monkey-masterworkers.py --cfg=plugin:cmonkey --cfg=cmonkey/time:1 --cfg=cmonkey/host:1
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'plugin' to 'cmonkey'
6 > [0.000000] [cmonkey/INFO] Initializing the chaos monkey
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cmonkey/time' to '1'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cmonkey/host' to '1'
9 > [lilibeth 0:master:(1) 0.000000] [python/INFO] Master booting
10 > [lilibeth 1:worker:(2) 0.000000] [python/INFO] Worker 1 booting
11 > [lilibeth 2:worker:(3) 0.000000] [python/INFO] Worker 2 booting
12 > [lilibeth 1:worker:(2) 0.000000] [python/INFO] Waiting a message on mailbox
13 > [lilibeth 2:worker:(3) 0.000000] [python/INFO] Waiting a message on mailbox
14 > [lilibeth 0:master:(1) 0.000000] [python/INFO] Try to send a message
15 > [1.000000] [cmonkey/INFO] Kill host lilibeth 1
16 > [lilibeth 0:master:(1) 1.000000] [python/INFO] Got a NetworkFailureException. Wait a second before starting again.
17 > [lilibeth 1:worker:(2) 1.000000] [python/INFO] Worker 1 dying forcefully.
18 > [lilibeth 0:master:(1) 2.000000] [python/INFO] Try to send a message
19 > [lilibeth 2:worker:(3) 3.031240] [python/INFO] Start execution...
20 > [lilibeth 0:master:(1) 3.031240] [python/INFO] Try to send a message
21 > [lilibeth 2:worker:(3) 3.032240] [python/INFO] Execution complete. Still 0 to go.
22 > [lilibeth 2:worker:(3) 3.032240] [python/INFO] Worker 2 dying peacefully.
23 > [lilibeth 0:master:(1) 3.032240] [python/INFO] Master dying forcefully.
24 > [31.000000] [cmonkey/INFO] Restart host lilibeth 1
25 > [lilibeth 1:worker:(4) 31.000000] [python/INFO] Worker 1 booting
26 > [lilibeth 1:worker:(4) 31.000000] [python/INFO] Worker 1 dying peacefully.
27 > [lilibeth 1:worker:(4) 31.000000] [python/INFO] Worker 1 dying peacefully.
28 > [31.000000] [cmonkey/INFO] Chaos Monkey done!
29 > [31.000000] [python/INFO] WE SURVIVED!
30