Logo AND Algorithmique Numérique Distribuée

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