-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
xdp-tools-1.5.7-1.el9
-
No
-
Low
-
1
-
rhel-net-core-3
-
2
-
False
-
False
-
-
No
-
NST-Core3-25W38
-
Bug Fix
-
-
Proposed
-
Unspecified
-
Unspecified
-
Unspecified
-
None
This is a clone of issue RHEL-105793 to use for version rhel-9.8
–
Original description:
What were you trying to do that didn't work?
Probe does not work w/o "-i" option.
Fix the error by adding END_OPTIONS to probe_options.
The issue was detected in our RHEL on AWS testing. I created a pr for fixing it, please review.
pr in upstream: https://github.com/xdp-project/xdp-tools/pull/518
$ sudo xdp-trafficgen probe -i ens5
Missing required option '--interface'
Usage: xdp-trafficgen [options]
Use --help (or -h) to see full option list.
What is the impact of this issue to you?
test-xdp-trafficgen.sh failed with below error.
[test_udp] FAIL
Missing required option '--interface'
Usage: xdp-trafficgen [options] <hostname>
Use --help (or -h) to see full option list.
Test test_udp exited with return code: 1
[test_tcp] FAIL
Missing required option '--interface'
Usage: xdp-trafficgen [options] <hostname>
Use --help (or -h) to see full option list.
Test test_tcp exited with return code: 1
[test_no_support] FAIL
Missing required option '--interface'
Usage: xdp-trafficgen [options] <hostname>
Use --help (or -h) to see full option list.
Test test_no_support exited with return code: 1
Please provide the package NVR for which the bug is seen:
xdp-tools-1.5.5-1.el10.aarch64
How reproducible is this bug?:
Steps to reproduce
- install xdp-tools
- "xdp-trafficgen probe -i ens5" or "xdp-trafficgen probe"
Expected results
probe command can work with or without "-i".
Actual results
probe command not work because of problem in options handling
- clones
-
RHEL-105793 xdp-trafficgen: probe command failed w/o "--interface"
-
- Integration
-
- links to
-
RHBA-2025:156980
xdp-tools update