Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
v-wenyuxu opened this issue Nov 25, 2024 · 3 comments
Labels
arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs os-windows

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr libraries-pgo 20241124.1

Failed tests:

net10.0-windows-Release-x86-jitosr_stress_random-Windows.10.Amd64.Open
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections
net10.0-windows-Release-x86-jitosr_stress-Windows.10.Amd64.Open
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Collections
net10.0-windows-Release-x86-jitoldlayout-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 System.Collections.Immutable.ImmutableDictionary`2.get_Item(TKey key) in /_/src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableDictionary_2.cs:line 251
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.ConfigBindingGenTestDriver.RunGeneratorAndUpdateCompilation(String source) in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/ConfigBindingGenTestDriver.cs:line 62
   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 ---
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 25, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.

@EgorBo
Copy link
Member

EgorBo commented Nov 25, 2024

Likely same as #110127

@EgorBo
Copy link
Member

EgorBo commented Nov 25, 2024

Closed by #110129 (and doesn't repro in #110142)

@EgorBo EgorBo closed this as completed Nov 25, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Nov 25, 2024
@tarekgh tarekgh added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-Extensions-Configuration labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs os-windows
Projects
None yet
Development

No branches or pull requests

3 participants