Skip to content

For .NET Core, the FSharp.Core.Unittests are not running correctly #1728

@dsyme

Description

@dsyme

The coreclr FSharp.Core.Unittests are not running correctly, and CI is not detecting the failure

The error is

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'nunitlite, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'. The system cannot find the file specified.

Adding nunitlite to the dependencies helps

  "dependencies": {
    "System.ValueTuple": "4.0.0-rc3-24212-01",
    "NUnitLite": "3.5.0",
    "NUnit": "3.5.0"
  },

However there is still an issue because we can't add FsCHeck to the dependencies yet because of fsharp/fsharp#642

The full log is at https://ci.dot.net/job/Microsoft_visualfsharp/job/master/job/release_ci_part2_windows_nt_prtest/1729/consoleText

Results (nunit3) saved as D:\j\workspace\release_ci_pa---866fd2c3\tests\TestResults\test-portable-coreunit-results.xml
Saved errorlevel 0
"D:\j\workspace\release_ci_pa---866fd2c3\Tools\dotnetcli\dotnet.exe" "D:\j\workspace\release_ci_pa---866fd2c3\tests\testbin\release\coreclr\fsharp.core.unittests\FSharp.Core.Unittests.dll" --where "!(cat == Expensive)"

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'nunitlite, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'. The system cannot find the file specified.
   at Program.main(String[] argv)
[Current build status] check if current [SUCCESS] is worse or equals then [FAILURE] and better or equals then [SUCCESS]
Run condition [Current build status] enabling perform for step [[Archive the artifacts]]
Archiving artifacts
[Current build status] check if current [SUCCESS] is worse or equals then [SUCCESS] and better or equals then [SUCCESS]
Run condition [Current build status] enabling perform for step [[Archive the artifacts]]
Archiving artifacts

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions