X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/23244e6abc0ffce10651b283c8955a63b86fe303..9201096042d3e409c3a5e795418027266d4008fc:/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 fbff4eb005..ffc6a67193 100644 --- a/examples/msg/mc/chord/chord_neverjoin.tesh +++ b/examples/msg/mc/chord/chord_neverjoin.tesh @@ -2,29 +2,30 @@ ! expect signal SIGABRT ! timeout 200 -$ ${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 (equal to state 11) ! -> [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 pairs = 14 -> [0.000000] [mc_global/INFO] Visited pairs = 10 -> [0.000000] [mc_global/INFO] Executed transitions = 10 +$ ${bindir:=.}/chord_liveness --cfg=model-check:1 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext +> [ 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 = 11, 2 interleave) already reached (equal to state 11) ! +> [ 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:@) Expanded pairs = 14 +> [ 0.000000] (0:@) Visited pairs = 10 +> [ 0.000000] (0:@) Executed transitions = 10 +