-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrcl_zoro_test.log
348 lines (313 loc) · 15.1 KB
/
rcl_zoro_test.log
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
[DEBUG][main][2018-04-19 18:31:16,171]rcl_zoro_test start :
[DEBUG][main][2018-04-19 18:31:22,662]
start running : test_graph__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:22,662]
Running main() from gtest_main.cc
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from TestGraphFixture__rmw_zoro_cpp
[ RUN ] TestGraphFixture__rmw_zoro_cpp.test_rcl_get_and_destroy_topic_names_and_types
starting memory checking...
[ OK ] TestGraphFixture__rmw_zoro_cpp.test_rcl_get_and_destroy_topic_names_and_types (14 ms)
[ RUN ] TestGraphFixture__rmw_zoro_cpp.test_rcl_count_publishers
stopping memory checking...
starting memory checking...
stopping memory checking...
stopping memory checking...
[ OK ] TestGraphFixture__rmw_zoro_cpp.test_rcl_count_publishers (7 ms)
[ RUN ] TestGraphFixture__rmw_zoro_cpp.test_rcl_count_subscribers
starting memory checking...
stopping memory checking...
[ OK ] TestGraphFixture__rmw_zoro_cpp.test_rcl_count_subscribers (6 ms)
[ RUN ] TestGraphFixture__rmw_zoro_cpp.test_graph_query_functions
starting memory checking...
stopping memory checking...
[ OK ] TestGraphFixture__rmw_zoro_cpp.test_graph_query_functions (1487 ms)
[ RUN ] TestGraphFixture__rmw_zoro_cpp.test_graph_guard_condition_topics
starting memory checking...
stopping memory checking...
[ OK ] TestGraphFixture__rmw_zoro_cpp.test_graph_guard_condition_topics (1997 ms)
[ RUN ] TestGraphFixture__rmw_zoro_cpp.test_rcl_service_server_is_available
starting memory checking...
stopping memory checking...
[ OK ] TestGraphFixture__rmw_zoro_cpp.test_rcl_service_server_is_available (2962 ms)
[----------] 6 tests from TestGraphFixture__rmw_zoro_cpp (6474 ms total)
[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (6474 ms total)
[ PASSED ] 6 tests.
[DEBUG][main][2018-04-19 18:31:24,706]
start running : test_node__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:24,707]
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from TestNodeFixture__rmw_zoro_cpp
[ RUN ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_accessors
starting memory checking...
stopping memory checking...
starting memory checking...
starting memory checking...
starting memory checking...
stopping memory checking...
starting memory checking...
stopping memory checking...
starting memory checking...
stopping memory checking...
starting memory checking...
stopping memory checking...
stopping memory checking...
[ OK ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_accessors (13 ms)
[ RUN ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_life_cycle
starting memory checking...
stopping memory checking...
[ OK ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_life_cycle (7 ms)
[ RUN ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_name_restrictions
starting memory checking...
stopping memory checking...
[ OK ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_name_restrictions (3 ms)
[ RUN ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_namespace_restrictions
starting memory checking...
stopping memory checking...
[ OK ] TestNodeFixture__rmw_zoro_cpp.test_rcl_node_namespace_restrictions (9 ms)
[----------] 4 tests from TestNodeFixture__rmw_zoro_cpp (32 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (32 ms total)
[ PASSED ] 4 tests.
[ERROR][main][2018-04-19 18:31:24,707]
[rcutils|error_handling.c:109] failed to allocate memory for the error state struct
[DEBUG][main][2018-04-19 18:31:26,723]
start running : test_rcl__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:26,723]
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from TestRCLFixture__rmw_zoro_cpp
[ RUN ] TestRCLFixture__rmw_zoro_cpp.test_rcl_init_and_ok_and_shutdown
starting memory checking...
stopping memory checking...
[ OK ] TestRCLFixture__rmw_zoro_cpp.test_rcl_init_and_ok_and_shutdown (5 ms)
[ RUN ] TestRCLFixture__rmw_zoro_cpp.test_rcl_get_instance_id_and_ok
starting memory checking...
stopping memory checking...
[ OK ] TestRCLFixture__rmw_zoro_cpp.test_rcl_get_instance_id_and_ok (0 ms)
[----------] 2 tests from TestRCLFixture__rmw_zoro_cpp (5 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (5 ms total)
[ PASSED ] 2 tests.
[ERROR][main][2018-04-19 18:31:26,723]
[rcutils|error_handling.c:109] failed to allocate memory for the error state struct
[DEBUG][main][2018-04-19 18:31:43,239]
start running : test_namespace__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:43,239]
Running main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestNamespaceFixture
[ RUN ] TestNamespaceFixture.test_client_server
starting memory checking...
stopping memory checking...
[ OK ] TestNamespaceFixture.test_client_server (14487 ms)
[----------] 1 test from TestNamespaceFixture (14487 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (14487 ms total)
[ PASSED ] 1 test.
[DEBUG][main][2018-04-19 18:31:45,252]
start running : test_common__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:45,252]
Running main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestCommon__rmw_zoro_cpp
[ RUN ] TestCommon__rmw_zoro_cpp.test_getenv
/home/tusimple/xinliu/ros2_ws/src/ros2/rcl/rcl/test/rcl/test_common.cpp:54: Failure
Expected: "foo"
To be equal to: std::string(env)
Which is: ""
[ FAILED ] TestCommon__rmw_zoro_cpp.test_getenv (0 ms)
[----------] 1 test from TestCommon__rmw_zoro_cpp (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestCommon__rmw_zoro_cpp.test_getenv
1 FAILED TEST
[DEBUG][main][2018-04-19 18:31:47,293]
start running : test_timer__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:47,293]
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from TestTimerFixture
[ RUN ] TestTimerFixture.test_two_timers
starting memory checking...
stopping memory checking...
[ OK ] TestTimerFixture.test_two_timers (12 ms)
[ RUN ] TestTimerFixture.test_two_timers_ready_before_timeout
starting memory checking...
stopping memory checking...
[ OK ] TestTimerFixture.test_two_timers_ready_before_timeout (7 ms)
[ RUN ] TestTimerFixture.test_timer_not_ready
starting memory checking...
stopping memory checking...
[ OK ] TestTimerFixture.test_timer_not_ready (4 ms)
[ RUN ] TestTimerFixture.test_canceled_timer
starting memory checking...
stopping memory checking...
[ OK ] TestTimerFixture.test_canceled_timer (3 ms)
[----------] 4 tests from TestTimerFixture (26 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (26 ms total)
[ PASSED ] 4 tests.
[DEBUG][main][2018-04-19 18:31:49,312]
start running : test_guard_condition__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:49,312]
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from TestGuardConditionFixture__rmw_zoro_cpp
[ RUN ] TestGuardConditionFixture__rmw_zoro_cpp.test_rcl_guard_condition_accessors
starting memory checking...
stopping memory checking...
starting memory checking...
stopping memory checking...
starting memory checking...
stopping memory checking...
[ OK ] TestGuardConditionFixture__rmw_zoro_cpp.test_rcl_guard_condition_accessors (4 ms)
[ RUN ] TestGuardConditionFixture__rmw_zoro_cpp.test_rcl_guard_condition_life_cycle
starting memory checking...
stopping memory checking...
[ OK ] TestGuardConditionFixture__rmw_zoro_cpp.test_rcl_guard_condition_life_cycle (0 ms)
[----------] 2 tests from TestGuardConditionFixture__rmw_zoro_cpp (4 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (4 ms total)
[ PASSED ] 2 tests.
[ERROR][main][2018-04-19 18:31:49,312]
[rcutils|error_handling.c:109] failed to allocate memory for the error state struct
[DEBUG][main][2018-04-19 18:31:52,765]
start running : test_publisher__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:52,765]
Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from TestPublisherFixture__rmw_zoro_cpp
[ RUN ] TestPublisherFixture__rmw_zoro_cpp.test_publisher_nominal
starting memory checking...
stopping memory checking...
[ OK ] TestPublisherFixture__rmw_zoro_cpp.test_publisher_nominal (482 ms)
[ RUN ] TestPublisherFixture__rmw_zoro_cpp.test_publisher_nominal_string
starting memory checking...
stopping memory checking...
[ OK ] TestPublisherFixture__rmw_zoro_cpp.test_publisher_nominal_string (474 ms)
[ RUN ] TestPublisherFixture__rmw_zoro_cpp.test_publisher_init_fini
starting memory checking...
stopping memory checking...
[ OK ] TestPublisherFixture__rmw_zoro_cpp.test_publisher_init_fini (474 ms)
[----------] 3 tests from TestPublisherFixture__rmw_zoro_cpp (1430 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (1430 ms total)
[ PASSED ] 3 tests.
[ERROR][main][2018-04-19 18:31:52,765]
>>> [rcutils|error_handling.c:155] rcutils_set_error_state()
This error state is being overwritten:
'publisher argument is null, at /home/tusimple/xinliu/ros2_ws/src/ros2/rcl/rcl/src/rcl/publisher.c:256'
with this new error message:
'publisher implementation is invalid, at /home/tusimple/xinliu/ros2_ws/src/ros2/rcl/rcl/src/rcl/publisher.c:258'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[rcutils|error_handling.c:109] failed to allocate memory for the error state struct
[DEBUG][main][2018-04-19 18:31:55,801]
start running : test_get_node_names__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:55,801]
Running main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestGetNodeNames__rmw_zoro_cpp
[ RUN ] TestGetNodeNames__rmw_zoro_cpp.test_rcl_get_node_names
starting memory checking...
stopping memory checking...
[ OK ] TestGetNodeNames__rmw_zoro_cpp.test_rcl_get_node_names (1019 ms)
[----------] 1 test from TestGetNodeNames__rmw_zoro_cpp (1019 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1019 ms total)
[ PASSED ] 1 test.
[DEBUG][main][2018-04-19 18:31:57,888]
start running : test_wait__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:57,889]
Running main() from gtest_main.cc
[==========] Running 9 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 9 tests from WaitSetTestFixture__rmw_zoro_cpp
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.test_resize_to_zero
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.test_resize_to_zero (4 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.finite_timeout
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.finite_timeout (10 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.negative_timeout
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.negative_timeout (11 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.zero_timeout
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.zero_timeout (0 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.zero_timeout_triggered_guard_condition
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.zero_timeout_triggered_guard_condition (0 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.canceled_timer
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.canceled_timer (10 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.excess_capacity
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.excess_capacity (0 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.multi_wait_set_threaded
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.multi_wait_set_threaded (24 ms)
[ RUN ] WaitSetTestFixture__rmw_zoro_cpp.guard_condition
[ OK ] WaitSetTestFixture__rmw_zoro_cpp.guard_condition (10 ms)
[----------] 9 tests from WaitSetTestFixture__rmw_zoro_cpp (70 ms total)
[----------] Global test environment tear-down
[==========] 9 tests from 1 test case ran. (70 ms total)
[ PASSED ] 9 tests.
[DEBUG][main][2018-04-19 18:31:59,904]
start running : test_time__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:31:59,904]
Running main() from gtest_main.cc
[==========] Running 7 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from TestTimeFixture__rmw_zoro_cpp
[ RUN ] TestTimeFixture__rmw_zoro_cpp.test_rcl_ros_time_set_override
starting memory checking...
stopping memory checking...
[ OK ] TestTimeFixture__rmw_zoro_cpp.test_rcl_ros_time_set_override (0 ms)
[ RUN ] TestTimeFixture__rmw_zoro_cpp.test_rcl_init_for_clock_and_point
starting memory checking...
stopping memory checking...
[ OK ] TestTimeFixture__rmw_zoro_cpp.test_rcl_init_for_clock_and_point (0 ms)
[----------] 2 tests from TestTimeFixture__rmw_zoro_cpp (0 ms total)
[----------] 5 tests from rcl_time__rmw_zoro_cpp
[ RUN ] rcl_time__rmw_zoro_cpp.clock_validation
[ OK ] rcl_time__rmw_zoro_cpp.clock_validation (0 ms)
[ RUN ] rcl_time__rmw_zoro_cpp.default_clock_instanciation
[ OK ] rcl_time__rmw_zoro_cpp.default_clock_instanciation (0 ms)
[ RUN ] rcl_time__rmw_zoro_cpp.specific_clock_instantiation
[ OK ] rcl_time__rmw_zoro_cpp.specific_clock_instantiation (0 ms)
[ RUN ] rcl_time__rmw_zoro_cpp.rcl_time_difference
[ OK ] rcl_time__rmw_zoro_cpp.rcl_time_difference (0 ms)
[ RUN ] rcl_time__rmw_zoro_cpp.rcl_time_update_callbacks
[ OK ] rcl_time__rmw_zoro_cpp.rcl_time_update_callbacks (0 ms)
[----------] 5 tests from rcl_time__rmw_zoro_cpp (0 ms total)
[----------] Global test environment tear-down
[==========] 7 tests from 2 test cases ran. (0 ms total)
[ PASSED ] 7 tests.
[DEBUG][main][2018-04-19 18:32:06,901]
start running : test_subscription__rmw_zoro_cpp
[DEBUG][main][2018-04-19 18:32:06,901]
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from TestSubscriptionFixture__rmw_zoro_cpp
[ RUN ] TestSubscriptionFixture__rmw_zoro_cpp.test_subscription_nominal
starting memory checking...
stopping memory checking...
[ OK ] TestSubscriptionFixture__rmw_zoro_cpp.test_subscription_nominal (2492 ms)
[ RUN ] TestSubscriptionFixture__rmw_zoro_cpp.test_subscription_nominal_string
starting memory checking...
stopping memory checking...
[ OK ] TestSubscriptionFixture__rmw_zoro_cpp.test_subscription_nominal_string (2481 ms)
[----------] 2 tests from TestSubscriptionFixture__rmw_zoro_cpp (4973 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (4973 ms total)
[ PASSED ] 2 tests.
[DEBUG][main][2018-04-19 18:32:08,903]
all test finished