Bug 158105 - ValidateEditTests refactoring tests fail (last builds)
Summary: ValidateEditTests refactoring tests fail (last builds)
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: Power PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on: 21084 254444
Blocks:
  Show dependency tree
 
Reported: 2006-09-21 03:15 EDT by Dani Megert CLA
Modified: 2022-08-22 03:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2006-09-21 03:15:08 EDT
I20060920-1200
I20060920-1600

It happens on the ValidateEditTests on tearDown, see:
http://eclipsebuildserv.ottawa.ibm.com/downloads/master/downloads/drops/I20060920-1600/testresults/html/org.eclipse.jdt.ui.tests.refactoring_macosx.carbon.ppc.html

As a workaround you might want to use different resources for each test.
Comment 1 Dani Megert CLA 2006-09-21 03:16:26 EDT
Might be a core problem.
Comment 2 Dani Megert CLA 2006-09-21 05:22:05 EDT
It also failed in I20060921-0010 which indicates a real problem.
Comment 3 Martin Aeschlimann CLA 2007-05-08 12:39:52 EDT
I guess this got fixed?
Comment 4 Markus Keller CLA 2007-05-08 13:35:39 EDT
Yes, got fixed somehow (I actually don't remember how).
Comment 5 Benjamin Muskalla CLA 2008-10-23 08:48:26 EDT
I wonder why the tests are still commented out in the AllRefactoringTests suite
Comment 6 Dani Megert CLA 2008-10-23 09:59:47 EDT
I've re-enabled the tests. Let's see whether they pass on the Mac.
Comment 7 Dani Megert CLA 2008-10-26 12:38:51 EDT
They still fail on the Mac.

Problems encountered while deleting resources.

org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:723)
at org.eclipse.core.internal.resources.Project.delete(Project.java:317)
at org.eclipse.jdt.testplugin.JavaProjectHelper.delete(JavaProjectHelper.java:281)
at org.eclipse.jdt.testplugin.JavaProjectHelper.access$0(JavaProjectHelper.java:278)
at org.eclipse.jdt.testplugin.JavaProjectHelper$1.run(JavaProjectHelper.java:271)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at org.eclipse.jdt.testplugin.JavaProjectHelper.delete(JavaProjectHelper.java:274)
at org.eclipse.jdt.ui.tests.refactoring.RefactoringTestSetup.tearDown(RefactoringTestSetup.java:85)
at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3342)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3071)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:333)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:32)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:370)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Contains: Could not delete '/TestProject1225003859918/src'.
Contains: Could not delete '/Users/sdimitro/buildtest/N20081025-2000/eclipse-testing/test-eclipse/eclipse/refactoring_folder/TestProject1225003859918'.
Comment 8 Dani Megert CLA 2008-10-26 12:41:21 EDT
Markus, please investigate. First we need to find out what kind of CoreException happened.
Comment 9 Markus Keller CLA 2008-11-06 08:53:24 EST
Problem is that the Mac cannot delete or move locked files, see bug 254444.
Comment 10 Markus Keller CLA 2009-04-14 09:10:12 EDT
Need API from bug 254444, moving to 3.6.
Comment 11 Eclipse Genie CLA 2020-08-30 01:42:51 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 12 Eclipse Genie CLA 2022-08-22 03:36:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.