Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fc687a94ccd675173057de478d2e2c7395979c2b
[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 $ ${bindir:=.}/../../../bin/simgrid-mc ${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] (2:client1@Bourassa) Sent!
12 > [  0.000000] (1:server@Boivin) OK
13 > [  0.000000] (3:client2@Fafard) Sent!
14 > [  0.000000] (2:client1@Bourassa) Sent!
15 > [  0.000000] (0:maestro@) **************************
16 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
17 > [  0.000000] (0:maestro@) **************************
18 > [  0.000000] (0:maestro@) Counter-example execution trace:
19 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
20 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
21 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
22 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
23 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
24 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
25 > [  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'
26 > [  0.000000] (0:maestro@) DFS exploration ended. 18 unique states visited; 4 backtracks (36 transition replays, 14 states visited overall)