You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org> on 2011/03/17 08:17:22 UTC

[jira] Created: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Project state is still building after cancelling a build with distributed builds enabled
----------------------------------------------------------------------------------------

                 Key: CONTINUUM-2616
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2616
             Project: Continuum
          Issue Type: Bug
          Components: Distributed Builds
            Reporter: Maria Catherine Tan


To replicate:

1. Build a project
2. Wait for it to finish building successfully
3. The project state should be successful
4. Build the project again
5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
6. The project is no longer building in the queues page
7. Build agent already cancelled the build

Expected Result:
- project state should be successful since that is its previous state

Actual Result: 
- project state is still building

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Catherine Tan closed CONTINUUM-2616.
------------------------------------------

    Resolution: Fixed

> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>             Fix For: 1.4.1 (Beta)
>
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277103#comment-277103 ] 

Maria Catherine Tan commented on CONTINUUM-2616:
------------------------------------------------

I think for now we should disable the cancel button from the project group page and let the user cancel the build from the queues page instead.

In distributed build, it is possible to have 2 builds of the same project with different build definition. So you won't know which build will be cancelled if you click the cancel button from the project group page.

> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>             Fix For: 1.4.1 (Beta)
>
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260522#action_260522 ] 

Maria Catherine Tan commented on CONTINUUM-2616:
------------------------------------------------

in r1082418, set the project's old state to its current state so when the build is cancelled it will be set to its previous state.

ToDo: selenium test

> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Catherine Tan updated CONTINUUM-2616:
-------------------------------------------

    Fix Version/s: 1.4.1 (Beta)

> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>             Fix For: 1.4.1 (Beta)
>
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Catherine Tan reassigned CONTINUUM-2616:
----------------------------------------------

    Assignee: Maria Catherine Tan

> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277101#comment-277101 ] 

Maria Catherine Tan commented on CONTINUUM-2616:
------------------------------------------------

Clicking the cancel button from the project group page still doesn't work for distributed builds. You can only cancel from the queues page.

> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>             Fix For: 1.4.1 (Beta)
>
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (CONTINUUM-2616) Project state is still building after cancelling a build with distributed builds enabled

Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/CONTINUUM-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277103#comment-277103 ] 

Maria Catherine Tan edited comment on CONTINUUM-2616 at 8/26/11 3:13 AM:
-------------------------------------------------------------------------

I think for now we should disable the cancel button from the project group page if distributed build is enabled and let the user cancel the build from the queues page instead.

In distributed build, it is possible to have 2 builds of the same project with different build definition. So you won't know which build will be cancelled if you click the cancel button from the project group page.

      was (Author: ctan):
    I think for now we should disable the cancel button from the project group page and let the user cancel the build from the queues page instead.

In distributed build, it is possible to have 2 builds of the same project with different build definition. So you won't know which build will be cancelled if you click the cancel button from the project group page.
  
> Project state is still building after cancelling a build with distributed builds enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2616
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2616
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>            Reporter: Maria Catherine Tan
>            Assignee: Maria Catherine Tan
>             Fix For: 1.4.1 (Beta)
>
>
> To replicate:
> 1. Build a project
> 2. Wait for it to finish building successfully
> 3. The project state should be successful
> 4. Build the project again
> 5. Cancel the build from the queues page since there is a bug CONTINUUM-2614
> 6. The project is no longer building in the queues page
> 7. Build agent already cancelled the build
> Expected Result:
> - project state should be successful since that is its previous state
> Actual Result: 
> - project state is still building

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira