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.Bind_T #107442

Closed
v-wenyuxu opened this issue Sep 6, 2024 · 2 comments
Labels
arch-x86 area-Extensions-Logging blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr libraries-jitstress-random 20240904.1

Failed tests:

net9.0-windows-Release-x86-jitstress_random_2-Windows.10.Amd64.Open
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Bind_T
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.UnsupportedTypes
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.ValueTypesAreInvalidAsBindInputs
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue_TypeOf_Key
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.BindConfigurationWithConfigureActions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T_name_BinderOptions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue_T_Key
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.InvalidRootMethodInputTypes
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.SucceedWhenGivenConflictingTypeNames
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.MinimalGenerationIfNoBindableMembers
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Bind_Key_Instance
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.DefaultConstructorParameters
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue_TypeOf_Key_DefaultValue
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Get_TypeOf_BinderOptions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Primitives
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.SucceedWhenGivenMinimumRequiredReferences
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T_name
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T_BinderOptions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Get_PrimitivesOnly
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Get
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Bind
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.CannotDetermineTypeInfo
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.WithBadMisconfiguredInput_GeneratorWontFail
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingILogger
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessLogLevelInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NoILoggerField
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidMethodBody
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessQualifierInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NestedTypeOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleILoggerFields
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NotPartial
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestEmitter
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.SyntaxListWithManyItems
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingLogLevel
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidRefKindsOut
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.SourceErrors
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.PrimaryConstructorOnOtherPartialDeclarationOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.WithNullMessage_GeneratorWontFail
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessLoggerInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MalformedFormatString
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.FileScopedNamespaceOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.FieldOnOtherPartialDeclarationOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingArgument
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.PrimaryConstructorLoggerShadowedByBaseClass
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidMethodBody
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingILogger
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestBaseline_TestWithNestedClassWithGenericTypesWithAttributes_Success
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestBaseline_TestWithNestedClass_Success
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleILoggerFields
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessQualifierInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingLogLevel
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.SourceErrors
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidMethodExpressionBody
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingLoggerMessageAttributeType
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingILogger
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.Valid_AdditionalAttributes
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NotPartial
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessExceptionInMessage
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.ShouldNotProduceErrorWhenDataTypeAttributesAreUsed
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.ShouldSkipAtrributeWhenAttributeSymbolIsNotBasedOnValidationAttribute
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.IgnoredStaticMembers
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.ShouldNotProduceErrorWhenPropertiesAreUsedAsAttributeArgument
net9.0-windows-Release-x86-jitstress_random_1-Windows.10.Amd64.Open
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestBaseline_TestWithDefaultValues_Success
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestBaseline_TestWithNestedClassWithGenericTypesWithAttributes_Success
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestBaseline_TestWithNestedClass_Success
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleILoggerFields
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessQualifierInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingLogLevel
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.SourceErrors
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidMethodExpressionBody
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingLoggerMessageAttributeType
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingILogger
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.Valid_AdditionalAttributes
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NotPartial
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessExceptionInMessage
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.UnsupportedTypes
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.ValueTypesAreInvalidAsBindInputs
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue_TypeOf_Key
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.BindConfigurationWithConfigureActions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T_name_BinderOptions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue_T_Key
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.InvalidRootMethodInputTypes
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.SucceedWhenGivenConflictingTypeNames
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.MinimalGenerationIfNoBindableMembers
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Bind_Key_Instance
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.DefaultConstructorParameters
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue_TypeOf_Key_DefaultValue
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Get_TypeOf_BinderOptions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Primitives
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.SucceedWhenGivenMinimumRequiredReferences
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T_name
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Configure_T_BinderOptions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Get_PrimitivesOnly
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.GetValue
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Get
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.Bind
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.CannotDetermineTypeInfo
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.LogLevelDoublySet_AndInMessageTemplate_ProducesDiagnostic
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.WithBadMisconfiguredInput_GeneratorWontFail
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingILogger
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessLogLevelInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NoILoggerField
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidMethodBody
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessQualifierInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NestedTypeOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleILoggerFields
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NotPartial
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorEmitterTests.TestEmitter
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.SyntaxListWithManyItems
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingLogLevel
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidRefKindsOut
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.SourceErrors
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.PrimaryConstructorOnOtherPartialDeclarationOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.WithNullMessage_GeneratorWontFail
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.NeedlessLoggerInMessage
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MalformedFormatString
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.FileScopedNamespaceOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.FieldOnOtherPartialDeclarationOK
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingArgument
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.PrimaryConstructorLoggerShadowedByBaseClass
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.InvalidMethodBody
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MissingILogger
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.ShouldNotProduceErrorWhenDataTypeAttributesAreUsed
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.ShouldSkipAtrributeWhenAttributeSymbolIsNotBasedOnValidationAttribute
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.IgnoredStaticMembers
    - Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.ShouldNotProduceErrorWhenPropertiesAreUsedAsAttributeArgument

Error message:

 System.OutOfMemoryException : Insufficient memory to continue the execution of the program.

Stack trace:

   at System.Reflection.Internal.StreamMemoryBlockProvider.ReadMemoryBlockNoLock(Stream stream, Int64 start, Int32 size) in /_/src/libraries/System.Reflection.Metadata/src/System/Reflection/Internal/MemoryBlocks/StreamMemoryBlockProvider.cs:line 71
   at System.Reflection.PortableExecutable.PEReader..ctor(Stream peStream, PEStreamOptions options, Int32 size) in /_/src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEReader.cs:line 190
   at Microsoft.CodeAnalysis.ModuleMetadata.CreateFromStream(Stream peStream, PEStreamOptions options)
   at Microsoft.CodeAnalysis.MetadataReference.CreateFromFile(Stream peStream, String path, MetadataReferenceProperties properties, DocumentationProvider documentation)
   at Microsoft.CodeAnalysis.MetadataReference.CreateFromFile(String path, MetadataReferenceProperties properties, DocumentationProvider documentation)
   at SourceGenerators.Tests.RoslynTestUtils.CreateTestProject(AdhocWorkspace workspace, IEnumerable`1 references, Boolean includeBaseReferences, LanguageVersion langVersion) in /_/src/libraries/Common/tests/SourceGenerators/RoslynTestUtils.cs:line 51
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.ConfigBindingGenTestDriver.UpdateCompilationWithSource(String source) in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/ConfigBindingGenTestDriver.cs:line 85
   at Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.ConfigBindingGenTestDriver.RunGeneratorAndUpdateCompilation(String source) in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/ConfigBindingGenTestDriver.cs:line 57
   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.Bind_T() in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/GeneratorTests.Baselines.Options.cs:line 168
--- End of stack trace from previous location ---
@v-wenyuxu v-wenyuxu added arch-x86 os-windows JitStress CLR JIT issues involving JIT internal stress modes blocking-clean-ci-optional Blocking optional rolling runs labels Sep 6, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Sep 6, 2024
Copy link
Contributor

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

@tarekgh
Copy link
Member

tarekgh commented Sep 6, 2024

Duplicate of #107381

@tarekgh tarekgh marked this as a duplicate of #107381 Sep 6, 2024
@tarekgh tarekgh closed this as completed Sep 6, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Sep 6, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 area-Extensions-Logging blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows
Projects
None yet
Development

No branches or pull requests

2 participants