git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8440
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4400 5 --log=root.fmt:%m%n
> Listening on port 4400 (expecting 5 messages)
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4400 5 --log=root.fmt:%m%n
> Listening on port 4400 (expecting 5 messages)
-> Got Data from 127.0.0.1:0 (still 4 to go)
-> Got Data from 127.0.0.1:0 (still 3 to go)
-> Got Data from 127.0.0.1:0 (still 2 to go)
-> Got Data from 127.0.0.1:0 (still 1 to go)
-> Got Data from 127.0.0.1:0 (still 0 to go)
+> Got Data from 127.0.0.1:5005 (still 4 to go)
+> Got Data from 127.0.0.1:5005 (still 3 to go)
+> Got Data from 127.0.0.1:5005 (still 2 to go)
+> Got Data from 127.0.0.1:5005 (still 1 to go)
+> Got Data from 127.0.0.1:5005 (still 0 to go)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4401 5 --log=root.fmt:%m%n
> Listening on port 4401 (expecting 5 messages)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4401 5 --log=root.fmt:%m%n
> Listening on port 4401 (expecting 5 messages)
-> Got Data from 127.0.0.1:0 (still 4 to go)
-> Got Data from 127.0.0.1:0 (still 3 to go)
-> Got Data from 127.0.0.1:0 (still 2 to go)
-> Got Data from 127.0.0.1:0 (still 1 to go)
-> Got Data from 127.0.0.1:0 (still 0 to go)
+> Got Data from 127.0.0.1:5005 (still 4 to go)
+> Got Data from 127.0.0.1:5005 (still 3 to go)
+> Got Data from 127.0.0.1:5005 (still 2 to go)
+> Got Data from 127.0.0.1:5005 (still 1 to go)
+> Got Data from 127.0.0.1:5005 (still 0 to go)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4402 5 --log=root.fmt:%m%n
> Listening on port 4402 (expecting 5 messages)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4402 5 --log=root.fmt:%m%n
> Listening on port 4402 (expecting 5 messages)
-> Got Data from 127.0.0.1:0 (still 4 to go)
-> Got Data from 127.0.0.1:0 (still 3 to go)
-> Got Data from 127.0.0.1:0 (still 2 to go)
-> Got Data from 127.0.0.1:0 (still 1 to go)
-> Got Data from 127.0.0.1:0 (still 0 to go)
+> Got Data from 127.0.0.1:5005 (still 4 to go)
+> Got Data from 127.0.0.1:5005 (still 3 to go)
+> Got Data from 127.0.0.1:5005 (still 2 to go)
+> Got Data from 127.0.0.1:5005 (still 1 to go)
+> Got Data from 127.0.0.1:5005 (still 0 to go)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4403 5 --log=root.fmt:%m%n
> Listening on port 4403 (expecting 5 messages)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4403 5 --log=root.fmt:%m%n
> Listening on port 4403 (expecting 5 messages)
-> Got Data from 127.0.0.1:0 (still 4 to go)
-> Got Data from 127.0.0.1:0 (still 3 to go)
-> Got Data from 127.0.0.1:0 (still 2 to go)
-> Got Data from 127.0.0.1:0 (still 1 to go)
-> Got Data from 127.0.0.1:0 (still 0 to go)
+> Got Data from 127.0.0.1:5005 (still 4 to go)
+> Got Data from 127.0.0.1:5005 (still 3 to go)
+> Got Data from 127.0.0.1:5005 (still 2 to go)
+> Got Data from 127.0.0.1:5005 (still 1 to go)
+> Got Data from 127.0.0.1:5005 (still 0 to go)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4404 5 --log=root.fmt:%m%n
> Listening on port 4404 (expecting 5 messages)
> Exiting GRAS
! timeout 20
& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4404 5 --log=root.fmt:%m%n
> Listening on port 4404 (expecting 5 messages)
-> Got Data from 127.0.0.1:0 (still 4 to go)
-> Got Data from 127.0.0.1:0 (still 3 to go)
-> Got Data from 127.0.0.1:0 (still 2 to go)
-> Got Data from 127.0.0.1:0 (still 1 to go)
-> Got Data from 127.0.0.1:0 (still 0 to go)
+> Got Data from 127.0.0.1:5005 (still 4 to go)
+> Got Data from 127.0.0.1:5005 (still 3 to go)
+> Got Data from 127.0.0.1:5005 (still 2 to go)
+> Got Data from 127.0.0.1:5005 (still 1 to go)
+> Got Data from 127.0.0.1:5005 (still 0 to go)
+# give the receivers a chance to acquire the expected port numbers
+$ $SG_TEST_EXENV sleep 1
+
# Five time a sender
$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
> Launch current node
# Five time a sender
$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
> Launch current node
> server:main Messages registered
> server:main Messages registered
> server:main >>>>>>>> Listening on port 4302 <<<<<<<<
> server:main Messages registered
> server:main Messages registered
> server:main >>>>>>>> Listening on port 4302 <<<<<<<<
-> server:main >>>>>>>> Got message PING(1234) from 127.0.0.1:0 <<<<<<<<
+> server:main >>>>>>>> Got message PING(1234) from 127.0.0.1:5001 <<<<<<<<
> server:main >>>>>>>> Answered with PONG(4321) <<<<<<<<
> server:main Done.
> server:main Exiting GRAS
> server:main >>>>>>>> Answered with PONG(4321) <<<<<<<<
> server:main Done.
> server:main Exiting GRAS
+# give the server a chance to acquire the expected port number
+$ $SG_TEST_ENV sleep 1
+
! timeout 20
& $SG_TEST_ENV ./ping_client$EXEEXT 127.0.0.1 4302 --log=root.fmt=%P:%t%e%m%n $ARGS
> client:main Launch client (server on 127.0.0.1:4302)
! timeout 20
& $SG_TEST_ENV ./ping_client$EXEEXT 127.0.0.1 4302 --log=root.fmt=%P:%t%e%m%n $ARGS
> client:main Launch client (server on 127.0.0.1:4302)
& $SG_TEST_EXENV ./rpc_server$EXEEXT 4202 --log=root.fmt:%m%n $@
> Launch server (port=4202)
> Listening on port 4202
& $SG_TEST_EXENV ./rpc_server$EXEEXT 4202 --log=root.fmt:%m%n $@
> Launch server (port=4202)
> Listening on port 4202
-> Got message PING(1234) from 127.0.0.1:0
+> Got message PING(1234) from 127.0.0.1:5002
> Answered with PONG(4321)
> Answered with PONG(4321)
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
-> Asked to die by 127.0.0.1:0
+> Asked to die by 127.0.0.1:5002
> Done.
> Exiting GRAS
& $SG_TEST_EXENV ./rpc_forwarder$EXEEXT 4203 127.0.0.1 4202 --log=root.fmt:%m%n $@
> Launch forwarder (port=4203)
> Forward a request
> Done.
> Exiting GRAS
& $SG_TEST_EXENV ./rpc_forwarder$EXEEXT 4203 127.0.0.1 4202 --log=root.fmt:%m%n $@
> Launch forwarder (port=4203)
> Forward a request
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
-> Asked to die by 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
+> Asked to die by 127.0.0.1:5002
+# give the server and the forwarder a chance to acquire the expected port numbers
+$ $SG_TEST_EXENV sleep 1
+
& $SG_TEST_EXENV ./rpc_client$EXEEXT 127.0.0.1 4202 127.0.0.1 4203 --log=root.fmt:%m%n $@
> Launch client (server on 127.0.0.1:4202)
> Connected to 127.0.0.1:4202.
& $SG_TEST_EXENV ./rpc_client$EXEEXT 127.0.0.1 4202 127.0.0.1 4203 --log=root.fmt:%m%n $@
> Launch client (server on 127.0.0.1:4202)
> Connected to 127.0.0.1:4202.