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

[NETSDKE2E][Workload set][Mac]With 9.0.201 SDK pkg installed, "Workload update failed: Workload version 9.0.101, which was specified in ..., was not found." happens after running "sudo dotnet workload update --version 9.0.101" #46885

Closed
YingyingYuan9 opened this issue Feb 17, 2025 · 5 comments
Assignees
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@YingyingYuan9
Copy link
Member

YingyingYuan9 commented Feb 17, 2025

Build info

9.0.201(runtime-9.0.3) from Pipelines - Run 20250213.4-9.0.201-servicing.25113.29,9.0.104-servicing.25113.30-256710,256702 artifacts

Repro steps

  1. Install the net 9.0.201 SDK pkg on Mac.
  2. Install maui workload with command "sudo dotnet workload install maui --skip-manifest-update --configfile ~/.nuget/NuGet/NuGet.Config".
  3. After maui installation is done, run "sudo dotnet workload update --version 9.0.101 --configfile ~/.nuget/NuGet/NuGet.Config"

Expected Result

Update to a workload sets from a different band should succeed.

Actual Result

failed with below error:

Image

.NET SDK:
Version: 9.0.201
Commit: 071aaccdc2
Workload version: 9.0.200-manifests.21502d11
MSBuild version: 17.13.13+1c2026462

Runtime Environment:
OS Name: Mac OS X
OS Version: 14.7
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/sdk/9.0.201/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.3
Architecture: x64
Commit: 831d23e561

.NET SDKs installed:
9.0.201 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Feb 17, 2025
@YingyingYuan9 YingyingYuan9 changed the title [NETSDKE2E][Workload set][Mac]With 9.0.201 SDK installed, "Workload update failed: Workload version 9.0.101, which was specified in ..., was not found." happens after running "sudo dotnet workload update --version 9.0.101" [NETSDKE2E][Workload set][Mac]With 9.0.201 SDK pkg installed, "Workload update failed: Workload version 9.0.101, which was specified in ..., was not found." happens after running "sudo dotnet workload update --version 9.0.101" Feb 17, 2025
@YingyingYuan9
Copy link
Member Author

This bug is not reproduced on Windows.
Image

Image

@marcpopMSFT
Copy link
Member

We recommend installing workload sets that match the band you're in. Is there a reason you can't install 9.0.200 workload set?

@YingyingYuan9
Copy link
Member Author

the scenario supports updating to a workload sets from a different band. so we tried to Dotnet workload update --version 9.0.101, it failed.
if we run Dotnet workload update --version 9.0.200, it can succeed

Image

@Forgind
Copy link
Member

Forgind commented Feb 21, 2025

I spent entirely too much time working on this before realizing that I'd already fixed this in 9.0.3xx:
#46351

I confirmed that that fix works.

@baronfel, do you think this is worth backporting? I'm slightly leaning towards 'no' but would be happy to backport it if you think it's worth it.

@Forgind
Copy link
Member

Forgind commented Feb 24, 2025

@YingyingYuan9,

Thanks for bringing this up! We decided we're not going to take this for 9.0.2xx, so I'm closing this as won't-fix. Going forward, you can skip this test for 9.0.2xx and just run it for 9.0.3xx and later versions.

@Forgind Forgind closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2025
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

3 participants