Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revalidate the MC tesh files after the recent changes in the depend of wait and send
[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] (2:client1@Bourassa) Sent!
11 > [  0.000000] (0:maestro@) **************************
12 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
13 > [  0.000000] (0:maestro@) **************************
14 > [  0.000000] (0:maestro@) Counter-example execution trace:
15 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
16 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
17 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
18 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
19 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
20 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
21 > [  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'
22 > [  0.000000] (0:maestro@) DFS exploration ended. 15 unique states visited; 2 backtracks (4 transition replays, 21 states visited overall)
23
24 ! expect return 1
25 ! timeout 20
26 $ $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
27 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
28 > [  0.000000] (2:client1@Bourassa) Sent!
29 > [  0.000000] (1:server@Boivin) OK
30 > [  0.000000] (3:client2@Fafard) Sent!
31 > [  0.000000] (3:client2@Fafard) Sent!
32 > [  0.000000] (0:maestro@) **************************
33 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
34 > [  0.000000] (0:maestro@) **************************
35 > [  0.000000] (0:maestro@) Counter-example execution trace:
36 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
37 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
38 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
39 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
40 > [  0.000000] (0:maestro@)   3: WaitComm(from 3 to 1, mbox=0, no timeout)
41 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
42 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
43 > [  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;3;1;1'
44 > [  0.000000] (0:maestro@) DFS exploration ended. 18 unique states visited; 3 backtracks (1 transition replays, 22 states visited overall)
45
46 ! expect return 1
47 ! timeout 20
48 $ $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
49 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
50 > [  0.000000] (2:client1@Bourassa) Sent!
51 > [  0.000000] (1:server@Boivin) OK
52 > [  0.000000] (3:client2@Fafard) Sent!
53 > [  0.000000] (3:client2@Fafard) Sent!
54 > [  0.000000] (0:maestro@) **************************
55 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
56 > [  0.000000] (0:maestro@) **************************
57 > [  0.000000] (0:maestro@) Counter-example execution trace:
58 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
59 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
60 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
61 > [  0.000000] (0:maestro@)   3: WaitComm(from 3 to 1, mbox=0, no timeout)
62 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
63 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
64 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
65 > [  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;3;1;2;1'
66 > [  0.000000] (0:maestro@) DFS exploration ended. 14 unique states visited; 1 backtracks (1 transition replays, 16 states visited overall)