Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho test run failure. Bundle not resolved.

Title: Change of Registered Address - Action Required
Hello there,

I have a test run failure because the test bundle is not resolved. The headless eclipse application won't start at all and will throw:

java.lang.RuntimeException: Bundle com.ontologypartners.modeller.test is not found
    at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.getBundleClassLoader(OsgiSurefireBooter.java:120)
    at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:48)
    at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)


The bundle that is starting is actually a UI test bundle. It has references to org.eclipse.swt and org.eclipse.swtbot. It doesn't need an eclipse UI in order to perform the tests because it will start a small swt application for each test. It will then execute very simple unit tests on small ui panels. This in fact is much faster and reliable then using a whole eclipse instance.

It looks like all the not resolved bundles has direct or indirect reference to the org.eclipse.swt.

I can see the headless eclipse instance is deployed to target/work but this folder is empty after the test fail. I guess this is automatically done by the test framework.

Is there a way to leave these file not deleted in order to investigate what is going on?

Thanks,
Lucho

P.S. The list of not resolved bundles and packages.
!ENTRY org.eclipse.osgi 2 0 2011-09-23 15:14:46.426
!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 2011-09-23 15:14:46.426
!MESSAGE Bundle com.ontologypartners.modeller.test_1.0.0 [17] was not resolved.
!SUBENTRY 2 com.ontologypartners.modeller.test 2 0 2011-09-23 15:14:46.427
!MESSAGE Missing required bundle com.ontologypartners.ui.test.util_0.0.0.
!SUBENTRY 2 com.ontologypartners.modeller.test 2 0 2011-09-23 15:14:46.427
!MESSAGE Missing imported package org.eclipse.swtbot.eclipse.finder_0.0.0.
!SUBENTRY 2 com.ontologypartners.modeller.test 2 0 2011-09-23 15:14:46.427
!MESSAGE Missing imported package org.eclipse.swtbot.eclipse.finder.widgets_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-23 15:14:46.428
!MESSAGE Bundle com.ontologypartners.ui.test.util_1.0.0 [59] was not resolved.
!SUBENTRY 2 com.ontologypartners.ui.test.util 2 0 2011-09-23 15:14:46.428
!MESSAGE Missing imported package org.eclipse.swtbot.eclipse.finder_0.0.0.
!SUBENTRY 2 com.ontologypartners.ui.test.util 2 0 2011-09-23 15:14:46.429
!MESSAGE Missing imported package org.eclipse.swtbot.eclipse.finder.widgets_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-23 15:14:46.429
!MESSAGE Bundle org.eclipse.swtbot.eclipse.finder_2.0.5 [76] was not resolved.
!SUBENTRY 2 org.eclipse.swtbot.eclipse.finder 2 0 2011-09-23 15:14:46.430
!MESSAGE Missing imported package junit.framework_[3.8.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-23 15:14:46.430
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_3.5.2.v3557f [97] was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86 2 0 2011-09-23 15:14:46.430
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-23 15:14:46.431
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_3.5.2.v3557f [186] was not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2011-09-23 15:14:46.431
!MESSAGE Platform filter did not match: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-23 15:14:46.448
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_64_3.5.2.v3557f [187] was not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86_64 2 0 2011-09-23 15:14:46.448
!MESSAGE Platform filter did not match: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86_64))


--
 

Luchesar Cekov
Software Engineer
+44 (0)20 7239 4949

Ontology Systems
www.ontology.com

cid:image001.gif@01CB28DC.799AB7D0       

Registered Office: Ontology-Partners Limited, Dalton House, 60 Windsor Avenue, London SW19 2RR, UK

Company Registration No. 5794201

 

 

 



.

begin:vcard
org:Ontology-Partners Limited
adr:60 Windsor Avenue;;Dalton House;London;;SW19 2RR;UK
title:Registered Office:
version:2.1
end:vcard


Back to the top