Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define and use VALGRIND_NO_TRACE_CHILDREN for simgrid-mc tests.
[simgrid.git] / examples / cpp / mc-bugged1 / s4u-mc-bugged1.tesh
1 #!/usr/bin/env tesh
2
3 ! expect return 1
4 ! timeout 20
5 $ $VALGRIND_NO_TRACE_CHILDREN ${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] (1:server@HostA) OK
17 > [  0.000000] (3:client@HostC) Sent!
18 > [  0.000000] (4:client@HostD) Sent!
19 > [  0.000000] (2:client@HostB) Sent!
20 > [  0.000000] (1:server@HostA) OK
21 > [  0.000000] (3:client@HostC) Sent!
22 > [  0.000000] (4:client@HostD) Sent!
23 > [  0.000000] (2:client@HostB) Sent!
24 > [  0.000000] (1:server@HostA) OK
25 > [  0.000000] (4:client@HostD) Sent!
26 > [  0.000000] (3:client@HostC) Sent!
27 > [  0.000000] (2:client@HostB) Sent!
28 > [  0.000000] (1:server@HostA) OK
29 > [  0.000000] (4:client@HostD) Sent!
30 > [  0.000000] (3:client@HostC) Sent!
31 > [  0.000000] (2:client@HostB) Sent!
32 > [  0.000000] (3:client@HostC) Sent!
33 > [  0.000000] (1:server@HostA) OK
34 > [  0.000000] (4:client@HostD) Sent!
35 > [  0.000000] (3:client@HostC) Sent!
36 > [  0.000000] (2:client@HostB) Sent!
37 > [  0.000000] (1:server@HostA) OK
38 > [  0.000000] (4:client@HostD) Sent!
39 > [  0.000000] (2:client@HostB) Sent!
40 > [  0.000000] (3:client@HostC) Sent!
41 > [  0.000000] (1:server@HostA) OK
42 > [  0.000000] (4:client@HostD) Sent!
43 > [  0.000000] (3:client@HostC) Sent!
44 > [  0.000000] (1:server@HostA) OK
45 > [  0.000000] (2:client@HostB) Sent!
46 > [  0.000000] (4:client@HostD) Sent!
47 > [  0.000000] (2:client@HostB) Sent!
48 > [  0.000000] (0:maestro@) **************************
49 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
50 > [  0.000000] (0:maestro@) **************************
51 > [  0.000000] (0:maestro@) Counter-example execution trace:
52 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
53 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
54 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
55 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
56 > [  0.000000] (0:maestro@)   2: WaitComm(from 2 to 1, mbox=0, no timeout)
57 > [  0.000000] (0:maestro@)   4: iSend(mbox=0)
58 > [  0.000000] (0:maestro@)   1: WaitComm(from 4 to 1, mbox=0, no timeout)
59 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
60 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
61 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
62 > [  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;2;1;1;2;4;1;1;3;1'
63 > [  0.000000] (0:maestro@) DFS exploration ended. 58 unique states visited; 10 backtracks (140 transition replays, 72 states visited overall)