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

Key: QB-333
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: John Allen
Votes: 0
Watchers: 0
Operations

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

Quickbuild service repeatly stalling during e-mail notifications

Created: 25/Mar/08 08:39 AM   Updated: 28/Jun/08 05:55 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File html_notification.vm (3 kb)
2. JPEG File screenshot-1.jpg (158 kb)



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


 All   Comments   Work Log   Change History      Sort Order:
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?

Change by John Allen [26/Mar/08 04:51 AM]
Field Original Value New Value
Attachment html_notification.vm [ 10091 ]

Change by John Allen [26/Mar/08 04:56 AM]
Attachment screenshot-1.jpg [ 10092 ]

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.

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.


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.

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.

Robin Shen [28/Jun/08 05:55 PM]
Root cause of this issue is QB-337

Change by Robin Shen [28/Jun/08 05:55 PM]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]