Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[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] (3:client@HostC) Sent!
17 > [  0.000000] (1:server@HostA) OK
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] (3:client@HostC) Sent!
25 > [  0.000000] (1:server@HostA) OK
26 > [  0.000000] (4:client@HostD) Sent!
27 > [  0.000000] (2:client@HostB) Sent!
28 > [  0.000000] (0:maestro@) **************************
29 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
30 > [  0.000000] (0:maestro@) **************************
31 > [  0.000000] (0:maestro@) Counter-example execution trace:
32 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
33 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
34 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
35 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
36 > [  0.000000] (0:maestro@)   2: WaitComm(from 2 to 1, mbox=0, no timeout)
37 > [  0.000000] (0:maestro@)   4: iSend(mbox=0)
38 > [  0.000000] (0:maestro@)   1: WaitComm(from 4 to 1, mbox=0, no timeout)
39 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
40 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
41 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
42 > [  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'
43 > [  0.000000] (0:maestro@) DFS exploration ended. 35 unique states visited; 5 backtracks (35 transition replays, 75 states visited overall)