Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix stat missorder at the end of DFSexplorer
[simgrid.git] / examples / cpp / mc-failing-assert / s4u-mc-failing-assert.tesh
1 #!/usr/bin/env tesh
2
3 ! expect return 1
4 ! timeout 20
5 $ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/sleep-set:true ${bindir:=.}/s4u-mc-failing-assert ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning
6 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
7 > [  0.000000] (2:client1@Bourassa) Sent!
8 > [  0.000000] (1:server@Boivin) OK
9 > [  0.000000] (3:client2@Fafard) Sent!
10 > [  0.000000] (1:server@Boivin) OK
11 > [  0.000000] (2:client1@Bourassa) Sent!
12 > [  0.000000] (3:client2@Fafard) Sent!
13 > [  0.000000] (1:server@Boivin) OK
14 > [  0.000000] (3:client2@Fafard) Sent!
15 > [  0.000000] (2:client1@Bourassa) Sent!
16 > [  0.000000] (2:client1@Bourassa) Sent!
17 > [  0.000000] (1:server@Boivin) OK
18 > [  0.000000] (3:client2@Fafard) Sent!
19 > [  0.000000] (2:client1@Bourassa) Sent!
20 > [  0.000000] (0:maestro@) **************************
21 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
22 > [  0.000000] (0:maestro@) **************************
23 > [  0.000000] (0:maestro@) Counter-example execution trace:
24 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
25 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
26 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
27 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
28 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
29 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 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;3;1;1;2;1'
31 > [  0.000000] (0:maestro@) DFS exploration ended. 26 unique states visited; 6 backtracks (21 transition replays, 53 states visited overall)
32
33 ! expect return 1
34 ! timeout 20
35 $ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/sleep-set:true --cfg=model-check/strategy:min_match_comm ${bindir:=.}/s4u-mc-failing-assert ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning
36 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
37 > [  0.000000] (1:server@Boivin) OK
38 > [  0.000000] (2:client1@Bourassa) Sent!
39 > [  0.000000] (3:client2@Fafard) Sent!
40 > [  0.000000] (0:maestro@) **************************
41 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
42 > [  0.000000] (0:maestro@) **************************
43 > [  0.000000] (0:maestro@) Counter-example execution trace:
44 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
45 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
46 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
47 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
48 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
49 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
50 > [  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;3;2;1;1;1'
51 > [  0.000000] (0:maestro@) DFS exploration ended. 13 unique states visited; 1 backtracks (1 transition replays, 15 states visited overall)
52
53 ! expect return 1
54 ! timeout 20
55 $ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/sleep-set:true --cfg=model-check/strategy:max_match_comm ${bindir:=.}/s4u-mc-failing-assert ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning
56 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
57 > [  0.000000] (1:server@Boivin) OK
58 > [  0.000000] (2:client1@Bourassa) Sent!
59 > [  0.000000] (3:client2@Fafard) Sent!
60 > [  0.000000] (0:maestro@) **************************
61 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
62 > [  0.000000] (0:maestro@) **************************
63 > [  0.000000] (0:maestro@) Counter-example execution trace:
64 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
65 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
66 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
67 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
68 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
69 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
70 > [  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;3;1;1;2;1'
71 > [  0.000000] (0:maestro@) DFS exploration ended. 13 unique states visited; 1 backtracks (1 transition replays, 15 states visited overall)