Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Be more verbose when propagating local exceptions
[simgrid.git] / examples / gras / rpc / test_rl
1 & $SG_TEST_EXENV ./rpc_server$EXEEXT 4002 --log=root.fmt:%m%n $@
2 > Launch server (port=4002)
3 > Listening on port 4002
4 > Got message PING(1234) from 127.0.0.1:0
5 > Answered with PONG(4321)
6 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
7 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
8 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
9 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
10 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
11 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
12 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4003
13 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4003
14 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4003
15 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4003
16 > Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4003
17 > Asked to die by 127.0.0.1:0
18 > Done.
19 > Exiting GRAS
20
21 & $SG_TEST_EXENV ./rpc_forwarder$EXEEXT 4003 127.0.0.1 4002 --log=root.fmt:%m%n $@
22 > Launch forwarder (port=4003)
23 > Forward a request
24 > Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
25 > Forward a request
26 > Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
27 > Forward a request
28 > Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
29 > Forward a request
30 > Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
31 > Forward a request
32 > Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
33 > Asked to die by 127.0.0.1:0
34 > Done.
35 > Exiting GRAS
36
37 & $SG_TEST_EXENV ./rpc_client$EXEEXT 127.0.0.1 4002 127.0.0.1 4003 --log=root.fmt:%m%n $@
38 > Launch client (server on 127.0.0.1:4002)
39 > Connected to 127.0.0.1:4002.
40 > Connected to server which is on 127.0.0.1:4002
41 > The answer to PING(1234) on 127.0.0.1:4002 is PONG(4321)
42 > Call the exception raising RPC
43 > Got the expected exception when calling the exception raising RPC
44 > Called the exception raising RPC
45 > Call the exception raising RPC (i=0)
46 > Call the exception raising RPC (i=1)
47 > Call the exception raising RPC (i=2)
48 > Call the exception raising RPC (i=3)
49 > Call the exception raising RPC (i=4)
50 > Call the exception raising RPC on the forwarder (i=0)
51 > Got the expected exception when calling the exception raising RPC
52 > Call the exception raising RPC on the forwarder (i=1)
53 > Got the expected exception when calling the exception raising RPC
54 > Call the exception raising RPC on the forwarder (i=2)
55 > Got the expected exception when calling the exception raising RPC
56 > Call the exception raising RPC on the forwarder (i=3)
57 > Got the expected exception when calling the exception raising RPC
58 > Call the exception raising RPC on the forwarder (i=4)
59 > Got the expected exception when calling the exception raising RPC
60 > Ask 127.0.0.1:4003 to die
61 > Ask 127.0.0.1:4002 to die
62 > Done.
63 > Exiting GRAS