Re: [Patch net 08/12] selftests/tc-testing: Add a test case for CODEL with HTB parent

Victor Nogueira
2025-03-23T22:48:44Z

On 20/03/2025 20:25, Cong Wang wrote:
> Add a test case for CODEL with HTB parent to verify packet drop
> behavior when the queue becomes empty. This helps ensure proper
> notification mechanisms between qdiscs.
>
> Note this is best-effort, it is hard to play with those parameters
> perfectly to always trigger ->qlen_notify().
>
> Cc: Pedro Tammela <pctammela@mojatatu.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>

Cong, can you double check this test?
I ran all of your other tests and they all succeeded, however
this one specifically is always failing:

Test a4bd: Test CODEL with HTB parent - force packet drop with empty queue

All test results:

1..1
not ok 1 a4bd - Test CODEL with HTB parent - force packet drop with
empty queue
Could not match regex pattern. Verify command output:
qdisc codel 10: parent 1:10 limit 1p target 9us interval 999us
Sent 2884 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
count 0 lastcount 0 ldelay 11.5s drop_next 0us
maxpacket 1442 ecn_mark 0 drop_overlimit 0

cheers,
Victor