jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-369

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

is duplicated by

New Feature - A new feature of the product, which has yet to be developed. CONTINUUM-525 Ability to abort / kill a build manually or after a specified time elapsed

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is related to

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-401 cannot delete project (stuck on 'in progress')

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-667 need a way to limit the mount of time a unit test runs for

  • Blocker - Blocks development and/or testing work, production could not run
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Trygve Laugstol added a comment - 26/Oct/05 5:08 AM

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

Show
Trygve Laugstol added a comment - 26/Oct/05 5:08 AM I know Hiram Chirino had some ideas about this when I talked to him about stopping processes from java.
Hide
Permalink
Brett Porter added a comment - 15/Mar/06 12:10 PM

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 - 15/Mar/06 12:10 PM 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
Permalink
Brett Porter added a comment - 15/Mar/06 12:13 PM

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

Show
Brett Porter added a comment - 15/Mar/06 12:13 PM in previous comment, point 3 should have been "duplicate", referring to CONTINUUM-525
Hide
Permalink
Brett Porter added a comment - 15/Aug/06 6:29 AM

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 - 15/Aug/06 6:29 AM 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
Permalink
Emmanuel Venisse added a comment - 15/Aug/06 7:50 AM

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 - 15/Aug/06 7:50 AM 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
Permalink
Brett Porter added a comment - 14/Sep/06 10:39 PM

is this completed then?

Show
Brett Porter added a comment - 14/Sep/06 10:39 PM is this completed then?
Hide
Permalink
Kenney Westerhof added a comment - 15/Sep/06 5:18 AM

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 - 15/Sep/06 5:18 AM 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
Permalink
Brett Porter added a comment - 15/Sep/06 5:34 AM

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

Show
Brett Porter added a comment - 15/Sep/06 5:34 AM ok, I'll leave open for the cancel build button bit

People

  • Assignee:
    Kenney Westerhof
    Reporter:
    Fritz Oconer
Vote (12)
Watch (4)

Dates

  • Created:
    26/Oct/05 1:13 AM
    Updated:
    15/Sep/06 11:03 AM
    Resolved:
    15/Sep/06 11:03 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.