snapd icon indicating copy to clipboard operation
snapd copied to clipboard

tests: conditionally reset-failed snapd.failure.service

Open zyga opened this issue 1 year ago • 1 comments

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.

zyga avatar Aug 13 '24 11:08 zyga

I've rebased this on master to run tests with extra fixes.

zyga avatar Sep 05 '24 09:09 zyga

I think the failures can be ignored because:

  • google-core:ubuntu-core-24-64:tests/main/degraded fails on binfmt-misc which is a known failure that is known and is being fixed separately
  • google:ubuntu-20.04-64:tests/main/nvidia-files:535_server has been since fixed in master
  • code coverage job keeps failing and I don't know what that is about

zyga avatar Sep 17 '24 08:09 zyga