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

          [JENKINS-18108] "Unrecognized option: UI" in v1.14

          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

          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

          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.

          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.

          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

          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

          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

          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

          Great, thanks for the debugging!

          Levon

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

          Fixed in 1.16

          Levon Saldamli added a comment - Fixed in 1.16

          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.

          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.

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

              Created:
              Updated:
              Resolved: