Skip to content

[tvOS] Invalid IL when compiling System.Net.Http.Json.Functional.Tests #118576

@matouskozak

Description

@matouskozak

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1116605
Build error leg or test failing: System.Net.Http.Json.Functional.Tests
Commit range: fdf73d8...b622b6b

"/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/xunit.runner.utility.netcoreapp10.dll" "/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/aot-instances.dll"
  
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error : Precompiling failed for /tmp/helix/working/C7260AEC/w/B14F0921/e/publish/aot-instances.dll with exit code 134. [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error : Unable to compile method 'System.Threading.Tasks.Task`1<int> SimpleTestRunner:Main (string[])' due to: 'Invalid IL code in SimpleTestRunner:Main (string[]): IL_0000: ret        [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error :  assembly:<unknown assembly> type:<unknown type> member:(null)'. [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error : Unable to compile method 'System.Collections.Generic.IEnumerable`1<Microsoft.DotNet.XHarness.TestRunners.Common.TestAssemblyInfo> SimpleTestRunner:GetTestAssemblies ()' due to: 'Invalid IL code in SimpleTestRunner:GetTestAssemblies (): IL_0000: ret        [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error :  assembly:<unknown assembly> type:<unknown type> member:(null)'. [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error : Unable to compile method 'System.Nullable`1<int> SimpleTestRunner:get_MaxParallelThreads ()' due to: 'Invalid IL code in SimpleTestRunner:get_MaxParallelThreads (): IL_0000: ret        [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error :  assembly:<unknown assembly> type:<unknown type> member:(null)'. [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error : Unable to compile method 'Microsoft.DotNet.XHarness.TestRunners.Common.IDevice SimpleTestRunner:get_Device ()' due to: 'Invalid IL code in SimpleTestRunner:get_Device (): IL_0000: ret        [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error :  assembly:<unknown assembly> type:<unknown type> member:(null)'. [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error : Unable to compile method 'string SimpleTestRunner:get_IgnoreFilesDirectory ()' due to: 'Invalid IL code in SimpleTestRunner:get_IgnoreFilesDirectory (): IL_0000: ret        [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/C7260AEC/p/build/apple/AppleBuild.targets(255,5): error :  assembly:<unknown assembly> type:<unknown type> member:(null)'. [/private/tmp/helix/working/C7260AEC/w/B14F0921/e/publish/ProxyProjectForAOTOnHelix.proj]
...

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": [
      "AppleBuild.targets(255,5): error : Unable to compile method 'System.Threading.Tasks.Task",
      "IL_0000: ret"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1116605
Error message validated: [AppleBuild.targets(255,5): error : Unable to compile method 'System.Threading.Tasks.Task IL_0000: ret]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/11/2025 12:16:28 PM UTC

Report

Build Definition Test Pull Request
1122117 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution #118611
1121801 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution
1121266 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution
1121056 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution #118628
1120952 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution #118628
1120869 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution
1120857 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution #118611
1120069 dotnet/runtime System.Net.Http.Json.Functional.Tests.WorkItemExecution #118622
1119458 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution #118523
1117650 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution #118523
1119240 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution
1116605 dotnet/runtime System.Net.Http.Json.Unit.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 12 12

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Httpblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-tvosApple tvOS

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions