-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
o, o/snapstate, tests: on classic auto-install snapd as prereq for non-essential snap install #14173
o, o/snapstate, tests: on classic auto-install snapd as prereq for non-essential snap install #14173
Conversation
342c5aa
to
65fdec5
Compare
65fdec5
to
4d79b09
Compare
96918bd
to
0612244
Compare
0612244
to
1515b80
Compare
a6badc6
to
f2e055e
Compare
# Install snaps with snaps with complex interface requirements. | ||
# Use specific revisions to pin expected behaviour. | ||
install_snaps() { | ||
snap install firefox --revision=4848 # 130.0-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe drop firefox? it's large, has many interfaces and for sure will pull in additional content snap dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can do, if its ok, will wait a bit to gather more input on what constitutes a solid check for interface "migration".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remark
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some questions inline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me! Removing the experimental feature is a good idea, yes.
5bb362b
to
b13af6b
Compare
Failures: fedora-os |
nested-ubuntu-24.04 |
|
On classic systems, auto install snapd as prerequisite for any snap that is not os, base, kernel, gadget or snapd.
Previously it was only installed on systems without core, leaving a small amount of systems with snapd deb + core - inconsistent with the majority of systems in terms of re-execution and upgrade path.
The change triggered an explosion of unit test failures. The most efficient approach for addressing this was to install snapd as part of the base test (prevents many breakages) and remove it where required (only a few places).
This mirrors the spread change: #14294
Jira: SNAPDENG-24011
This change overlaps with existing experimental feature: https://github.com/canonical/snapd/blob/master/overlord/snapstate/snapmgr.go#L1167
We should consider deprecating this in a followup.