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

Unable to delete test directories on test-azure-win2012r2-x64-1 #784

Closed
smlambert opened this issue May 13, 2019 · 4 comments
Closed

Unable to delete test directories on test-azure-win2012r2-x64-1 #784

smlambert opened this issue May 13, 2019 · 4 comments
Assignees
Milestone

Comments

@smlambert
Copy link
Contributor

Urgent:

We have a single Windows test machine online and it is in bad shape, so there is effectively no testing on this platform at the moment.

example of failures: https://ci.adoptopenjdk.net/view/Test_all/job/openjdk11_hs_openjdktest_extended_x86-64_windows/11/console

Running on test-azure-win2012r2-x64-1 in C:\Users\jenkins\workspace\openjdk11_hs_openjdktest_extended_x86-64_windows
[Pipeline] {
[Pipeline] checkout
No credentials specified
Wiping out workspace first.
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
jenkins.util.io.CompositeIOException: Unable to delete 'C:\Users\jenkins\workspace\openjdk11_hs_openjdktest_extended_x86-64_windows\openjdk-tests'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:86)
at hudson.Util.deleteContentsRecursive(Util.java:260)

@karianna karianna added the bug label May 15, 2019
@karianna karianna added this to the 2019 May milestone May 15, 2019
@karianna
Copy link
Contributor

The following files are the culprit - I only have an adoptopenjdk user, I need some sort of Administrator to remove these (or perhaps be the jenkins user)

adoptopenjdk@test-2012r2-1 /cygdrive/c/Users/jenkins/workspace/openjdk11_hs_openjdktest_extended_x86-64_windows/openjdk-tests/TestConfig/test_output_15533899198838
$ ls -la
total 12
drwxr-xr-x+ 1 jenkins      None          0 Mar 30 15:59 .
drwxr-xr-x+ 1 jenkins      None          0 Mar 24 15:09 ..
drwxr-x---  1 Unknown+User Unknown+Group 0 Mar 24 06:34 jdk_2d_0
drwxr-x---  1 Unknown+User Unknown+Group 0 Mar 24 01:12 jdk_awt_0

@sxa
Copy link
Member

sxa commented May 28, 2019

The adoptopenjdk user is an adminstrator so this shouldn't have been an issue. I'm going to reboot the machine (it's got some pending updates anyway) so will see if that allows us to clear it.

@sxa sxa self-assigned this May 28, 2019
@sxa
Copy link
Member

sxa commented May 28, 2019

Offending files vanished on a reboot without me having to take any further action.

@sxa sxa closed this as completed May 28, 2019
@karianna
Copy link
Contributor

Dang it - I remember that's what we had to do last time as well - there has to be a better way going forward :-/. So we need to stop producing those files in the tests...

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

No branches or pull requests

3 participants