Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] enable model-check/record by default, and cosmetics
[simgrid.git] / examples / s4u / 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:%P@%h)%e%m%n" --log=xbt_cfg.thresh:warning
6 > [  0.000000] (0:maestro@) Check a safety property. 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)Boivin (server)] iRecv(dst=(1)Boivin (server), buff=(verbose only), size=(verbose only))
20 > [  0.000000] (0:maestro@)   [(3)Fafard (client2)] iSend(src=(3)Fafard (client2), buff=(verbose only), size=(verbose only))
21 > [  0.000000] (0:maestro@)   [(1)Boivin (server)] Wait(comm=(verbose only) [(3)Fafard (client2)-> (1)Boivin (server)])
22 > [  0.000000] (0:maestro@)   [(1)Boivin (server)] iRecv(dst=(1)Boivin (server), buff=(verbose only), size=(verbose only))
23 > [  0.000000] (0:maestro@)   [(2)Bourassa (client1)] iSend(src=(2)Bourassa (client1), buff=(verbose only), size=(verbose only))
24 > [  0.000000] (0:maestro@)   [(1)Boivin (server)] Wait(comm=(verbose only) [(2)Bourassa (client1)-> (1)Boivin (server)])
25 > [  0.000000] (0:maestro@) Path = 1;3;1;1;2;1
26 > [  0.000000] (0:maestro@) Expanded states = 18
27 > [  0.000000] (0:maestro@) Visited states = 36
28 > [  0.000000] (0:maestro@) Executed transitions = 32