Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB_MODEL and USB_DEVICE do not suggest what do the variables mean #605

Open
philipandag opened this issue Nov 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@philipandag
Copy link
Contributor

philipandag commented Nov 21, 2024

Device

RTE version

OSFV version

Affected component(s) or functionality

dts-lib.robot, SUD test suite

Brief summary

USB_MODEL and USB_DEVICE names are confusing

How reproducible

100%

How to reproduce

Look at the usage of the variables

Expected behavior

The variable names should allow to determine what they should contain and/or what are used for. Otherwise it complicates defining their values when preparing platform configs.

Actual behavior

USB_DEVICE holds the name of a USB drive in Ubuntu as printed using lspci to check if it is detected
USB_MODEL holds the name of the USB drive that contains DTS as seen in the Boot menu to allow booting it.

Link to screenshots or logs

SUD002.001 USB devices detection after warm boot (Ubuntu)
(...)
    ${out}=    List Devices In Linux    usb
    Should Contain    ${out}    ${USB_DEVICE}
(...)
Boot Dasharo Tools Suite
(...)
IF    '${dts_booting_method}'=='USB'
(...)
 # Requires specifying the USB model in the platform's config
 Enter Submenu From Snapshot    ${boot_menu}    ${USB_MODEL}

Additional context

No response

Solutions you've tried

No response

@philipandag philipandag added the bug Something isn't working label Nov 21, 2024
@philipandag philipandag mentioned this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant