Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix make dist.
[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 ! setenv GRAS_NO_WARN_EXPERIMENTAL=1
11 $ $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"
12 > [0] (1:server@Tremblay) Launch server (port=4000)
13 > [0] (1:server@Tremblay) Listening on port 4000
14 > [0] (1:server@Tremblay) Got message PING(1234) from Fafard:5000
15 > [0] (1:server@Tremblay) Answered with PONG(4321)
16 > [0] (1:server@Tremblay) Asked to die by Fafard:5000
17 > [0] (1:server@Tremblay) Done.
18 > [0] (1:server@Tremblay) Exiting GRAS
19 > [0] (2:forwarder@Ginette) Launch forwarder (port=4000)
20 > [0] (2:forwarder@Ginette) Forward a request
21 > [0] (2:forwarder@Ginette) Forward a request
22 > [0] (2:forwarder@Ginette) Forward a request
23 > [0] (2:forwarder@Ginette) Forward a request
24 > [0] (2:forwarder@Ginette) Forward a request
25 > [0] (2:forwarder@Ginette) Asked to die by Fafard:5000
26 > [0] (2:forwarder@Ginette) Done.
27 > [0] (2:forwarder@Ginette) Exiting GRAS
28 > [0] (3:client@Fafard) Launch client (server on Tremblay:4000)
29 > [0] (3:client@Fafard) Connected to Tremblay:4000.
30 > [0] (3:client@Fafard) Connected to server which is on Tremblay:4000
31 > [0] (3:client@Fafard) The answer to PING(1234) on Tremblay:4000 is PONG(4321)
32 > [0] (3:client@Fafard) Call the exception raising RPC
33 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
34 > [0] (3:client@Fafard) Called the exception raising RPC
35 > [0] (3:client@Fafard) Call the exception raising RPC (i=0)
36 > [0] (3:client@Fafard) Call the exception raising RPC (i=1)
37 > [0] (3:client@Fafard) Call the exception raising RPC (i=2)
38 > [0] (3:client@Fafard) Call the exception raising RPC (i=3)
39 > [0] (3:client@Fafard) Call the exception raising RPC (i=4)
40 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=0)
41 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
42 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=1)
43 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
44 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=2)
45 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
46 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=3)
47 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
48 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=4)
49 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
50 > [0] (3:client@Fafard) Ask Ginette:4000 to die
51 > [0] (3:client@Fafard) Ask Tremblay:4000 to die
52 > [0] (3:client@Fafard) Done.
53 > [0] (3:client@Fafard) Exiting GRAS