public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* selftests/tc-testings cgroup.json test failed
@ 2023-06-07  9:54 Hangbin Liu
  2023-06-07 10:46 ` shaozhengchao
  0 siblings, 1 reply; 3+ messages in thread
From: Hangbin Liu @ 2023-06-07  9:54 UTC (permalink / raw)
  To: Zhengchao Shao; +Cc: netdev

Hi Zhengchao,

I tried run cgroup.json (and flow.json) with linux 6.3 and iproute 6.3.
But almost test failed. e.g.

All test results:

1..56
not ok 1 6273 - Add cgroup filter with cmp ematch u8/link layer and drop action
        Could not match regex pattern. Verify command output:
filter protocol ip pref 1 cgroup chain 0
filter protocol ip pref 1 cgroup chain 0 handle 0x1
        action order 1: gact action drop
         random type none pass val 0
         index 1 ref 1 bind 1


not ok 2 4721 - Add cgroup filter with cmp ematch u8/link layer with trans flag and pass action
        Could not match regex pattern. Verify command output:
filter protocol ip pref 1 cgroup chain 0
filter protocol ip pref 1 cgroup chain 0 handle 0x1
        action order 1: gact action pass
         random type none pass val 0
         index 1 ref 1 bind 1


I saw the matchPattern checks ".*cmp..." which is not exist with my tc output.

"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u8 at 0 layer 0 mask 0xff gt 10\\)",

So which tc version are you using? Am I missed something?

Thanks
Hangbin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-08  2:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07  9:54 selftests/tc-testings cgroup.json test failed Hangbin Liu
2023-06-07 10:46 ` shaozhengchao
2023-06-08  2:29   ` Hangbin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox