Skip to content

nixosTests.cosmic-autologin: fix flaky test #597103

Backlog

Description

@a-kenji

The cosmic-autologin nixos test has been flaky for a while, the most recent one here: #597085 (comment).

logs:

16:00:36Z [ERROR] [L:199] The polkit authentication test failed
16:00:36Z [INFO] [L:213] ================================================================================
16:00:36Z [INFO] [L:214] Performing test to launch GUI applications
16:00:36Z [INFO] [L:242] Running: ['cosmic-edit']
16:00:39Z [INFO] [L:279] The GUI application test for 'cosmic-edit' (com.system76.CosmicEdit) passed
16:00:39Z [INFO] [L:242] Running: ['cosmic-files']
16:00:43Z [INFO] [L:279] The GUI application test for 'cosmic-files' (com.system76.CosmicFiles) passed
16:00:43Z [INFO] [L:242] Running: ['cosmic-player']
16:00:48Z [INFO] [L:279] The GUI application test for 'cosmic-player' (com.system76.CosmicPlayer) passed
16:00:48Z [INFO] [L:242] Running: ['cosmic-reader', '/nix/store/hg2qwqk0hab65xdcx4b6lkr4ifj7l6i1-empty-pdf']
16:00:51Z [INFO] [L:279] The GUI application test for 'cosmic-reader' (com.system76.CosmicReader) passed
16:00:51Z [INFO] [L:242] Running: ['cosmic-settings']
16:00:59Z [INFO] [L:279] The GUI application test for 'cosmic-settings' (com.system76.CosmicSettings) passed
16:00:59Z [INFO] [L:242] Running: ['cosmic-store']
16:01:02Z [INFO] [L:279] The GUI application test for 'cosmic-store' (com.system76.CosmicStore) passed
16:01:02Z [INFO] [L:242] Running: ['cosmic-term']
16:01:05Z [INFO] [L:279] The GUI application test for 'cosmic-term' (com.system76.CosmicTerm) passed

[118.53s] cleanup
[118.53s] (finished: cleanup, in 0.00 seconds)

It seems to be a polkit related timing issue.

Activity

  1. added
    6.topic: COSMIC
    on Dec 3, 2026
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

    6.topic: COSMIC

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions