You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

115 lines
7.5 KiB

[03:30:18-641.696] [INFO] [1] (test_u_async_comprehensive.c:474) main() === lib Comprehensive Unit Tests ===
[03:30:18-641.758] [INFO] [1] (test_u_async_comprehensive.c:475) main() Testing race conditions, memory management, and error handling
[03:30:18-641.763] [INFO] [1] (test_u_async_comprehensive.c:144) test_basic_timers() TEST: Basic timer functionality...
[03:30:18-641.767] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-641.787] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d8ff4c0
Timer Statistics: allocated=3, freed=3, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-644.321] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-644.343] [INFO] [1] (test_u_async_comprehensive.c:172) test_basic_timers() PASS
[03:30:18-644.347] [INFO] [1] (test_u_async_comprehensive.c:177) test_timer_cancellation_races() TEST: Timer cancellation race conditions...
[03:30:18-644.350] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-644.365] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d8ff570
Timer Statistics: allocated=3, freed=3, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-654.664] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-654.691] [INFO] [1] (test_u_async_comprehensive.c:224) test_timer_cancellation_races() PASS
[03:30:18-654.695] [INFO] [1] (test_u_async_comprehensive.c:229) test_immediate_timeouts() TEST: Immediate timeout handling...
[03:30:18-654.699] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-654.713] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d9002d0
Timer Statistics: allocated=5, freed=5, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-654.726] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-654.729] [INFO] [1] (test_u_async_comprehensive.c:261) test_immediate_timeouts() PASS
[03:30:18-654.733] [INFO] [1] (test_u_async_comprehensive.c:266) test_memory_leak_detection() TEST: Memory leak detection...
[03:30:18-654.736] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-654.743] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d8ff5e0
Timer Statistics: allocated=10, freed=10, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-665.337] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-665.384] [INFO] [1] (test_u_async_comprehensive.c:293) test_memory_leak_detection() PASS
[03:30:18-665.389] [INFO] [1] (test_u_async_comprehensive.c:298) test_socket_management() TEST: Socket management efficiency...
[03:30:18-665.392] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-665.414] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d8ff790
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=10, freed=10, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-665.512] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-665.534] [INFO] [1] (test_u_async_comprehensive.c:340) test_socket_management() PASS
[03:30:18-665.538] [INFO] [1] (test_u_async_comprehensive.c:345) test_error_handling() TEST: Error injection and handling...
[03:30:18-665.541] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-665.549] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
[03:30:18-665.553] [ERROR] [1024] (u_async.c:410) uasync_cancel_timeout() uasync_cancel_timeout: invalid parameters ua=(nil), t_id=(nil), heap=(nil)
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d900430
Timer Statistics: allocated=1, freed=1, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-666.638] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-666.652] [INFO] [1] (test_u_async_comprehensive.c:375) test_error_handling() PASS
[03:30:18-666.656] [INFO] [1] (test_u_async_comprehensive.c:380) test_concurrent_operations() TEST: Concurrent operations stress test...
[03:30:18-666.659] [INFO] [8192] (socket_compat.c:54) socket_platform_init() POSIX socket subsystem ready
[03:30:18-666.669] [INFO] [1] (u_async.c:930) uasync_create() Using epoll for socket monitoring
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x55561d8ff800
Timer Statistics: allocated=10, freed=2, active=8
Socket Statistics: allocated=2, freed=2, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[03:30:18-666.786] [ERROR] [32] (u_async.c:1007) uasync_destroy() Memory leaks detected before cleanup: timers 10/2, sockets 2/2
[03:30:18-666.790] [ERROR] [1024] (u_async.c:1009) uasync_destroy() Timer leak: allocated=10, freed=2, diff=8
[03:30:18-666.793] [ERROR] [1024] (u_async.c:1012) uasync_destroy() Socket leak: allocated=2, freed=2, diff=0
[03:30:18-666.801] [INFO] [8192] (socket_compat.c:60) socket_platform_cleanup() POSIX socket cleanup completed
[03:30:18-666.804] [INFO] [1] (test_u_async_comprehensive.c:465) test_concurrent_operations() PASS
[03:30:18-666.807] [INFO] [1] (test_u_async_comprehensive.c:487) main() === Test Statistics ===
[03:30:18-666.810] [INFO] [1] (test_u_async_comprehensive.c:488) main() Tests run: 7
[03:30:18-666.813] [INFO] [1] (test_u_async_comprehensive.c:489) main() Tests passed: 7
[03:30:18-666.816] [INFO] [1] (test_u_async_comprehensive.c:490) main() Tests failed: 0
[03:30:18-666.819] [INFO] [1] (test_u_async_comprehensive.c:491) main() Timer callbacks: 14
[03:30:18-666.822] [INFO] [1] (test_u_async_comprehensive.c:492) main() Timer cancellations: 1
[03:30:18-666.826] [INFO] [1] (test_u_async_comprehensive.c:493) main() Immediate timeouts: 9
[03:30:18-666.829] [INFO] [1] (test_u_async_comprehensive.c:494) main() Socket events: 17
[03:30:18-666.832] [INFO] [1] (test_u_async_comprehensive.c:495) main() Race condition errors: 1
[03:30:18-666.835] [INFO] [1] (test_u_async_comprehensive.c:498) main() === Memory Leak Detection ===
[03:30:18-666.838] [INFO] [1] (test_u_async_comprehensive.c:499) main() No memory leaks detected during testing