Skip to content

Quarantine BlazorWasmTemplateTest (NU1603 NuGet restore failures) #66293

Description

@github-actions

Failing Test(s)

BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandaloneTemplate_Works
BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandalonePwaTemplate_Works
BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandaloneTemplate_AzureActiveDirectoryTemplate_Works

Error Message

Project new blazorwasm  --no-restore failed to restore. Exit code 1.
error NU1603: Warning As Error: AspNet.gyefbna1ouaa depends on Microsoft.AspNetCore.Components.WebAssembly.DevServer (>= 11.0.0-ci) but Microsoft.AspNetCore.Components.WebAssembly.DevServer 11.0.0-ci was not found. Microsoft.AspNetCore.Components.WebAssembly.DevServer 11.0.0-preview.1.26065.113 was resolved instead.
  Failed to restore ... (in 501 ms).

Stacktrace

Stack Trace
   at Templates.Test.Helpers.Project.RunDotNetNewAsync(String templateName, ...) in /_/src/ProjectTemplates/Shared/Project.cs:line 156
   at BlazorTemplates.Tests.BlazorTemplateTest.CreateBuildPublishAsync(...) in /_/src/ProjectTemplates/test/Templates.Blazor.Tests/BlazorTemplateTest.cs:line 42
   at BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandaloneTemplate_Works(BrowserKind browserKind) in /_/src/ProjectTemplates/test/Templates.Blazor.Tests/BlazorWasmTemplateTest.cs:line 25

Logs

Console log
BlazorWasmStandaloneTemplate_Works(browserKind: Chromium) - Failed
BlazorWasmStandalonePwaTemplate_Works(browserKind: Chromium) - Failed
BlazorWasmStandaloneTemplate_AzureActiveDirectoryTemplate_Works - Failed

All tests fail with NU1603: Microsoft.AspNetCore.Components.WebAssembly.DevServer 11.0.0-ci was not found.
Microsoft.AspNetCore.Components.WebAssembly.DevServer 11.0.0-preview.1.26065.113 was resolved instead.

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1373142

Also failed in build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1342501

Note

🔒 Integrity filter blocked 5 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #65815 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65817 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65827 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65816 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65419 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Daily Test Quarantine Management · ● 9.9M ·

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions