Skip to content

flake: TestClusterCreation::test_create_cluster_force_recreate_confirmed fails intermittently #736

Description

@raballew

Description

test_create_cluster_force_recreate_confirmed in jumpstarter_cli_admin/create_test.py fails intermittently across multiple branches, Python versions, and platforms (Ubuntu and macOS).

When it fails, the entire TestClusterCreation class cascades — 10+ tests fail because the ordered test container aborts.

Frequency

4 failures across 4 different branches in the last 7 days (May 26 – Jun 3, 2026). Most frequent flaky test in the repository.

Error

FAILED jumpstarter_cli_admin/create_test.py::TestClusterCreation::test_create_cluster_force_recreate_confirmed - AssertionError: assert 1 == 0

Affected runs (sample)

Impact

Blocks the pytest gate check. Cascade-fails 10+ TestClusterCreation tests.

Likely cause

Mock/fixture setup issue that manifests non-deterministically — the mock_confirm or mock_create fixture may not be properly isolated between test runs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions