<< Back to previous view

[QB-1190] Restrict the number of concurrent configurations that a node can run
Created: 18/Jan/12  Updated: 18/Jan/12

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 3.1.68
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Keni Popovski Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: 5 hours Time Spent: Unknown
Original Estimate: 5 hours
Environment: Windows 7, connecting to either a virtual machine running Red Hat, or Dell dual core machines running Red Hat.


 Description   
QuickBuild needs the capability of restricting the number of builds that each node can execute in parallel. By build, I mean complete configurations, including all steps within.

There are known methods for acquiring resources so that QuickBuild does not execute STEPS in parallel. However, this raises an issue when two configurations use the same external resource between steps. For example, one step may involve setting up a virtual machine for testing, and another step could connect to the machine and execute the tests. If a second configuration interrupts this process and modifies the state of the virtual machine, the test would be invalid.

Also, I followed http://wiki.pmease.com/display/QB31/Limit+Number+of+Concurrent+Jobs+on+Node, and modified each step within two of my configurations. When I played both configurations, I ended up with both stuck in a state of "Executing pre-execute action...". Neither wanted to release the resource "resource1", and I had to cancel both of the runs.

However, there should be an additional setting per node that specifies the number of concurrent jobs that are permitted to run on it.

 Comments   
Comment by Robin Shen [ 18/Jan/12 05:26 AM ]
This has already been solved with the new resource concept in QB4:
http://wiki.pmease.com/display/QB40/Working+with+Resources
Generated at Wed May 08 22:49:02 UTC 2024 using JIRA 189.