-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Jenkins unable to clean up Windows host workspaces #477
Comments
@karianna I'm not sure who's best placed to look at this - can you suggest someone? I've not seen that job before and I can't see where it's definition is (There's no configure link on the UI so I'm assuming it's magic) |
Something you can help with, @AdamBrousseau ? I know you've got some experience in this area. |
I looked at this issue briefly yesterday but the description is lacking any details and the link posted is not public. |
|
Longer stack trace as an example for the 1st item.
|
I would suggest deleting current leftover directories (they consume 48GB of space) and add a post-build step to clean the workspace directory (propagating the failure of cleanup to the build itself) to have a better control and feedback of what's going on. If that sounds ok for you, I can make the changes. |
I'm not too familiar with the plugin you're using as I've not used it before. Basically what we have done as a workaround at OpenJ9 is to not fail the
I can't recall exactly why the retry is needed but if you only run it once you will get failures, possibly only on Windows. |
@ali-ince - sounds good |
Ok, I've spent some time resolving this issue - my suggestions without helping at all :) I've restored the original behaviour of ws-cleanup plugin, so that the workspace folder is renamed with a suffix of
I've tried deleting the folder with this same command within the build but it didn't help (failed with the same error logged - nio folder contains some weirdly named file Will check whether other windows build hosts are suffering from the same problem or not. |
When is the schedule set to run? How will you guarantee there is currently no job executing on the slave? |
Sorry @AdamBrousseau, I've mistyped the command above (and fixed it now) - it only deletes folders that have It'll run daily at 09:30pm. |
Due to not having the permission to delete certain files.
https://ci.adoptopenjdk.net/administrativeMonitor/AsyncResourceDisposer/
The text was updated successfully, but these errors were encountered: