Skip to contentSkip to conversation

Correctly gather linux interface logical name from lshw when a list is returned

DPDK/DTS Bug 1543 [email protected] 1 participant 1 message Sep 13, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1543

Bug ID: 1543
Summary: [DTS] [Bug] Correctly gather linux interface logical
name from lshw when a list is returned
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: DTS
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---

Noticed in a CI run(s) that in some cases a list is returned for logical names, which causes testsuite setup for scatter to break.

test_suite_setup - dts.TG 1 - INFO - Sending: 'sudo -- sh -c 'ip link set dev ['ens1f0', '/dev/fb0'] mtu 9000''

If the "correct" name we want is always at index 0, we can check if it's a list, and if it is a list, get outputlist[0].

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.