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

Configuration errors observed when trying to clone a new repository onto an existing cloud dev box #2942

Open
adrastogi opened this issue May 16, 2024 · 2 comments
Labels
Area-Environments Issue-Bug Something isn't working or needs investigation Needs-Triage New issue that the core contributors need to triage

Comments

@adrastogi
Copy link
Contributor

Dev Home version

0.1401.501.0

Windows build number

10.0.26220.5000

Other software

OS Build Version: 10.0.26220.5000.amd64fre.ge_current_directadept.240514-1700
.NET Version: .NET 8.0.4

Steps to reproduce the bug

In Dev Home, with a pre-existing cloud dev box set up:

  1. Navigate to the "Set up an environment" flow in the machine configuration page.
  2. Select the pre-existing cloud dev box
  3. Click 'Add repository'
  4. I entered in the clone path that I wanted on the dev box (e.g., C:\users\myalias\source\repos) and gave it the URL to the DevHome GitHub repository

Expected result

I was expecting that the flow would complete and the repos would be cloned as expected.

Actual result

I got back an error from winget with trying to apply a few packages (see screenshot). The logs also indicated that there was some sort of error installing Powershell (because it already exists)- I don't think I knowingly selected to install that, though.

Image

[2024/05/16 11:22:56.349 INF] (LoadingViewModel) Starting all tasks
[2024/05/16 11:22:56.352 INF] (ConfigureTargetTask) Starting configuration on adityar-razzle
[2024/05/16 11:23:12.914 INF] (ConfigureTargetTask) Ignoring configuration unit pending state.
[2024/05/16 11:25:14.968 ERR] (ConfigureTargetTask) Target experienced an error while applying the configuration: Short error description: [2024-05-16T18:23:09.430641+00:00] PowerShell 7 is already installed
Detailed error description:

[2024/05/16 11:25:30.104 INF] (ConfigureTargetTask) Configuration stopped

Included System Information

CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 63.86GB (47.63GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
9932MartCliment.WingetUIWidgets_0.5.0.0_x64__g91dtg5srk15g (WingetUI Widgets (Preview))
Microsoft.Windows.DevHomeGitHubExtension.Canary_0.1400.500.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Canary))
Microsoft.Windows.DevHomeAzureExtension.Canary_0.900.501.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Canary))
Microsoft.Windows.DevHome.Canary_0.1401.501.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome.Canary_0.1401.501.0_x64__8wekyb3d8bbwe (Hyper-V Extension)

Widget Service:
MicrosoftWindows.Client.WebExperience_524.13200.0.0_x64__cw5n1h2txyewy

@adrastogi adrastogi added the Issue-Bug Something isn't working or needs investigation label May 16, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label May 16, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@dhoehna
Copy link
Contributor

dhoehna commented May 16, 2024

@AmelBawa-msft I think this might be a configuration issue? CloneRepositoryAsync in GenericProvider is not invoked when the repo is cloning.

@bbonaby how does the environment flow clone repositories?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Environments Issue-Bug Something isn't working or needs investigation Needs-Triage New issue that the core contributors need to triage
Projects
None yet
Development

No branches or pull requests

3 participants