Skip to content

[6.0] System.Random test failure: NextInt_AllValuesAreWithinSpecifiedRange #83421

Description

@carlossanlop

Found in an internal->public merge PR for 6.0: #83404

C:\h\w\B2B409B1\w\AA520922\e>"C:\h\w\B2B409B1\p\dotnet.exe" exec --runtimeconfig System.Runtime.Extensions.Tests.runtimeconfig.json --depsfile System.Runtime.Extensions.Tests.deps.json xunit.console.dll System.Runtime.Extensions.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Runtime.Extensions.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Runtime.Extensions.Tests (found 925 of 982 test cases)
  Starting:    System.Runtime.Extensions.Tests (parallel test collections = on, max threads = 2)
    System.Tests.RandomTests.NextInt_AllValuesAreWithinSpecifiedRange(derived: True, seeded: False) [FAIL]
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/System.Runtime.Extensions/tests/System/Random.cs(75,0): at System.Tests.RandomTests.NextInt_AllValuesAreWithinSpecifiedRange(Boolean derived, Boolean seeded)
{
  "ErrorMessage": "System.Tests.RandomTests.NextInt_AllValuesAreWithinSpecifiedRange(derived: True, seeded: False)",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Summary

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Runtimeneeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsideration

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions