Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-rt-dev] [JUnit Tests on Hudson] Job test failing due to missing org.eclipse.sdk.ide product

Hi Céline,

When you want to run graphical tests on Hudson, you need to check "run xvnc" in the job configuration. Otherwise, there won't be any graphical environnement and SWT won't work

Camille

Le 25 août 2016 14:53, "Christian Damus" <give.a.damus@xxxxxxxxx> a écrit :
>
> Hi, Céline,
>
> I don’t know what the problem was before, but now it’s an out-of-handles error in SWT:
>
> !ENTRY org.eclipse.osgi 4 0 2016-08-25 05:02:09.063 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] at org.eclipse.swt.SWT.error(SWT.java:4559) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:958) at org.eclipse.swt.widgets.Display.create(Display.java:942) at org.eclipse.swt.graphics.Device.<init>(Device.java:174) at org.eclipse.swt.widgets.Display.<init>(Display.java:562) at org.eclipse.swt.widgets.Display.<init>(Display.java:553) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:789) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:160) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:168) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:111)
>
> Seems strange to me.  Is this before or after the framework looks for the IDE product?
>
> Christian
>
>
>
> On 24 August, 2016 at 10:21:07, Céline JANSSENS (celine.janssens@xxxxxxxxxxx) wrote:
>>
>> Hi everyone,
>>
>> I try to make the Junit test of the profile running through the Hudson jobs under tests: "Papyrus-RT-Master-Core"
>> But it seems , from the log, that the org.eclipse.sdk.ide product cannot be found, as required in the surefire plugin configuration. (in the maven file)
>> The job seems not able to launch the VM to run the test.
>>
>> Locally, on a windows environement,  I have no such an issue.
>>
>> Could you have a look an give me your opinion about this failure ?
>>
>> Best regards
>>
>> Céline
>>
>> [1] - https://hudson.eclipse.org/papyrus-rt/view/Jobs%20Under%20Test/job/Papyrus-RT-Master-Core/65/console
>>
>>
>> --
>>
>>  
>>  
>> Céline JANSSENS
>> Software Engineer
>> +33 (0)2 44 47 23 23
>>  
>> Mail : cej@xxxxxxxxxxx
>> ________________________________
>> 6 rue Léonard De Vinci - BP 0119 - 53001 LAVAL Cedex - FRANCE
>> www.all4tec.net
>>
>>
>> ________________________________
>>
>> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
>> www.avast.com
>>
>>
>> _______________________________________________
>> papyrus-rt-dev mailing list
>> papyrus-rt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
>
>
> _______________________________________________
> papyrus-rt-dev mailing list
> papyrus-rt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
>


Back to the top