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

add unit test to replicate error nvidia device rename #334

Closed
wants to merge 1 commit into from

Conversation

tariq1890
Copy link
Contributor

This PR adds a unit test case to replicate the nvidia-ctk failing to create device nodes when on gpu drivers with versions >= 550.40.x

Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend adding the tests as part of #330 instead. With the workflow (in theory) being:

  1. Add a test that fails for a /proc/devices file with contents matching the 550 driver.
  2. Make the changes to support the rename of nvidia-frontend to nvidia
  3. Ensure that the test passed.

Note that this also assumes that there's already a test in place for a /proc/devices file that contains nvidia-frontend and that this continues to work.

@elezar
Copy link
Member

elezar commented Feb 13, 2024

CLosing this as the tests were added as part of #330.

@elezar elezar closed this Feb 13, 2024
@tariq1890 tariq1890 deleted the nv-device-rename-test branch March 14, 2024 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants