GUI testing on a linux slave

136 views
Skip to first unread message

Trystan L.

unread,
Sep 4, 2013, 12:44:23 PM9/4/13
to jenkins...@googlegroups.com
Hi,

I use a master to build and test on two slaves:
  • Linux slave launched via ssh 
  • Win7 as a windows service
I am performing some UI tests on both, no problem on Win7 slave but it fails on linux one.

I tried vnc plugin and start a session before the build but nothing better, idem with Xvbf plugin.

may be this is due to a specific needs of VTK library (based on OpenGL), it causes the following error : 

vtkXOpenGLRenderWindow (0xc15b1b0): Could not find a decent visual
vtkXOpenGLRenderWindow (0xc482be0): Cannot create GLX context.

I also tried setting LIBGL_ALWAYS_INDIRECT=y but still failed.

anyone has a idea ?

thanks for any help !

Trystan

Richard Lavoie

unread,
Sep 4, 2013, 2:50:19 PM9/4/13
to jenkins...@googlegroups.com
Did you set the environment variable DISPLAY to redirect the display of your UI application to the VNC and/or XVFB display ?


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Richard Lavoie
IT consultant / consultant en informatique

Trystan Louboutin

unread,
Sep 5, 2013, 4:11:06 AM9/5/13
to jenkins...@googlegroups.com
Normally this is done by the Xvnc plugin: 
"The $DISPLAY environment variable is set for the build by the plugin." (https://wiki.jenkins-ci.org/display/JENKINS/Xvnc+Plugin)

thank you anyway


2013/9/4 Richard Lavoie <lavoie....@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/N04osvYUPzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages