Skip to content

many: transition to using spread-plus#16813

Merged
ernestl merged 2 commits into
canonical:masterfrom
ernestl:ernestl/autoplktest-to-use-spread-plus
Mar 31, 2026
Merged

many: transition to using spread-plus#16813
ernestl merged 2 commits into
canonical:masterfrom
ernestl:ernestl/autoplktest-to-use-spread-plus

Conversation

@ernestl

@ernestl ernestl commented Mar 24, 2026

Copy link
Copy Markdown
Member

Follow up for #16812, to transition to using spread-plus for autopkgtests.

This depends on: canonical/spread-plus#81 [Done]

Install works:

go install github.com/canonical/spread-plus/cmd/spread@latest
go: downloading github.com/canonical/spread-plus v0.0.0-20260326184319-fe939dfd1695
go: downloading golang.org/x/text v0.31.0

Copilot AI 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.

Pull request overview

Transitions snapd’s autopkgtest/integration-test harness and contributor documentation to use spread-plus (module/snap) instead of the old github.com/snapcore/spread reference, aligning with the upstream module path change and the new tooling used by CI.

Changes:

  • Update autopkgtest integration scripts to go install github.com/canonical/spread-plus/cmd/spread@latest.
  • Update documentation links/references (HACKING/CONTRIBUTING/CODING) to point at github.com/canonical/spread-plus.
  • Simplify core-initrd spread installation instructions to use the spread-plus snap.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packaging/ubuntu-16.04/tests/integrationtests Switches autopkgtest spread installation to spread-plus module path.
packaging/debian-sid/tests/integrationtests Switches autopkgtest spread installation to spread-plus module path.
core-initrd/26.04/HACKING.md Updates local testing docs to install spread via snap install spread-plus.
HACKING.md Updates spread framework link to spread-plus in main contributor hacking guide.
CONTRIBUTING.md Updates spread link to spread-plus in contributor guidelines.
CODING.md Updates spread link to spread-plus in testing conventions.

Comment thread packaging/ubuntu-16.04/tests/integrationtests
Comment thread packaging/debian-sid/tests/integrationtests
Comment thread HACKING.md Outdated
the [spread](https://github.com/snapcore/spread) framework. For local testing
the [spread](https://github.com/canonical/spread-plus) framework. For local testing
you can install the `image-garden` snap that comes with pre-built releases of
upstream spread, qemu and all the support tools. Alternatively you may install

Copilot AI Mar 24, 2026

Copy link

Choose a reason for hiding this comment

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

This paragraph now links to spread-plus, but it still says image-garden ships “upstream spread”, which is ambiguous given snapd’s tests require the plus variant (as noted just below). Consider rewording to explicitly say image-garden can provide spread-plus (or the plus variant) to avoid confusing readers.

Suggested change
upstream spread, qemu and all the support tools. Alternatively you may install
spread-plus (the plus variant of spread), qemu and all the support tools. Alternatively you may install

Copilot uses AI. Check for mistakes.

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.

needs a note to pick the plus variant in image-garden: snap set image-garden spread-variant=plus

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Anyways, this note exists further down the para: additionally set ``snap set image-garden spread-variant=plus``

Comment thread core-initrd/26.04/HACKING.md
@codecov

codecov Bot commented Mar 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.55%. Comparing base (d1238e3) to head (814ed41).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16813      +/-   ##
==========================================
- Coverage   77.61%   77.55%   -0.06%     
==========================================
  Files        1356     1364       +8     
  Lines      189036   189116      +80     
  Branches     2446     2446              
==========================================
- Hits       146713   146666      -47     
- Misses      33448    33583     +135     
+ Partials     8875     8867       -8     
Flag Coverage Δ
unittests 77.55% <ø> (-0.06%) ⬇️

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.

@github-actions

github-actions Bot commented Mar 24, 2026

Copy link
Copy Markdown

Tue Mar 31 13:13:40 UTC 2026
The following results are from: https://github.com/canonical/snapd/actions/runs/23790034343

Failures:

Preparing:

  • openstack-ext:ubuntu-18.04-64:tests/nested/classic/hotplug
  • openstack-ext:ubuntu-18.04-64:tests/nested/classic/activate-state
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/hybrid-remodel
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/core20-boot-config-update:gadgetextra
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/recovery-system:no_test_or_default
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-factory-reset:nofde
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/kernel-modules-components:plain
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/base-revert-after-boot
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:zeros
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-factory-reset:fde
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-reseal
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:bad_text
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/uc-update-assets-secure:both
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-nofde-dbx
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/uc20-fde-hooks-v1
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-fault-inject
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-fault-inject-on-install:snapd_reboot_auto_connect
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/remount-hotplug
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-gadget-reseal
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-basic
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/bad-try-kernel-no-reboot
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/uc20-fde-hooks:tokens
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-set-efi-boot-vars:UBUNTUDIR_NOSEC
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-da-lockout:encrypted
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/kernel-revert-after-boot
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-degraded
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-set-efi-boot-variables
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/kernel-modules-components:encrypted
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-4k-sector-size:logical
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:bad_linux
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core-gadget-mounted
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:bad_initrd
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-fault-inject-on-install:snapd_panic_auto_connect
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:nolink
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/save-data
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:empty
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/core20-kernel-failover:crash
  • openstack-ext:ubuntu-26.04-64:tests/nested/core/coreconfig-services
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core-broken-fde-state
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-fault-inject-on-update-config:gadget_panic_command_line
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/broken-model:tpm
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/fde-auth-support-on-hybrid
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/remodel-with-components
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-boot-config-update:gadgetextra
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-4k-sector-size:physical_only
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/uc-update-command-line-secure
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/recovery-system:tested_and_default
  • openstack:ubuntu-20.04-64:tests/main/nss-modules:nis

Executing:

  • openstack-ext:ubuntu-18.04-64:tests/nested/manual/minimal-smoke:secboot_enabled
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-offline:local_and_installed_snaps
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/muinstaller-real:plain
  • openstack-ext:ubuntu-22.04-64:tests/nested/core/core20-kernel-failover:bad_linux
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/core20-cloud-init-maas-signed-seed-data:gadgetsaysmaas
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/muinstaller-oldbasenewkernel
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/core20-early-config
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/install-volume-assignment
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/install-min-size
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/muinstaller-real:plain
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/muinstaller-real:encrypted
  • openstack:ubuntu-core-18-64:tests/core/services
  • openstack:ubuntu-core-24-64:tests/main/dbus-activation-system

Restoring:

  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-offline:local_and_installed_snaps
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-20.04-64:
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/core20-cloud-init-maas-signed-seed-data:gadgetsaysmaas
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-22.04-64:
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/core20-boot-config-update:gadgetextra
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-24.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/install-min-size
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core-broken-fde-state
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-fault-inject-on-update-config:gadget_panic_command_line
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/broken-model:tpm
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/muinstaller-real:plain
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/fde-auth-support-on-hybrid
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/muinstaller-real:encrypted
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/remodel-with-components
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-boot-config-update:gadgetextra
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/core20-4k-sector-size:physical_only
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/uc-update-command-line-secure
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/recovery-system:tested_and_default
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/
  • openstack-ext:ubuntu-26.04-64:

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 (without variants) of the below tests you wish to run (unskip plus test list must be valid yaml)

  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/minimal-smoke:secboot_disabled
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/minimal-smoke:secboot_enabled
  • openstack:ubuntu-24.04-64:tests/main/i18n

Comment thread HACKING.md Outdated
Comment thread core-initrd/26.04/HACKING.md Outdated

@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.

LGTM

@zyga zyga 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.

LGTM

@ernestl ernestl force-pushed the ernestl/autoplktest-to-use-spread-plus branch from 0a03db4 to 814ed41 Compare March 31, 2026 09:21
@ernestl ernestl merged commit e3724bf into canonical:master Mar 31, 2026
23 checks passed
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.

4 participants