Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / mc / bugged1.tesh
1 #! ./tesh
2
3 ! expect return 1
4 ! timeout 20
5 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/bugged1 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=xbt_cfg.thresh:warning --cfg=contexts/stack_size:256
6 > [  0.000000] (0:maestro@) Check a safety property
7 > [  0.000000] (2:client@HostB) Sent!
8 > [  0.000000] (3:client@HostC) Sent!
9 > [  0.000000] (1:server@HostA) OK
10 > [  0.000000] (4:client@HostD) Sent!
11 > [  0.000000] (2:client@HostB) Sent!
12 > [  0.000000] (3:client@HostC) Sent!
13 > [  0.000000] (2:client@HostB) Sent!
14 > [  0.000000] (3:client@HostC) Sent!
15 > [  0.000000] (1:server@HostA) OK
16 > [  0.000000] (4:client@HostD) Sent!
17 > [  0.000000] (2:client@HostB) Sent!
18 > [  0.000000] (3:client@HostC) Sent!
19 > [  0.000000] (2:client@HostB) Sent!
20 > [  0.000000] (0:maestro@) **************************
21 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
22 > [  0.000000] (0:maestro@) **************************
23 > [  0.000000] (0:maestro@) Counter-example execution trace:
24 > [  0.000000] (0:maestro@) [(1)HostA (server)] iRecv(dst=(1)HostA (server), buff=(verbose only), size=(verbose only))
25 > [  0.000000] (0:maestro@) [(2)HostB (client)] iSend(src=(2)HostB (client), buff=(verbose only), size=(verbose only))
26 > [  0.000000] (0:maestro@) [(1)HostA (server)] Wait(comm=(verbose only) [(2)HostB (client)-> (1)HostA (server)])
27 > [  0.000000] (0:maestro@) [(1)HostA (server)] iRecv(dst=(1)HostA (server), buff=(verbose only), size=(verbose only))
28 > [  0.000000] (0:maestro@) [(2)HostB (client)] Wait(comm=(verbose only) [(2)HostB (client)-> (1)HostA (server)])
29 > [  0.000000] (0:maestro@) [(4)HostD (client)] iSend(src=(4)HostD (client), buff=(verbose only), size=(verbose only))
30 > [  0.000000] (0:maestro@) [(1)HostA (server)] Wait(comm=(verbose only) [(4)HostD (client)-> (1)HostA (server)])
31 > [  0.000000] (0:maestro@) [(1)HostA (server)] iRecv(dst=(1)HostA (server), buff=(verbose only), size=(verbose only))
32 > [  0.000000] (0:maestro@) [(3)HostC (client)] iSend(src=(3)HostC (client), buff=(verbose only), size=(verbose only))
33 > [  0.000000] (0:maestro@) [(1)HostA (server)] Wait(comm=(verbose only) [(3)HostC (client)-> (1)HostA (server)])
34 > [  0.000000] (0:maestro@) Expanded states = 22
35 > [  0.000000] (0:maestro@) Visited states = 56
36 > [  0.000000] (0:maestro@) Executed transitions = 52