Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
f69fd27319b7f05e4d1d382584f4d4e1abdb0bbd
[simgrid.git] / examples / msg / mc / bugged1_liveness.tesh
1 #! ./tesh
2
3 ! expect signal SIGABRT
4 ! timeout 20
5 $ ${bindir:=.}/bugged1_liveness --cfg=model-check:1 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext
6 > [  0.000000] (0:@) Configuration change: Set 'model-check' to '1'
7 > [  0.000000] (0:@) Check the liveness property promela_bugged1_liveness
8 > [  0.000000] (2:client@Boivin) Ask the request
9 > [  0.000000] (3:client@Fafard) Ask the request
10 > [  0.000000] (2:client@Boivin) Propositions changed : r=1, cs=0
11 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
12 > [  0.000000] (3:client@Fafard) 2 got the answer. Sleep a bit and release it
13 > [  0.000000] (1:coordinator@Tremblay) CS release. resource now idle
14 > [  0.000000] (3:client@Fafard) Ask the request
15 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
16 > [  0.000000] (0:@) Pair 22 already reached (equal to pair 10) !
17 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
18 > [  0.000000] (0:@) |             ACCEPTANCE CYCLE            |
19 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
20 > [  0.000000] (0:@) Counter-example that violates formula :
21 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] iRecv (dst=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
22 > [  0.000000] (0:@) [(2)Boivin (client)] iSend (src=(2)Boivin (client), buff=(verbose only), size=(verbose only))
23 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] Wait (comm=(verbose only) [(2)Boivin (client)-> (1)Tremblay (coordinator)])
24 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] iRecv (dst=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
25 > [  0.000000] (0:@) [(2)Boivin (client)] Wait (comm=(verbose only) [(2)Boivin (client)-> (1)Tremblay (coordinator)])
26 > [  0.000000] (0:@) [(2)Boivin (client)] iRecv (dst=(2)Boivin (client), buff=(verbose only), size=(verbose only))
27 > [  0.000000] (0:@) [(3)Fafard (client)] iSend (src=(3)Fafard (client), buff=(verbose only), size=(verbose only))
28 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] Wait (comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
29 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] iSend (src=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
30 > [  0.000000] (0:@) [(3)Fafard (client)] Wait (comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
31 > [  0.000000] (0:@) [(3)Fafard (client)] iRecv (dst=(3)Fafard (client), buff=(verbose only), size=(verbose only))
32 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] Wait (comm=(verbose only) [(1)Tremblay (coordinator)-> (3)Fafard (client)])
33 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] iRecv (dst=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
34 > [  0.000000] (0:@) [(3)Fafard (client)] Wait (comm=(verbose only) [(1)Tremblay (coordinator)-> (3)Fafard (client)])
35 > [  0.000000] (0:@) [(3)Fafard (client)] iSend (src=(3)Fafard (client), buff=(verbose only), size=(verbose only))
36 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] Wait (comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
37 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] iRecv (dst=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
38 > [  0.000000] (0:@) [(3)Fafard (client)] Wait (comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
39 > [  0.000000] (0:@) [(3)Fafard (client)] iSend (src=(3)Fafard (client), buff=(verbose only), size=(verbose only))
40 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] Wait (comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
41 > [  0.000000] (0:@) [(1)Tremblay (coordinator)] iSend (src=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
42 > [  0.000000] (0:@) Expanded pairs = 22
43 > [  0.000000] (0:@) Visited pairs = 22
44 > [  0.000000] (0:@) Executed transitions = 21
45