Skip to content

Conversation

@alfonsosanchezbeato
Copy link
Member

We do not want to use a symlink as we do not want to rely on udev having created them at this point in the boot process. Use directly the device node that we already now. We still need to use paths for the symlinks when calling WithLegacyKeyringKeyDescriptionPaths for the descriptions in the kernel keyring, but they are not accessed because of this.

@github-actions github-actions bot added the Run only one system Only runs spread tests on one system label Dec 12, 2025
@github-actions
Copy link

github-actions bot commented Dec 12, 2025

Mon Dec 15 18:24:35 UTC 2025
The following results are from: https://github.com/canonical/snapd/actions/runs/20237884805

Failures:

Preparing:

  • openstack-ps7:arch-linux-64:
  • openstack-ps7:arch-linux-64:
  • openstack-ps7:arch-linux-64:
  • openstack-ps7:arch-linux-64:
  • openstack-ps7:arch-linux-64:
  • openstack-ps7:arch-linux-64:
  • openstack-ps7:debian-12-64:
  • openstack-ps7:debian-12-64:
  • openstack-ps7:debian-12-64:
  • openstack-ps7:debian-12-64:
  • openstack-ps7:debian-12-64:
  • openstack-ps7:debian-12-64:
  • openstack-ext-ps7:ubuntu-18.04-64:
  • openstack-ext-ps7:ubuntu-18.04-64:
  • openstack-ext-ps7:ubuntu-18.04-64:
  • openstack-ext-ps7:ubuntu-18.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-20.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-22.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ext-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-18-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-20-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-core-24-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-20.04-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-25.10-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:
  • openstack-ps7:ubuntu-24.04-64:

@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.49%. Comparing base (475d7ae) to head (5b3ac1a).

Files with missing lines Patch % Lines
secboot/secboot_sb.go 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16370      +/-   ##
==========================================
+ Coverage   77.48%   77.49%   +0.01%     
==========================================
  Files        1340     1337       -3     
  Lines      183046   183012      -34     
  Branches     2438     2438              
==========================================
- Hits       141838   141833       -5     
+ Misses      32613    32583      -30     
- Partials     8595     8596       +1     
Flag Coverage Δ
unittests 77.49% <83.33%> (+0.01%) ⬆️

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.

@alfonsosanchezbeato alfonsosanchezbeato added Run nested The PR also runs tests inluded in nested suite and removed Run only one system Only runs spread tests on one system labels Dec 13, 2025
@alfonsosanchezbeato alfonsosanchezbeato marked this pull request as ready for review December 15, 2025 00:04
@alfonsosanchezbeato
Copy link
Member Author

Spread tests are fine with this change.

We do not want to use a symlink as we do not want to rely on udev having
created them at this point in the boot process. Use directly the device node
that we already now. We still need to use paths for the symlinks when calling
WithLegacyKeyringKeyDescriptionPaths for the descriptions in the kernel
keyring, but they are not accessed because of this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Run nested The PR also runs tests inluded in nested suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants