snapd
snapd copied to clipboard
tests: conditionally reset-failed snapd.failure.service
I've ran across a test failure caused by attempt to use systemctl to reset the failed status of a service that was not loaded due to being masked.
+ systemctl reset-failed snapd.service snapd.socket snapd.failure.service
Failed to reset failed state of unit snapd.failure.service: Unit
snapd.failure.service not loaded.
Use systemctl status as a way to check if a service is known before attempting to reset it.
I've rebased this on master to run tests with extra fixes.
I think the failures can be ignored because:
google-core:ubuntu-core-24-64:tests/main/degradedfails on binfmt-misc which is a known failure that is known and is being fixed separatelygoogle:ubuntu-20.04-64:tests/main/nvidia-files:535_serverhas been since fixed in master- code coverage job keeps failing and I don't know what that is about