Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Re: DNF Problems - Stack Trace on the Build Machine


Sorry Naci, no luck. Although the DNFs don't happen when the UI tests are run as core tests, many of them are still failing with bogus errors, e.g.:
        java.lang.NoClassDefFoundError: org.eclipse.jface.dialogs.Dialog

I had these same errors when I initially checked in the tests with "core-test". By switching to "ui-test" it resolves this problem on all other build machines that I have access to, but regresses to the DNF in the official WTP build.

Thanks,
Tim deBoer
WebSphere Tools - IBM Canada Ltd.
(905) 413-3503  (tieline 969)
deboer@xxxxxxxxxx



Naci Dai <naci.dai@xxxxxxxxxxxxx>
Sent by: wtp-dev-admin@xxxxxxxxxxx

01/31/2005 02:40 PM

Please respond to
wtp-dev

To
wtp-dev@xxxxxxxxxxx
cc
Timothy Deboer/Toronto/IBM@IBMCA, Jeffrey Liu/Toronto/IBM@IBMCA
Subject
[wtp-dev] Re: DNF Problems - Stack Trace on the Build Machine





This seems to have done it.  At least for now, until we install Xvfb on the build machine for the tests that require to open windows on a workbench.

http://download.eclipse.org/webtools/downloads/drops//N-N20050131-200501312050/index.html


At 06:57 AM 1/31/2005, David M Williams wrote:

I'm sure we'll need graphical display to run many tests.

The thing that's a little confusing is that these tests appear to fail completely, instead of listing certain tests ran, and certain tests fail (those depending on a UI).


Here's a guess for the cause of that, if you want to experiment ... in your test.xml file, instead of
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">


try using
<ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">


It appears we  (in editor land) use "core-test" even when we do have some (minor) dependancy on UI ... so, all tests still run, even though some fail with weird "out of handles" type errors. Of course ... it may be acedemic, since we will eventually need a display .... but ... if some of your "ui tests" don't really need a workbench/display, then might be worth playing with.


Thanks,


David





Naci Dai <naci.dai@xxxxxxxxxxxxx>


01/30/2005 04:29 PM

To

Jeffrey Liu <jeffliu@xxxxxxxxxx>, Timothy Deboer <deboer@xxxxxxxxxx>, David M Williams/Raleigh/IBM@IBMUS

cc
Subject

DNF Problems - Stack Trace on the Build Machine




I have attached the stack trace in case you guys get a better idea :-)



----------------------


    [java]      [java] eclipse-test:
    [java]      [java]      [echo] Running
org.eclipse.jst.server.tomcat.core.tests.AllTests
    [java]      [java]      [java] !SESSION 2005-01-30 22:05:57.58
---------------------------------------
---------
    [java]      [java]      [java] eclipse.buildId=I20041216-2000
    [java]      [java]      [java] java.version=1.4.2_06
    [java]      [java]      [java] java.vendor=Sun Microsystems Inc.
    [java]      [java]      [java] BootLoader constants: OS=linux,
ARCH=x86, WS=gtk, NL=en_US
    [java]      [java]      [java] Framework arguments:  -application
org.eclipse.test.uitestapplication f
ormatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jst.server.tomcat
.core.tests.AllTests.xml -testPluginName
org.eclipse.jst.server.tomcat.core.tests -className org.eclipse.js
t.server.tomcat.core.tests.AllTests
    [java]      [java]      [java] Command-line arguments:  -application
org.eclipse.test.uitestapplicatio
n -dev bin -data /home/eteration/build-home/test-current/eclipse/wst_folder
formatter=org.apache.tools.ant.
taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jst.server.tomcat.core.tests.AllTests.xml
-test
PluginName org.eclipse.jst.server.tomcat.core.tests -className
org.eclipse.jst.server.tomcat.core.tests.All
Tests -os linux -ws gtk -arch x86 -consolelog

    [java]      [java]      [java] !ENTRY org.eclipse.osgi 2005-01-30
22:05:57.62
    [java]      [java]      [java] !MESSAGE Application error
    [java]      [java]      [java] !STACK 1
    [java]      [java]      [java] org.eclipse.swt.SWTError: No more handles
    [java]      [java]      [java]     at
org.eclipse.swt.SWT.error(SWT.java:2853)
    [java]      [java]      [java]     at
org.eclipse.swt.SWT.error(SWT.java:2752)
    [java]      [java]      [java]     at
org.eclipse.swt.SWT.error(SWT.java:2723)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.createDisplay(Display.java:717)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.create(Display.java:706)
    [java]      [java]      [java]     at
org.eclipse.swt.graphics.Device.<init>(Device.java:123)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.<init>(Display.java:412)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.<init>(Display.java:408)
    [java]      [java]      [java]     at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:3
10)
    [java]      [java]      [java]     at
org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:156)
    [java]      [java]      [java]     at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEAppl
ication.java:127)
    [java]      [java]      [java]     at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.ja
va:78)
    [java]      [java]      [java]     at
org.eclipse.test.UITestApplication.runApplication(UITestApplicat
ion.java:131)
    [java]      [java]      [java]     at
org.eclipse.test.UITestApplication.run(UITestApplication.java:58
)
    [java]      [java]      [java]     at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Platfo
rmActivator.java:220)
    [java]      [java]      [java]     at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
er.java:273)
    [java]      [java]      [java]     at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
er.java:129)
    [java]      [java]      [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      [java]      [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:39)
    [java]      [java]      [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java:25)
    [java]      [java]      [java]     at
java.lang.reflect.Method.invoke(Method.java:324)
    [java]      [java]      [java]     at
org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    [java]      [java]      [java]     at
org.eclipse.core.launcher.Main.run(Main.java:710)
    [java]      [java]      [java]     at
org.eclipse.core.launcher.Main.main(Main.java:694)
    [java]      [java]      [java] Java Result: 13

    [java]      [java] cleanup:

    [java]      [java] run:

    [java]      [java] collect:
    [java]      [java]      [copy] Copying 1 file to
/home/eteration/build-home/test-current/results/xml

    [java]      [java] genHtml:
    [java]      [java]     [style] Transforming into
/home/eteration/build-home/test-current/results/html
    [java]      [java]     [style] Processing
/home/eteration/build-home/test-current/results/xml/org.ecli
pse.jst.server.tomcat.core.tests_.xml to
/home/eteration/build-home/test-current/results/html/org.eclipse.j
st.server.tomcat.core.tests_.html
    [java]      [java]     [style] Loading stylesheet
/home/eteration/build-home/test-current/JUNIT.XSL

    [java]      [java] runtests-runAsPerfApp:

    [java]      [java] genHtml:
    [java]      [java]     [style] Transforming into
/home/eteration/build-home/test-current/results/html

    [java]      [java] setup:

    [java]      [java] runtests:

    [java]      [java] runtests2:

    [java]      [java] runtests-normal:
    [java]      [java]      [echo] basedir
/home/eteration/build-home/test-current/eclipse
    [java]      [java]      [echo] eclipse place
/home/eteration/build-home/test-current/eclipse

    [java]      [java] init:
    [java]      [java]    [delete] Deleting 1 files from
/home/eteration/build-home/test-current/eclipse

    [java]      [java] suite:
    [java]      [java]    [delete] Deleting directory
/home/eteration/build-home/test-current/eclipse/wst_
folder

    [java]      [java] ui-test:

    [java]      [java] eclipse-test:
    [java]      [java]      [echo] Running
org.eclipse.jst.server.tomcat.ui.tests.AllTests
    [java]      [java]      [java] !SESSION 2005-01-30 22:05:59.704
--------------------------------------
---------
    [java]      [java]      [java] eclipse.buildId=I20041216-2000
    [java]      [java]      [java] java.version=1.4.2_06
    [java]      [java]      [java] java.vendor=Sun Microsystems Inc.
    [java]      [java]      [java] BootLoader constants: OS=linux,
ARCH=x86, WS=gtk, NL=en_US
    [java]      [java]      [java] Framework arguments:  -application
org.eclipse.test.uitestapplication f
ormatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jst.server.tomcat
.ui.tests.AllTests.xml -testPluginName
org.eclipse.jst.server.tomcat.ui.tests -className org.eclipse.jst.se
rver.tomcat.ui.tests.AllTests
    [java]      [java]      [java] Command-line arguments:  -application
org.eclipse.test.uitestapplicatio
n -dev bin -data /home/eteration/build-home/test-current/eclipse/wst_folder
formatter=org.apache.tools.ant.
taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jst.server.tomcat.ui.tests.AllTests.xml
-testPl
uginName org.eclipse.jst.server.tomcat.ui.tests -className
org.eclipse.jst.server.tomcat.ui.tests.AllTests
-os linux -ws gtk -arch x86 -consolelog

    [java]      [java]      [java] !ENTRY org.eclipse.osgi 2005-01-30
22:05:59.710
    [java]      [java]      [java] !MESSAGE Application error
    [java]      [java]      [java] !STACK 1
    [java]      [java]      [java] org.eclipse.swt.SWTError: No more handles
    [java]      [java]      [java]     at
org.eclipse.swt.SWT.error(SWT.java:2853)
    [java]      [java]      [java]     at
org.eclipse.swt.SWT.error(SWT.java:2752)
    [java]      [java]      [java]     at
org.eclipse.swt.SWT.error(SWT.java:2723)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.createDisplay(Display.java:717)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.create(Display.java:706)
    [java]      [java]      [java]     at
org.eclipse.swt.graphics.Device.<init>(Device.java:123)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.<init>(Display.java:412)
    [java]      [java]      [java]     at
org.eclipse.swt.widgets.Display.<init>(Display.java:408)
    [java]      [java]      [java]     at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:3
10)
    [java]      [java]      [java]     at
org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:156)
    [java]      [java]      [java]     at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEAppl
ication.java:127)
    [java]      [java]      [java]     at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.ja
va:78)
    [java]      [java]      [java]     at
org.eclipse.test.UITestApplication.runApplication(UITestApplicat
ion.java:131)
    [java]      [java]      [java]     at
org.eclipse.test.UITestApplication.run(UITestApplication.java:58
)
    [java]      [java]      [java]     at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Platfo
rmActivator.java:220)
    [java]      [java]      [java]     at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
er.java:273)
    [java]      [java]      [java]     at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
er.java:129)
    [java]      [java]      [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      [java]      [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:39)
    [java]      [java]      [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java:25)
    [java]      [java]      [java]     at
java.lang.reflect.Method.invoke(Method.java:324)
    [java]      [java]      [java]     at
org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    [java]      [java]      [java]     at
org.eclipse.core.launcher.Main.run(Main.java:710)
    [java]      [java]      [java]     at
org.eclipse.core.launcher.Main.main(Main.java:694)
    [java]      [java]      [java] Java Result: 13

Naci Dai,
Managing Director

eteration a.s.
Inonu cad. Sumer sok. Zitas D1-15
Kozyatagi, Istanbul 81090
+90 (532) 573 7783 (cell)
+90 (216) 361 5434 (phone)
+90 (216) 361 2034 (fax)

http://www.eteration.com
mailto:nacidai@xxxxxxx
mailto:naci@xxxxxxxxxxxxx




Naci Dai,
Managing Director

eteration a.s.

Inonu cad. Sumer sok. Zitas D1-15
Kozyatagi, Istanbul 81090
+90 (532) 573 7783 (cell)
+90 (216) 361 5434 (phone)
+90 (216) 361 2034 (fax)

http://www.eteration.com
mailto:nacidai@xxxxxxx
mailto:naci@xxxxxxxxxxxxx


Back to the top