Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
56813fda7eac65320c2dfa76c591ccb6e66459fc
[simgrid.git] / examples / cpp / mc-bugged2 / s4u-mc-bugged2.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-bugged2 ${platfdir:=.}/model_checker_platform.xml  --log=root.thresh:critical --log=mc.thresh:info
6 > [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
7 > [0.000000] [mc_explo/INFO] **************************
8 > [0.000000] [mc_explo/INFO] *** PROPERTY NOT VALID ***
9 > [0.000000] [mc_explo/INFO] **************************
10 > [0.000000] [mc_explo/INFO] Counter-example execution trace:
11 > [0.000000] [mc_explo/INFO]   1: iRecv(mbox=0)
12 > [0.000000] [mc_explo/INFO]   3: iSend(mbox=0)
13 > [0.000000] [mc_explo/INFO]   1: WaitComm(from 3 to 1, mbox=0, no timeout)
14 > [0.000000] [mc_explo/INFO]   1: iRecv(mbox=0)
15 > [0.000000] [mc_explo/INFO]   3: WaitComm(from 3 to 1, mbox=0, no timeout)
16 > [0.000000] [mc_explo/INFO]   3: iSend(mbox=0)
17 > [0.000000] [mc_explo/INFO]   1: WaitComm(from 3 to 1, mbox=0, no timeout)
18 > [0.000000] [mc_explo/INFO] 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;3;3;1'
19 > [0.000000] [mc_dfs/INFO] DFS exploration ended. 1070 unique states visited; 252 backtracks (4082 transition replays, 2760 states visited overall)
20
21 ! expect return 1
22 ! timeout 20
23 $ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/sleep-set:true --cfg=model-check/strategy:nb_wait ${bindir:=.}/s4u-mc-bugged2 ${platfdir:=.}/model_checker_platform.xml  --log=root.thresh:critical --log=mc.thresh:info
24 > [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
25 > [0.000000] [mc_explo/INFO] **************************
26 > [0.000000] [mc_explo/INFO] *** PROPERTY NOT VALID ***
27 > [0.000000] [mc_explo/INFO] **************************
28 > [0.000000] [mc_explo/INFO] Counter-example execution trace:
29 > [0.000000] [mc_explo/INFO]   1: iRecv(mbox=0)
30 > [0.000000] [mc_explo/INFO]   3: iSend(mbox=0)
31 > [0.000000] [mc_explo/INFO]   1: WaitComm(from 3 to 1, mbox=0, no timeout)
32 > [0.000000] [mc_explo/INFO]   1: iRecv(mbox=0)
33 > [0.000000] [mc_explo/INFO]   3: WaitComm(from 3 to 1, mbox=0, no timeout)
34 > [0.000000] [mc_explo/INFO]   3: iSend(mbox=0)
35 > [0.000000] [mc_explo/INFO]   1: WaitComm(from 3 to 1, mbox=0, no timeout)
36 > [0.000000] [mc_explo/INFO] 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;3;3;1'
37 > [0.000000] [mc_dfs/INFO] DFS exploration ended. 995 unique states visited; 253 backtracks (4006 transition replays, 2758 states visited overall)
38