This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2250077 - [DPDK checkup] Clearer user output when configured PackerPerSecond doesn't fit the NIC bandwidth
Summary: [DPDK checkup] Clearer user output when configured PackerPerSecond doesn't fi...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.15.0
Assignee: Petr Horáček
QA Contact: Yossi Segev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-16 14:18 UTC by Yossi Segev
Modified: 2023-12-14 16:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-14 16:14:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
DPDK checkup resources (3.62 KB, application/zip)
2023-11-16 14:18 UTC, Yossi Segev
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kiagnose kubevirt-dpdk-checkup pull 208 0 None open trex/client: Add check for trex-console failures 2023-11-20 13:11:34 UTC
Red Hat Issue Tracker   CNV-35312 0 None None None 2023-12-14 16:14:43 UTC

Description Yossi Segev 2023-11-16 14:18:09 UTC
Created attachment 1999825 [details]
DPDK checkup resources

Description of problem:
When running DPDK checkup, and using trafficGenPacketsPerSecond which doesn't fit the bandwidth of the node interface, the failure reason that is output doesn't reflect the actual failure reason from the traffic generator (trex).


Version-Release number of selected component (if applicable):
CNV 4.14.0
Traffic generator quay.io/kiagnose/kubevirt-dpdk-checkup-traffic-gen:v0.2.0


How reproducible:
100%


Steps to Reproduce:
1.
Apply the attached resources (some parameter might have to be modified to fit your cluster).
The last resource is the job resource, and once it is applied - the DPDK checkup starts executing.

2.
Wait for the job to be finished.
As the `trafficGenPacketsPerSecond` parameter in the ConfigMap is quite high, the job should fail (if it doesn't - try a higher value).

3.
Check the output configmap:
$ oc get -f 6-dpdk-checkup-configmap.yaml -o yaml
apiVersion: v1
data:
...
  status.failureReason: no packets were sent from the traffic generator
...
  status.succeeded: "false"


Actual results:
No indication to the user on why no packets were sent from the traffic generator, which require tedious debugging.


Expected results:
A clear message specifying the failure reason.


Additional info:
trex output does include a verbose output, which we should redirect to the client:

start - Port 0 : *** Expected L1 B/W: '5.376 Gbps' exceeds port line rate: '1 Gbps'
(5.376 corresponds to the 8m value that was set, in this example, for the `trafficGenPacketsPerSecond`.

Comment 1 Ram Lavi 2023-11-16 14:27:29 UTC
The error is that the command starting the trex traffic failed but the failure was not collected.
It should be collected and it should fail the checkup with the appropriate err.


Note You need to log in before you can comment on or make changes to this bug.