[ci-scan] Test failure: JIT assert 'Missing BBF_PROF_WEIGHT flag' during async transform (libraries-jitstress)
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
## Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1594534
Build error leg or test failing: linux-x64 Release Libraries_Release_CoreCLR-Microsoft.Extensions.DependencyInjection.Tests
KBE authoring guidance (ci-failure-scan)
- `Error Details` is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
- Build Analysis parses only the single JSON block under `Error Message`.
- `ErrorMessage` is a case-sensitive ordinal `String.Contains` substring copied verbatim from the failing log.
- Set `BuildRetry` to `true` only for a clear infrastructure retry case. `ExcludeConsoleLog` disables Helix console-log scanning.
## Error Details
The JIT hits an assertion during `Transform async` (physical promotion / async transform) while compiling `ServiceProviderEngineScope:DisposeAsync()`, aborting the test process with SIGABRT (exit code 134). Observed on the `runtime-coreclr libraries-jitstress` pipeline across multiple legs (linux-x64, linux-arm64; Windows legs show the matching `0xC0000409` fail-fast). Multiple test assemblies in the leg (`Microsoft.Extensions.DependencyInjection.Tests`, `System.Private.Xml.Tests`, `System.Xml.Linq.Misc.Tests`) crash on the same assert. First observed in build 1590447 (finished 2026-09-10); still reproduces in follow-up build 1595201 (finished 2026-09-14).
```
Assert failure(PID 14960 [0x00003a70], Thread: 14974 [0x3a7e]): Assertion failed '!"Missing BBF_PROF_WEIGHT flag"' in 'Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope:DisposeAsync():this' during 'Transform async' (IL size 163; hash 0x1af815f2; Instrumented Tier0)
./RunTests.sh: line 177: 14960 Aborted (core dumped) "$RUNTIME_PATH/dotnet" exec ... xunit.console.dll Microsoft.Extensions.DependencyInjection.Tests.dll ...
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.
```
## Error Message
```json
{
"ErrorMessage": "Assertion failed '!\"Missing BBF_PROF_WEIGHT flag\"'",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```
Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
---
Filed by [`ci-failure-scan`](https://github.com/dotnet/runtime/blob/main/.github/workflows/ci-failure-scan.md) (detection only). [`ci-failure-fix`](https://github.com/dotnet/runtime/blob/main/.github/workflows/ci-failure-fix.md) walks open `[ci-scan]` KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
> Generated by [CI Outer-Loop Failure Scanner](https://github.com/dotnet/runtime/actions/runs/34845246760) · opus48 · 996.1 AIC · ⌖ 13.1 AIC · ⊞ 19.7K · [◷](https://github.com/search?q=repo%3Adotnet%2Fruntime+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Fruntime%2Fci-failure-scan%22&type=issues)
### Report
|Build|Repository|Test|Pull Request|
|---|---|---|---|
|[1590447](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1590447)|dotnet/runtime|[System.Xml.Linq.Misc.Tests.WorkItemExecution](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1590447&view=ms.vss-test-web.build-test-results-tab&runId=43905034&resultId=100002)||
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|1|1|
Contributor guide
Assessment
This issue has not been assessed yet.