Skip to content

DRAFT: Update GPU passthrough tests (BugFix)#2136

Draft
pedro-avalos wants to merge 7 commits intomainfrom
CHECKBOX-2020-lxd-passthrough
Draft

DRAFT: Update GPU passthrough tests (BugFix)#2136
pedro-avalos wants to merge 7 commits intomainfrom
CHECKBOX-2020-lxd-passthrough

Conversation

@pedro-avalos
Copy link
Copy Markdown
Collaborator

@pedro-avalos pedro-avalos commented Oct 1, 2025

Description

  • Replaces mixbench with gpu-burn
    • mixbench is not building for newer versions of CUDA or newer architectures
    • Since the test is just for NVIDIA GPUs at the moment, we can use gpu-burn, which we already use to test the GPU without passthrough
  • Runs test once instead of re-running and taking average time
  • Added missing environ section for LXDVM passthrough job (see Add ability to customize VM specs in LXD VM GPU Passthrough test (Bugfix) #2007)

Resolved issues

Documentation

Tests

  • Updated unit tests
  • TODO: Run checkbox on lab device and add submission

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.80%. Comparing base (1c4f2c0) to head (35cb477).
⚠️ Report is 62 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2136      +/-   ##
==========================================
- Coverage   53.81%   53.80%   -0.01%     
==========================================
  Files         406      406              
  Lines       43288    43279       -9     
  Branches     7997     7996       -1     
==========================================
- Hits        23296    23287       -9     
  Misses      19179    19179              
  Partials      813      813              
Flag Coverage Δ
checkbox-support 65.31% <100.00%> (+0.02%) ⬆️
provider-gpgpu 92.85% <100.00%> (-0.29%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pedro-avalos pedro-avalos force-pushed the CHECKBOX-2020-lxd-passthrough branch from ec8f190 to 003889a Compare October 1, 2025 19:56
@pedro-avalos pedro-avalos force-pushed the CHECKBOX-2020-lxd-passthrough branch 3 times, most recently from c77c3dc to 7dc1e40 Compare October 15, 2025 19:17
@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in a week.

@github-actions github-actions bot added Stale and removed Stale labels Dec 15, 2025
the mixbench program is less so a stress test and more an informational program that stresses at different levels depending on the GPU resources. Running it once and succeeding should be enough.
mixbench is not compiling for newer versions of CUDA
these env vars are irrelevant to the container test
@pedro-avalos pedro-avalos force-pushed the CHECKBOX-2020-lxd-passthrough branch from 7dc1e40 to a8ff260 Compare December 17, 2025 21:15
@pedro-avalos pedro-avalos force-pushed the CHECKBOX-2020-lxd-passthrough branch from 7a25674 to 278514e Compare December 17, 2025 21:26
@pedro-avalos pedro-avalos force-pushed the CHECKBOX-2020-lxd-passthrough branch from 1456c32 to 35cb477 Compare December 18, 2025 20:48
@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in a week.

@github-actions github-actions bot added Stale and removed Stale labels Feb 17, 2026
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.

1 participant