Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Incorporate simgrid-java in simgrid-java/.
[simgrid.git] / examples / msg / mc / chord / chord_neverjoin.tesh
1 #! ./tesh
2
3 ! expect signal SIGABRT
4 ! timeout 200
5 $ ${bindir:=.}/chord_liveness --cfg=model-check:1 --cfg=contexts/factory:ucontext "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (0:@) Configuration change: Set 'model-check' to '1'
7 > [  0.000000] (0:@) Check the liveness property promela_chord_liveness
8 > [  0.000000] (1:node@Jean_Yves) Joining the ring with id 14, knowing node 1
9 > [  0.000000] (2:node@Boivin) Joining the ring with id 8, knowing node 1
10 > [  0.000000] (3:node@Jacquelin) A transfer has occured
11 > [  0.000000] (3:node@Jacquelin) The task was successfully received by node 1
12 > [  0.000000] (1:node@Jean_Yves) Node 14 joined the ring
13 > [  0.000000] (0:@) Next pair (depth = 12, 2 interleave) already reached !
14 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
15 > [  0.000000] (0:@) |             ACCEPTANCE CYCLE            |
16 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
17 > [  0.000000] (0:@) Counter-example that violates formula :
18 > [  0.000000] (0:@) [(1)node] iSend (src=node, buff=(verbose only), size=(verbose only))
19 > [  0.000000] (0:@) [(2)node] iSend (src=node, buff=(verbose only), size=(verbose only))
20 > [  0.000000] (0:@) [(3)node] iRecv (dst=node, buff=(verbose only), size=(verbose only))
21 > [  0.000000] (0:@) [(1)node] Wait (comm=(verbose only) [(1)node -> (3)node])
22 > [  0.000000] (0:@) [(1)node] iRecv (dst=node, buff=(verbose only), size=(verbose only))
23 > [  0.000000] (0:@) [(3)node] Test TRUE (comm=(verbose only) [(1)node -> (3)node])
24 > [  0.000000] (0:@) [(3)node] iSend (src=node, buff=(verbose only), size=(verbose only))
25 > [  0.000000] (0:@) [(1)node] Wait (comm=(verbose only) [(3)node -> (1)node])
26 > [  0.000000] (0:@) [(1)node] iRecv (dst=node, buff=(verbose only), size=(verbose only))
27 > [  0.000000] (0:@) [(1)node] Test FALSE (comm=(verbose only))
28 > [  0.000000] (0:@) [(1)node] Test FALSE (comm=(verbose only))
29 > [  0.000000] (0:@) Expanded pairs = 16
30 > [  0.000000] (0:@) Visited pairs = 11
31 > [  0.000000] (0:@) Expanded / Visited = 0.687500