Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Fail to run junits in hudson

For your information,

regarding the SWTError, I was running for months Tycho jobs on my headless Ubuntu based CI machine with the Xvfb Jenkins plugin when I switch to matrix job (for validating against several Eclipse versions and several JDKs).
And I got this error in a randomly fashion.
I switched to the Xvnc Jenkins plugin and everything is now working like a charm !!!

Regards
Jeff MAURY


On Fri, Jan 18, 2013 at 10:01 AM, Mikhail Kalkov <mikhail.kalkov@xxxxxxxxxxxxxx> wrote:
Hi Anna!

I've seen this "org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]" several times when setting up CI, and all three cases were solved by some Xvfb magic, which nevertheless stops working from time to time. Therefore, it would be really interesting to see what was the cause for your problem and how you solved it. Can you post a quick summary, please?

Kind regards,
Mikhail Kalkov


----- Original Message -----
From: "Anna Dushistova" <anna.dushistova@xxxxxxxxx>
To: "Tycho developers list" <tycho-dev@xxxxxxxxxxx>
Sent: Thursday, January 17, 2013 6:54:43 PM
Subject: Re: [tycho-dev] Fail to run junits in hudson

Resolved this issue, the problem was in the job configuration.
Now all the tests are up and running!
Thanks for your help, Jan!

Anna.

On Thu, Jan 17, 2013 at 2:55 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
> from your log:
>
>> org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
>
> looks like a low-level SWT problem/native handles leak on that machine.
>
> not a tycho issue as far as I can see, I suggest to ask on https://dev.eclipse.org/mailman/listinfo/platform-swt-dev .
>
> Jan
>
> -----Original Message-----
> From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Anna Dushistova
> Sent: Donnerstag, 17. Januar 2013 12:15
> To: Tycho developers list
> Subject: Re: [tycho-dev] Fail to run junits in hudson
>
> Hi Jan,
>
> On Thu, Jan 17, 2013 at 1:50 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
>> can't access your workspace; run the build with -X for more info.
>
> See if you can now, I changed permissions.
>
>> from what I can see you are running the build on a x86_64 machine.
>>
>> did you add this to the target platform <environments> ?
>
> Yes, it's in the parent pom and I didn't modify this
> part:http://git.eclipse.org/c/tm/org.eclipse.tm.git/tree/pom.xml
>
>>
>> Jan
>>
>> -----Original Message-----
>> From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Anna Dushistova
>> Sent: Donnerstag, 17. Januar 2013 11:33
>> To: Tycho developers list
>> Subject: [tycho-dev] Fail to run junits in hudson
>>
>> Hi All,
>> I am trying to re-enable Junit tests for RSE. They run just fine on my
>> local machine,
>> but my hudson verification job fails:
>> https://git.eclipse.org/r/#/c/9720/
>>
>> According to the metadata log file, the issue is:
>> !ENTRY org.eclipse.osgi 2 0 2013-01-17 05:24:53.874
>> !MESSAGE One or more bundles are not resolved because the following
>> root constraints are not resolved:
>> !SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-17 05:24:53.875
>> !MESSAGE Bundle
>> initial@reference:file:../../../../../.maven/repo/p2/osgi/bundle/org.eclipse.swt.gtk.linux.x86/3.101.0.v4317b/org.eclipse.swt.gtk.linux.x86-3.101.0.v4317b.jar
>> was not resolved.
>> !SUBENTRY 2 org.eclipse.swt.gtk.linux.x86 2 0 2013-01-17 05:24:53.875
>> !MESSAGE Missing required capability Require-Capability: osgi.ee;
>> filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))"...
>>
>> The complete log is here:
>> https://hudson.eclipse.org/sandbox/job/target-management/ws/rse/tests/org.eclipse.rse.tests/target/work/data/.metadata/.log/*view*/
>>
>> Can this be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=394636?
>> How do I work around this issue?
>>
>> Thanks!
>> Anna.
>> _______________________________________________
>> tycho-dev mailing list
>> tycho-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>> _______________________________________________
>> tycho-dev mailing list
>> tycho-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top