Skip to content

Test failure: System.Numerics.Tests.GenericVectorTests.NarrowDouble #36614

Closed
@BruceForstall

Description

@BruceForstall

Failure in libraries System.Numerics.Vectors.Tests: release libraries, checked coreclr with:

set COMPlus_JitStress=1

fails with set COMPlus_TieredCompilation 0 or 1.

Windows x86

E.g.,

build -s libs+libs.tests -runtimeConfiguration checked -c Release -arch x86 /p:ArchiveTests=true

(the /p:ArchiveTests=true is required to build the RunTests.cmd wrapper scripts)

C:\gh\runtime\artifacts\bin\System.Numerics.Vectors.Tests\net5.0-Release>call .\RunTests.cmd -r C:\gh\runtime\artifacts\bin\testhost\net5.0-Windows_NT-Release-x86
----- start Sun 05/17/2020 11:33:07.75 ===============  To repro directly: =====================================================
pushd C:\gh\runtime\artifacts\bin\System.Numerics.Vectors.Tests\net5.0-Release\
"C:\gh\runtime\artifacts\bin\testhost\net5.0-Windows_NT-Release-x86\dotnet.exe" exec --runtimeconfig System.Numerics.Vectors.Tests.runtimeconfig.json --depsfile System.Numerics.Vectors.Tests.deps.json xunit.console.dll System.Numerics.Vectors.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
popd
===========================================================================================================

C:\gh\runtime\artifacts\bin\System.Numerics.Vectors.Tests\net5.0-Release>"C:\gh\runtime\artifacts\bin\testhost\net5.0-Windows_NT-Release-x86\dotnet.exe" exec --runtimeconfig System.Numerics.Vectors.Tests.runtimeconfig.json --depsfile System.Numerics.Vectors.Tests.deps.json xunit.console.dll System.Numerics.Vectors.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
  Discovering: System.Numerics.Vectors.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Numerics.Vectors.Tests (found 1191 of 1194 test cases)
  Starting:    System.Numerics.Vectors.Tests (parallel test collections = on, max threads = 8)
    System.Numerics.Tests.GenericVectorTests.NarrowDouble [FAIL]
      Assert.Equal() Failure
      Expected: 1.2382202E+09
      Actual:   -1.7497244E+09
      Stack Trace:
        C:\gh\runtime\src\libraries\System.Numerics.Vectors\tests\GenericVectorTests.cs(3048,0): at System.Numerics.Tests.GenericVectorTests.NarrowDouble()
  Finished:    System.Numerics.Vectors.Tests
=== TEST EXECUTION SUMMARY ===
   System.Numerics.Vectors.Tests  Total: 1191, Errors: 0, Failed: 1, Skipped: 0, Time: 25.167s
----- end Sun 05/17/2020 11:33:40.23 ----- exit code 1 ----------------------------------------------------------

The failure mode is different every run: the Expected/Actual values both change.

@tannergooding @CarolEidt

Metadata

Metadata

Assignees

Labels

arch-x86area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIos-windows

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions