X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0c13871d73e933c1847faf8debea7b7745a3ff44..bf5117c417f6e356c3a10c7f4856972e9b22f804:/examples/msg/mc/chord/chord_neverjoin.tesh diff --git a/examples/msg/mc/chord/chord_neverjoin.tesh b/examples/msg/mc/chord/chord_neverjoin.tesh index 32c6d21706..26881288ff 100644 --- a/examples/msg/mc/chord/chord_neverjoin.tesh +++ b/examples/msg/mc/chord/chord_neverjoin.tesh @@ -2,30 +2,30 @@ ! expect signal SIGABRT ! timeout 200 -$ ${bindir:=.}/chord_liveness --cfg=model-check:1 --cfg=contexts/factory:ucontext "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" -> [ 0.000000] (0:@) Configuration change: Set 'model-check' to '1' -> [ 0.000000] (0:@) Check the liveness property promela_chord_liveness -> [ 0.000000] (1:node@Jean_Yves) Joining the ring with id 14, knowing node 1 -> [ 0.000000] (2:node@Boivin) Joining the ring with id 8, knowing node 1 -> [ 0.000000] (3:node@Jacquelin) A transfer has occured -> [ 0.000000] (3:node@Jacquelin) The task was successfully received by node 1 -> [ 0.000000] (1:node@Jean_Yves) Node 14 joined the ring -> [ 0.000000] (0:@) Next pair (depth = 12, 2 interleave) already reached ! -> [ 0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -> [ 0.000000] (0:@) | ACCEPTANCE CYCLE | -> [ 0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -> [ 0.000000] (0:@) Counter-example that violates formula : -> [ 0.000000] (0:@) [(1)node] iSend (src=node, buff=(verbose only), size=(verbose only)) -> [ 0.000000] (0:@) [(2)node] iSend (src=node, buff=(verbose only), size=(verbose only)) -> [ 0.000000] (0:@) [(3)node] iRecv (dst=node, buff=(verbose only), size=(verbose only)) -> [ 0.000000] (0:@) [(1)node] Wait (comm=(verbose only) [(1)node -> (3)node]) -> [ 0.000000] (0:@) [(1)node] iRecv (dst=node, buff=(verbose only), size=(verbose only)) -> [ 0.000000] (0:@) [(3)node] Test TRUE (comm=(verbose only) [(1)node -> (3)node]) -> [ 0.000000] (0:@) [(3)node] iSend (src=node, buff=(verbose only), size=(verbose only)) -> [ 0.000000] (0:@) [(1)node] Wait (comm=(verbose only) [(3)node -> (1)node]) -> [ 0.000000] (0:@) [(1)node] iRecv (dst=node, buff=(verbose only), size=(verbose only)) -> [ 0.000000] (0:@) [(1)node] Test FALSE (comm=(verbose only)) -> [ 0.000000] (0:@) [(1)node] Test FALSE (comm=(verbose only)) -> [ 0.000000] (0:@) Expanded pairs = 16 -> [ 0.000000] (0:@) Visited pairs = 11 -> [ 0.000000] (0:@) Expanded / Visited = 0.687500 \ No newline at end of file +$ ${bindir:=.}/chord_liveness --cfg=model-check:1 --cfg=contexts/factory:ucontext +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'model-check' to '1' +> [0.000000] [mc_global/INFO] Check the liveness property promela_chord_liveness +> [Jean_Yves:node:(1) 0.000000] [chord_liveness/INFO] Joining the ring with id 14, knowing node 1 +> [Boivin:node:(2) 0.000000] [chord_liveness/INFO] Joining the ring with id 8, knowing node 1 +> [Jacquelin:node:(3) 0.000000] [chord_liveness/INFO] A transfer has occured +> [Jacquelin:node:(3) 0.000000] [chord_liveness/INFO] The task was successfully received by node 1 +> [Jean_Yves:node:(1) 0.000000] [chord_liveness/INFO] Node 14 joined the ring +> [0.000000] [mc_liveness/INFO] Next pair (depth = 11, 2 interleave) already reached ! +> [0.000000] [mc_liveness/INFO] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* +> [0.000000] [mc_liveness/INFO] | ACCEPTANCE CYCLE | +> [0.000000] [mc_liveness/INFO] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* +> [0.000000] [mc_liveness/INFO] Counter-example that violates formula : +> [0.000000] [mc_global/INFO] [(1)node] iSend (src=node, buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(2)node] iSend (src=node, buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(3)node] iRecv (dst=node, buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(1)node] Wait (comm=(verbose only) [(1)node -> (3)node]) +> [0.000000] [mc_global/INFO] [(1)node] iRecv (dst=node, buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(3)node] Test TRUE (comm=(verbose only) [(1)node -> (3)node]) +> [0.000000] [mc_global/INFO] [(3)node] iSend (src=node, buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(1)node] Wait (comm=(verbose only) [(3)node -> (1)node]) +> [0.000000] [mc_global/INFO] [(1)node] iRecv (dst=node, buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(1)node] Test FALSE (comm=(verbose only)) +> [0.000000] [mc_global/INFO] Expanded states = 11 +> [0.000000] [mc_global/INFO] Visited states = 10 +> [0.000000] [mc_global/INFO] Executed transitions = 10 +> [0.000000] [mc_global/INFO] Expanded / Visited = 0.909091