Bug 1979425
| Summary: | kselftest/tc-testing: u32.json failed to match | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Hangbin Liu <haliu> |
| Component: | iproute | Assignee: | Andrea Claudi <aclaudi> |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | atragler, jiji, mshi, network-qe, shuali |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | iproute-5.12.0-3.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-09 19:37:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1704655 | ||
The tc test was added in bug 1946986 Hi Hangbin, unfortunately that patch is not applied (yet) upstream, and we are pretty close to the release+ deadline, unfortunately. Would it be ok, in case it will not get merged in time, to postpone this to rhel-8.6? (In reply to Andrea Claudi from comment #3) > Hi Hangbin, unfortunately that patch is not applied (yet) upstream, and we > are pretty close to the release+ deadline, unfortunately. Would it be ok, in > case it will not get merged in time, to postpone this to rhel-8.6? It's OK for me. I can mark this failure as a known issue. Hi Mingyu, can you please consider to set itm and grant qa_ack+ on this? The fix is finally upstream and it's contained on the u32 filter code. Also, it is easy to test using kselftest as in the first comment. iproute-5.12.0-3.el8.x86_64 dnf install kernel-selftests-internal cd /usr/libexec/kselftests/tc-testing/ ./tdc.py -f tc-tests/filters/u32.json Got the output: -- ns/SubPlugin.__init__ Test afa9: Add u32 with source match Test 6aa7: Add/Replace u32 with source match and invalid indev Test bc4d: Replace valid u32 with source match and invalid indev Test 648b: Add u32 with custom hash table Test 6658: Add/Replace u32 with custom hash table and invalid handle Test 9d0a: Replace valid u32 with custom hash table and invalid handle Test 1644: Add u32 filter that links to a custom hash table Test 74c2: Add/Replace u32 filter with invalid hash table id Test 1fe6: Replace valid u32 filter with invalid hash table id Test 0692: Test u32 sample option, divisor 256 Test 2478: Test u32 sample option, divisor 16 All test results: 1..11 ok 1 afa9 - Add u32 with source match ok 2 6aa7 - Add/Replace u32 with source match and invalid indev ok 3 bc4d - Replace valid u32 with source match and invalid indev ok 4 648b - Add u32 with custom hash table ok 5 6658 - Add/Replace u32 with custom hash table and invalid handle ok 6 9d0a - Replace valid u32 with custom hash table and invalid handle ok 7 1644 - Add u32 filter that links to a custom hash table ok 8 74c2 - Add/Replace u32 filter with invalid hash table id ok 9 1fe6 - Replace valid u32 filter with invalid hash table id ok 10 0692 - Test u32 sample option, divisor 256 ok 11 2478 - Test u32 sample option, divisor 16 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (iproute bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4389 |
Description of problem: tc-testing/tc-tests/filters/u32.json 0692 and 2478 failed to match the output Version-Release number of selected component (if applicable): 4.18.0-320.el8.x86_64 How reproducible: Steps to Reproduce: 1. install related kselftest rpm 2. ./tdc.py -f tc-tests/filters/u32.json 3. Actual results: ok 8 74c2 - Add/Replace u32 filter with invalid hash table id ok 9 1fe6 - Replace valid u32 filter with invalid hash table id not ok 10 0692 - Test u32 sample option, divisor 256 Could not match regex pattern. Verify command output: filter protocol all pref 99 u32 chain 0 filter protocol all pref 99 u32 chain 0 fh 1: ht divisor 256 filter protocol all pref 99 u32 chain 0 fh 1:40:800 order 2048 key ht 1 bkt 40 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:40:801 order 2049 key ht 1 bkt 40 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:50:800 order 2048 key ht 1 bkt 50 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:50:801 order 2049 key ht 1 bkt 50 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:60:800 order 2048 key ht 1 bkt 60 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:70:800 order 2048 key ht 1 bkt 70 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:70:801 order 2049 key ht 1 bkt 70 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 800: ht divisor 1 not ok 11 2478 - Test u32 sample option, divisor 16 Could not match regex pattern. Verify command output: filter protocol all pref 99 u32 chain 0 filter protocol all pref 99 u32 chain 0 fh 1: ht divisor 256 filter protocol all pref 99 u32 chain 0 fh 1:40:800 order 2048 key ht 1 bkt 40 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:40:801 order 2049 key ht 1 bkt 40 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:40:802 order 2050 key ht 1 bkt 40 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:60:800 order 2048 key ht 1 bkt 60 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 1:70:800 order 2048 key ht 1 bkt 70 flowid 1:1 not_in_hw match 00000000/00000000 at 0 filter protocol all pref 99 u32 chain 0 fh 800: ht divisor 1 Expected results: ok 9 1fe6 - Replace valid u32 filter with invalid hash table id ok 10 0692 - Test u32 sample option, divisor 256 ok 11 2478 - Test u32 sample option, divisor 16 Additional info: https://lore.kernel.org/netdev/20210202183051.21022-1-phil@nwl.cc