Skip to content

Cassandra CI: test_abac fixtures get HTTP 500 from the management account create and DeleteTable, intermittently #610

Open

Description

@LeeroyHannigan

Summary

The cassandra-pytest job fails intermittently in tests/test_abac.py with HTTP 500 from two calls the test fixtures make: the management API's account create (POST /accounts, asserted as 201 in the account_id fixture at tests/test_abac.py:77) and DeleteTable in the test teardown. The same job passes on rerun, and the failing PRs change no Cassandra code path these calls use. The job log carries no server-side line for either 500, so the cause is not recorded.

Occurrences

PR Head Run Shape
#487 f7d9114 40066450592 (2026-10-24) cassandra-pytest, cassandra-rust and cassandra-integration red
#591 58280c9 40259502995 (2026-10-26 03:24) 3 FAILED, DeleteTable answered InternalServerError in TestOrganizationKeysAbsent; rerun passed 29 of 29
#599 98bca8e 40305483720 (2026-10-26 10:43) 69 ERROR, account create answered 500 for every class from TestResourceTagCondition onward; rerun: 8 ERROR in TestUserIdRecreate and TestTokenIssueTimeRoleSession, same 500
#409 827edb9 40324209213 (2026-10-26 12:39) 3 FAILED, DeleteTable answered InternalServerError in TestOrganizationKeysAbsent

In every run the rest of the suite passed (331 passed in the job's comprehensive step each time), and the failures sit in whichever test_abac classes ran while the server was in the failing state.

What would settle it

The job log tails only the pytest output. Capturing the server's log on failure (the extenddb serve process the job starts) would record the error the 500 wraps. Two candidates from the shape: the management account create and DeleteTable both write catalog rows through lightweight transactions on the single-node Cassandra container, and a timed-out LWT surfaces as 500 on both paths today.

Not this issue

#600 covers data-plane requests answering 500 once a DeleteTable has dropped the base data table; here the DeleteTable call itself answers 500, and the account create has no table involved.

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

    backend:cassandraRelated to the Cassandra backend specificallybugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions