Skip to content

[Known Build Error] ProcessLifecycleTests intermittently fail on Linux Helix (signal marker / timing) #57321

In progress

Description

@davidwrighton

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1692655
Build error leg or test failing: Microsoft.DotNet.Cli.Utils.Tests.dll.3 (Linux x64 - ubuntu.2204.amd64.open), Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.*
Pull request: N/A (main). Also seen on #57255, #57192 and #57196.

Error Message

Since #56332 ("Plumb cancellation through CLI commands and add phased shutdown") merged on 2026-11-19, the tests in ProcessLifecycleTests have failed intermittently on Linux x64 Helix. Different tests fail in different runs, in two modes:

  1. Signal marker never written (about 30s wait):
    Expected boolean to be True because the child process should write 'forwarded' to the signal marker, but found False.
    Also seen with 'signal-cancelled' and 'forceful-cancelled'.
  2. Timing bound exceeded:
    Expected time to be less than 1s and 500ms, but found 6s, 243ms and 659.1µs.
    Expected time to be less than 1s, but found 8s, 233ms and 475.6µs.
Build Branch Failed tests
1692655 main LifecycleSigTermExitCodeIsNotReplacedByReapedChild
1691721 PR 57196 SigTermIsForwardedToReapedChild
1692807 PR 57255 SigIntForcesTerminationAfterSoftCancellationTimeout, ManagedCliWaitsForSecondSigIntBeforeTerminatingExternalCommand
1693841 PR 57192 SigIntForcesTerminationAfterSoftCancellationTimeout, ManagedCliWaitsForSecondSigIntBeforeTerminatingExternalCommand
1694244 PR 57192 SigIntAllowsCooperativeCancellation, SigIntForcesTerminationAfterSoftCancellationTimeout, SoftCancellationTimeoutAllowsForcefulCancellationToComplete, SecondSigIntBypassesSoftCancellationTimeoutOverride
1694963 PR 57313 LifecycleSigTermExitCodeIsNotReplacedByReapedChild

The failures are unrelated to the changes in those PRs.

Related:

No fix is in progress as of 2026-11-23. Possible directions: relax the wall-clock bounds for loaded Helix machines, and make the marker wait robust against signal-delivery races.

{
  "ErrorMessage": "",
  "ErrorPattern": "should write '[a-z-]+' to the signal marker, but found False|Expected time to be less than 1s( and 500ms)?, but found",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Note

This issue was drafted with GitHub Copilot.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1692655
Error message validated: [should write '[a-z-]+' to the signal marker, but found False|Expected time to be less than 1s( and 500ms)?, but found]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/23/2026 6:09:45 PM UTC

Report

Build Repository Test Pull Request
1695674 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SigIntForcesTerminationAfterSoftCancellationTimeout #57190
1697672 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SoftCancellationTimeoutAllowsForcefulCancellationToComplete
1697615 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SoftCancellationTimeoutAllowsForcefulCancellationToComplete #56919
1697217 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.RepeatedConsoleCtrlCTerminatesAnUncooperativeProcess #56837
1696733 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SigIntAllowsCooperativeCancellation #57087
1696262 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SigIntForcesTerminationAfterSoftCancellationTimeout #57192
1696100 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SigIntAllowsCooperativeCancellation
1695381 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SigTermIsForwardedToReapedChild #56837
1694244 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SoftCancellationTimeoutAllowsForcefulCancellationToComplete #57192
1692807 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.SigIntForcesTerminationAfterSoftCancellationTimeout #57255
1692655 dotnet/sdk Microsoft.DotNet.Cli.Utils.Tests.ProcessLifecycleTests.LifecycleSigTermExitCodeIsNotReplacedByReapedChild

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 11 11

Activity

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

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    Similar issues: #57316 (potentially related)

    ➡️ Summary: ProcessLifecycleTests intermittently fail on Linux Helix with missing signal markers or exceeded timing bounds since #56332. Stabilize the tests by relaxing timing bounds and hardening signal waits.

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

  6. removed
    needs team triage
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions