[ci-scan] Test failure: CompatibleWithTest_TypeLoadException on Apple mobile CoreCLR
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with the failing test at Loader/classloader/MethodImpl/CovariantReturns/UnitTest/CompatibleWithTest_TypeLoadException/CompatibleWithTest_TypeLoadException.dll and the linked source console. Trace why the D2 call succeeds on tvOS and iOS simulator despite the invalid covariant override, then compare the affected platform behavior. Done means the test produces its expected TypeLoadException on both affected legs and passes; the issue does not identify the runtime code path responsible.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1667020
Build error leg or test failing: tvos-arm64 Release AllSubsets_CoreCLR_RuntimeTests-Loader/classloader/MethodImpl/CovariantReturns/UnitTest/CompatibleWithTest_TypeLoadException/CompatibleWithTest_TypeLoadException.dll
Pipeline: runtime-extra-platforms, definition 154, main.
Also affected: iossimulator-arm64 Release AllSubsets_CoreCLR_RuntimeTests.
Queues: osx.15.amd64.appletv.open and osx.26.arm64.open.
First build it occurred (earliest verified observation, not an established introducing build): 1653767, finished 2026-10-29T09:48:20.7818427Z.
Source build finished: 2026-11-06T09:02:57.4679438Z.
Follow-up build: 1668850, finished 2026-11-07T07:22:44.0579218Z; the same ordered failure anchors reproduce on both affected legs.
The failure was verified in nine distinct source-and-prior builds: 1653767, 1655451, 1657310, 1658360, 1659071, 1661087, 1663137, 1665174, and 1667020. Ten prior build inventories were inspected. The two older sampled inventories did not expose affected Loader consoles; this is unknown affected-test coverage, not proof of a passing test. The true origin may predate the earliest verified observation. Multiple legs within one build are counted as one occurrence.
KBE authoring guidance (ci-failure-scan)
Error Detailsis 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. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
The D2 case calls a non-overriding method on a type whose base class has an invalid covariant override. It unexpectedly succeeds instead of producing the expected TypeLoadException, and the test returns 101 instead of 100. Other cases print their expected TypeLoadExceptions; those expected exceptions are not the failure signature. No underlying product fix is established by this detection-only scan.
Run-specific timestamps and application-process prefixes are omitted below. Expected-exception output from the other cases is omitted between the D2 failure and the final assertion:
Running test: Loader/classloader/MethodImpl/CovariantReturns/UnitTest/CompatibleWithTest_TypeLoadException/CompatibleWithTest_TypeLoadException.dll
D2: call non-overriding method MD2 when base class of D2 has invalid covariant override
Unexpectedly succeeded
Test FAILED
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 100
Actual: 101
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 73
at Program.<>c__DisplayClass0_0.<<Main>$>g__TestExecutor41|42(TestFilter filter, StreamWriter tempLogSw, StreamWriter statsCsvSw)
Failed test: Loader/classloader/MethodImpl/CovariantReturns/UnitTest/CompatibleWithTest_TypeLoadException/CompatibleWithTest_TypeLoadException.dll
Error Message
{
"ErrorMessage": [
"D2: call non-overriding method MD2 when base class of D2 has invalid covariant override",
"Unexpectedly succeeded",
"Actual: 101",
"Failed test: Loader/classloader/MethodImpl/CovariantReturns/UnitTest/CompatibleWithTest_TypeLoadException/CompatibleWithTest_TypeLoadException.dll"
],
"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
All four literal elements match once, in order, in the saved source Loader console. PASS/SKIP and passed/skipped-test negative checks are empty. The same ordered anchors were verified in both affected source consoles, both follow-up consoles, and 16 consoles from eight distinct prior builds. The D2-specific diagnostic and failed-test marker distinguish this from unrelated assertions in the merged Loader work item.
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
[!NOTE]
Generated by GitHub Copilot.
Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~228 AIC · ⌖ ~14 AIC · ⊞ 33.3K · ◷
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1670305 | dotnet/runtime | Main.Main | |
| 1669782 | dotnet/runtime | Main.Main |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 2 | 2 |
- Ngôn ngữ chính
- C#
- Star
- 18.4k
- Fork
- 5.8k
- Merge trung bình
- 2 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 585
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/runtime
-
area-Host untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dotnet/runtime#137187 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ImmutableSortedSet<T>.Builder: enumerating through IEnumerable<T> doesn't throw on modification and can return wrong itemsCó thể đã có người làm @aw0lid đã nhận hôm nay. Đang mởarea-System.Collections
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
dotnet/runtime#137167 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DbTransaction.SupportsSavepoints docs say Release/ReleaseAsync are expected to throw, but they are no-ops by designCó thể đã có người làm @alaricd đã nhận 4 ngày trước. Đang mởarea-System.Transactions untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dotnet/runtime#137040 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
FileSystemGlobbing: Matcher throws ArgumentOutOfRangeException when the rootDir is the same value as the fileCó thể đã có người làm @makazeu đã nhận 5 ngày trước. Đang mởarea-Extensions-FileSystem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
dotnet/runtime#136989 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Configuration binder source generator emits unqualified List<T> when binding arrays without implicit usingsCó thể đã có người làm @makazeu đã nhận 5 ngày trước. Đang mởarea-Extensions-Configuration bug source-generator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
dotnet/runtime#136972 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của dotnet/runtime
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
JiaFeiMiao-K-Cat/DiscImageStudio#281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
area/access-management Frontend onboarding candidate :handshake:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Altinn/altinn-auth#4941 ·
Maintainer thường phản hồi trong vòng 1 ngày