Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / Bug_2604_Regression / README
blob2423be1bd5e0fb9f8e093d7d28730a530331b894
3 Purpose:
4         This test demonstrates bug 2604 (see Bugzilla for details), which
5         involves per_client activation failures with the ImR.
7 Strategy:
8         The test simulates normal client/ImR/server interactions in the
9         per_client activation mode.  The only difference is that the server is
10         started 'manually' (by the shell, not the ImR Activator) twice before
11         the client starts.  Once the client starts up, if the ImR gets confused
12         and tries to ping one of the old servers, the test will fail.  If the
13         ImR correctly launches a new server and pings it, the test passes.
15 To run:
16         ./run_test.pl
18 Analysis of result:
19         Perl script will always return zero on success, non-zero on failure.
21 Example output from a passing test:
23 >>> /tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/./ImplRepo_Service -d 2 -ORBObjRefStyle url -t 30 -v 1000 -o /tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/imr.ior
24         timeout = 5
25 Implementation Repository: Running
26         Ping Interval : 1000ms
27         Startup Timeout : 30s
28         Persistence : Disabled
29         Multicast : Disabled
30         Debug : 2
31         Locked : False
33 >>> /tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/./ImR_Activator -l -d 2 -ORBObjRefStyle url -o /tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/activator.ior -ORBInitRef ImplRepoService=file:///tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/imr.ior
34         timeout = 5
35 ImR Activator: Starting oci1329
36 ImR Activator: Contacting ImplRepoService...
37 ImR: Activator registered for oci1329.
38 ImR Activator: Registered with ImR.
39 ImR Activator: The Activator IOR is: <IOR:012a2a2a2b00000049444c3a496d706c656d656e746174696f6e5265706f7369746f72792f416374697661746f723a312e30002a0100000000000000980000000101022a130000006f6369313332392e6f63697765622e636f6d002aa3a92a2a3e00000014010f004e55500000001e0000000001000000526f6f74504f4100496d525f416374697661746f72000000000001000000496d525f416374697661746f722a2a020000000000000008000000012a2a2a004f41540100000018000000012a2a2a0100010001000000010001050901010000000000>
40 >>> /tao_builds/mitza/1.4a/ACE_wrappers/bin/tao_imr
41 ImR: Cannot find server <MessengerService>
42 ImR: Add/Update server <MessengerService>.
43 ImR: Adding server <MessengerService>.
44 ImR: Server: MessengerService
45         Activator: oci1329
46         Command Line: ././MessengerServer -ORBObjRefStyle url -ORBEndpoint iiop://:8923/portspan=3
47         Working Directory:
48         Activation: PER_CLIENT
49         Start Limit: 2
51 Successfully registered <MessengerService>.
52 >>> /tao_builds/mitza/1.4a/ACE_wrappers/bin/tao_imr -ORBInitRef ImplRepoService=file:///tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/imr.ior add MessengerService -a per_client -r 1 -l oci1329 -c "././MessengerServer -ORBObjRefStyle url -ORBEndpoint iiop://:8923/portspan=3"
53 ImR: List servers.
54 ImR_Locator_i::list: Filling ServerList with 1 servers
55 Server <MessengerService>
56   Activator: oci1329
57   Command Line: ././MessengerServer -ORBObjRefStyle url -ORBEndpoint iiop://:8923/portspan=3
58   Working Directory:
59   Activation Mode: PER_CLIENT
60   Number of retries: 1
61   No running info available for PER_CLIENT mode
63 >>> ././MessengerServer -orbuseimr 1 -ORBObjRefStyle url -ORBInitRef ImplRepoService=file:///tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/imr.ior
64         timeout = 30
65 (20213|2808477376) Server Process started
66 ImR: Server MessengerService is running at corbaloc:iiop:1.2@oci1329.ociweb.com:58317/.
67 ImR: Server MessengerService callback at corbaloc:iiop:1.2@oci1329.ociweb.com:58317/%14%01%0f%00RST%9d%db%c0D%86L%0d%00%00%00%00%00%01%00%00%00%01%00%00%00.
68 ImR - Ignoring server_is_running due to no waiting PER_CLIENT clients.
69 (20213|2808477376) Messenger server ready.
70 >>> ././MessengerServer -orbuseimr 1 -ORBObjRefStyle url -ORBInitRef ImplRepoService=file:///tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/imr.ior
71         timeout = 30
72 (20214|2808850112) Server Process started
73 ImR: Server MessengerService is running at corbaloc:iiop:1.2@oci1329.ociweb.com:43532/.
74 ImR: Server MessengerService callback at corbaloc:iiop:1.2@oci1329.ociweb.com:43532/%14%01%0f%00RST%9d%db%c0D%98h%0e%00%00%00%00%00%01%00%00%00%01%00%00%00.
75 ImR - Ignoring server_is_running due to no waiting PER_CLIENT clients.
76 (20214|2808850112) Messenger server ready.
77 ImR: Activating server <MessengerService>.
78 ImR: Starting server <MessengerService>. Attempt 1/2.
79 ImR Activator: Starting server <MessengerService>...
80         command line : <././MessengerServer -ORBObjRefStyle url -ORBEndpoint iiop://:8923/portspan=3>
81         directory : <>
82 ImR Activator: Register death handler for process 20216.
83 ImR Activator: Successfully started <MessengerService>.
84 ImR: Waiting for <MessengerService> to start...
85 (20216|2809108160) Server Process started
86 ImR: Server MessengerService is running at corbaloc:iiop:1.2@oci1329.ociweb.com:8923/.
87 ImR: Server MessengerService callback at corbaloc:iiop:1.2@oci1329.ociweb.com:8923/%14%01%0f%00RST%9e%db%c0D%deh%03%00%00%00%00%00%01%00%00%00%01%00%00%00.
88 ImR: Connected to server <MessengerService>
89 (20216|2809108160) Messenger server ready.
90 ImR: <MessengerService> Ping successful. alive=true
91 ImR: Successfully activated <MessengerService> at
92         corbaloc:iiop:1.2@oci1329.ociweb.com:8923/
93 ImR: Forwarding invocation on <MessengerService> to <corbaloc:iiop:1.2@oci1329.ociweb.com:8923/%14%01%0f%00NUP%00%00%00!%00%00%00%00%01%00%00%00RootPOA%00MessengerService%00%00%00%00%00%01%00%00%00object>
94 Message from: TAO User
95 Subject: TAO Test
96 Message: Hello!
97 Message was sent
98 Client got reply: A reply from the server.
99 Message from: TAO User
100 Subject: TAO Test
101 Message: A reply from the server.
102 Message was sent
103 Client got reply: A reply from the server.
104 Message from: TAO User
105 Subject: TAO Test
106 Message: A reply from the server.
107 Message was sent
108 Client got reply: A reply from the server.
109 Message from: TAO User
110 Subject: TAO Test
111 Message: A reply from the server.
112 Message was sent
113 Client got reply: A reply from the server.
114 Message from: TAO User
115 Subject: TAO Test
116 Message: A reply from the server.
117 Message was sent
118 Client got reply: A reply from the server.
119 Message from: TAO User
120 Subject: TAO Test
121 Message: A reply from the server.
122 ImR: Server <MessengerService> is shutting down.
123 Message was sent
124 Client got reply: A reply from the server.
125 mitza@oci1329:/tao_builds/mitza/1.4a/ACE_wrappers/TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression$ (20216|2809108160) Messenger server shutting down.
127 (Note that the end of the output overlaps the shell printing the next prompt.)