Skip to content

Add NixOS desktop VM tests for "nixos-rebuild switch" #146809

Open

Description

@primeos

At this point it's just an idea but for quite a while I wanted to check if we could add a VM test that is based on a channel (nixos-unstable and ideally more) and runs a WM/DE (e.g. Sway) and checks if that WM/DE is still running fine after a nixos-rebuild switch to the current master revision. Any help is of course welcome (I lacked time so far).

Background: We occasionally merge problematic NixOS changes that cause issues (e.g. crashing important system services) when rebuilding the system and switching to that new generation.

E.g. (WIP):

Activity

  1. added
    0.kind: enhancement
    6.topic: nixos
    on Nov 20, 2021
  2. added
    6.topic: testing
    on Nov 21, 2021
  3. roberth commented on Nov 22, 2021

    @roberth
    Member

    We have some tests that perform nixos-rebuild switch commands, such as

    • installer
    • specialisation
    • switch-test

    Of course, more tests are welcome, as are subtests in existing service tests that test switch behavior.

    UPDATE: Made the title more specific

  4. changed the title [-]Add a NixOS VM test for "nixos-rebuild switch"[/-] [+]Add NixOS desktop VM tests for "nixos-rebuild switch"[/+] on Nov 22, 2021
  5. added
    2.status: stale
    on Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancement2.status: stale6.topic: nixos6.topic: testing

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions