File: s4u-exec-failure.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (28 lines) | stat: -rw-r--r-- 2,033 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env tesh

$ ${bindir:=.}/s4u-exec-failure "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
> [  0.000000] (1:Dispatcher@Host3) Initiating asynchronous exec on Host1
> [  0.000000] (1:Dispatcher@Host3) Initiating asynchronous exec on Host2
> [  0.000000] (1:Dispatcher@Host3) Initiating asynchronous exec on Host3
> [  0.000000] (1:Dispatcher@Host3) ---------------------------------
> [  0.000000] (1:Dispatcher@Host3) Wait on the first exec, which host is turned off at t=10 by the another actor.
> [ 10.000000] (2:HostKiller@Host3) HostKiller turns off the host 'Host1'.
> [ 10.000000] (1:Dispatcher@Host3) Dispatcher has experienced a host failure exception, so it knows that something went wrong.
> [ 10.000000] (1:Dispatcher@Host3) State of each exec:
> [ 10.000000] (1:Dispatcher@Host3)   Exec on Host1 has state: FAILED
> [ 10.000000] (1:Dispatcher@Host3)   Exec on Host2 has state: STARTED
> [ 10.000000] (1:Dispatcher@Host3)   Exec on Host3 has state: STARTED
> [ 10.000000] (1:Dispatcher@Host3) ---------------------------------
> [ 10.000000] (1:Dispatcher@Host3) Wait on the second exec, which host is turned off at t=12 by the state profile.
> [ 12.000000] (1:Dispatcher@Host3) Dispatcher has experienced a host failure exception, so it knows that something went wrong.
> [ 12.000000] (1:Dispatcher@Host3) State of each exec:
> [ 12.000000] (1:Dispatcher@Host3)   Exec on Host1 has state: FAILED
> [ 12.000000] (1:Dispatcher@Host3)   Exec on Host2 has state: FAILED
> [ 12.000000] (1:Dispatcher@Host3)   Exec on Host3 has state: STARTED
> [ 12.000000] (1:Dispatcher@Host3) ---------------------------------
> [ 12.000000] (1:Dispatcher@Host3) Wait on the third exec, which should succeed.
> [ 20.000000] (1:Dispatcher@Host3) No exception occured.
> [ 20.000000] (1:Dispatcher@Host3) State of each exec:
> [ 20.000000] (1:Dispatcher@Host3)   Exec on Host1 has state: FAILED
> [ 20.000000] (1:Dispatcher@Host3)   Exec on Host2 has state: FAILED
> [ 20.000000] (1:Dispatcher@Host3)   Exec on Host3 has state: FINISHED