Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ilc crash while compiling System.Text.Json.SourceGeneration.Roslyn tests #91885

Closed
jkotas opened this issue Sep 11, 2023 · 10 comments
Closed

ilc crash while compiling System.Text.Json.SourceGeneration.Roslyn tests #91885

jkotas opened this issue Sep 11, 2023 · 10 comments
Labels
area-NativeAOT-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Sep 11, 2023

/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/build/Microsoft.NETCore.Native.targets(302,5): error MSB3073: The command ""/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/System.Text.Json.SourceGeneration.Roslyn4.4.Tests/Release/net9.0/native/System.Text.Json.SourceGeneration.Roslyn4.4.Tests.ilc.rsp"" exited with code 137.

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=400925
Build error leg or test failing: Build / linux-x64 Release NativeAOT_Libs
Pull request: #91831

Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "ilc.*System.Text.Json.SourceGeneration.Roslyn.*exited with code 137",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=400925
Error message validated: ilc.*System.Text.Json.SourceGeneration.Roslyn.*exited with code 137
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/11/2023 3:20:56 PM UTC

Report

Build Definition Step Name Console log Pull Request
431002 dotnet/runtime Build product Log #93176
425526 dotnet/runtime Build product Log #92864
424143 dotnet/runtime Build product Log
422615 dotnet/runtime Build product Log
422196 dotnet/runtime Build product Log
415477 dotnet/runtime Build product Log #92465
415013 dotnet/runtime Build product Log #92407
414818 dotnet/runtime Build product Log #92427
414812 dotnet/runtime Build product Log #92385

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 9
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 11, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 11, 2023
@ghost
Copy link

ghost commented Sep 11, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details
/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/build/Microsoft.NETCore.Native.targets(302,5): error MSB3073: The command ""/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/System.Text.Json.SourceGeneration.Roslyn4.4.Tests/Release/net9.0/native/System.Text.Json.SourceGeneration.Roslyn4.4.Tests.ilc.rsp"" exited with code 137.

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=400925
Build error leg or test failing: Build / linux-x64 Release NativeAOT_Libs
Pull request: #91831

Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "ilc.*System.Text.Json.SourceGeneration.Roslyn.*exited with code 137",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: jkotas
Assignees: -
Labels:

area-Infrastructure-libraries, blocking-clean-ci, Known Build Error

Milestone: -

@ghost
Copy link

ghost commented Sep 11, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/build/Microsoft.NETCore.Native.targets(302,5): error MSB3073: The command ""/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/System.Text.Json.SourceGeneration.Roslyn4.4.Tests/Release/net9.0/native/System.Text.Json.SourceGeneration.Roslyn4.4.Tests.ilc.rsp"" exited with code 137.

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=400925
Build error leg or test failing: Build / linux-x64 Release NativeAOT_Libs
Pull request: #91831

Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "ilc.*System.Text.Json.SourceGeneration.Roslyn.*exited with code 137",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: jkotas
Assignees: -
Labels:

area-Infrastructure-libraries, blocking-clean-ci, untriaged, area-NativeAOT-coreclr, Known Build Error

Milestone: -

@agocke agocke added this to the 9.0.0 milestone Sep 11, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 11, 2023
@MichalStrehovsky
Copy link
Member

ARM64 Linux and ILC is compiled with OptimizationPreference=Speed. Could be related to #86929.

@MichalStrehovsky
Copy link
Member

ARM64 Linux and ILC is compiled with OptimizationPreference=Speed. Could be related to #86929.

Ah, cross build to ARM64, not ARM64.

@jkotas
Copy link
Member Author

jkotas commented Sep 11, 2023

Also, this looks like ILC running on CoreCLR. We need dumps for crashes during the build to make a good progress on issues like this one.

@agocke
Copy link
Member

agocke commented Oct 16, 2023

This looks like an OOM kill.

@agocke agocke closed this as completed Oct 16, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 16, 2023
@jtschuster
Copy link
Member

Reopening this as I'm seeing this in CI recently and it's blocking tests from being run.

Additional context: #87078 (comment)

@jtschuster jtschuster reopened this Dec 13, 2023
@MichalStrehovsky
Copy link
Member

Reopening this as I'm seeing this in CI recently and it's blocking tests from being run.

Where do you see this? I disabled the test on Linux in #95896

@jtschuster
Copy link
Member

jtschuster commented Dec 13, 2023

I saw it in #95808 which last ran before that change was merged. Should we keep this open as the tracking issue?

@MichalStrehovsky
Copy link
Member

Ah, I saw it in #95808 which last ran before that change was merged. Should we keep this open as the tracking issue?

I don't think there's anything we can do about the test besides maybe completely disabling parallel build (I don't want to do that). It's a big test, and it's not platform specific, so we get enough coverage on Windows.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

4 participants