Skip to content

[ci-scan] Test failure: Async2ManagedThreadId.TestThreadIdReflectsResumptionThread Assert.Equal under JIT stress #130212

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1492736
Build error leg or test failing: coreclr Pri1 Runtime Tests Run linux x64 checked - _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread

Pipeline: runtime-coreclr jitstress (definition 109, optional rolling stress pipeline), branch main. The failure reproduces across multiple stress-mode legs and persists into follow-up build 1494001.

Error Details

Under JIT stress, Async2ManagedThreadId.TestThreadIdReflectsResumptionThread fails its Assert.Equal check: the managed thread id observed after the async resumption does not match the expected value (the concrete expected/actual thread-id numbers vary from run to run, so they are excluded from the match signature):

Running test: _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 1
Actual:   11
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer)
   at Async2ManagedThreadId.TestThreadIdReflectsResumptionThreadAsync()
Failed test: _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()

Error Message

{
  "ErrorMessage": [
    "Assert.Equal() Failure: Values differ",
    "at Async2ManagedThreadId.TestThreadIdReflectsResumptionThreadAsync()"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

First build it occurred

Present in source build 1492736 and confirmed still failing across multiple legs of follow-up build 1494001. The signature is scoped to the async-resumption stack frame, which appears only on failure.

Duplicate search

Searched open and closed Known Build Error issues for Async2ManagedThreadId, TestThreadIdReflectsResumptionThread, and the assertion text: no existing KBE.


Filed by the CI outer-loop failure scanner (detection only). Mitigation — a fix PR or JIT-owner hand-off — is handled by the companion ci-failure-fix workflow, which walks open [ci-scan] KBEs.

Note

This issue was generated with the assistance of GitHub Copilot (AI). Signatures and build references were verified against public AzDO / Helix logs.

Note

🔒 Integrity filter blocked 5 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #114222 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #127541 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #117370 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #50848 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #19341 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 12.9M ·

Report

Build Repository Test Pull Request
1498487 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1496394 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1496001 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread() #130255
1494962 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494861 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494677 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494597 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494572 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494353 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494320 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()
1494227 dotnet/runtime _regression_managed_thread_id::Async2ManagedThreadId.TestThreadIdReflectsResumptionThread()

Summary

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

Metadata

Metadata

Assignees

Labels

JitStressCLR JIT issues involving JIT internal stress modesKnown Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions