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

test-softlayer-win2012r2-x64-2 corrupt git repo unable to clean... #1410

Closed
andrew-m-leonard opened this issue Jun 24, 2020 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@andrew-m-leonard
Copy link
Contributor

https://ci.adoptopenjdk.net/job/Test_openjdk14_j9_sanity.openjdk_x86-64_windows/114/console

Running on test-softlayer-win2012r2-x64-2 in C:\Users\jenkins\workspace\Test_openjdk14_j9_sanity.openjdk_x86-64_windows
[Pipeline] {
[Pipeline] checkout
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Command "git rev-parse --is-inside-work-tree" returned status code 128:
stdout: 
stderr: fatal: not a git repository (or any parent up to mount point /cygdrive)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2430)
...
Cloning the remote Git repository
Cloning repository https://github.com/AdoptOpenJDK/openjdk-tests.git
ERROR: Failed to clean the workspace
jenkins.util.io.CompositeIOException: Unable to delete 'C:\Users\jenkins\workspace\Test_openjdk14_j9_sanity.openjdk_x86-64_windows\openjdk-tests'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.

@Willsparker
Copy link
Contributor

ref: #1396

@Willsparker
Copy link
Contributor

Again, another instance of a leftover java process using the file, therefore stopping anything from being able to delete it.
The file in particular a core log file from a test:
C:\Users\jenkins\workspace\Test_openjdk14_j9_sanity.openjdk_x86-64_windows\openjdk-tests\TKG\test_output_15927131979083\jdk_lang_j9_0\work\scratch_1\javacore.20200620.233449.36172.0001

I'm not sure whether this is relevant, but the contents of it is attached:
test-softlayer-win2012-x64-2-javacore.20200620.txt

With the final words:

3LKMONOBJECT       java/lang/ref/ReferenceQueue@0x00000000FFDF6110: <unowned>
3LKNOTIFYQ            Waiting to be notified:
3LKWAITNOTIFY            "Common-Cleaner" (

It does indeed look like it's not finished properly.

@Willsparker
Copy link
Contributor

I've stopped the process and deleted the file. I'll include a link to the above comment in my track corrupt workspaces on windows issue.

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

No branches or pull requests

3 participants