Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23980

Xvfb doesn't remove /tmp/.X-* locks after a build has finished

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • xvfb-plugin
    • Jenkins 1.561, Xvfb plugin 1.0.10

    Description

      Once in a while it happens that a Jenkins build fails because the Xvfb it wants to create already exists:

      Xvfb starting$ Xvfb :1 -screen 0 1024x768x8 -fbdir /u10/app/gcadmin/jenkins/stable/jenkins_data/2014-07-24_11-54-567539530762307179860xvfb
      _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
      _XSERVTransMakeAllCOTSServerListeners: server already running

      Fatal server error:
      Cannot establish any listening sockets - Make sure an X server isn't already running

      Settings are pretty default: I use the number of the executor with offset 1 (so it is not possible for another server running with this number). The workaaround at the moment is manual deletion from time to time.

      Attachments

        Activity

          pedro_cucaracha Stefan Schultz created issue -
          pedro_cucaracha Stefan Schultz made changes -
          Field Original Value New Value
          Attachment configuration_jenkins_xvfb.jpg [ 26446 ]
          zregvart zregvart made changes -
          pedro_cucaracha Stefan Schultz made changes -
          Attachment executor_history.jpg [ 26448 ]
          pedro_cucaracha Stefan Schultz made changes -
          Attachment executor_number.jpg [ 26449 ]
          zregvart zregvart made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          zregvart zregvart made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 156850 ] JNJira + In-Review [ 207897 ]

          People

            zregvart zregvart
            pedro_cucaracha Stefan Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: