Skip to content

[Android] System.IO.Pipelines.Tests.PipeWriterTests.GetMemoryFlushWithACompletedReaderNoops causes the test to fail due to memory pressure #117090

@vitek-karas

Description

@vitek-karas

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1073115

Build error leg or test failing: System.IO.Pipelines.Tests

Affected CI jobs: android_x64_release_allsubsets_coreclr, android_x64_release_allsubsets_mono, android_arm64_release_allsubsets_mono

Commit range: 96e283d...927e973

Extracted Error Log

06-19 22:49:17.322  3955  3992 I DOTNET  :     [PASS] System.IO.Pipelines.Tests.PipeWriterTests.GetMemoryFlushWithACompletedReaderNoops
06-19 22:49:21.116  1727  1727 E lowmemorykiller: Kill 'net.dot.System.IO.Pipelines.Tests' (3955), uid 10121, oom_adj 0 to free 2089740kB
[22:49:21] dbug: Exit code: 0
                 Std out:
                 INSTRUMENTATION_RESULT: shortMsg=Process crashed.
                 INSTRUMENTATION_CODE: 0
[22:49:21] info: Short message:
                 Process crashed.
[22:49:21] fail: No value for 'return-code' provided in instrumentation result. This may indicate a crashed test (see log)

Error Message

{
  "ErrorMessage": ["[PASS] System.IO.Pipelines.Tests.PipeWriterTests.GetMemoryFlushWithACompletedReaderNoops", "lowmemorykiller: Kill 'net.dot.System.IO.Pipelines.Tests'"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Description

The System.IO.Pipelines.Tests are crashing on Android due to the Android low memory killer terminating processes during test execution. The tests run successfully until reaching GetMemoryFlushWithACompletedReaderNoops, then get killed by the Android system when memory pressure increases, causing instrumentation to report "Process crashed" with no return code. The error pattern matches on the last passing test followed by the instrumentation result indicating a process crash.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1073115
Error message validated: [[PASS] System.IO.Pipelines.Tests.PipeWriterTests.GetMemoryFlushWithACompletedReaderNoops lowmemorykiller: Kill 'net.dot.System.IO.Pipelines.Tests']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/27/2025 4:17:54 PM UTC

Report

Build Definition Test Pull Request
1081247 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution
1081110 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution
1080951 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution
1080535 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution
1080342 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution #116167
1073115 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions