Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] Running the egit ui tests

Hi,

I'm in the process of providing a patch set for for import project wizard of EGit, see https://git.eclipse.org/r/#/c/15039/

Hudson complains that two tests are failing which I would like to fix. Unfortunately the All-SWT-Test.launch result in errors. I think I followed http://wiki.eclipse.org/EGit/Contributor_Guide correctly, the projects have no error anymore and I installed all components based on the tools/egit-developer-tools.p2f file.

Any advice? Please see below for the errors I get. I stopped the process after a few tests. 

Best regards, Lars

 

!ENTRY org.eclipse.osgi 2 0 2013-08-01 16:30:31.258
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-01 16:30:31.258
!MESSAGE Bundle reference:file:/home/vogella/workspace/egit/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.cdt.mylyn.ui_3.9.0.v20130612-0100.jar was not resolved.
!SUBENTRY 2 org.eclipse.cdt.mylyn.ui 2 0 2013-08-01 16:30:31.258
!MESSAGE Missing required bundle org.eclipse.cdt.core_5.0.0.
!SUBENTRY 2 org.eclipse.cdt.mylyn.ui 2 0 2013-08-01 16:30:31.258
!MESSAGE Missing required bundle org.eclipse.cdt.ui_5.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-01 16:30:31.259
!MESSAGE Bundle reference:file:/home/vogella/workspace/egit/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.swtbot.go_2.1.0.201302221524.jar was not resolved.
!SUBENTRY 2 org.eclipse.swtbot.go 2 0 2013-08-01 16:30:31.259
!MESSAGE Missing required bundle org.junit4_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-01 16:30:31.259
!MESSAGE Bundle reference:file:/home/vogella/workspace/egit/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.hamcrest.generator_1.1.0.v20090501071000.jar was not resolved.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.259
!MESSAGE Missing imported package com.thoughtworks.qdox.parser_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.260
!MESSAGE Missing imported package com.thoughtworks.qdox.parser.impl_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.260
!MESSAGE Missing imported package com.thoughtworks.qdox.parser.structs_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.260
!MESSAGE Missing imported package com.thoughtworks.qdox.ant_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.260
!MESSAGE Missing imported package com.thoughtworks.qdox.directorywalker_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.260
!MESSAGE Missing imported package com.thoughtworks.qdox.tools_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.261
!MESSAGE Missing imported package com.thoughtworks.qdox.junit_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.261
!MESSAGE Missing imported package com.thoughtworks.qdox_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.261
!MESSAGE Missing imported package com.thoughtworks.qdox.model.util_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.261
!MESSAGE Missing imported package com.thoughtworks.qdox.model_1.6.3.

!ENTRY org.eclipse.osgi 2 0 2013-08-01 16:30:31.267
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-01 16:30:31.267
!MESSAGE Bundle org.eclipse.cdt.mylyn.ui_3.9.0.v20130612-0100 [46] was not resolved.
!SUBENTRY 2 org.eclipse.cdt.mylyn.ui 2 0 2013-08-01 16:30:31.268
!MESSAGE Missing required bundle org.eclipse.cdt.core_5.0.0.
!SUBENTRY 2 org.eclipse.cdt.mylyn.ui 2 0 2013-08-01 16:30:31.268
!MESSAGE Missing required bundle org.eclipse.cdt.ui_5.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-01 16:30:31.268
!MESSAGE Bundle org.eclipse.swtbot.go_2.1.0.201302221524 [342] was not resolved.
!SUBENTRY 2 org.eclipse.swtbot.go 2 0 2013-08-01 16:30:31.268
!MESSAGE Missing required bundle org.junit4_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-01 16:30:31.268
!MESSAGE Bundle org.hamcrest.generator_1.1.0.v20090501071000 [375] was not resolved.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.268
!MESSAGE Missing imported package com.thoughtworks.qdox_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.268
!MESSAGE Missing imported package com.thoughtworks.qdox.ant_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.directorywalker_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.junit_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.model_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.model.util_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.parser_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.parser.impl_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.269
!MESSAGE Missing imported package com.thoughtworks.qdox.parser.structs_1.6.3.
!SUBENTRY 2 org.hamcrest.generator 2 0 2013-08-01 16:30:31.270
!MESSAGE Missing imported package com.thoughtworks.qdox.tools_1.6.3.
log4j:WARN No appenders could be found for logger (org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher).
log4j:WARN Please initialize the log4j system properly.

!ENTRY org.eclipse.ui 4 0 2013-08-01 16:30:36.819
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.hamcrest.core.IsAnything.any(Ljava/lang/Class;)Lorg/hamcrest/Matcher;)
at org.eclipse.swt.SWT.error(SWT.java:4397)
at org.eclipse.swt.SWT.error(SWT.java:4312)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3717)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3366)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.swtbot.eclipse.core.UITestApplication.start(UITestApplication.java:54)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.NoSuchMethodError: org.hamcrest.core.IsAnything.any(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
at org.hamcrest.Matchers.any(Matchers.java:127)
at org.eclipse.swtbot.eclipse.finder.widgets.SWTBotWorkbenchPart.getWidget(SWTBotWorkbenchPart.java:342)
at org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView$1.run(SWTBotView.java:73)
at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable$4.doRun(UIThreadRunnable.java:196)
at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable$1.run(UIThreadRunnable.java:89)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
... 25 more


Back to the top