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

vncserver -kill run in deleted workspace dir

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xvnc-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Aleksandar Kostadinov wrote:
      > We have a option in our instance to have workspace deleted after a
      > build. Xvnc plug-in seems to be killing the Xvnc process after that has
      > been done. And fails to start vncserver because it tries to start it in
      > the workspace directory that doesn't exist any more.
      > At least this is how I guess it is done
      >
      > So I think the vncserver command shouldn't be run in workspace but
      > elsewhere.
      >
      > vncserver -kill :15
      > FATAL: Cannot run program "vncserver" (in directory
      >
      "/mnt/hudson_workspace/workspace/brms-rules-matrix/jdk/java16_default/label/RHEL4_x86"):

      > java.io.IOException: error=2, No such file or directory

        Attachments

          Activity

          jglick Jesse Glick created issue -
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : jglick
          Path:
          trunk/hudson/plugins/xvnc/src/main/java/hudson/plugins/xvnc/Xvnc.java
          http://jenkins-ci.org/commit/33051
          Log:
          [FIXED JENKINS-3680] Do not run vncserver -kill in workspace dir.
          It could already have been deleted, and the cwd for this command is probably irrelevant anyway.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jglick Path: trunk/hudson/plugins/xvnc/src/main/java/hudson/plugins/xvnc/Xvnc.java http://jenkins-ci.org/commit/33051 Log: [FIXED JENKINS-3680] Do not run vncserver -kill in workspace dir. It could already have been deleted, and the cwd for this command is probably irrelevant anyway.
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 133753 ] JNJira + In-Review [ 202384 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: