[Android] System.Tests.RandomTests.Next_IntInt_Next_IntInt_AllValuesAreWithinRange failing on android-arm

Open
#112,946 6 comments 0 reactions 1 assignee View on GitHub

@davidnguyen-tech is already working on this.

Since Jul 14, 2025.

Assessment

This issue has not been assessed yet.

Description

arch-arm32 area-System.Runtime Known Build Error os-android

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=962825
Build error leg or test failing: System.Tests.RandomTests.Next_IntInt_Next_IntInt_AllValuesAreWithinRange

The test is consistently failing on android-arm (32-bit):

Last passing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=946422&view=results
First failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=947194&view=results
Commit range: https://github.com/dotnet/runtime/compare/02f99e5609a45bf8568f3d49a01ee126576fd206...91bbb321494f4c274a5836226dc39105313859d0

Crash report:

                 02-25 14:01:16.594 30687 30711 I DOTNET  : 	[FAIL] System.Tests.RandomTests.Next_IntInt_Next_IntInt_AllValuesAreWithinRange(derived: False, seeded: True, min: -1, max: 2147483647)
                 02-25 14:01:16.594 30687 30711 I DOTNET  : Assert.InRange() Failure: Value not in range
                 02-25 14:01:16.594 30687 30711 I DOTNET  : Range:  (-1 - 2147483646)
                 02-25 14:01:16.594 30687 30711 I DOTNET  : Actual: -2

Error Message

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

{
  "ErrorMessage": [
    "[FAIL] System.Tests.RandomTests.Next_IntInt_Next_IntInt_AllValuesAreWithinRange",
    "Assert.InRange() Failure: Value not in range"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=962825
Error message validated: [[FAIL] System.Tests.RandomTests.Next_IntInt_Next_IntInt_AllValuesAreWithinRange Assert.InRange() Failure: Value not in range]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/27/2025 9:09:33 AM UTC

Report
Build Definition Test Pull Request
975416 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
974730 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
973759 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
973408 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
973172 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
973032 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
972861 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
972269 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
971661 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
971108 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
970517 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
969995 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
969384 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
968382 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
967828 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
967478 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution dotnet/runtime#113084
967177 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
966785 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
966619 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
966484 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
966316 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
965974 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
965468 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
965092 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
964581 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
962825 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 13 26
Report
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.