fault tolerance of NixOS configurations switching #52
Labels
No Label
Contributions welcome
Service packaging
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SelfPrivacy/selfprivacy-nixos-config#52
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
test suites
general stock configuration test
rollback status check after a rollback
nixos-rebuild fault tolerance tests
Below activation timeouts are expected to be expressed as systemd unit
JobTimeoutAction
/JobRunningTimeoutSec
for nixos-rebuild services.runSystemRebuild
=> Nix build error/timeout => report to a UserrunSystemRebuild
=> expect nothing, but a failure reportrebootSystem
/etc/nixos
and/etc/nixos/selfprivacy/nixos-config-source
runSystemRebuild
=> bootloader update error => report to a User/boot/grub/grub.cfg
from updating (how?)runSystemRebuild
=> expect nothing, but a failure reportnew generation activation failure caused by a random service when API is not updated => rollback
runSystemRebuild
=> expect automatic rollbacknew generation activation timeout caused by a random service when API is not updated => rollback
runSystemRebuild
=> expect automatic rollbacknew generation activation failure caused by a random service when API is updated => rollback
runSystemUpgrade
with upgrade URL with new API => expect automatic rollbacknew generation activation timeout caused by a random service when API is updated => rollback
runSystemUpgrade
with upgrade URL with new API => expect automatic rollbacknew generation activation failure cased by API service failure => rollback
runSystemUpgrade
with upgrade URL with new API systemd service broken => expect automatic rollbacknew generation activation timeout cased by API service => rollback
runSystemUpgrade
with upgrade URL with new API systemd service halted => expect automatic rollbacknew generation activation failure cased by API selftest failure => rollback
runSystemUpgrade
with upgrade URL with new API not listening => expect automatic rollbacktest
runSystemRollback
runSystemRollback
rebootSystem
API fault tolerance test: random crash => reload
runSystemUpgrade
with upgrade URL with new API crashing every 10th minute => expect automatic reloadtest
runSystemUpgrade
to a major NixOS release with new APIrunSystemUpgrade
with specific upgrade URLrebootSystem
services longevity test
runSystemUpgrade
to a configuration with new APItest automatic updates?
TBD
top-level test suite
runSystemUpgrade
to a major NixOS release with new APIrunSystemRollback