<< Back to previous view

[QB-1513] QuickBuild Server has hanged due to Resource that uses a script with error
Created: 10/Jan/13  Updated: 11/Jan/13

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

Type: Bug Priority: Critical
Reporter: Noam Manos Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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.

 Comments   
Comment by 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.
Generated at Sat May 04 23:04:42 UTC 2024 using JIRA 189.