canonical / checkbox

Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
https://checkbox.readthedocs.io
GNU General Public License v3.0
33 stars 49 forks source link

Add LXD GPU passthrough tests (New) #1577

Closed pedro-avalos closed 1 week ago

pedro-avalos commented 2 weeks ago

Description

Resolved issues

Documentation

n/a

Tests

Tested locally on a laptop with NVIDIA GPU. Tested on torchtusk as well

Submission from torchtusk: https://certification.canonical.com/submissions/status/293943

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 94.90741% with 11 lines in your changes missing coverage. Please review.

Project coverage is 91.13%. Comparing base (bdf6739) to head (d08cf53). Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
providers/gpgpu/bin/gpu_passthrough.py 94.90% 10 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1577 +/- ## =========================================== + Coverage 48.03% 91.13% +43.10% =========================================== Files 371 3 -368 Lines 39850 327 -39523 Branches 6734 38 -6696 =========================================== - Hits 19140 298 -18842 + Misses 19993 28 -19965 + Partials 717 1 -716 ``` | [Flag](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | Coverage Δ | | |---|---|---| | [checkbox-ng](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [checkbox-support](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [contrib-provider-ce-oem](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-base](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-certification-client](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-certification-server](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-genio](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-gpgpu](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `91.13% <94.90%> (+7.34%)` | :arrow_up: | | [provider-iiotg](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-resource](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [provider-sru](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | | [release-tools](https://app.codecov.io/gh/canonical/checkbox/pull/1577/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pedro-avalos commented 2 weeks ago

Hm, the nvidia-persistenced.service is not starting up for the VM test.