Continuum
  1. Continuum
  2. CONTINUUM-369

Stop button to cancel the "in progress" of a project.

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-1
    • Fix Version/s: 1.1-alpha-1
    • Component/s: Web interface
    • Labels:
      None
    • Environment:
      Linux and Windows
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Request feature that will enable a user to cancel the "build" of a particular project. Kinda like hitting "ctrl c" when maven is executed. There are times when a project is "stuck indefinitely" in "in progress" state (e.g. when running a broken testcase that executes "indefinitely"). This affects other projects because it has to wait for the previous one to finish. Restarting continuum is not much help because it just goes back to the original state or you cannot delete the project itself because "delete" link is disable. The only solution now is to redeploy continuum. Now, having a cancel button would definitely help.

        Issue Links

          Activity

          Hide
          Trygve Laugstøl added a comment -

          I know Hiram Chirino had some ideas about this when I talked to him about stopping processes from java.

          Show
          Trygve Laugstøl added a comment - I know Hiram Chirino had some ideas about this when I talked to him about stopping processes from java.
          Hide
          Brett Porter added a comment -

          note that there seems to be three levels to this problem:
          1) detach continuum's state from the execution. So even if it has hung, be able to get a project out of "in progress" by hitting the stop button. This would leave zombies around but is no worse than at present
          2) kill the process, if it still exists
          3) doing this auotmatically after a set time intervall (see "related" issue).

          Of course, we should be independantly investigating why builds are regularly hanging (I don't know if this is an environmental issue, or something to do with Maven or Continuum specifically in this particular case). Anything that requires manual intervention is not great...

          Show
          Brett Porter added a comment - note that there seems to be three levels to this problem: 1) detach continuum's state from the execution. So even if it has hung, be able to get a project out of "in progress" by hitting the stop button. This would leave zombies around but is no worse than at present 2) kill the process, if it still exists 3) doing this auotmatically after a set time intervall (see "related" issue). Of course, we should be independantly investigating why builds are regularly hanging (I don't know if this is an environmental issue, or something to do with Maven or Continuum specifically in this particular case). Anything that requires manual intervention is not great...
          Hide
          Brett Porter added a comment -

          in previous comment, point 3 should have been "duplicate", referring to CONTINUUM-525

          Show
          Brett Porter added a comment - in previous comment, point 3 should have been "duplicate", referring to CONTINUUM-525
          Hide
          Brett Porter added a comment -

          we can use this on windows for process control: http://www.teamcti.com/pview/

          eg
          pv.exe -l -t (get all processes)
          or
          pv.exe -l java.exe (get all java processes)

          then look for a special key in the build, eg -Dcontinuum.buildId=4622

          then grab the pid (eg, 9022), and:
          pv.exe -k -f -i 9022

          Show
          Brett Porter added a comment - we can use this on windows for process control: http://www.teamcti.com/pview/ eg pv.exe -l -t (get all processes) or pv.exe -l java.exe (get all java processes) then look for a special key in the build, eg -Dcontinuum.buildId=4622 then grab the pid (eg, 9022), and: pv.exe -k -f -i 9022
          Hide
          Emmanuel Venisse added a comment -

          Latest version is there : http://www.teamcti.com/pview/prcview.htm

          The license isn't compatible with Apache license : "Distribution of the program or any work based on the program by a commercial organization to any third party is permitted only with the written permission of the author"

          we might have to say "download this from here if you want the ability to kill stuff on windows" and we can contact and ask if he'll change it

          Show
          Emmanuel Venisse added a comment - Latest version is there : http://www.teamcti.com/pview/prcview.htm The license isn't compatible with Apache license : "Distribution of the program or any work based on the program by a commercial organization to any third party is permitted only with the written permission of the author" we might have to say "download this from here if you want the ability to kill stuff on windows" and we can contact and ask if he'll change it
          Hide
          Brett Porter added a comment -

          is this completed then?

          Show
          Brett Porter added a comment - is this completed then?
          Hide
          Kenney Westerhof added a comment -

          Yes, except for the process killing on windows (also see CONTINUUM-667).

          Also I'm not happy about how the 'cancel button' looks right now, and there might
          be more and better places to put this. Right now it's located on the page you see when
          you click a specific Project Group.

          Show
          Kenney Westerhof added a comment - Yes, except for the process killing on windows (also see CONTINUUM-667 ). Also I'm not happy about how the 'cancel button' looks right now, and there might be more and better places to put this. Right now it's located on the page you see when you click a specific Project Group.
          Hide
          Brett Porter added a comment -

          ok, I'll leave open for the cancel build button bit

          Show
          Brett Porter added a comment - ok, I'll leave open for the cancel build button bit

            People

            • Assignee:
              Kenney Westerhof
              Reporter:
              Fritz Oconer
            • Votes:
              12 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: