-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Pillar: Technical DebtPriority:0Work that we can't release withoutWork that we can't release withoutarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-playwright 🎭This issue is related to Playwright E2E Project Template TestsThis issue is related to Playwright E2E Project Template Teststest-failure
Milestone
Description
Failing Test(s)
BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Worksin src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplateTest.cs
Error Message
error : The file '/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Client/obj/project.nuget.cache' already exists.
Stacktrace
Failed BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works(instance: TemplateInstance { Arguments = ["-ho", "-au", "SingleOrg", "--calls-graph", "--domain", ...], Name = "blazorwasmhostedaadgraph" }) [2 s]
Error Message:
Project new blazorwasm -ho -au SingleOrg --calls-graph --domain my-domain --tenant-id tenantId --client-id clientId --default-scope full --app-id-uri ApiUri --api-client-id 1234123413241324 failed to create/restore. Exit code -1.
/private/tmp/helix/working/A97408FB/p/dotnet-cli/dotnet new blazorwasm --debug:disable-sdk-templates --debug:custom-hive "/private/tmp/helix/working/A97408FB/w/9C9608B1/e/Hives/.templateEngine" -ho -au SingleOrg --calls-graph --domain my-domain --tenant-id tenantId --client-id clientId --default-scope full --app-id-uri ApiUri --api-client-id 1234123413241324 -o /tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq\nStdErr: Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'
\nStdOut: The template "Blazor WebAssembly App" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/6.0-third-party-notices for details.
Processing post-creation actions...
Running 'dotnet restore' on /tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/AspNet.jjso4iuzrzq.sln...
Determining projects to restore...
Restored /private/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Shared/AspNet.jjso4iuzrzq.Shared.csproj (in 122 ms).
Restored /tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Shared/AspNet.jjso4iuzrzq.Shared.csproj (in 122 ms).
Restored /private/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Client/AspNet.jjso4iuzrzq.Client.csproj (in 310 ms).
/private/tmp/helix/working/A97408FB/p/dotnet-cli/sdk/7.0.100-alpha.1.21518.14/NuGet.targets(130,5): error : The file '/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Client/obj/project.nuget.cache' already exists. [/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/AspNet.jjso4iuzrzq.sln]
Expected: True
Actual: False
Stack Trace:
at BlazorTemplates.Tests.BlazorTemplateTest.CreateBuildPublishAsync(String projectName, String auth, String[] args, String targetFramework, Boolean serverProject, Boolean onlyCreate) in /_/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplateTest.cs:line 39
Logs
Build
Metadata
Metadata
Assignees
Labels
Pillar: Technical DebtPriority:0Work that we can't release withoutWork that we can't release withoutarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-playwright 🎭This issue is related to Playwright E2E Project Template TestsThis issue is related to Playwright E2E Project Template Teststest-failure