ci: remove firefox before apt upgrade to avoid snap store flake#3992
ci: remove firefox before apt upgrade to avoid snap store flake#3992BsAtHome merged 1 commit intoLinuxCNC:masterfrom
Conversation
Fixes LinuxCNC#3991. Sledgehammer applied to the four ubuntu-24.04 jobs (rip-and-test, rip-rtai, rip-and-test-clang, htmldocs).
|
Is there any reason to do apt upgrade at all? I somehow expect that the github VM should be more or less up to date? |
Apparently not, considering the amount of packages pulled in at the upgrade. |
|
Wasn't sure if dropping the upgrade entirely was safe. VM age and edge cases I'm not familiar with could matter, or it might just be wasted bandwidth, but my confidence wasn't high enough to commit to that. The sledgehammer was a quick fix to take Firefox out of the snap-store path. Feel free to roll it back in #3984 and drop the upgrade altogether. I'm fine with not updating on Ubuntu stable. |
|
My target in #3984 is to go a completely different route:
I don't now if or how well this works but no other way to discover this than to try it out. This is standard practice in gitlab, but I am new to github actions. |
|
might want to look at: ROS2, Yocto, buildroot for inspiration |
Fixes #3991.
The firefox snap transition package contacts the snap store from the runner VNet during apt upgrade. When the store is slow or unreachable the upgrade step retries for ~50 minutes then fails, killing the whole job before any LinuxCNC build runs.
Removing firefox before the upgrade sidesteps the snap path. Applied to the four ubuntu-24.04 jobs that run apt upgrade. Container-based package-arch / package-indep jobs are not affected.