Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
0d3b1f46baad38a920fcb375eca5f48a80f04039
[simgrid.git] / examples / cpp / mc-bugged1 / s4u-mc-bugged1.tesh
1 #!/usr/bin/env tesh
2
3 ! expect return 1
4 ! timeout 20
5 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/s4u-mc-bugged1 ${platfdir:=.}/model_checker_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning --cfg=contexts/stack-size:256
6 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
7 > [  0.000000] (2:client@HostB) Sent!
8 > [  0.000000] (3:client@HostC) Sent!
9 > [  0.000000] (1:server@HostA) OK
10 > [  0.000000] (4:client@HostD) Sent!
11 > [  0.000000] (2:client@HostB) Sent!
12 > [  0.000000] (3:client@HostC) Sent!
13 > [  0.000000] (1:server@HostA) OK
14 > [  0.000000] (4:client@HostD) Sent!
15 > [  0.000000] (2:client@HostB) Sent!
16 > [  0.000000] (0:maestro@) **************************
17 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
18 > [  0.000000] (0:maestro@) **************************
19 > [  0.000000] (0:maestro@) Counter-example execution trace:
20 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
21 > [  0.000000] (0:maestro@)   4: iSend(mbox=0)
22 > [  0.000000] (0:maestro@)   1: WaitComm(from 4 to 1, mbox=0, no timeout)
23 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
24 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
25 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
26 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
27 > [  0.000000] (0:maestro@)   2: WaitComm(from 2 to 1, mbox=0, no timeout)
28 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
29 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
30 > [  0.000000] (0:maestro@) You can debug the problem (and see the whole details) by rerunning out of simgrid-mc with --cfg=model-check/replay:'1;4;1;1;2;1;1;2;3;1'
31 > [  0.000000] (0:maestro@) DFS exploration ended. 32 unique states visited; 2 backtracks (36 transition replays, 2 states visited overall)