Skip to content

Flaky test ComponentWithConstrainedTypeParameters #32193

Closed
@BrennanConroy

Description

@BrennanConroy

https://dev.azure.com/dnceng/public/_build/results?buildId=1107818&view=ms.vss-test-web.build-test-results-tab&runId=33812670&resultId=100474&paneView=debug

System.InvalidOperationException : Aborting compilation to assembly because RazorCompiler returned nonempty diagnostics: x:\dir\subdir\Test\TestComponent.cshtml(2,19): Error RZ1017: Unexpected literal following the 'typeparam' directive. Expected 'line break'.\nx:\dir\subdir\Test\TestComponent.cshtml(3,19): Error RZ1017: Unexpected literal following the 'typeparam' directive. Expected 'line break'.
   at Microsoft.AspNetCore.Razor.Language.IntegrationTests.RazorIntegrationTestBase.CompileToAssembly(CompileToCSharpResult cSharpResult, Boolean throwOnFailure) in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/RazorIntegrationTestBase.cs:line 289
   at Microsoft.AspNetCore.Razor.Language.IntegrationTests.RazorIntegrationTestBase.CompileToCSharp(String cshtmlRelativePath, String cshtmlContent, Boolean throwOnFailure, String fileKind, String cssScope) in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/RazorIntegrationTestBase.cs:line 217
   at Microsoft.AspNetCore.Razor.Language.IntegrationTests.RazorIntegrationTestBase.CompileToCSharp(String cshtmlContent, Boolean throwOnFailure, String cssScope) in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/RazorIntegrationTestBase.cs:line 173
   at Microsoft.AspNetCore.Razor.Language.IntegrationTests.ComponentCodeGenerationTestBase.ComponentWithConstrainedTypeParameters() in /_/src/Razor/Microsoft.AspNetCore.Razor.Language/test/IntegrationTests/ComponentCodeGenerationTestBase.cs:line 239

Test was added on 4/19, but first failures I can see start on 4/22.

Also, would appreciate it if people didn't just retry the failing leg without filing an issue at a minimum

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions