Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
[simgrid.git] / examples / msg / mc / bugged1_liveness.tesh
1 #! ./tesh
2
3 ! expect signal SIGABRT
4 ! timeout 200
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@Fafard) Ask the request
9 > [  0.000000] (3:client@Boivin) Ask the request
10 > [  0.000000] (2:client@Fafard) Propositions changed : r=1, cs=0
11 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
12 > [  0.000000] (3:client@Boivin) 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@Boivin) Ask the request
15 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
16 > [  0.000000] (0:@) Next pair (depth = 22, 1 interleave) already reached (equal to state 11) !
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)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
22 > [  0.000000] (0:@) [(2)client] iSend (src=client, buff=(verbose only), size=(verbose only))
23 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(2)client -> (1)coordinator])
24 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
25 > [  0.000000] (0:@) [(2)client] Wait (comm=(verbose only) [(2)client -> (1)coordinator])
26 > [  0.000000] (0:@) [(2)client] iRecv (dst=client, buff=(verbose only), size=(verbose only))
27 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
28 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
29 > [  0.000000] (0:@) [(1)coordinator] iSend (src=coordinator, buff=(verbose only), size=(verbose only))
30 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
31 > [  0.000000] (0:@) [(3)client] iRecv (dst=client, buff=(verbose only), size=(verbose only))
32 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(1)coordinator -> (3)client])
33 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
34 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(1)coordinator -> (3)client])
35 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
36 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
37 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
38 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
39 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
40 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
41 > [  0.000000] (0:@) [(1)coordinator] iSend (src=coordinator, buff=(verbose only), size=(verbose only))
42 > [  0.000000] (0:@) Expanded pairs = 23
43 > [  0.000000] (0:@) Visited pairs = 21
44 > [  0.000000] (0:@) Executed transitions = 21
45