History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1513
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Robin Shen
Reporter: Noam Manos
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

QuickBuild Server has hanged due to Resource that uses a script with error

Created: 10/Jan/13 08:35 AM   Updated: 11/Jan/13 07:24 AM
Component/s: None
Affects Version/s: 4.0.90
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
QuickBuild Server has hanged all running builds, when I've added a Resource that uses a script with error.

To reproduce:
Add a Resource that select all agents with following script evaluate to true:
   node.getAttribute(String.startWith("COACH_PFB_TA_HP"))

OR:
   node.getAttribute(\"COACH_PFB_TA_HP"\.*))

The error handling only showed for this Resource: "error on server" (in red), but under the hood all running builds has hanged, and new builds could not start (stayed on "Waiting").
Eventually we had to restart QB Server, loosing the queue of running and scheduled builds.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [11/Jan/13 07:24 AM]
QB has to go through all resources to check node status, so some resource definition error will prevent all builds from proceeding. However once this has been fixed, and after a while builds in queue should be able to proceed as usual. I verified this to be true at my side.