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

[mono] MiniJIT System.Formats.Nrbf.Tests getting killed #108515

Closed
matouskozak opened this issue Oct 3, 2024 · 3 comments
Closed

[mono] MiniJIT System.Formats.Nrbf.Tests getting killed #108515

matouskozak opened this issue Oct 3, 2024 · 3 comments
Labels
arch-x64 area-Codegen-JIT-mono Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Oct 3, 2024

The System.Formats.Nrbf.Tests are getting ocassinally killed on CI. Affecting mostly MonoJIT linux_x64_release_mono_minijit_librariestests job and occasionally MonoInterpreterlinux_x64_release_mono_interpreter_librariestests.

7 failures in the last 30 days as per
image

Log:

Starting:    System.Formats.Nrbf.Tests (parallel test collections = on [2 threads], stop on fail = off)
./RunTests.sh: line 176:    21 Killed                  "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Formats.Nrbf.Tests.runtimeconfig.json --depsfile System.Formats.Nrbf.Tests.deps.json xunit.console.dll System.Formats.Nrbf.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
cat: /proc/sys/kernel/coredump_filter: No such file or directory
dmesg: read kernel buffer failed: Operation not permitted
+ export _commandExitCode=137
+ python /root/helix/work/correlation/reporter/run.py https://dev.azure.com/dnceng-public/ public 21132138 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IjdSd2F5dmlYRHFoZnN6MTZSNmxPbXNXWWxTQSJ9.eyJuYW1laWQiOiJjNzczZjJjMi01MTIwLTQyMDctYWZlMi1hZmFmMzVhOGJjMGEiLCJzY3AiOiJhcHBfdG9rZW4iLCJhdWkiOiJiMWU0ZDg3Ni0yZjIwLTQ1NjctODgyMi05OWQ0YTNhZGYxNGEiLCJzaW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/e
----- end Sun 22 Sep 2024 08:43:19 PM UTC ----- exit code 137 ----------------------------------------------------------
exit code 137 means SIGKILL Killed either due to out of memory/resources (see /var/log/messages) or by explicit kill.

Known Issue Error Message

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

{
  "ErrorMessage": ["System.Formats.Nrbf.Tests", "exit code 137 means SIGKILL Killed either due to out of memory/resources (see /var/log/messages) or by explicit kill"],
  "BuildRetry": true,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
903043 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
901507 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
900558 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
899756 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
896707 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
894750 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
892798 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
891733 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
891673 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
890967 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
889650 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
888907 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
888536 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
887945 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
887530 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
886541 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
885871 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
885426 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
885358 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
885213 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
885201 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
884679 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
883297 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
883133 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
882885 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
882128 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
881304 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution

Summary

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

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=825800
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 10/3/2024 4:08:45 PM UTC

@matouskozak matouskozak added arch-x64 untriaged New issue has not been triaged by the area owner area-Codegen-JIT-mono labels Oct 3, 2024
Copy link
Contributor

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

@lambdageek
Copy link
Member

There are some interesting "attack tests" that do things with cyclic graphs and potentially large memory usage that might be behaving pathologically on Mono. (for example due to conservative stack scanning)

https://github.com/dotnet/runtime/blob/main/src/libraries/System.Formats.Nrbf/tests/AttackTests.cs

@matouskozak matouskozak added the Known Build Error Use this to report build issues in the .NET Helix tab label Oct 3, 2024
@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Oct 7, 2024
@steveisok steveisok added this to the Future milestone Oct 7, 2024
@matouskozak
Copy link
Member Author

No longer failing. Unclear what fix it as the test was a bit flaky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x64 area-Codegen-JIT-mono Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

3 participants