Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] Recent problems with build

Hi,

@thierry, on inference tests, or also in another? Can you open a bug? 

I have couple ideas where can be a problem, but I'll check when (if) I find windows workstation :P

--
Dawid Pakuła  
+48 795 996 064

On 27 Mar 2015 at 18:03:29, thierry blind (thierryblind@xxxxxxx) wrote:
> That's a different problem, but in my case junit tests often fail on Windows machines  
> because files cannot be deleted :
> 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:344) at  
> org.eclipse.php.core.tests.typeinference.TypeInferenceTests.tearDownSuite(TypeInferenceTests.java:109)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
> at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)  
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)  
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)  
> at org.eclipse.php.core.tests.runner.PDTTList$AfterStatement.evaluate(PDTTList.java:299)  
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127)  
> at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)  
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)  
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)  
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)  
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)  
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)  
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)  
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)  
> at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)  
> at org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness$1.run(PlatformUITestHarness.java:47)  
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)  
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147) at  
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)  
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)  
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)  
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)  
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)  
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)  
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at  
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)  
> at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:54)  
> at org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:47)  
> at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:48)  
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)  
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)  
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)  
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)  
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
> at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)  
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)  
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)Contains: Could not  
> delete '/TypeInferenceTests_PHP5_3'.org.eclipse.core.runtime.CoreException:  
> Problems encountered while deleting files. at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:131)  
> at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:854)  
> at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1987)  
> at org.eclipse.core.internal.resources.Resource.delete(Resource.java:803)  
> at org.eclipse.core.internal.resources.Project.delete(Project.java:344) at  
> org.eclipse.php.core.tests.typeinference.TypeInferenceTests.tearDownSuite(TypeInferenceTests.java:109)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
> at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)  
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)  
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)  
> at org.eclipse.php.core.tests.runner.PDTTList$AfterStatement.evaluate(PDTTList.java:299)  
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127)  
> at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)  
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)  
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)  
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)  
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)  
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)  
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)  
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)  
> at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)  
> at org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness$1.run(PlatformUITestHarness.java:47)  
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)  
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147) at  
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)  
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)  
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)  
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)  
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)  
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)  
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at  
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)  
> at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:54)  
> at org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:47)  
> at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:48)  
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)  
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)  
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)  
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)  
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
> at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)  
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)  
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)Contains: Could not  
> delete: D:\junit-workspace\TypeInferenceTests_PHP5_3\dummy.php.
> I cleaned up everything, but it's still happening pretty often.I am the only one to have  
> such kind of file deletion problem ?
> Thierry.
> > Date: Fri, 27 Mar 2015 17:27:28 +0100
> > From: zulus@xxxxxxxxx
> > To: pdt-dev@xxxxxxxxxxx
> > Subject: Re: [pdt-dev] Recent problems with build
> >
> > Hi,
> >
> > it's because on your pc tests run in different order.
> >
> > I prepared patch with simple fix: https://git.eclipse.org/r/#/c/44763/
> >
> > --
> > Dawid Pakuła
> > +48 795 996 064
> >
> > On 27 Mar 2015 at 13:32:22, Michał Niewrzał (michal.n@xxxxxxxx) wrote:
> > > Hi,
> > > Recently I noticed that my local build is failing on tests. Tests started
> > > with maven and from Eclipse ends with failure. Because our builds on Hudson
> > > are working correctly I started to search problem on my machine, but for
> > > now without success. Failing tests:
> > >
> > > assist[workspace/codeassist/php55/testMagicMethod7.pdtt](org.eclipse.php.core.tests.codeassist.CodeAssistTests):  
> > >
> > > assist[workspace/codeassist/php55/testMagicMethod7.pdtt](org.eclipse.php.core.tests.codeassist.CodeAssistTests):  
> > >
> > > I tried to reproduce test problem in PDT manually, but everything is
> > > working ok. Problem is only visible during build. Any idea what is going
> > > on?:)
> > >
> > > Thanks,
> > > Michal
> > > _______________________________________________
> > > pdt-dev mailing list
> > > pdt-dev@xxxxxxxxxxx
> > > To change your delivery options, retrieve your password, or unsubscribe from this  
> list,
> > > visit
> > > https://dev.eclipse.org/mailman/listinfo/pdt-dev
> >
> > _______________________________________________
> > pdt-dev mailing list
> > pdt-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from this  
> list, visit
> > https://dev.eclipse.org/mailman/listinfo/pdt-dev
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list,  
> visit
> https://dev.eclipse.org/mailman/listinfo/pdt-dev



Back to the top