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

azureremwebappdeploymentv3 broken after 3.175.2 update #13566

Closed
slaanish opened this issue Sep 16, 2020 · 10 comments · Fixed by #13567
Closed

azureremwebappdeploymentv3 broken after 3.175.2 update #13566

slaanish opened this issue Sep 16, 2020 · 10 comments · Fixed by #13567
Assignees

Comments

@slaanish
Copy link

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug
Enter Task Name: azurermwebappdeplymentv3

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines or TFS on-premises?

  • Azure Pipelines

  • Agent - Hosted or Private:

    • Private Agent Windows Server

Issue Description

azurermwebappdeplymentv3 After updating to version 3.175.2 deploys started failing not being able to find msdeploy. There is now a new folder in the task version directory named webdeployment-common. The error claims to be looking for msdeploy in this new directory. There is no MSDeploy3.6 directory there. It is in the base (3.xxxx) directory like it always has been.

Task logs

2020-09-16T22:35:56.5304279Z ##[debug]Absolute path for pathSegments: X:\R1_work_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\3.175.2\webdeployment-common\MSDeploy3.6/msdeploy = X:\R1_work_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\3.175.2\webdeployment-common\MSDeploy3.6\msdeploy
2020-09-16T22:35:56.5305554Z ##[debug]Absolute path for pathSegments: C:\Windows\system32/msdeploy = C:\Windows\system32\msdeploy
2020-09-16T22:35:56.5307363Z ##[debug]Absolute path for pathSegments: C:\Windows/msdeploy = C:\Windows\msdeploy
2020-09-16T22:35:56.5308645Z ##[debug]Absolute path for pathSegments: C:\Windows\System32\Wbem/msdeploy = C:\Windows\System32\Wbem\msdeploy
2020-09-16T22:35:56.5310124Z ##[debug]Absolute path for pathSegments: C:\Windows\System32\WindowsPowerShell\v1.0/msdeploy = C:\Windows\System32\WindowsPowerShell\v1.0\msdeploy
2020-09-16T22:35:56.5312457Z ##[debug]Absolute path for pathSegments: C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn/msdeploy = C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\msdeploy
2020-09-16T22:35:56.5313382Z ##[debug]Absolute path for pathSegments: C:\ProgramData\chocolatey\bin/msdeploy = C:\ProgramData\chocolatey\bin\msdeploy
2020-09-16T22:35:56.5314706Z ##[debug]Absolute path for pathSegments: C:\Users\USER\AppData\Local\Microsoft\WindowsApps/msdeploy = C:\Users\USER\AppData\Local\Microsoft\WindowsApps\msdeploy
2020-09-16T22:35:56.5316887Z ##[debug]check path : null

Troubleshooting

I copied the MSDeploy3.6 folder into the webdeployment-common directory and it made it happy. I do not feel this if the proper fix, but it got it going.

Error logs

@20shivangi
Copy link
Contributor

@damccorm Can you please check this, I think moving webappdeployment-common folder within the task has broken our code

@d-burr
Copy link

d-burr commented Sep 21, 2020

@chshrikh @N-Usha @nadesu we are also being effected by this issued, is there an ETA on it being resolved?

@trreeves
Copy link

@chshrikh @N-Usha @nadesu This is seriously affecting multiple teams in our organisation. A prompt fix would be gratefully received.

@nadesu
Copy link
Contributor

nadesu commented Sep 21, 2020

@20shivangi, @damccorm - What is the expected ETA for the fix?

@damccorm
Copy link

Sorry, didn't mean to close - this should be fixed in master, it should roll out with the next sprint payload over the next 3 weeks

@nulltoken
Copy link

FWIW, upgrading to v4 solved the issue for us

@20shivangi
Copy link
Contributor

@slaanish Yes, you can either upgrade your task to use V4 version or wait for at least 3 weeks till the fix reaches to your account. Thank you for your patience.

@20shivangi
Copy link
Contributor

Closing this issue. Please wait for the fix to reach your account.
Feel free to reopen it if face any further issue

@damccorm
Copy link

FWIW we actually ended up rolling this fix out last night, so it should be everywhere now

@trreeves
Copy link

We really appreciated the prompt roll out of this fix. We had a lot of teams to communicate with and a lot of noise to deal with. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.