runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[Android][CoreCLR] System.Security.Cryptography.Tests killed by lowmemorykiller

Open jtschuster opened this issue 4 months ago • 7 comments

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1119503 Build error leg or test failing: Send to Helix

Error Message

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

{
  "ErrorMessage": "lowmemorykiller: Kill 'net.dot.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1119503 Error message validated: [lowmemorykiller: Kill 'net.dot.] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 8/11/2025 8:33:44 PM UTC

Report

Build Definition Test Pull Request
1224437 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution dotnet/runtime#122319
1224200 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution dotnet/runtime#122308
1223188 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution dotnet/runtime#122265
1222880 dotnet/runtime PayloadGroup0.WorkItemExecution
1221828 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution dotnet/runtime#121366
1221766 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution dotnet/runtime#121896
1221323 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution dotnet/runtime#121614

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 7 7

jtschuster avatar Aug 11 '25 20:08 jtschuster

Possible related and/or duplicate issues:

  • https://github.com/dotnet/runtime/issues/118353

MihuBot avatar Aug 11 '25 20:08 MihuBot

Related: https://github.com/dotnet/runtime/issues/62547

jtschuster avatar Aug 11 '25 20:08 jtschuster

Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.

The behavior matches #62547 but it happens only on Android CoreCLR (x64). It's always System.Security.CryptoGraphy.Tests and on that configuration this test has 100% failure rate.

It started on 8/11 but that's when we enabled these tests on that configuration, so it's likely the test has been failing on the configuration "always".

vitek-karas avatar Aug 14 '25 14:08 vitek-karas

The test should be disabled for CoreCLR Android already, the question is why does it run anyway?

https://github.com/dotnet/runtime/blob/3c6b264bbf078d17db33cb8242cd3de24260af8c/src/libraries/tests.proj#L227-L232

EDIT: They probably need to be removed from the smoke tests as well, I will do it.

davidnguyen-tech avatar Aug 14 '25 14:08 davidnguyen-tech

Closing, as the 24-hour count is 0 and the failure was resolved in #118733. Furthermore, there's a tracking issue #62547

davidnguyen-tech avatar Aug 18 '25 08:08 davidnguyen-tech

This resurfaced in an unrelated PR https://dev.azure.com/dnceng-public/public/_build/results?buildId=1219905&view=logs&j=d2662c5d-2295-5cda-9ba6-af0bc2edd8b5&t=36dd21ca-62d0-56c6-8b4b-9b795819c96a There were 2 attempts in CI, and both failed with lowmemorykiller: Kill 'net.dot.System.Security.Cryptography.Tests' (3406), uid 10116, oom_adj 0 to free 2064092kB lowmemorykiller: Kill 'net.dot.System.Security.Cryptography.Tests' (3406), uid 10116, oom_adj 0 to free 2099468kB

This time, the System.Security.Cryptography.Rsa.Tests.RSAKeyFileTests part of System.Security.Cryptography.Tests were running.

mdh1418 avatar Dec 04 '25 16:12 mdh1418