<< Back to previous view

[QB-333]  Quickbuild service repeatly stalling during e-mail notifications
Created: 25/Mar/08  Updated: 28/Jun/08

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

Type: Bug Priority: Major
Reporter: John Allen Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: Text File html_notification.vm     JPEG File screenshot-1.jpg    

 Description   
Quickbuild has started to stall recently during e-mail notifications for an hour or two at a time.

2008-03-19 17:51:58,201 [Thread-7491] DEBUG - ResourceManager : found html_notification.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
2008-03-19 19:00:04,477 [Thread-7491] DEBUG - Preparing mail content...

2008-03-25 10:41:00,726 [Thread-2431] DEBUG - ResourceManager : found html_notification.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
2008-03-25 12:44:55,016 [Thread-2431] DEBUG - Preparing mail content...
2
008-03-19 17:51:58,201 [Thread-7491] DEBUG - ResourceManager : found html_notification.vm with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
2008-03-19 19:00:04,477 [Thread-7491] DEBUG - Preparing mail content...


 Comments   
Comment by Robin Shen [ 25/Mar/08 06:49 PM ]
Does this happens each time, or just occasionally? Have you changed the html_notification.vm file? If yes, can you attach that file here?
Comment by John Allen [ 26/Mar/08 04:59 AM ]
It happens ocassionally (see attached screenshot).
No the html_notification has not been modified since Sep 2007.
Have attached the file as requested.

Thanks.
Comment by Robin Shen [ 26/Mar/08 06:21 PM ]
What size of the build log and revision log of stalling builds (7702 for example) ? As the html_notication.vm uses below expression to extract information from build log and revision log:

$system.readFileAsHtml("$build.buildLogPath", ".*ERROR.*", 25)
$system.readFileAsHtml("$build.revisionLogPath")

It could be very time consuming if the build log or revision log is very large.

Comment by John Allen [ 27/Mar/08 04:27 AM ]
The build log file is around 21 MB.

Is there a more efficient way of displaying the error messages other then what is described below by your company? What are the alternative?

http://www.pmease.com/public/docs/guide/apb.html

Get 50 lines around the error line of a build log
$system.readFileAsHtml("$build.buildLogPath", ".*ERROR.*", 25)

Thanks.
Comment by Robin Shen [ 27/Mar/08 06:11 PM ]
Extracting error message from a 21MB log file could be very slow. Are you running the build in verbose logging mode? If yes, switch it to run under normal (or compact mode) will reduce the log file size. In the mean time, the issue (http://jira.pmease.com/browse/QB-337) is created to address this issue.
Comment by Robin Shen [ 28/Jun/08 05:55 PM ]
Root cause of this issue is QB-337
Generated at Wed Oct 08 19:29:58 UTC 2025 using JIRA 189.