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

"Unrecognized option: UI" in v1.14

    Details

    • Similar Issues:

      Description

      Updated Jenkins and all plugins, including xvnc plugin to 1.14. Tests failed complaining couldn't connect to display.

      Console output of the setting up in jenkins showed complaint of invalid 'UI' arg passed to vnc server. The vnc log showed same complaint and usage info (RealVNC).

      Workaround was to revert back to the last version I'd used, 1.10

        Attachments

          Activity

          Hide
          brad103 Brad M added a comment -

          Jenkins build log on failure:

          Starting xvnc
          [DART UI Fest] $ vncserver :90 -localhost -nolisten tcp
          xauth:  creating new authority file /var/lib/jenkins/workspace/PROJ
          xauth: (argv):1:  unknown command "UI"
          
          New 'my.domain:90 (jenkins)' desktop is my.domain:90
          
          Starting applications specified in /var/lib/jenkins/.vnc/xstartup
          Log file is /var/lib/jenkins/.vnc/rimu1.dart-ais.co.nz:90.log

          RealVNC log:

          Unrecognized option: UI
          use: X [:<display>] [option]
          -a #                   mouse acceleration (pixels)
          -ac                    disable access control restrictions
          -audit int             set audit trail level
          -auth file             select authorization file
          ...
          etc
          Show
          brad103 Brad M added a comment - Jenkins build log on failure: Starting xvnc [DART UI Fest] $ vncserver :90 -localhost -nolisten tcp xauth: creating new authority file / var /lib/jenkins/workspace/PROJ xauth: (argv):1: unknown command "UI" New 'my.domain:90 (jenkins)' desktop is my.domain:90 Starting applications specified in / var /lib/jenkins/.vnc/xstartup Log file is / var /lib/jenkins/.vnc/rimu1.dart-ais.co.nz:90.log RealVNC log: Unrecognized option: UI use: X [:<display>] [option] -a # mouse acceleration (pixels) -ac disable access control restrictions -audit int set audit trail level -auth file select authorization file ... etc
          Hide
          levsa Levon Saldamli added a comment - - edited

          I wonder if "UI" comes from "DART UI Fest", is that a directory name? I'll try to reproduce that. Meanwhile, you could try to change the dir name to something without spaces, and see if that helps.

          Show
          levsa Levon Saldamli added a comment - - edited I wonder if "UI" comes from "DART UI Fest", is that a directory name? I'll try to reproduce that. Meanwhile, you could try to change the dir name to something without spaces, and see if that helps.
          Hide
          brad103 Brad M added a comment -

          Good point. I assumed 'UI' was part of the plugin. 'DART UI Fest' is the project (and therefore workspace dir) name

          Show
          brad103 Brad M added a comment - Good point. I assumed 'UI' was part of the plugin. 'DART UI Fest' is the project (and therefore workspace dir) name
          Hide
          brad103 Brad M added a comment -

          Changed project name to DART_UI_Fest with upgraded plugin (1.14) and worked fine. Hopefully a simple fix in there for you for next release and a simple new regression test case.

          Cheers, Brad

          Show
          brad103 Brad M added a comment - Changed project name to DART_UI_Fest with upgraded plugin (1.14) and worked fine. Hopefully a simple fix in there for you for next release and a simple new regression test case. Cheers, Brad
          Hide
          levsa Levon Saldamli added a comment -

          Great, thanks for the debugging!

          Levon

          Show
          levsa Levon Saldamli added a comment - Great, thanks for the debugging! Levon
          Hide
          levsa Levon Saldamli added a comment -

          Fixed in 1.16

          Show
          levsa Levon Saldamli added a comment - Fixed in 1.16
          Hide
          levsa Levon Saldamli added a comment -

          Fix is needed in vncserver script, where quotes should be added around the filename to xauthority file when xauth is called. Or spaces in job names should be avoided.

          Show
          levsa Levon Saldamli added a comment - Fix is needed in vncserver script, where quotes should be added around the filename to xauthority file when xauth is called. Or spaces in job names should be avoided.

            People

            • Assignee:
              levsa Levon Saldamli
              Reporter:
              brad103 Brad M
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: