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

[wasm] Wasm.Build.Tests - blazor run tests failing #85769

Closed
AaronRobinsonMSFT opened this issue May 4, 2023 · 4 comments
Closed

[wasm] Wasm.Build.Tests - blazor run tests failing #85769

AaronRobinsonMSFT opened this issue May 4, 2023 · 4 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono disabled-test The test is disabled in source code against the issue
Milestone

Comments

@AaronRobinsonMSFT
Copy link
Member

AaronRobinsonMSFT commented May 4, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=261558
Build error leg or test failing: Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorBuildRunTest
Pull request: #85723

        [error] crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
              Unhandled exception rendering component: Could not load type of field 'Microsoft.AspNetCore.Components.Routing.TemplateParser:_invalidParameterNameCharacters' (0) due to: Could not resolve type with token 0100008c from typeref (expected class 'System.Buffers.IndexOfAnyValues`1' in assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Buffers.IndexOfAnyValues`1 member:(null)
        System.TypeLoadException: Could not load type of field 'Microsoft.AspNetCore.Components.Routing.TemplateParser:_invalidParameterNameCharacters' (0) due to: Could not resolve type with token 0100008c from typeref (expected class 'System.Buffers.IndexOfAnyValues`1' in assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Buffers.IndexOfAnyValues`1 member:(null)
           at Microsoft.AspNetCore.Components.RouteTableFactory.Create(Dictionary`2 templatesByHandler)
           at Microsoft.AspNetCore.Components.RouteTableFactory.Create(List`1 componentTypes)
           at Microsoft.AspNetCore.Components.RouteTableFactory.Create(RouteKey routeKey)
           at Microsoft.AspNetCore.Components.Routing.Router.RefreshRouteTable()
           at Microsoft.AspNetCore.Components.Routing.Router.Refresh(Boolean isNavigationIntercepted)
           at Microsoft.AspNetCore.Components.Routing.Router.RunOnNavigateAsync(String path, Boolean isNavigationIntercepted)
           at Microsoft.AspNetCore.Components.Routing.Router.<>c__DisplayClass67_0.<RunOnNavigateAsync>b__1(RenderTreeBuilder builder)
           at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
        [] info: Microsoft.Hosting.Lifetime[0]
        []       Application is shutting down...

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Unhandled exception rendering component: Could not load type of field 'Microsoft.AspNetCore.Components.Routing.TemplateParser:_invalidParameterNameCharacters'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
262351 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85705
262579 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85738
262524 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85787
262499 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85741
262441 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85668
262409 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85558
262247 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85771
262232 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85770
262213 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85643
262163 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85766
262089 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85528
262082 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85445
262045 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85520
261937 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution
261558 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85723
261899 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85254
261758 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85498
261643 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #85741
261591 dotnet/runtime Workloads-Webcil-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #84867
261546 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #74623
261541 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.BuildPublishTests.WorkItemExecution #74623

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 21
@AaronRobinsonMSFT AaronRobinsonMSFT added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels May 4, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 4, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 4, 2023
@ghost
Copy link

ghost commented May 4, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=261558
Build error leg or test failing: Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorBuildRunTest
Pull request: #85723

        [error] crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
              Unhandled exception rendering component: Could not load type of field 'Microsoft.AspNetCore.Components.Routing.TemplateParser:_invalidParameterNameCharacters' (0) due to: Could not resolve type with token 0100008c from typeref (expected class 'System.Buffers.IndexOfAnyValues`1' in assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Buffers.IndexOfAnyValues`1 member:(null)
        System.TypeLoadException: Could not load type of field 'Microsoft.AspNetCore.Components.Routing.TemplateParser:_invalidParameterNameCharacters' (0) due to: Could not resolve type with token 0100008c from typeref (expected class 'System.Buffers.IndexOfAnyValues`1' in assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Buffers.IndexOfAnyValues`1 member:(null)
           at Microsoft.AspNetCore.Components.RouteTableFactory.Create(Dictionary`2 templatesByHandler)
           at Microsoft.AspNetCore.Components.RouteTableFactory.Create(List`1 componentTypes)
           at Microsoft.AspNetCore.Components.RouteTableFactory.Create(RouteKey routeKey)
           at Microsoft.AspNetCore.Components.Routing.Router.RefreshRouteTable()
           at Microsoft.AspNetCore.Components.Routing.Router.Refresh(Boolean isNavigationIntercepted)
           at Microsoft.AspNetCore.Components.Routing.Router.RunOnNavigateAsync(String path, Boolean isNavigationIntercepted)
           at Microsoft.AspNetCore.Components.Routing.Router.<>c__DisplayClass67_0.<RunOnNavigateAsync>b__1(RenderTreeBuilder builder)
           at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
        [] info: Microsoft.Hosting.Lifetime[0]
        []       Application is shutting down...

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Unhandled exception rendering component: Could not load type of field 'Microsoft.AspNetCore.Components.Routing.TemplateParser:_invalidParameterNameCharacters'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}
Author: AaronRobinsonMSFT
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, Known Build Error

Milestone: -

@lewing lewing added this to the 8.0.0 milestone May 4, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label May 4, 2023
@lewing lewing added untriaged New issue has not been triaged by the area owner area-Build-mono and removed untriaged New issue has not been triaged by the area owner labels May 4, 2023
@lewing
Copy link
Member

lewing commented May 4, 2023

blocked on dotnet/aspnetcore#48014 it has the renamed method fix but now needs the interop fix and then needs to flow into sdk then installer

radical added a commit to radical/runtime that referenced this issue May 4, 2023
@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 4, 2023
@radical radical added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels May 4, 2023
radical added a commit to radical/runtime that referenced this issue May 15, 2023
@radical
Copy link
Member

radical commented May 19, 2023

This was fixed by #86268 but didn't get closed.

@radical radical closed this as completed May 19, 2023
@radical radical removed the Known Build Error Use this to report build issues in the .NET Helix tab label May 19, 2023
@simeyla
Copy link

simeyla commented Jun 15, 2023

For anyone seeing this message after updating to the June 2023 preview of .NET 8 (preview 5) you just need to update your project's packages.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

No branches or pull requests

6 participants