Skip to content

tests: fix nvidia-driver:535 on ubuntu 22.04 and 24.04 - #17399

Merged
sergiocazzolato merged 2 commits into
canonical:masterfrom
sergiocazzolato:tests-fix-nvidia-files-535-on-jammy
Jul 23, 2026
Merged

tests: fix nvidia-driver:535 on ubuntu 22.04 and 24.04#17399
sergiocazzolato merged 2 commits into
canonical:masterfrom
sergiocazzolato:tests-fix-nvidia-files-535-on-jammy

Conversation

@sergiocazzolato

@sergiocazzolato sergiocazzolato commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

I see apt-cache show nvidia-driver-535 now reports a transitional metapackage on 22.04 and 24.04.

The test expects every known transitional package to already be listed in skip[...].

ubuntu-22.04-64/535 was missing, so we saw an unbound-variable failure in tests executions.

This is an example of the error:

+ echo 'Transitional driver is in use, expecting: skip["ubuntu-22.04-64/535"]="transitional-driver"'
Transitional driver is in use, expecting: skip["ubuntu-22.04-64/535"]="transitional-driver"
/bin/bash: line 186: skip[$combi_key]: unbound variable

I see apt-cache show nvidia-driver-535 now reports a transitional
metapackage on 22.04. The test expects every known transitional package
to already be listed in skip[...].
ubuntu-22.04-64/535 was missing, so we saw an unbound-variable failure
in tests executions.
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.94%. Comparing base (89c2bd8) to head (9b98f8f).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #17399      +/-   ##
==========================================
+ Coverage   78.86%   78.94%   +0.07%     
==========================================
  Files        1403     1392      -11     
  Lines      196311   195984     -327     
  Branches     2462     2462              
==========================================
- Hits       154829   154722     -107     
+ Misses      32190    31983     -207     
+ Partials     9292     9279      -13     
Flag Coverage Δ
unittests 78.94% <ø> (+0.07%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

Thu Jul 23 15:39:55 UTC 2026
The following results are from: https://github.com/canonical/snapd/actions/runs/30015974584

No spread failures reported

Skipped tests from snapd-testing-skip

If you wish to have any of the below tests run in your PR, in your PR description, add 'unskip:' followed by a copy-and-pasted list of the below tests you wish to run (unskip plus test list must be valid yaml)

  • garden:ubuntu-25.10-64:tests/main/apparmor-prompting-support

@sergiocazzolato sergiocazzolato changed the title tests: fix nvidia-driver:535 on ubuntu 22.04 tests: fix nvidia-driver:535 on ubuntu 22.04 and 24.04 Jul 23, 2026
@sergiocazzolato sergiocazzolato added this to the 2.77 milestone Jul 23, 2026

@bboozzoo bboozzoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@github-actions github-actions Bot added the Auto rerun spread Auto reruns spread up to 4 times in non-draft PRs w/ >=1 approval and <20 fails in any fund. system label Jul 23, 2026

@olivercalder olivercalder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@sergiocazzolato
sergiocazzolato merged commit ff400ce into canonical:master Jul 23, 2026
321 of 326 checks passed
@sergiocazzolato
sergiocazzolato deleted the tests-fix-nvidia-files-535-on-jammy branch July 23, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto rerun spread Auto reruns spread up to 4 times in non-draft PRs w/ >=1 approval and <20 fails in any fund. system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants