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

Random failing JavaDebugStackTraceConsoleTest #590

Open
jukzi opened this issue Jan 13, 2025 · 0 comments
Open

Random failing JavaDebugStackTraceConsoleTest #590

jukzi opened this issue Jan 13, 2025 · 0 comments
Labels
test junit test related things Windows Happens on Windows OS

Comments

@jukzi
Copy link
Contributor

jukzi commented Jan 13, 2025

https://download.eclipse.org/eclipse/downloads/drops4/I20250111-1800/testresults/html/org.eclipse.jdt.debug.tests_ep435I-unit-win32-x86_64-java21_win32.win32.x86_64_21.html

org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:816)
at org.eclipse.core.internal.resources.Project.delete(Project.java:365)
at org.eclipse.jdt.debug.tests.console.JavaDebugStackTraceConsoleTest.testLinkNavigation(JavaDebugStackTraceConsoleTest.java:72)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2774)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:61)
at java.base/java.lang.Thread.run(Thread.java:1583)
Contains: Could not delete '/JavaDebugStackTraceConsoleTest/src'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:416)
at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:363)
at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:398)
at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:855)
at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1834)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:803)
at org.eclipse.core.internal.resources.Project.delete(Project.java:365)
at org.eclipse.jdt.debug.tests.console.JavaDebugStackTraceConsoleTest.testLinkNavigation(JavaDebugStackTraceConsoleTest.java:72)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2774)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:61)
at java.base/java.lang.Thread.run(Thread.java:1583)
Contains: Problems encountered while deleting files.
Contains: Could not delete: C:\Users\genie.releng\workspace\AutomatedTests\ep435I-unit-win32-x86_64-java21\workarea\I20250111-1800\eclipse-testing\test-eclipse\eclipse\jdt_folder\JavaDebugStackTraceConsoleTest\src\SomeClass.java.
java.nio.file.FileSystemException: C:\Users\genie.releng\workspace\AutomatedTests\ep435I-unit-win32-x86_64-java21\workarea\I20250111-1800\eclipse-testing\test-eclipse\eclipse\jdt_folder\JavaDebugStackTraceConsoleTest\src\SomeClass.java: The process cannot access the file because it is being used by another process
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:273)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:109)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:309)
at org.eclipse.core.internal.filesystem.local.LocalFile.lambda$3(LocalFile.java:326)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1456)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Contains: Could not delete 'C:\Users\genie.releng\workspace\AutomatedTests\ep435I-unit-win32-x86_64-java21\workarea\I20250111-1800\eclipse-testing\test-eclipse\eclipse\jdt_folder\JavaDebugStackTraceConsoleTest'.
@jukzi jukzi added Windows Happens on Windows OS test junit test related things labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test junit test related things Windows Happens on Windows OS
Projects
None yet
Development

No branches or pull requests

1 participant