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

Reenable workload manifest test #26624

Open
gkulin opened this issue Jul 15, 2022 · 0 comments
Open

Reenable workload manifest test #26624

gkulin opened this issue Jul 15, 2022 · 0 comments
Assignees
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@gkulin
Copy link
Member

gkulin commented Jul 15, 2022

Disabling a workload test that is blocking #26369 from being merged.

ItErrorUsingSkipManifestAndRollback

The test seems to pass locally but on: Darwin_Dawin Build_Release_11, Windows_NT_FullFramework_Windows_NT_FullFramework Build_Release_14, Windows_NT_FullFramework_Windows_NT_FullFramework Build_Debug_14, and Ubunu_20_04_Ubuntu_20_04 Build_Release_11 the test fails because the output contains "Workload ID wasm-tools is not recognized." instead of the expected error for combining --skip-manifest-update and --from-rollback-file

Windows error message:

The command error output did not contain expected result: Cannot use the skip-manifest-update and from-rollback-file options together. If installing from a rollback file, remove skip-manifest-update. Otherwise, remove from-rollback-file\r\n\r\nFile Name: D:\a\_work\1\s\artifacts\bin\redist\Release\dotnet\dotnet.exe\r\nArguments: workload install wasm-tools --skip-manifest-update --from-rollback-file foo.txt\r\nExit Code: 1\r\nStdOut:\r\n\r\nStdErr:\r\nWorkload ID wasm-tools is not recognized.\r\n

Stack trace:

at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdErrContaining(String pattern) in /_/src/Tests/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 121
   at Microsoft.DotNet.Cli.Workload.Install.Tests.GivenDotnetWorkloadInstall.ItErrorUsingSkipManifestAndRollback() in /_/src/Tests/dotnet-workload-install.Tests/GivenDotnetWorkloadInstall.cs:line 59
@gkulin gkulin added untriaged Request triage from a team member Area-Workloads labels Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants