Skip to content

[wasm] Blazor/AOT tests failing because Microsoft.JSInterop.WebAssembly is not getting skipped for AOT #85010

Closed
dotnet/sdk
#31870

Description

@radical

WBT tests Workloads-Wasm.Build.Tests.Blazor.MiscTests breaking on rolling build. Log:

    Wasm.Build.Tests.Blazor.MiscTests.DefaultTemplate_AOT_InProjectFile(config: "Debug") [FAIL]
      Assert.DoesNotContain() Failure
      Found:    Microsoft.JSInterop.WebAssembly.dll -> Microsoft.JSInterop.WebAssembly.dll.bc
...

This is with sdk 8.0.100-preview.4.23218.17, and fails because of
https://github.com/dotnet/sdk/blob/4ea3e8304c21022bbea72a29154b7602af4f9239/src/BlazorWasmSdk/Targets/Microsoft.NET.Sdk.BlazorWebAssembly.6_0.targets#L22
and https://github.com/dotnet/sdk/blob/4ea3e8304c21022bbea72a29154b7602af4f9239/src/BlazorWasmSdk/Targets/Microsoft.NET.Sdk.BlazorWebAssembly.6_0.targets#L60 . Removing the duplicate at line 60 fixes the issue.

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorPattern": "Found: *Microsoft.JSInterop.WebAssembly.dll -> Microsoft.JSInterop.WebAssembly.dll.bc",
  "BuildRetry": false
}

Report

Build Definition Test Pull Request
243658 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.MiscTests.WorkItemExecution #85009
243508 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.MiscTests.WorkItemExecution #80154

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 2 2

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Apr 18, 2023
  2. added this to the 8.0.0 milestone on Apr 18, 2023
  3. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Apr 18, 2023
  4. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Apr 18, 2023
  5. ghost locked as resolved and limited conversation to collaborators on May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-Build-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-failure

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions