Continuum
  1. Continuum
  2. CONTINUUM-2349

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

    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
    • Number of attachments :
      2

      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'

      1. CONTINUUM-2349.patch
        6 kB
        Jevica Arianne B. Zurbano
      2. continuum-core-1.3.4-buildagent.patch
        0.7 kB
        Alftheo Potgieter

        Issue Links

          Activity

          Hide
          Wendy Smoak added a comment -

          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 - 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
          Alftheo Potgieter added a comment -

          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 - 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
          Jevica Arianne B. Zurbano added a comment -

          Attached patch for fix and documentation update.

          Show
          Jevica Arianne B. Zurbano added a comment - Attached patch for fix and documentation update.
          Hide
          Maria Catherine Tan added a comment -

          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 - Fixed in r92733 of trunk applied jev's patch display a message if no build agent is configured added selenium tests
          Show
          Wendy Smoak added a comment - Related thread: http://old.nabble.com/Started-work-on-CONTINUUM-2349-td27998999.html

            People

            • Assignee:
              Maria Catherine Tan
              Reporter:
              Maria Catherine Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: