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-2349

Project should only build in agents that are in the Build agent group assigned to it

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.2 (Beta)
  • Fix Version/s: 1.4.0 (Beta)
  • Component/s: Distributed Builds
  • Labels:
    None
  • Complexity:
    Intermediate

Description

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'

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    CONTINUUM-2349.patch
    23/Mar/10 9:52 PM
    6 kB
    Jevica Arianne B. Zurbano
  2. Text File
    continuum-core-1.3.4-buildagent.patch
    21/Jan/10 10:23 AM
    0.7 kB
    Alftheo Potgieter

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-2494 Unable to build a project even though the build agent is there.

  • Major - Major loss of function.
  • 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
Wendy Smoak added a comment - 01/Oct/09 3:52 PM

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.

Show
Wendy Smoak added a comment - 01/Oct/09 3:52 PM 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.
Hide
Permalink
Alftheo Potgieter added a comment - 21/Jan/10 10:23 AM

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

Show
Alftheo Potgieter added a comment - 21/Jan/10 10:23 AM 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
Hide
Permalink
Jevica Arianne B. Zurbano added a comment - 23/Mar/10 9:52 PM

Attached patch for fix and documentation update.

Show
Jevica Arianne B. Zurbano added a comment - 23/Mar/10 9:52 PM Attached patch for fix and documentation update.
Hide
Permalink
Maria Catherine Tan added a comment - 26/Mar/10 4:11 AM

Fixed in r92733 of trunk

  • applied jev's patch
  • display a message if no build agent is configured
  • added selenium tests
Show
Maria Catherine Tan added a comment - 26/Mar/10 4:11 AM Fixed in r92733 of trunk
  • applied jev's patch
  • display a message if no build agent is configured
  • added selenium tests
Hide
Permalink
Wendy Smoak added a comment - 29/Mar/10 6:50 AM

Related thread: http://old.nabble.com/Started-work-on-CONTINUUM-2349-td27998999.html

Show
Wendy Smoak added a comment - 29/Mar/10 6:50 AM Related thread: http://old.nabble.com/Started-work-on-CONTINUUM-2349-td27998999.html

People

  • Assignee:
    Maria Catherine Tan
    Reporter:
    Maria Catherine Tan
Vote (0)
Watch (1)

Dates

  • Created:
    01/Sep/09 9:49 PM
    Updated:
    05/Apr/10 11:53 PM
    Resolved:
    26/Mar/10 4:11 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.