Why does enabling concurrent builds slow single agent builds

I have a Bamboo Standard: Commercial Server license.

When enabling concurrent builds in Administration > Plans > Concurrent builds all my plans, including those with a single stage containing a single job double in build time.

Additionally, stages with multiple jobs are built sequentially, and not in parallel amongst available qualifying agents. 

I've poured over the config but I must be missing something.

2 answers

0 votes

Hi Grant,

Enabling concurrent builds will allow you to run another build of a plan, even if a previous build of the plan is still running - is that something that you're actually seeing? As with all builds, each of the concurrent builds will consume as many build agents as are required (and avaiable) to execute it

How many agents do you have available in total?

Cheers,

Christian

Premier Support Engineer

Atlassian

Here's an example:

I have a test plan that contains two stages ('Build Artefacts' and 'Tests').

The 'Build Artefacts' stages contains one job ('build').

The 'Tests' stage contains 4 jobs ('bbox-all', 'bbox-c', 'unit' and 'wbox').

I kick of the build and the first stage completes successfully.

The build moves to the 'Tests' stage but does not attempt to run the 4 jobs in parallel. They are performed sequentially.

Seperately to this problem - when I enable concurrent builds my build time for ANY build doubles. When I deactivate it the build speed halves. This slowdown occurs even when only one build is running.

I have 4 qualifying agents for the test plan discussed above, and a total of 10 configured agents.

Thanks

Grant

Hi Grant,

Thanks for the detailed description!

While the jobs are executing in sequence, what's the status of all agents? Are they all engaged or are some of them idle and able to execute these jobs?

Cheers,

Christian

Premier Support Engineer

Atlassian

Hi Christian,

The remaining qualifying agents are all idle and theoretically able to be used.

Kind regards

Grant

Hi Grant,

That's all very surprising, so I think we need to dig deeper and go through the logs to get a better idea of what's going on.

Since you have a commercial license you should have access to support, so I suggest you create a ticket at support.atlassian.com and attach a support zip from Bamboo to start with so we can take it from there.

Cheers,

Christian

Premier Support Engineer

Atlassian

Will do, Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

457 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you