Skip to content

Test failure: Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections #112845

Open
@v-wenyuxu

Description

Failed in: runtime-coreclr libraries-jitstress 20250222.1

Failed tests:

net10.0-windows-Release-x86-disabler2r-Windows.10.Amd64.Open
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections
net10.0-windows-Release-x86-no_tiered_compilation-Windows.10.Amd64.Open
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections
net10.0-windows-Release-x86-tailcallstress-Windows.10.Amd64.Open
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections

Error message:

 System.Collections.Generic.KeyNotFoundException : The given key 'SourceGenerationSpec' was not present in the dictionary.

Stack trace:

   at System.Collections.ThrowHelper.ThrowKeyNotFoundException[TKey](TKey key) in /_/src/libraries/System.Collections.Immutable/src/System/Collections/ThrowHelper.cs:line 34
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.ConfigBindingGenTestDriver.RunGeneratorAndUpdateCompilation(String source)
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.RunGeneratorAndUpdateCompilation(String source, LanguageVersion langVersion, IEnumerable`1 assemblyReferences) in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/GeneratorTests.Helpers.cs:line 186
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.VerifyAgainstBaselineUsingFile(String filename, String testSourceCode, ExtensionClassType extType, ExpectedDiagnostics expectedDiags) in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/GeneratorTests.Helpers.cs:line 147
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections() in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/GeneratorTests.Baselines.cs:line 941
--- End of stack trace from previous location ---

Activity

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

Metadata

Assignees

No one assigned

    Labels

    JitStressCLR JIT issues involving JIT internal stress modesarch-x86area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsos-windowsuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions