Add a new function to find which renderer is running the process (New)#1245
Add a new function to find which renderer is running the process (New)#1245fernando79513 merged 18 commits intomainfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1245 +/- ##
==========================================
+ Coverage 44.18% 44.99% +0.81%
==========================================
Files 359 360 +1
Lines 38813 38941 +128
Branches 6581 6603 +22
==========================================
+ Hits 17148 17520 +372
+ Misses 21003 20751 -252
- Partials 662 670 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
on which renderer. Therefore, this change is going to: * add a new function to get which GPU is executing the command that could help user to make sure the renderer is not llvmpipe. * refactor some codes to make reuse easier. * add PCI ID in the log to make verify easier.
102e48c to
c50e70d
Compare
fernando79513
left a comment
There was a problem hiding this comment.
Good work there! This PR will help us a lot because the test is failing quite often.
I have added some comments that could help with the clarity of the code and make it easier to test/modify in the future.
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
2. removing _run_command 3. using run_with_timeout in the checkbox support to replace timeout command
fernando79513
left a comment
There was a problem hiding this comment.
Thanks for the changes, just some wording details to make some parts easier to understand.
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
2. add description for cmd[0]
|
@fernando79513 There is no failure and error related to my code when I run the test locally, but the github action couldn't pass. Should I rebase my branch or something else I have to do? thanks. |
|
It was not an issue of rebasing, you were patching sys.modules for all the tests: There was no need to do so. Also now, there is a |
a561ea7 to
d1ba718
Compare
|
Thanks a lot. I'll add more unit test coverage to make it pass codecov. |
) This PR adds the following test cases to check the GPU renderer on devices without an integrated GPU: - graphics/auto_glxgears - graphics/auto_glxgears_fullscreen - graphics/valid_glxgears - graphics/valid_glxgears_fullscreen These jobs use the recently introduced `prime_offload_tester.py` script (see PR #1245) They are added to nested test plans used for 24.04 LTS certification, and do not impact 22.04 or older.
Description
While testing without pci id, user couldn't know the process is running
on which renderer. Therefore, this change is going to:
The jobs.pxu and test-plan.pxu will be in another PR, and the draft jobs and test-plan that use this new function as below:
Resolved issues
Documentation
Tests
Unit test and
laptop: auto, manual
desktop: auto, manual