Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Cannot delete workspace :remote file operation failed #1042

Open
pakrym opened this issue Aug 8, 2018 · 2 comments
Open

Cannot delete workspace :remote file operation failed #1042

pakrym opened this issue Aug 8, 2018 · 2 comments

Comments

@pakrym
Copy link
Contributor

pakrym commented Aug 8, 2018

We get a lot of Jenkins failures like https://ci3.dot.net/job/aspnet_IISIntegration/job/master/job/windows-Configuration_Release_prtest/75/console in https://github.com/aspnet/IISIntegration repo.

I suspect that it's caused by hanging w3wp or iisexpress processes that are not killed by default targets. Is there a way for us to kill processes before WS-CLEANUP runs or should I open PR to add them to common targets?

@mmitche
Copy link
Member

mmitche commented Aug 13, 2018

This is the initial workspace cleanup, which means that a previous run still has processes running. AFAIK, this shouldn't happen because the previous run's processes should be killed by this time.

They are cleaned up by doing the following:

  • Job has a cookie environment variable. All processes started by the job get the cookie.
  • After run, find all processes in the system with the cookie and kill. This of course requires perms to kill those processes.

Could something you're doing be breaking that workflow?

@pakrym
Copy link
Contributor Author

pakrym commented Aug 13, 2018

Yeah, we use full IIS and it's a service that runs from SYSTEM account. If we leave broken IIS instance running it might escape the cookie check.

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

No branches or pull requests

2 participants