Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge branches
[simgrid.git] / examples / gras / rpc / test_sg_32.tesh
1 #! ./tesh
2
3 # There is no timestamp in this test, because we exchange exceptions,
4 # which contain not only the filename (which could change in case of
5 # VPATH builds), but also the function name (which changes with the
6 # optimization level: if inlining, gcc changes it).
7
8 ! timeout 10
9 ! output sort
10 $ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n"
11 > [0] (1:server@Tremblay) Launch server (port=4000)
12 > [0] (1:server@Tremblay) Listening on port 4000
13 > [0] (1:server@Tremblay) Got message PING(1234) from Fafard:5000
14 > [0] (1:server@Tremblay) Answered with PONG(4321)
15 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Fafard:5000
16 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Fafard:5000
17 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Fafard:5000
18 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Fafard:5000
19 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Fafard:5000
20 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Fafard:5000
21 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Ginette:4000
22 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Ginette:4000
23 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Ginette:4000
24 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Ginette:4000
25 > [0] (1:server@Tremblay) Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to Ginette:4000
26 > [0] (1:server@Tremblay) Asked to die by Fafard:5000
27 > [0] (1:server@Tremblay) Done.
28 > [0] (1:server@Tremblay) Exiting GRAS
29 > [0] (2:forwarder@Ginette) Launch forwarder (port=4000)
30 > [0] (2:forwarder@Ginette) Forward a request
31 > [0] (2:forwarder@Ginette) Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to Fafard:5000
32 > [0] (2:forwarder@Ginette) Forward a request
33 > [0] (2:forwarder@Ginette) Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to Fafard:5000
34 > [0] (2:forwarder@Ginette) Forward a request
35 > [0] (2:forwarder@Ginette) Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to Fafard:5000
36 > [0] (2:forwarder@Ginette) Forward a request
37 > [0] (2:forwarder@Ginette) Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to Fafard:5000
38 > [0] (2:forwarder@Ginette) Forward a request
39 > [0] (2:forwarder@Ginette) Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to Fafard:5000
40 > [0] (2:forwarder@Ginette) Asked to die by Fafard:5000
41 > [0] (2:forwarder@Ginette) Done.
42 > [0] (2:forwarder@Ginette) Exiting GRAS
43 > [0] (3:client@Fafard) Launch client (server on Tremblay:4000)
44 > [0] (3:client@Fafard) Connected to Tremblay:4000.
45 > [0] (3:client@Fafard) Connected to server which is on Tremblay:4000
46 > [0] (3:client@Fafard) The answer to PING(1234) on Tremblay:4000 is PONG(4321)
47 > [0] (3:client@Fafard) Call the exception raising RPC
48 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
49 > [0] (3:client@Fafard) Called the exception raising RPC
50 > [0] (3:client@Fafard) Call the exception raising RPC (i=0)
51 > [0] (3:client@Fafard) Call the exception raising RPC (i=1)
52 > [0] (3:client@Fafard) Call the exception raising RPC (i=2)
53 > [0] (3:client@Fafard) Call the exception raising RPC (i=3)
54 > [0] (3:client@Fafard) Call the exception raising RPC (i=4)
55 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=0)
56 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
57 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=1)
58 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
59 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=2)
60 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
61 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=3)
62 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
63 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=4)
64 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
65 > [0] (3:client@Fafard) Ask Ginette:4000 to die
66 > [0] (3:client@Fafard) Ask Tremblay:4000 to die
67 > [0] (3:client@Fafard) Done.
68 > [0] (3:client@Fafard) Exiting GRAS