Skip to content

mcpx nightly stress: e2e package hits 600s test timeout (run 43707720627) #10489

Closed

Description

@dezren39

mcpx nightly stress: e2e package hits the 600s test timeout (run 43707720627)

Observed in mcpx workflow run 43707720627 (2026-11-15, schedule, head 7d3dceb), tracked by #10487: both stress jobs (ubuntu-latest and macos-latest) failed the internal/e2e package with panic: test timed out after 10m0s (600.09s / 600.12s). At the ubuntu timeout, TestAShutdownDoesNotCutACallInFlight was in flight.

Isolated verification (2026-11-15, task 17361): that test passes standalone on Linux in 99s (go test ./internal/e2e -run TestAShutdownDoesNotCutACallInFlight -count=1), but its a_short_call subtest alone takes 91s — it is slow and timing-sensitive, so under the nightly -race -shuffle -repeat load the e2e binary's cumulative time crosses the 600s go test timeout. No deterministic failure reproduced.

The deterministic failures from the same run (workflow $f loop, envguard classification, stale environment doc, compendium manifest, macOS socket-path/workdir test bugs) are fixed in the #10487 PR; this issue tracks only the stress-timeout isolation.

Next steps for whoever picks this up:

  • Reproduce under the nightly stress flags (-race -shuffle=<seed 7550508743126527922> -count repeat) and identify which tests dominate the e2e binary's wall time.
  • Decide: raise the e2e package timeout for the stress job, split the slowest tests, or reduce the shutdown test's real-time waits (fake clock / shorter grace).
  • Do not weaken the shutdown-semantics assertions to make it faster.

Activity

  1. developing-today commented on Nov 15, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triage (task 19302, lane any-c, 2026-11-17)

    State: triaged.

    • Fresh state: issue mcpx nightly stress: e2e package hits 600s test timeout (run 43707720627) #10489 OPEN, no labels, no hard-stop labels. Sole comment is a Kaneo link — no triage of record.
    • Diagnosis of record (from the filing, task 17361's isolated verification, 2026-11-15): TestAShutdownDoesNotCutACallInFlight passes standalone in 99s but its a_short_call subtest alone takes 91s; under the nightly -race -shuffle -repeat load the e2e binary's cumulative time crosses the 600s package timeout on both stress jobs. No deterministic failure. The deterministic failures from the same run were fixed in the developing-today/code: mcpx workflow failing on main (run 43707720627) #10487 PR; this issue tracks only the stress-timeout isolation.
    • Work kind: task/ci-investigation. Priority: priority/normal (band 30 — nightly-only, diagnosed, no PR-CI block). Effort: effort/m.
    • Routing: follow-on enqueued as task 20634 (priority 30), carrying the issue's own next steps: reproduce under the nightly stress flags (seed 7550508743126527922), measure which tests dominate the e2e wall time, then implement one recorded remedy (stress-job timeout raise, slowest-test split, or reduced real-time waits) — without weakening the shutdown-semantics assertions.
    • Acceptance check for the follow-on: measured dominant-test list on the issue; e2e package completes within its timeout under the stress flags (or the new timeout shown sufficient with headroom).

    Issue stays OPEN pending task 20634.

  3. added
    task/ci-investigationQueue packet kind: investigate a CI failure
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Builder's-advocate evidence, 2026-11-17 (in-flight, from the code-j scheduled lane 05:00 session):

    • Full run: go test ./internal/e2e -count=1 -> panic: test timed out after 10m0s (shell sh_a5szf22q, crashed after 10m5s).
    • Targeted run (-run 'Test(DashboardPrintsItsLiveEndpoint|HookListsDeclaredHooks|InteractionsListsTracesAsJSON|LogsAliasShowsTheDaemonLog|ExploreStartsInATerminalAndCanQuit)$'): inspection_test.go:52: mcpx explore failed: the test harness killed mcpx at its 90s deadline: signal: killed (sh_y5wfbsfn, after 2m3s). Second targeted run failed in 41s (sh_d5k5gj2i).

    Acceptance test for this issue, as I read it: the e2e package finishes inside its deadline with the explore inspection test passing. Not yet a separate defect; filing as evidence on the existing issue.

  5. dezren39 commented on Nov 19, 2026

    @dezren39
    MemberAuthor

    Builder’s-advocate follow-through (2026-11-18): the issue was closed at 01:10Z, but the tracked acceptance is still not evidenced. The latest linked follow-on, queue task 20634, went claimed→done in 24 seconds (09:01:08–09:01:32Z), with no session binding and no served record; the issue body still lists the stress reproduction, dominant-test measurement, and within-timeout completion as next steps. I found no merged fix or passing acceptance evidence. Reopening and reviving the follow-on so the failing stress run is not treated as resolved. Acceptance: identify the dominant tests under the nightly stress flags and show the e2e package completing inside its timeout with the shutdown assertions intact.

  6. dezren39 commented on Nov 19, 2026

    @dezren39
    MemberAuthor

    Correction to my earlier follow-through (2026-11-18): I missed the existing merged fix. PR #11466 merged at 2026-11-18T01:10:17Z and explicitly closes #10489; it raises the stress timeouts to 25m/50m (within 30m/60m job limits) without changing tests/assertions, and documents the same flags. This is the accepted fix, so the issue is resolved. I briefly reopened the issue and enqueued task 20833 based on stale issue-body next steps; closing the issue again and cancelling that duplicate follow-up. Apologies for the incorrect reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

effort/mMedium: expected under 1 day of workpriority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus/triagedTriaged and routed (see agent note)status:donetask/ci-investigationQueue packet kind: investigate a CI failure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions