Open carlossanlop opened 8 months ago
Between net9 and net8 there was a change in how we build for NativeAOT_*
lanes, introduced in https://github.com/dotnet/runtime/pull/101270. The code 137
is OOM and skipping building host looks like a probable fix for it. I am backporting the mentioned PR.
Edit: if it won't work, another PR that was optimizing this lane is: https://github.com/dotnet/runtime/pull/98939.
The initial analysis was incorrect, the issue is not purely NativeAOT-related.
linux_86_64
log build command:
/src/tests/build.sh ci os browser wasm Release -mono /p:RuntimeVariant=monointerpreter /p:LibrariesConfiguration=Release
we have only one log available from this lane. We have this older issue: https://github.com/dotnet/runtime/issues/94077 that also failed on building the managed dlls, on the line:
https://github.com/dotnet/runtime/blob/03b4c7945acfeb547eb9243f8875a3c4bb49eb9b/src/tests/build.proj#L611
It was running with restricted parallelism (/m:1
) while the log caught by this PR was running with /maxcpucount
.Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=593479 Build error leg or test failing: browser-wasm linux Release AllSubsets_Mono_RuntimeTests monointerpreter - Build Tests
Error Message
Fill the error message using step by step known issues guidance.
browser-wasm linux Release AllSubsets_Mono_RuntimeTests monointerpreter
Build tests
First, a bunch of warning messages like this:
And then a final error message:
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=593479 Error message validated:
[##[error]Exit code 137 returned from process: file name '/usr/bin/docker', arguments 'exec -i -u 1000 -w /home/cloudtest_azpcontainer
] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 3/7/2024 7:05:43 PM UTCReport
Summary