runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open simonrozsival opened this issue 10 months ago • 4 comments

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: :mag_right: 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: :white_check_mark: 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

simonrozsival avatar Feb 26 '25 09:02 simonrozsival

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

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

Could it be caused by https://github.com/dotnet/runtime/pull/112206 @tannergooding ?

matouskozak avatar Apr 11 '25 09:04 matouskozak

@matouskozak, I wouldn't expect so without it also triggering for Mono on other platforms -or- there being some pre-existing Mono Arm32 bug that the change just happened to expose.

All the PR does is handle the intrinsic and import it directly as the relevant IL opcode, there's not much room for it to have a mistake.

tannergooding avatar Apr 11 '25 15:04 tannergooding