Skip to content

test: daemon_sigterm_exits_while_authenticated_project_client_is_connected misses its 3s exit under heavy host load #2430

Description

@ScriptedAlchemy

tool_daemon_test::daemon_sigterm_exits_while_authenticated_project_client_is_connected (core_cli_suite) failed at tool_daemon_test.rs:1043 ("daemon should exit on SIGTERM even with a connected project client") in 1 of 6 isolated runs. The host load average was about 215 at the time. The same binary passed 12 of 12 runs at load about 80 (2.4 to 4.1 s per run), and origin/master 2cbc87c passed 8 of 8 plus 12 of 12 at load about 90. The test sends SIGTERM right after initialize, while the project open is still composing, and allows wait_for_exit(Duration::from_secs(3)).

Found while landing #2399 (unrelated change in the graph-tool owner's session-action refusal). Per AGENTS "limits are symptoms", this needs measurement of what the daemon's shutdown waits on while a project open is in flight (for example, the open's cancellation checkpoints or the owner retirement admission), not a longer bound.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions