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.
 
 
 
 
 
 

105 lines
5.7 KiB

TEST: basic creation / free [00:57:58-573.348] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3ac930, hash_size=0
[00:57:58-573.378] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3acbe0, hash_size=16
[00:57:58-573.383] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3ac930, head=(nil), tail=(nil), count=0
[00:57:58-573.387] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3acbe0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3ac2b0
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: FIFO ordering [00:57:58-573.409] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3ad170, hash_size=0
[00:57:58-573.415] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3ad170, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3acd00
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: put_first (LIFO priority) [00:57:58-573.432] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3adc40, hash_size=0
[00:57:58-573.436] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3adc40, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3ad7b0
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: callback serial processing [00:57:58-573.455] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3ae0a0, hash_size=0
[00:57:58-573.460] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3ae0a0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3adcd0
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: wait_threshold + cancel [00:57:58-573.476] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3ae4b0, hash_size=0
[00:57:58-573.480] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:216) check_waiters() check_waiters: condition met, calling callback, count=2<=2, bytes=0<=0 (max_bytes_check=disabled)
[00:57:58-573.490] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3ae4b0, head=0x5de2ce3ad470, tail=0x5de2ce3ad3a0, count=2
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3ae130
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: size limit + hash find/remove [00:57:58-573.506] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3ae8c0, hash_size=16
[00:57:58-573.510] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3ae8c0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3ae540
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: memory_pool integration + reuse [00:57:58-573.531] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3aec70, hash_size=0
[00:57:58-573.536] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3aec70, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3ae8c0
Timer Statistics: allocated=0, freed=0, 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
PASS
TEST: stress 10k ops [00:57:58-573.565] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5de2ce3af110, hash_size=64
[00:57:58-573.941] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:62) queue_free() queue_free: freeing queue 0x5de2ce3af110, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5de2ce3aec70
Timer Statistics: allocated=0, freed=0, 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
PASS
=== SUMMARY ===
run=8 passed=8 failed=0
callbacks: queue=5 waiter=2
ops=10000 time=0.66 ms
PASS test_ll_queue (exit status: 0)