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

Xvnc plugin fails if the job has a space in the name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • xvnc-plugin
    • None

      We have quite a lot of jobs with spaces in the name since upgrading to the 1.14 version from the 1.11 version we encounter the following error:

      Fetching upstream changes from origin
      Commencing build of Revision ae0dcf48e628395417055fe2fc2a6434bf02565d (origin/master)
      Checking out Revision ae0dcf48e628395417055fe2fc2a6434bf02565d (origin/master)
      Starting xvnc
      [Deployit Core] $ vncserver :65 -localhost -nolisten tcp
      xauth:  file /var/lib/jenkins/workspace/Deployit does not exist
      xauth: (argv):1:  unknown command "Core/.Xauthority-2561200615964975228"
      xauth:  file /var/lib/jenkins/workspace/Deployit does not exist
      xauth: (argv):1:  unknown command "Core/.Xauthority-2561200615964975228"
      Couldn't start Xtightvnc; trying default font path.
      Please set correct fontPath in the vncserver script.
      Couldn't start Xtightvnc process.
      
      
      Unrecognized option: Core/.Xauthority-2561200615964975228
      use: X [:<display>] [option]
      -a #                   mouse acceleration (pixels)
      -ac                    disable access control restrictions
      -audit int             set audit trail level
      -auth file             select authorization file
      bc                     enable bug compatibility
      -bs                    disable any backing store support
      -c                     turns off key-click
      c #                    key-click volume (0-100)
      -cc int                default color visual class
      ....
      -version               report Xvnc version on stderr
      FATAL: Failed to run 'vncserver :37 -localhost -nolisten tcp' (exit code 255), blacklisting display #37; consider checking the "Clean up before start" option
      java.io.IOException: Failed to run 'vncserver :37 -localhost -nolisten tcp' (exit code 255), blacklisting display #37; consider checking the "Clean up before start" option
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:107)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
      	at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:74)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:154)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
      	at hudson.model.Run.execute(Run.java:1575)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:237)
      

            levsa Levon Saldamli
            rklaren Ric Klaren
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: