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

Mobile workloads are broken in 6.0.401-servicing.22410.12 #14389

Closed
rolfbjarne opened this issue Aug 22, 2022 · 7 comments
Closed

Mobile workloads are broken in 6.0.401-servicing.22410.12 #14389

rolfbjarne opened this issue Aug 22, 2022 · 7 comments
Labels
Area-Setup Acquisition and deployment team untriaged

Comments

@rolfbjarne
Copy link
Member

Description

Mobile workloads aren't recognized anymore.

Reproduction Steps

Download the latest 6.0.400 daily:

$ wget https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-x64.tar.gz

Decompress it:

$ open dotnet-sdk-osx-x64.tar.gz

Try to install a workload:

$ ./6.0.401/dotnet-sdk-osx-x64/dotnet workload install ios
Workload ID ios is not recognized.

Expected behavior

The iOS workload should be installed.

Actual behavior

The iOS workload fails to install.

Regression?

Yes.

It regressed between 6.0.401-servicing.22409.27 and 6.0.401-servicing.22410.12 (in this bump: xamarin/xamarin-macios@8fd5010)

Looks like this is the diff:

https://github.com/dotnet/installer/compare/70e189db5c5c7d32118c4fc911b53c88fadf2c58..6b1b8a424a95f31089a49e814e389f0a41daf743

Known Workarounds

$ mv 6.0.401/dotnet-sdk-osx-x64/sdk-manifests/6.0.300 6.0.401/dotnet-sdk-osx-x64/sdk-manifests/6.0.400
$ ./6.0.401/dotnet-sdk-osx-x64/dotnet workload install ios

Advertising manifest not updated. Manifest package for microsoft.net.workload.emscripten doesn't exist.
Advertising manifest not updated. Manifest package for microsoft.net.workload.mono.toolchain doesn't exist.
Skipping NuGet package signature verification.
Skipping NuGet package signature verification.
Installing workload manifest microsoft.net.sdk.tvos version 15.4.447…
Installing workload manifest microsoft.net.sdk.android version 32.0.448…
Installing workload manifest microsoft.net.sdk.maui version 6.0.486…
Installing workload manifest microsoft.net.sdk.macos version 12.3.447…
Installing workload manifest microsoft.net.workload.emscripten version 6.0.9…
Workload installation failed. Rolling back installed packs...
Workload installation failed: Failed to install manifest microsoft.net.workload.emscripten version 6.0.9: microsoft.net.workload.emscripten.manifest-6.0.400::6.0.9 is not found in NuGet feeds https://api.nuget.org/v3/index.json"..

Not a complete workaround (since it still fails), but the iOS workload is recognized at least.

Configuration

No response

Other information

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the Area-Setup Acquisition and deployment team label Aug 22, 2022
@ghost ghost added the untriaged label Aug 22, 2022
@lewing
Copy link
Member

lewing commented Aug 22, 2022

cc @marcpopMSFT @joeloff

@lewing
Copy link
Member

lewing commented Aug 22, 2022

@akoeplinger any ideas

@akoeplinger
Copy link
Member

Hmm no idea.

@marcpopMSFT
Copy link
Member

@rolfbjarne , were you trying the public build of 401 from the installer home page? Can you try an internal build from dnceng instead?

I believe this was fixed as part of this PR: dotnet/sdk#26862. Part of that PR was to fix the workload resolution to correctly use the SDK version rather than the SDK feature band version. That change went in after sdk/installer went internal so it won't be available in the public 401 daily builds, only the internal ones.

@jadenrogers
Copy link

jadenrogers commented Oct 5, 2022

What is the solution here? When pinning 6.0.401 which is installed by default with Visual studio 17.3.5 dotnet workload command does not work.

@marcpopMSFT
Copy link
Member

@jadenrogers , the above issue is unrelated and was specific to a daily build of the 6.0.4xx branch that didn't work for workloads. Can you provide more details on how the workload commands are failing for you?

@jadenrogers
Copy link

@marcpopMSFT Long story short something went bad and I had errors like the above and couldn't reinstall my way out of it.

Completely removed all VS instances and re installed, didn't fix it.

I ran these commands and many like it but none ever fixed the problem

https://github.com/dotnet/maui/blob/main/.github/DEVELOPMENT.md

dotnet workload install maui `
  --skip-sign-check `
  --from-rollback-file https://aka.ms/dotnet/maui/net6.0.json `
  --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-531f715f/nuget/v3/index.json `
  --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-3f6c45a2/nuget/v3/index.json `
  --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json `
  --source https://api.nuget.org/v3/index.json

Had to reinstall windows and start fresh. Everything working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Setup Acquisition and deployment team untriaged
Projects
None yet
Development

No branches or pull requests

5 participants