aboutsummaryrefslogtreecommitdiffstats
path: root/tests/stream/stream_test.ok
blob: fb65aa7e853e8bba356f79b154afa0a0501e0503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
Preparing stream server...
Prepare autoreconnecting stream client...
=======================================
Client/Server entering autoreconnecting event loop...
=======================================
{2.000001} [NA] Client's connect_cb_cli(): callback triggered <initial>
{2.000001} [NA] Client's connect_cb_cli(): sent 29 bytes message: 48 69 21 20 66 72 6f 6d 20 63 6f 6e 6e 65 63 74 20 63 61 6c 6c 62 61 63 6b 20 3a 2d 50 
{2.000003} [NA|OK] Server's read_cb_srv(): callback triggered
{2.000003} [NA|OK] Server's read_cb_srv(): received 29(29) bytes: 48 69 21 20 66 72 6f 6d 20 63 6f 6e 6e 65 63 74 20 63 61 6c 6c 62 61 63 6b 20 3a 2d 50 
{2.000003} [NA|OK] Server's read_cb_srv(): sent 11 bytes message: 72 65 61 64 5f 63 62 5f 73 72 76 
{2.000003} [OK|OK] Server's read_cb_srv(): keep initial client connection
{2.000005} [NA] Client's read_cb_cli(): callback triggered
{2.000005} [NA] Client's read_cb_cli(): received 11(11) bytes: 72 65 61 64 5f 63 62 5f 73 72 76 
{2.000005} [NA] Client's read_cb_cli(): initial read, contacting server
{2.000005} [OK] Client's read_cb_cli(): sent 29 bytes message: 44 6f 68 2c 20 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 73 65 72 76 65 72 20 3a 2d 44 
{2.000007} [OK|OK] Server's read_cb_srv(): callback triggered
{2.000007} [OK|OK] Server's read_cb_srv(): received 29(29) bytes: 44 6f 68 2c 20 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 73 65 72 76 65 72 20 3a 2d 44 
{2.000007} [OK|OK] Server's read_cb_srv(): sent 11 bytes message: 72 65 61 64 5f 63 62 5f 73 72 76 
{2.000007} [OK|OK] Server's read_cb_srv(): force client disconnect on subsequent call
{2.000008} [OK] Client's read_cb_cli(): callback triggered
{2.000008} [OK] Client's read_cb_cli(): 0-byte read, auto-reconnect will be triggered if enabled
{11.000010} [OK] Client's connect_cb_cli(): callback triggered <reconnected>
{11.000010} [OK] Client's connect_cb_cli(): closing connection
{11.000011} [NA|OK] Server's read_cb_srv(): callback triggered
{11.000011} [NA|OK] Server's read_cb_srv(): client have already closed connection
{11.000011} Server requested test termination
{11.000011} autoreconnecting test complete.

Prepare non-reconnecting stream client...
=======================================
Client/Server entering non-reconnecting event loop...
=======================================
{11.000012} [NA] Client's connect_cb_cli(): callback triggered <initial>
{11.000012} [NA] Client's connect_cb_cli(): sent 29 bytes message: 48 69 21 20 66 72 6f 6d 20 63 6f 6e 6e 65 63 74 20 63 61 6c 6c 62 61 63 6b 20 3a 2d 50 
{11.000014} [NA|OK] Server's read_cb_srv(): callback triggered
{11.000014} [NA|OK] Server's read_cb_srv(): received 29(29) bytes: 48 69 21 20 66 72 6f 6d 20 63 6f 6e 6e 65 63 74 20 63 61 6c 6c 62 61 63 6b 20 3a 2d 50 
{11.000014} [NA|OK] Server's read_cb_srv(): sent 11 bytes message: 72 65 61 64 5f 63 62 5f 73 72 76 
{11.000014} [OK|OK] Server's read_cb_srv(): keep initial client connection
{11.000016} [NA] Client's read_cb_cli(): callback triggered
{11.000016} [NA] Client's read_cb_cli(): received 11(11) bytes: 72 65 61 64 5f 63 62 5f 73 72 76 
{11.000016} [NA] Client's read_cb_cli(): initial read, contacting server
{11.000016} [OK] Client's read_cb_cli(): sent 29 bytes message: 44 6f 68 2c 20 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 73 65 72 76 65 72 20 3a 2d 44 
{11.000018} [OK|OK] Server's read_cb_srv(): callback triggered
{11.000018} [OK|OK] Server's read_cb_srv(): received 29(29) bytes: 44 6f 68 2c 20 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 73 65 72 76 65 72 20 3a 2d 44 
{11.000018} [OK|OK] Server's read_cb_srv(): sent 11 bytes message: 72 65 61 64 5f 63 62 5f 73 72 76 
{11.000018} [OK|OK] Server's read_cb_srv(): force client disconnect on subsequent call
{11.000019} [OK] Client's read_cb_cli(): callback triggered
{11.000019} [OK] Client's read_cb_cli(): 0-byte read, auto-reconnect will be triggered if enabled
{20.000019} non-reconnecting test complete.

______________________________________Running test test_segm_ipa_stream_srv______________________________________
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): [1-cli] Appending msg of type IPAC_MSGT_PING into buffer
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): 	(msg dump: 00 01 fe 00 )
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): [2-cli] Appending msg of type IPAC_MSGT_PONG into buffer
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): 	(msg dump: 00 01 fe 01 )
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): [3-cli] Appending msg of type IPAC_MSGT_PING into buffer
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): 	(msg dump: 00 01 fe 00 )
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): [4-cli] Appending msg of type IPAC_MSGT_ID_RESP into buffer
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): 	(msg dump: 00 07 fe 05 01 01 de ad be ef )
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): [(04 + 1/3)-cli] Appending 1st third of msg of type IPAC_MSGT_ID_GET into buffer
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): 	(dump: 00 03 )
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): Sending 4 + 1/3 messages as one:
{20.000020} [OK] Client's test_segm_ipa_stream_srv_cli_connect_cb(): 	(msg dump: 00 01 fe 00 00 01 fe 01 00 01 fe 00 00 07 fe 05 01 01 de ad be ef 00 03 )

{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [1-srv] Received IPA message from stream (payload len = 1)
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 01 fe 00 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 00 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_PING
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 01 fe 00 )
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [2-srv] Received IPA message from stream (payload len = 1)
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 01 fe 01 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 01 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_PONG
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 01 fe 01 )
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [3-srv] Received IPA message from stream (payload len = 1)
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 01 fe 00 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 00 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_PING
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 01 fe 00 )
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [4-srv] Received IPA message from stream (payload len = 7)
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 07 fe 05 01 01 de ad be ef 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 05 01 01 de ad be ef 
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_ID_RESP
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 07 fe 05 01 01 de ad be ef )
{20.000022} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): Send IPAC_MSGT_ID_GET to trigger client to send next third

{20.000024} [OK] Client's test_segm_ipa_stream_srv_cli_read_cb(): Received message from stream (payload len = 3)
{20.000024} [OK] Client's test_segm_ipa_stream_srv_cli_read_cb(): 	Type: IPAC_MSGT_ID_GET
{20.000024} [OK] Client's test_segm_ipa_stream_srv_cli_read_cb(): Got IPAC_MSGT_ID_GET from server
{20.000024} [OK] Client's test_segm_ipa_stream_srv_cli_read_cb(): [(4 + 2/3) -cli] Appending: Second third of IPAC_MSGT_ID_GET
{20.000024} [OK] Client's test_segm_ipa_stream_srv_cli_read_cb(): 	Sending: Second third of IPAC_MSGT_ID_GET
{20.000024} [OK] Client's test_segm_ipa_stream_srv_cli_read_cb(): 	(msg dump: fe 04 )

{20.500024} [OK] Client's send_last_third(): Delay for sending last third of message is over
{20.500024} [OK] Client's send_last_third(): [5-cli] Appending: Last third of IPAC_MSGT_ID_GET
{20.500024} [OK] Client's send_last_third(): [6-cli] Appending msg of type IPAC_MSGT_PONG into buffer
{20.500024} [OK] Client's send_last_third(): 	(msg dump: 00 01 fe 01 )
{20.500024} [OK] Client's send_last_third(): [7-cli] Appending msg of type IPAC_MSGT_PONG into buffer
{20.500024} [OK] Client's send_last_third(): 	(msg dump: 00 01 fe 01 )
{20.500024} [OK] Client's send_last_third(): 	Sending:[ Last third of IPAC_MSGT_ID_GET | IPAC_MSGT_PONG | IPAC_MSGT_PONG ]
{20.500024} [OK] Client's send_last_third(): 	(msg dump: 01 01 00 01 fe 01 00 01 fe 01 )

{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [5-srv] Received IPA message from stream (payload len = 3)
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 03 fe 04 01 01 
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 04 01 01 
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_ID_GET
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 03 fe 04 01 01 )
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [6-srv] Received IPA message from stream (payload len = 1)
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 01 fe 01 
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 01 
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_PONG
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 01 fe 01 )
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): [7-srv] Received IPA message from stream (payload len = 1)
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	msg buff data (including stripped headers): 00 01 fe 01 
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	IPA payload: 01 
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	Type: IPAC_MSGT_PONG
{20.500026} [NA|OK] Server's test_segm_ipa_stream_srv_srv_read_cb(): 	(msg dump: 00 01 fe 01 )
==================================Test test_segm_ipa_stream_srv complete========================================

______________________________________Running test test_segm_ipa_stream_cli______________________________________
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): [1-srv] Appending msg of type IPAC_MSGT_PING into buffer
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): 	(msg dump: 00 01 fe 00 )
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): [2-srv] Appending msg of type IPAC_MSGT_PONG into buffer
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): 	(msg dump: 00 01 fe 01 )
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): [3-srv] Appending msg of type IPAC_MSGT_PING into buffer
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): 	(msg dump: 00 01 fe 00 )
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): [4-srv] Appending msg of type IPAC_MSGT_ID_RESP into buffer
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): 	(msg dump: 00 07 fe 05 01 01 de ad be ef )
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): [(04 + 1/3)-srv] Appending 1st third of msg of type IPAC_MSGT_ID_GET into buffer
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): 	(dump: 00 03 )
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): Sending 4 + 1/3 messages as one:
{20.500027} [NA|OK] Server's test_segm_ipa_stream_cli_srv_accept_cb(): 	(msg dump: 00 01 fe 00 00 01 fe 01 00 01 fe 00 00 07 fe 05 01 01 de ad be ef 00 03 )

{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [1-cli] Received message from stream (len = 1)
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 00 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 00 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_PING
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 01 fe 00 )
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [2-cli] Received message from stream (len = 1)
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 01 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 01 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_PONG
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 01 fe 01 )
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [3-cli] Received message from stream (len = 1)
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 00 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 00 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_PING
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 01 fe 00 )
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [4-cli] Received message from stream (len = 7)
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 05 01 01 de ad be ef 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 05 01 01 de ad be ef 
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_ID_RESP
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 07 fe 05 01 01 de ad be ef )
{20.500029} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): Send IPAC_MSGT_ID_GET to trigger server to send next third

{20.500031} [NA|OK] Server's test_segm_ipa_stream_cli_srv_read_cb(): Received message from stream (total len including stripped headers = 6)
{20.500031} [NA|OK] Server's test_segm_ipa_stream_cli_srv_read_cb(): 	Type: IPAC_MSGT_ID_GET
{20.500031} [NA|OK] Server's test_segm_ipa_stream_cli_srv_read_cb(): Got IPAC_MSGT_ID_GET from client
{20.500031} [NA|OK] Server's test_segm_ipa_stream_cli_srv_read_cb(): [(4 + 2/3) -srv] Appending: Second third of IPAC_MSGT_ID_GET
{20.500031} [NA|OK] Server's test_segm_ipa_stream_cli_srv_read_cb(): 	Sending: Second third of IPAC_MSGT_ID_GET
{20.500031} [NA|OK] Server's test_segm_ipa_stream_cli_srv_read_cb(): 	(msg dump: fe 04 )

{20.625031} [NA|OK] Server's send_last_third_srv(): Delay for sending last third of message is over
{20.625031} [NA|OK] Server's send_last_third_srv(): [5-srv] Appending: Last third of IPAC_MSGT_ID_GET
{20.625031} [NA|OK] Server's send_last_third_srv(): [6-srv] Appending msg of type IPAC_MSGT_PONG into buffer
{20.625031} [NA|OK] Server's send_last_third_srv(): 	(msg dump: 00 01 fe 01 )
{20.625031} [NA|OK] Server's send_last_third_srv(): [7-srv] Appending msg of type IPAC_MSGT_PONG into buffer
{20.625031} [NA|OK] Server's send_last_third_srv(): 	(msg dump: 00 01 fe 01 )
{20.625031} [NA|OK] Server's send_last_third_srv(): 	Sending:[ Last third of IPAC_MSGT_ID_GET | IPAC_MSGT_PONG | IPAC_MSGT_PONG ]
{20.625031} [NA|OK] Server's send_last_third_srv(): 	(msg dump: 01 01 00 01 fe 01 00 01 fe 01 )

{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [5-cli] Received message from stream (len = 3)
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 04 01 01 
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 04 01 01 
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_ID_GET
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 03 fe 04 01 01 )
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [6-cli] Received message from stream (len = 1)
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 01 
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 01 
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_PONG
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 01 fe 01 )
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): [7-cli] Received message from stream (len = 1)
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	msg buff data: 01 
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	IPA payload: 01 
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	Type: IPAC_MSGT_PONG
{20.625033} [OK] Client's test_segm_ipa_stream_cli_cli_read_cb(): 	(msg dump (including stripped headers): 00 01 fe 01 )
==================================Test test_segm_ipa_stream_cli complete========================================

Stream tests completed