Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1596986
Build error leg or test failing: iossimulator-x64 Release AllSubsets_NativeAOT-Build product
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
src/libraries/Common/tests/AppleTestRunner/AppleTestRunner.cs(24,33): error SYSLIB1064: Method 'mono_ios_append_output' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' ((learn.microsoft.com/redacted) [src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/System.Text.Json.SourceGeneration.Roslyn4.4.Tests.csproj::TargetFramework=net11.0]
src/libraries/Common/tests/AppleTestRunner/AppleTestRunner.cs(27,33): error SYSLIB1064: Method 'mono_ios_set_summary' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe' ((learn.microsoft.com/redacted) [src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/System.Text.Json.SourceGeneration.Roslyn4.4.Tests.csproj::TargetFramework=net11.0]
Build FAILED.
0 Warning(s)
4 Error(s)
The AppleTestRunner.cs test-support source fails to compile on Apple NativeAOT test legs of runtime-extra-platforms: the LibraryImport-generated mono_ios_append_output / mono_ios_set_summary P/Invoke stubs are flagged by SYSLIB1064 (the method must be marked safe/unsafe). Because this is a Build product failure, Send to Helix is skipped and the affected Apple NativeAOT legs (iossimulator, tvos, maccatalyst) never run their tests. First observed in build 1596986 (2026-09-15) and still failing in build 1598688 (2026-09-16).
Error Message
{
"ErrorMessage": "error SYSLIB1064: Method 'mono_ios_append_output' with 'LibraryImportAttribute' must be marked 'safe' or 'unsafe'",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 6 hits in failure.log
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
This issue was generated by the ci-failure-scan Copilot agentic workflow.
Generated by CI Outer-Loop Failure Scanner · opus48 · 1K AIC · ⌖ 19.8 AIC · ⊞ 19.7K · ◷
Report
| Build | Repository | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 1608148 | dotnet/runtime | Build product | Log | |
| 1608142 | dotnet/runtime | Build product | Log | |
| 1607380 | dotnet/runtime | Build product | Log | |
| 1606967 | dotnet/runtime | Build product | Log | |
| 1606021 | dotnet/runtime | Build product | Log | |
| 1606616 | dotnet/runtime | Build product | Log | |
| 1605355 | dotnet/runtime | Build product | Log | |
| 1605092 | dotnet/runtime | Build product | Log | #134331 |
| 1604910 | dotnet/runtime | Build product | Log | |
| 1604366 | dotnet/runtime | Build product | Log | |
| 1604301 | dotnet/runtime | Build product | Log | |
| 1604239 | dotnet/runtime | Build product | Log | |
| 1604117 | dotnet/runtime | Build product | Log | |
| 1604027 | dotnet/runtime | Build product | Log | |
| 1603483 | dotnet/runtime | Build product | Log | |
| 1603249 | dotnet/runtime | Build product | Log | |
| 1602810 | dotnet/runtime | Build product | Log | |
| 1602441 | dotnet/runtime | Build product | Log | |
| 1602019 | dotnet/runtime | Build product | Log | |
| 1601744 | dotnet/runtime | Build product | Log | |
| 1601683 | dotnet/runtime | Build product | Log | #133828 |
| 1601144 | dotnet/runtime | Build product | Log | |
| 1600746 | dotnet/runtime | Build product | Log | |
| 1600403 | dotnet/runtime | Build product | Log | |
| 1599622 | dotnet/runtime | Build product | Log |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 2 | 25 | 25 |
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Sep 16, 2026
Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Sep 16, 2026
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Sep 16, 2026
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.
[ci-fix] Mark Apple test runner LibraryImports safe (refs #134061) (#…
tannergooding commentedon Sep 18, 2026
@JulieLeeMSFT does #134134 need to be backported to the 11.0 branch or can this be closed?
vitek-karas commentedon Sep 21, 2026
Yes - I think it will need to be backported: #134326
[release/11.0] [ci-fix] Mark Apple test runner LibraryImports safe (r…
akoeplinger commentedon Sep 23, 2026
Fixed by #134326