[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dash-dev] TM junits in hudson:symbol lookup error
|
FYI,
Only for TM 3.2M6 I noticed that the version of
org.eclipse.test which we had included was
outdated.
I fixed this in the meantim. The new version is
supposed to work better with junit3 vs junit4.
One thing to note is that you'll need a J2SE-1.5
to run the tests, although the BREE of the
org.eclipse.rse.tests only specifies J2SE-1.4
(dependent plugins need 1.5).
This is a nuisance which made tests often fail in
my workspace, since the auto-generated test launcher
would try launching with 1.4.
Martin
-----Original Message-----
From: Anna Dushistova [mailto:anna_dushistova@xxxxxxxxxx]
Sent: Thursday, March 18, 2010 3:08 PM
To: Tools for Committer Community
Cc: Oberhuber, Martin
Subject: Re: [dash-dev] TM junits in hudson:symbol lookup error
Unfortunately none if this helped.
Do you mind if Martin and I will pick your brain about that during
EclipseCon?
Anna.
On Mar 18, 2010, at 2:05 AM, Nick Boldt wrote:
> 1. Try leaving out
"runtime=${zipPrefix}-ALL${incubation}-${buildAlias}.zip" in your
testing.properties.
>
> 2. Also try newer versions of o.e.test and o.e.a.opt.junit, such as
HEAD:
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/releng/org
> .eclipse.tm.releng/maps/testdrivers.map?root=DSDP_Project&view=markup
>
> 3. Finally, in your test feature [1], try this instead of what you
have:
>
> <plugin
> id="org.eclipse.ant.optional.junit"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"/>
>
> <plugin
> id="org.eclipse.test"
> download-size="0"
> install-size="0"
> version="0.0.0"/>
>
> [1]
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/tests/org.
> eclipse.rse.tests-feature/feature.xml?root=DSDP_Project&view=markup
>
> I'm grasping at straws here, but it might help. :)
>
> On 03/15/2010 03:45 AM, Anna Dushistova wrote:
>>
>> On Mar 15, 2010, at 6:10 AM, Nick Boldt wrote:
>>
>>> Did you add the test plugin/feature to your map file(s)?
>>>
>>> And are all the requirements to build+run the test available as
>>> repos+IUs and/or zips listed in your build.properties file?
>>
>> What do you mean here? We do not have anything special for tests...
>>
>> My build.properties:
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/releng/or
>> g.eclipse.tm.releng/build.properties?revision=1.7&root=DSDP_Project&v
>> iew=markup
>> <http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/releng/o
>> rg.eclipse.tm.releng/build.properties?revision=1.7&root=DSDP_Project&
>> view=markup>
>>
>> Anna.
>>
>>>
>>> On 03/02/2010 05:21 AM, Anna Dushistova wrote:
>>>> Yes, I did.
>>>> https://build.eclipse.org/hudson/job/cbi-tm-3.2-nightly/18/artifact
>>>> /build/N201003020404/testing/target/eclipse/features/org.eclipse.rs
>>>> e.tests_3.1.1.v201003020404-7H6F8PAkF7B77J7F7N7N/feature.xml/*view*
>>>> /
>>>>
>>>> Anna.
>>>>
>>>> On Mar 2, 2010, at 1:12 PM, Nicolas Bros wrote:
>>>>
>>>>> Have you added this test plug-in to your test feature?
>>>>>
>>>>> On Tue, Mar 2, 2010 at 10:59 AM, Anna Dushistova
>>>>> <anna_dushistova@xxxxxxxxxx <mailto:anna_dushistova@xxxxxxxxxx>
>>>>> <mailto:anna_dushistova@xxxxxxxxxx>> wrote:
>>>>>
>>>>> It did help, thanks!
>>>>> However, now it says that it cannot find our test plugin:
>>>>>
>>>>> [exec] [java] java.lang.Exception: Could not find plugin
>>>>> "org.eclipse.rse.tests"
>>>>> [exec] [java] at
>>>>> org.eclipse.test.EclipseTestRunner.loadSuiteClass(EclipseTestRunne
>>>>> r.java:326)
>>>>> [exec] [java] at
>>>>> org.eclipse.test.EclipseTestRunner.getTest(EclipseTestRunner.java:
>>>>> 240)
>>>>> [exec] [java] at
>>>>> org.eclipse.test.EclipseTestRunner.<init>(EclipseTestRunner.java:2
>>>>> 23)
>>>>> [exec] [java] at
>>>>> org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:207)
>>>>> [exec] [java] at org.eclipse.test.UITestApplication$3
>>>>>
>>>>> But plugin is there:
>>>>> https://build.eclipse.org/hudson/job/cbi-tm-3.2-nightly/18/artifac
>>>>> t/build/N201003020404/testing/target/eclipse/plugins/org.eclipse.r
>>>>> se.tests_3.1.1.v201003020404/
>>>>>
>>>>> Any idea what this is all about?
>>>>>
>>>>> Anna.
>>>>>
>>>>> On Mar 2, 2010, at 12:36 AM, Jacek Pospychala wrote:
>>>>>
>>>>>> hi Anna,
>>>>>> A solution was proposed in bug 295394:
>>>>>> add the following line to testing.properties in your releng
project:
>>>>>> extraVMargs=-Dorg.eclipse.swt.browser.XULRunnerPath=/shared/commo
>>>>>> n/mozilla-xulrunner181-1.8.1.4-30.ppc
>>>>>>
>>>>>> hope this helps
>>>>>>
>>>>>> Jacek
>>>>>>
>>>>>>
>>>>>> Anna Dushistova wrote:
>>>>>>> Hi All,
>>>>>>> I'm trying to make tests run in hudson, but I'm getting symbol
>>>>>>> lookup error:
>>>>>>> [exec] [echo] Running
org.eclipse.rse.tests.RSECombinedTestSuite.
>>>>>>> Result file:
>>>>>>>
/opt/users/hudsonbuild/.hudson/jobs/cbi-tm-3.2-nightly/workspace/build/N
201003011506/testing/target/eclipse/results/org.eclipse.rse.tests.RSECom
binedTestSuite.xml.
>>>>>>> [exec] [echo] vmargs= -Xms40m -Xmx348m, extraVMargs=,
>>>>>>> Xflags=-Xms256M -Xmx256M, Dflags=-Dosgi.bundlefile.limit=100
>>>>>>> [exec] [java] /usr/lib/jvm/java-1_4_2-ibm-1.4.2/jre/bin/java:
>>>>>>> symbol lookup error: /usr/lib/xulrunner-1.9.1.6/libxul.so:
>>>>>>> undefined symbol: gdk_screen_get_resolution [exec] [java] Java
>>>>>>> Result: 127 Any clues?
>>>>>>>
>>>>>>> Thanks!
>>>>>>> Anna.
>>>>>>>
>>>>>>>
>>>>>>> ---
>>>>>>> Dr. Anna Dushistova
>>>>>>> Mentor Graphics Corporation
>>>>>>> Embedded Systems Division
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>> --------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> dash-dev mailing list
>>>>>>> dash-dev@xxxxxxxxxxx <mailto:dash-dev@xxxxxxxxxxx>
>>>>>>> <mailto:dash-dev@xxxxxxxxxxx>
>>>>>>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> dash-dev mailing list
>>>>>> dash-dev@xxxxxxxxxxx <mailto:dash-dev@xxxxxxxxxxx>
>>>>>> <mailto:dash-dev@xxxxxxxxxxx>
>>>>>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> dash-dev mailing list
>>>>> dash-dev@xxxxxxxxxxx <mailto:dash-dev@xxxxxxxxxxx>
>>>>> <mailto:dash-dev@xxxxxxxxxxx>
>>>>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nicolas Bros
>>>>> R&D
>>>>> tel: 06 75 09 19 88
>>>>> nbros@xxxxxxxxxxxxxxxx <mailto:nbros@xxxxxxxxxxxxxxxx>
>>>>> <mailto:nbros@xxxxxxxxxxxxxxxx> nbros.mia@xxxxxxxxx
>>>>> <mailto:nbros.mia@xxxxxxxxx> <mailto:nbros.mia@xxxxxxxxx>
>>>>> Mia-Software, 410 clos de la Courtine 93160 Noisy-le-Grand
>>>>> http://www.mia-software.com <http://www.mia-software.com/>
>>>>> .: model driven agility :.
>>>>> _______________________________________________
>>>>> dash-dev mailing list
>>>>> dash-dev@xxxxxxxxxxx <mailto:dash-dev@xxxxxxxxxxx>
>>>>> <mailto:dash-dev@xxxxxxxxxxx>
>>>>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> dash-dev mailing list
>>>> dash-dev@xxxxxxxxxxx <mailto:dash-dev@xxxxxxxxxxx>
>>>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>>>
>>> --
>>> Nick Boldt :: http://nick.divbyzero.com
>>> Release Engineer :: Eclipse Modeling & Dash Athena
>>> _______________________________________________
>>> dash-dev mailing list
>>> dash-dev@xxxxxxxxxxx <mailto:dash-dev@xxxxxxxxxxx>
>>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>>
>>
>>
>> _______________________________________________
>> dash-dev mailing list
>> dash-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/dash-dev
>
> --
> Nick Boldt :: http://nick.divbyzero.com
> Release Engineer :: Eclipse Modeling & Dash Athena
> _______________________________________________
> dash-dev mailing list
> dash-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dash-dev