Skip to content

Crossgen outerloop regression: 2 variance safety test failures in SVM VarianceSafety #109201

Closed

Description

@kg
/home/kate/Projects/dotnet-runtime-wasm/artifacts/tests/coreclr/linux.x64.Release/Tests/Core_Root/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true VarianceSafety.dll ''
Scenario Contravariant safety test failed - expected TypeLoadException, got Did not throw exception
Scenario Covariant safety test failed - expected TypeLoadException, got Did not throw exception
0 successes reported
2 failures reported
in ReleaseLock
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /home/kate/Projects/dotnet-runtime-wasm/artifacts/tests/coreclr/linux.x64.Release/Loader/Loader/../classloader/StaticVirtualMethods/NegativeTestCases/VarianceSafety/VarianceSafety.sh

Activity

  1. kg commented on Oct 25, 2024

    @kg
    ContributorAuthor

    Repro script (pass 'Checked'):

    rm -rf ./artifacts
    rm -rf ./artifacts/tests
    rm -rf ./.dotnet
    ./build.sh Clr+Tools+Libs -c Release -rc $1 --os linux
    
    ./src/tests/build.sh $1 -priority1 -crossgen2 -p:LibrariesConfiguration=Release
    PATH=/home/kate/Projects/dotnet-runtime-wasm/.dotnet/:$PATH RunCrossGen2=1 CompositeBuildMode=1 src/tests/run.sh $1
  2. removed
    untriagedNew issue has not been triaged by the area owner
    on Jul 25, 2025
  3. added this to the 10.0.0 milestone on Jul 25, 2025
  4. locked and limited conversation to collaborators on Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions