Skip to content

[CI triage] TimeoutStartsWithFirstTestApplication times out waiting for cancellation on Windows FullFramework #57252

Open

Description

@mmitche

Describe the bug

Failure

A dotnet test policy unit test timed out waiting for the policy to signal cancellation after the first test application started. This prevents CI from verifying when the timeout begins.

Steps to reproduce

See the historical Windows FullFramework test result. No local reproduction is known.

Expected behavior

The policy does not time out before the first application starts, then signals TestRunCancellationReason.Timeout after the configured interval while an application is active.

Actual behavior

dotnet.Tests.CommandTests.Test.TestRunPolicyTests.TimeoutStartsWithFirstTestApplication threw System.TimeoutException: The operation has timed out. at the test's wait for the cancellation signal. The exception is from the test wait, not evidence that the policy signaled a timeout.

Is this a regression?

Unknown.

Are there any workarounds?

None verified. The same build ID later had a successful pipeline check; the named test result on retry is unavailable.

dotnet --info output

Unavailable.

IDE version

N/A.

Other details

Possible cause

The test uses a real timer, so a delayed timer callback is one possibility. The retained result cannot distinguish a delayed callback from failure to arm the timer or publish cancellation; the original logs and timeline were inaccessible. The neighboring tests already use a manual clock for deterministic policy checks, but replacing the real timer here without understanding the failure could hide a timer integration problem.

Affected builds and PRs

PR PR target branch Build(s) Notes
dotnet/sdk#57222 main 1690099 failed result Windows x64 FullFramework, windows.amd64.vs2026.pre.scout.open, attempt 1; the same build ID later had a passing pipeline check.

Produced by an automated Copilot triage run.

Activity

  1. added
    untriaged
    on Nov 20, 2026
  2. locked and limited conversation to collaborators on Nov 20, 2026
  3. unlocked this conversation on Nov 20, 2026
  4. added and removed
    untriaged
    on Nov 20, 2026
  5. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    • 🏷️ Labels: Area-dotnet test Bug Test Debt (removed untriaged)
    • 💻 Assignment: @JanKrivanek | @dotnet/dotnet-testing
    • 🟩 Confidence: high - The failing test lives under test/dotnet.Tests/CommandTests/Test, which CODEOWNERS assigns to the dotnet test area.

    ➡️ Summary: A flaky dotnet test policy unit test, TimeoutStartsWithFirstTestApplication, timed out waiting for the cancellation signal on Windows FullFramework CI. Investigate whether the real timer is delayed or not armed, and consider a deterministic clock.

    Generated by 🏷️ Issue Triage for #57252 · copilot · auto (Claude Sonnet 5.5) · ~16 AIC · ⌖ ~2 AIC · ⊞ 15.5K · ◷

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions