Skip to content

[ci-scan] Test failure: System.Diagnostics.Tests.StackTraceTests.ToString_Async #131123

Description

@github-actions

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection results could not be parsed.

Review the workflow run logs for details.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1514774
Build error leg or test failing: runtime-libraries-interpreter (def 330) — linux-x64 / osx-arm64 Release — System.Diagnostics.StackTrace.Tests: System.Diagnostics.Tests.StackTraceTests.ToString_Async

Error Details

Under the interpreter, async stack-trace frames are emitted with incorrect source line numbers (:line 1 / :line 3 instead of the real source lines), so ToString_Async cannot match its expected pattern requiring ...ThrowsSoonValueTaskSource...:line 4. The failure reproduces in source build 1514774 and its follow-up build 1517739. This is distinct in scope from the mobile stack-trace tracker #124087 (Android / iOS CoreCLR); this signature is the interpreter configuration and no existing Known Build Error was found for it.

System.Diagnostics.Tests.StackTraceTests.ToString_Async(...) [FAIL]
  Could not find expected pattern 'V2Methods\.ThrowsSoonValueTaskSource\(\).*ThrowsSoonValueTaskSource.*\.cs:line 4' in exception text:
  System.Exception: Exception from ThrowsSoonValueTaskSourceImpl
     at System.Diagnostics.V2Methods.ThrowsSoonValueTaskSourceImpl.GetResult(Int16 token) in /_/src/libraries/System.Diagnostics.StackTrace/tests/ThrowsSoonValueTaskSourceImpl.cs:line 1
     at System.Diagnostics.V2Methods.ThrowsSoonValueTaskSource() in /_/src/libraries/System.Diagnostics.StackTrace/tests/ThrowsSoonValueTaskSource.cs:line 3
     at System.Diagnostics.Tests.StackTraceTests.ToString_Async(...) in /_/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs:line 766 starting at index 246.

Error Message

{
  "ErrorMessage": [
    "System.Diagnostics.Tests.StackTraceTests.ToString_Async",
    "Could not find expected pattern 'V2Methods\\.ThrowsSoonValueTaskSource"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments to loop in owners — it never disables the test.

Note

This issue was generated by the automated ci-failure-scan GitHub Copilot workflow.

Generated by CI Outer-Loop Failure Scanner · 537.2 AIC · ⊞ 19.5K ·

Report

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions