-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Something is broken when build via GitHub Actions? #105
Comments
Previously errors in cleanup script were ignored, so the problem might have been unnoticed. Something prevents /dev to be unmounted and as a result (?), /mnt is not unmounted either. So we cannot optimize the image. If you disable optimize (optimize: no) it should bypass the issue. Do you have a minimal case you could share? |
https://github.com/macarooni-man/auto-mcs/actions/runs/9053474178/job/24872244608 disabling optimize doesn't appear to resolve the issue. |
@macarooni-man thank you for sharing this run. https://github.com/macarooni-man/auto-mcs/actions/runs/9053474178/job/24872244608#step:4:1 |
My bad! To clarify, before adding the option at all I was having the same issue as @pompushko. When disabling the https://github.com/macarooni-man/auto-mcs/actions/runs/9053554984/job/24872427330 |
But why it starts happening? |
Update cleanup_image script to use fuser and umount --lazy --force in last resort. Fixes #105
@pompushko This is a regression introduced in v2.6.1. with PR #104 which was a fix of bug #87. Optimize code was a little bit buggy and failed with no notice, which corrupted generated images. #104 fixes the corruption in one case but most importantly makes the build to fail if clean_image script fails as generated images were wrong in this case. Unfortunately, the clean_image script had more reasons to fail within optimize code, for example when the partition could not be properly unmounted. Thanks to @macarooni-man repository, I have been able to write a test case using Xvfb and fluxbox, and fix the problem in #106. This will be part of 2.6.2. Best way to avoid any regression (and any bug fix as well) is to stick to a given version rather than just |
Before last upgrade was fine :D
The text was updated successfully, but these errors were encountered: