Recent Changes - Search:

edit SideBar

Xvfb

  • Java3D - details about Xvfb and Java3D
  • UCBRHEL - Installing Xvfb

Problems

Xvfb started crashing

I updated RHEL 6.5:

    Updated jenkins-1.607-1.1.noarch                                    @jenkins
    Update          1.609-1.1.noarch                                    @jenkins
...
    Updated xorg-x11-server-Xvfb-1.15.0-25.1.el6_6.x86_64               @rhel-x86_64-server-optional-6
    Update                       1.15.0-26.el6_6.x86_64                 @rhel-x86_64-server-optional-6
    Updated xorg-x11-server-common-1.15.0-25.1.el6_6.x86_64             @rhel-x86_64-server-6
    Update                         1.15.0-26.el6_6.x86_64               @rhel-x86_64-server-6

However, because of problems in the past with Xvfb, I copied an older version of Xvfb in to place.

Now, the problem is that Jenkins is complaining when I start Xvfb from within Jenkins:

+ export DISPLAY=localhost:6.0
+ DISPLAY=localhost:6.0
+ Xvfb :6 -screen 0 1024x768x24
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
[ptII] $ /usr/local/apache-ant/bin/ant clean build-all

The next step was to install the Xvfb plugin for Jenkins.

That solved the Process leaked issue.

However, X11 continued to not be available at the same point. These tests have run:

bash-4.1$ grep -n '[junit] Failed:' log | head
71054: [junit] Failed: 2 Total Tests: 15 ((Passed: 13, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/doc/test
71159: [junit] Failed: 0 Total Tests: 1 ((Passed: 1, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/org/hlacerti/lib/test
76288: [junit] Failed: 1 Total Tests: 1 ((Passed: 0, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/org/ptolemy/ssm/test
76317: [junit] Failed: 0 Total Tests: 61 ((Passed: 61, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/gt/test
76345: [junit] Failed: 0 Total Tests: 3 ((Passed: 3, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/gui/style/test
76427: [junit] Failed: 0 Total Tests: 55 ((Passed: 55, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/gui/test
76532: [junit] Failed: 0 Total Tests: 2 ((Passed: 2, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/lib/colt/test
76692: [junit] Failed: 0 Total Tests: 22 ((Passed: 22, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/lib/conversions/test
77722: [junit] Failed: 6 Total Tests: 51 ((Passed: 45, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/lib/fmi/test
79633: [junit] Failed: 0 Total Tests: 2 ((Passed: 2, Newly Passed: 0) Known Failed: 0) /home/jenkins/workspace/ptII/ptolemy/actor/lib/hoc/test
bash-4.1$

and then the troubles start:

[junit] Output:
[junit] No tcl tests in /home/jenkins/workspace/ptII/ptolemy/actor/lib/image/test
[junit] No auto/knownFailedTests/*.xml tests in /home/jenkins/workspace/ptII/ptolemy/actor/lib/image/test
[junit] ----------------- testing /home/jenkins/workspace/ptII/ptolemy/actor/lib/image/test/auto/ImageReaderImageDisplay.xml
[junit] 24 ms. Memory: 1236480K Free: 1152427K (93%)
[junit] ----------------- testing /home/jenkins/workspace/ptII/ptolemy/actor/lib/image/test/auto/ImageReaderImageRotateImageToString.xml
[junit] 3 ms. Memory: 1236480K Free: 1126622K (91%)
[junit] ----------------- testing /home/jenkins/workspace/ptII/ptolemy/actor/lib/image/test/auto/ImageReaderImageToString.xml
[junit] 3 ms. Memory: 1236480K Free: 1100817K (89%)
[junit] ----------------- testing /home/jenkins/workspace/ptII/ptolemy/actor/lib/image/test/auto/ImageReaderURLImageToString.xml
[junit] 3 ms. Memory: 1236480K Free: 1075012K (87%)
[junit]
[junit] Error:
[junit] Exception in thread "Thread-3" java.lang.RuntimeException: Execution failed
[junit] at ptolemy.moml.MoMLSimpleApplication$UnloadThread.run(MoMLSimpleApplication.java:353)
[junit] Caused by: ptolemy.kernel.util.IllegalActionException: in .ImageReaderImageDisplay.MoMLSimpleApplication
[junit] Because:
[junit] Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
[junit] at ptolemy.actor.Manager.execute(Manager.java:499)
[junit] at ptolemy.actor.Manager.run(Manager.java:1220)
[junit] at ptolemy.actor.Manager$PtolemyRunThread.run(Manager.java:1828)

Not much about Xvfb from the Jenkins plugin, even though the plugin has logging turned on.

bash-4.1$ grep -ni xvfb log | head -100
11:Xvfb starting$ /usr/bin/Xvfb -displayfd 2 -screen 0 1024x768x24 -fbdir /home/jenkins/xvfb-144-8307009280492266482.fbdir
171222:Xvfb stopping
bash-4.1$

So, I downgraded:

 yum downgrade --skip-broken xorg-x11-server-common xorg-x11-server-Xvfb
Edit - History - Print - Recent Changes - Search
Page last modified on April 18, 2015, at 03:20 PM