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 2009/09/02 04:50:41 UTC
[jira] Created: (CONTINUUM-2349) Project should only build in
agents that are in the Build agent group assigned to it
Project should only build in agents that are in the Build agent group assigned to it
------------------------------------------------------------------------------------
Key: CONTINUUM-2349
URL: http://jira.codehaus.org/browse/CONTINUUM-2349
Project: Continuum
Issue Type: Bug
Components: Distributed Builds
Affects Versions: 1.3.2
Reporter: Maria Catherine Tan
Steps to replicate:
1. Enable distributed build
2. Create Build Agent 'A' and disabled it
3. Create Build Agent 'B' and enable it
4. Create Build Agent Group and assign Build Agent 'A' to it
5. Create Build Environment and assign Build Agent Group [4]
6. Add a project
7. Set Build Environment to the Build Definition
8. Build Project
Expected Result: Project will not build because Build Agent 'A' is disabled
Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Alftheo Potgieter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alftheo Potgieter updated CONTINUUM-2349:
-----------------------------------------
Attachment: continuum-core-1.3.4-buildagent.patch
I believe I found a problem with the code that assign builds to agents - it would always pick the last agent in the list instead of the one with the shortest queue
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: Backlog
>
> Attachments: continuum-core-1.3.4-buildagent.patch
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in agents
that are in the Build agent group assigned to it
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan closed CONTINUUM-2349.
------------------------------------------
Resolution: Fixed
Fixed in r92733 of trunk
- applied jev's patch
- display a message if no build agent is configured
- added selenium tests
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2 (Beta)
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: 1.4.1 (Beta)
>
> Attachments: CONTINUUM-2349.patch, continuum-core-1.3.4-buildagent.patch
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan reassigned CONTINUUM-2349:
----------------------------------------------
Assignee: Maria Catherine Tan
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193115#action_193115 ]
Wendy Smoak commented on CONTINUUM-2349:
----------------------------------------
I wonder if this is related to the recent discovery that continuum.xml was not getting updated when you make changes through the UI. It's possible that A was never *really* disabled.
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: Backlog
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated CONTINUUM-2349:
------------------------------------
Fix Version/s: (was: 1.4.1 (Beta))
1.4.0 (Beta)
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2 (Beta)
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: 1.4.0 (Beta)
>
> Attachments: CONTINUUM-2349.patch, continuum-core-1.3.4-buildagent.patch
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan updated CONTINUUM-2349:
-------------------------------------------
Fix Version/s: (was: Backlog)
1.4.1
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: 1.4.1
>
> Attachments: continuum-core-1.3.4-buildagent.patch
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215915#action_215915 ]
Wendy Smoak commented on CONTINUUM-2349:
----------------------------------------
Related thread: http://old.nabble.com/Started-work-on-CONTINUUM-2349-td27998999.html
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2 (Beta)
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: 1.4.1 (Beta)
>
> Attachments: CONTINUUM-2349.patch, continuum-core-1.3.4-buildagent.patch
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Jevica Arianne B. Zurbano (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jevica Arianne B. Zurbano updated CONTINUUM-2349:
-------------------------------------------------
Attachment: CONTINUUM-2349.patch
Attached patch for fix and documentation update.
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2 (Beta)
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: 1.4.1 (Beta)
>
> Attachments: CONTINUUM-2349.patch, continuum-core-1.3.4-buildagent.patch
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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-2349) Project should only build in
agents that are in the Build agent group assigned to it
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wendy Smoak updated CONTINUUM-2349:
-----------------------------------
Fix Version/s: 1.x
> Project should only build in agents that are in the Build agent group assigned to it
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2349
> URL: http://jira.codehaus.org/browse/CONTINUUM-2349
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2
> Reporter: Maria Catherine Tan
> Assignee: Maria Catherine Tan
> Fix For: 1.x
>
>
> Steps to replicate:
> 1. Enable distributed build
> 2. Create Build Agent 'A' and disabled it
> 3. Create Build Agent 'B' and enable it
> 4. Create Build Agent Group and assign Build Agent 'A' to it
> 5. Create Build Environment and assign Build Agent Group [4]
> 6. Add a project
> 7. Set Build Environment to the Build Definition
> 8. Build Project
> Expected Result: Project will not build because Build Agent 'A' is disabled
> Actual Result: Project builds in Build Agent 'B'
--
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