Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 286646 - XULRunner not loaded in unit tests
Summary: XULRunner not loaded in unit tests
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ATF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-14 10:46 EDT by Jacek Pospychala CLA
Modified: 2020-05-07 10:51 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 Jacek Pospychala CLA 2009-08-14 10:46:34 EDT
From
https://build.eclipse.org/hudson/view/Athena%20CBI/job/cbi-atf-0.3-nightly/78/artifact/build/N200908141033/testresults/html/org.eclipse.atf.mozilla.ide.ui.test_linux.gtk.html

testLoad	Error	No more handles [Could not detect registered XULRunner to use]

at org.eclipse.swt.SWT.error(SWT.java:3910)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:471)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
at org.eclipse.atf.mozilla.ide.ui.css.CSSPropertyLocatorTest.testLoad(CSSPropertyLocatorTest.java:36)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Jacek Pospychala CLA 2009-08-19 10:08:09 EDT
It's probably because build.eclipse.org architecture is powerpc, but there's no XULRunner for ppc available.
Comment 2 Jacek Pospychala CLA 2009-08-19 11:29:54 EDT
Dear Webmaster,

can you install XULRunner library on build.eclipse.org?

Our ATF unit tests require XULRunner library. We can't use eclipse package with XULRunner that we normally use, because there's no one for build server (linux.ppc) architecture. I tried to use XULRunner embedded in Firefox installed on build.eclipse.org at /usr/lib/firefox, but I can't identify it's version and so far our unit tests fail with it.

We'd need XULRunner library 1.8.1.3 or 1.9.1.
Comment 3 Jacek Pospychala CLA 2009-08-20 05:05:26 EDT
I have installed xulrunner 1.8 library from suse-10-ppc repo in my home directory on build server and now ATF tests pass.
Webmaster, if it's possible for you to provide the system-wide library, I'd still be grateful.
Comment 4 Denis Roy CLA 2009-08-24 13:00:21 EDT
I've installed mozilla-xulrunner190-1.9.0.13-1.4 on build.  Everything seems to be in /usr/lib/xulrunner-1.9.0.13
Comment 5 Jacek Pospychala CLA 2009-08-27 09:29:27 EDT
We're using XULRunner from /shared/common directory.

FIXED
Comment 6 Jacek Pospychala CLA 2010-04-09 08:55:00 EDT
Update fixed bugs Target Milestone as part of pre-release bugzilla cleanup.