-
Notifications
You must be signed in to change notification settings - Fork 604
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
t/core/*-single-reboot: extend to core20+, use sideload instead of refresh for robustness #13741
base: master
Are you sure you want to change the base?
t/core/*-single-reboot: extend to core20+, use sideload instead of refresh for robustness #13741
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #13741 +/- ##
=======================================
Coverage 78.90% 78.91%
=======================================
Files 1043 1043
Lines 134350 134349 -1
=======================================
+ Hits 106013 106019 +6
+ Misses 21723 21718 -5
+ Partials 6614 6612 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
7b122ef
to
255b098
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #13741 +/- ##
==========================================
+ Coverage 78.09% 78.11% +0.02%
==========================================
Files 1190 1190
Lines 158458 159184 +726
==========================================
+ Hits 123746 124353 +607
- Misses 27017 27103 +86
- Partials 7695 7728 +33
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fri Mar 21 16:31:16 UTC 2025 Failures:Preparing:
Executing:
Restoring:
|
14ca6f4
to
7e35b7c
Compare
034c65f
to
9412dcd
Compare
snap download "$core_snap" --edge | ||
unsquashfs -d base-snap "${core_snap}"_*.snap | ||
rm "${core_snap}"_* | ||
snap pack base-snap |
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.
the only purpose of repacking is to make the snap unasserted? if so would eg prinft '\0' >> core-for-repack.snap
be enough? it would change the checksum, but I think it should still be possible to use the snap file, at least my local experiments show that unsquashfs
is happy extracting it and I can still mount it
…it for system to be ready before continuing revert
Switch to a side-load approach where it's easier to control the update behaviour and use unasserted snaps on UC18 to provide consistent updates. Before sometimes the core18 base would not update due to same revision in the image and in edge. (And we could not update gadget/kernel with unasserted snaps as they were asserted in image). This also improved the complexity of the tests.
This does not touch the failover tests, i'll probably do a separate PR for those