Skip to main content

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

I suppose that swtbot is missing in your target platform. I suppose you are using a target file, so please check that the swtbot bundles are part of the target file (on the “Content” tab in the Target Definition Editor)

 

Regards

Tobias

 

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Luchesar Cekov
Sent: Freitag, 23. September 2011 18:23
To: Tycho user list
Subject: Re: [tycho-user] Tycho test run failure. Bundle not resolved.

 

This is on the latest 0.13.0

-------- Original Message --------

Subject:

Re: [tycho-user] Tycho test run failure. Bundle not resolved.

Date:

Fri, 23 Sep 2011 11:25:58 -0400

From:

Igor Fedorenko <igor@xxxxxxxxxxxxxx>

Reply-To:

Tycho user list <tycho-user@xxxxxxxxxxx>

To:

tycho-user@xxxxxxxxxxx

 

What tycho version is that?
 
--
Regards,
Igor
 
On 11-09-23 11:06 AM, Luchesar Cekov wrote:
> 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 <http://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
> 
> 
> 
> .
> 
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
 

 

.


Back to the top