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.
Description
test_create_cluster_force_recreate_confirmedinjumpstarter_cli_admin/create_test.pyfails intermittently across multiple branches, Python versions, and platforms (Ubuntu and macOS).When it fails, the entire
TestClusterCreationclass 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
Affected runs (sample)
Impact
Blocks the
pytestgate check. Cascade-fails 10+TestClusterCreationtests.Likely cause
Mock/fixture setup issue that manifests non-deterministically — the
mock_confirmormock_createfixture may not be properly isolated between test runs.