I am seeing some interesting behavior from EA and wanted to understand if this is normal.
Because the Windows box we are using for agents is not as powerful as the Linux agent box, the build script that launches emake repeatedly (I have yet to write a single makefile for the entire build, there's too much hoop-jumping in the build script right now) for each component of the build runs faster than the agents. What is interesting is that the script is running a consistent 10 builds ahead of the agent box, and if an 11th build is going to be added to the queue, the call to emake does not return until the build at the head of the queue finishes, and a space opens up at the end.
Is this normal? Is the behavior configurable?
Answer by eric melski · May 27, 2014 at 09:45 PM
You're using "queued" in a strange way here, I think: usually when we talked about _queued_ builds we mean builds that are not making any progress because they are waiting for agents, but you seem to be using it to mean builds which are active, making progress. There is no limit on the number of queued (waiting) builds with ElectricAccelerator, but the number of active builds is effectively limited by the size of your cluster and your agent allocation policy configuration.
In this case, you probably don't have enough agents to service the number of concurrent builds you're running, for the agent allocation policies you've configured. In particular, emake must have at least one agent available in order to make any progress, and it may require _more_ than one if your _minimum agents_ setting is greater than one. The default minimum agents value is _two_. You can change the value on the "Agent Policies" subtab of the "Agents" tab in the cluster manager.
If you haven't got enough agents, your options are either to add more agents, or wait until agents become available to service additional builds (what's happening to you now).
Deploying Cluster Manager to control a worldwide Accelerator agent infrastructure 2 Answers
How can I store additional information about a build in the cluster manager? 1 Answer
How can I monitor an ElectricAccelerator cluster for runaway builds? 1 Answer
How can I change the timezone used in the ElectricAccelerator cluster manager? 1 Answer
Is there an upper limit for the cluster manager build id in ElectricAccelerator? 1 Answer
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.