Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make CommDet a plugin on top of Safety
[simgrid.git] / examples / smpi / mc / sendsend.tesh
1 #! ./tesh
2
3 p Testing the permissive model
4 ! timeout 60
5 $ ../../../smpi_script/bin/smpirun -quiet -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -np 2 -platform ${platfdir:=.}/cluster_backbone.xml --cfg=smpi/buffering:infty --log=xbt_cfg.thresh:warning ./smpi_sendsend
6 > [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor.
7 > Sent 0 to rank 1
8 > Sent 1 to rank 0
9 > rank 0 recv the data
10 > rank 1 recv the data
11 > Sent 0 to rank 1
12 > [0.000000] [mc_safety/INFO] No property violation found.
13 > [0.000000] [mc_safety/INFO] 7 unique states visited; 2 backtracks (10 transition replays, 2 states visited overall)
14
15 p Testing the paranoid model
16 ! timeout 60
17 ! expect return 3
18 $ ../../../smpi_script/bin/smpirun -quiet -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -np 2 -platform ${platfdir:=.}/cluster_backbone.xml --cfg=smpi/buffering:zero --log=xbt_cfg.thresh:warning ./smpi_sendsend
19 > [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor.
20 > [0.000000] [mc_global/INFO] **************************
21 > [0.000000] [mc_global/INFO] *** DEADLOCK DETECTED ***
22 > [0.000000] [mc_global/INFO] **************************
23 > [0.000000] [mc_global/INFO] Counter-example execution trace:
24 > [0.000000] [mc_global/INFO]   1: iSend(mbox=2)
25 > [0.000000] [mc_global/INFO]   2: iSend(mbox=0)
26 > [0.000000] [Api/INFO] Path = 1;2
27 > [0.000000] [mc_safety/INFO] 3 unique states visited; 1 backtracks (3 transition replays, 0 states visited overall)
28 > Execution failed with code 3.