Sample failure log: https://dev.azure.com/dnceng-public/public/_build/results?buildId=937252&view=logs&j=6a7e26fa-36e7-5a45-28af-dc6c8e6724e6&t=089ef86b-599a-543a-2c8c-82b31601e3ec
ILC: /__w/1/s/src/coreclr/jit/fginline.cpp:1888
ILC: Assertion failed 'argInfo.argIsUsed == false' in 'System.Threading.Tasks.Tests.ParallelForTests+MyPartitioner`1[System.__Canon]:GetDynamicPartitions():System.Collections.Generic.IEnumerable`1[System.__Canon]:this' during 'Morph - Inlining' (IL size 23; hash 0x3ce6bc1d; FullOpts)
/__w/1/s/artifacts/bin/coreclr/linux.x64.Checked/build/Microsoft.NETCore.Native.targets(316,5): error MSB3073: The command ""/__w/1/s/artifacts/bin/coreclr/linux.x64.Checked/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/System.Threading.Tasks.Parallel.Tests/Release/net10.0/native/System.Threading.Tasks.Parallel.Tests.ilc.rsp"" exited with code 134. [/__w/1/s/src/libraries/System.Threading.Tasks.Parallel/tests/System.Threading.Tasks.Parallel.Tests.csproj]
This is failing in native AOT OptimizationPreference=Speed runs on both Windows and Linux. I.e. you need to add /p:OptimizationPreference=Speed to the build command line, in addition to /p:TestNativeAot=true.
This started failing sometime between ad7b829 (last good run) and 6f221b4 (first bad run).
Sample failure log: https://dev.azure.com/dnceng-public/public/_build/results?buildId=937252&view=logs&j=6a7e26fa-36e7-5a45-28af-dc6c8e6724e6&t=089ef86b-599a-543a-2c8c-82b31601e3ec
This is failing in native AOT
OptimizationPreference=Speedruns on both Windows and Linux. I.e. you need to add/p:OptimizationPreference=Speedto the build command line, in addition to/p:TestNativeAot=true.This started failing sometime between ad7b829 (last good run) and 6f221b4 (first bad run).