<< Back to previous view

[QB-293] Email notifications lying - says build successful when Jabber and logs say otherwise
Created: 17/Oct/07  Updated: 29/Oct/07

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

Type: Bug Priority: Blocker
Reporter: John Allen Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Build fails, log has this in it:

2007-10-17 11:59:09,636 [Thread-156551] DEBUG - Process finished.
2007-10-17 11:59:09,636 [Thread-156551] DEBUG - Stopping stream handler...
2007-10-17 11:59:09,636 [Thread-156551] DEBUG - Stream handler stopped.
2007-10-17 11:59:09,637 [Thread-156551] ERROR - Step "build: apt install (ci)" is failed: Build success condition not satisfied.
2007-10-17 11:59:09,638 [Thread-156551] INFO - Triggering step "script: notify".
2007-10-17 11:59:09,638 [Thread-156551] INFO - Checking necessary condition of step "script: notify".
2007-10-17 11:59:09,638 [Thread-156551] INFO - Condition satisfied, running step "script: notify".
2007-10-17 11:59:09,638 [Thread-156551] INFO - Triggering step "notify: jabber".
2007-10-17 11:59:09,638 [Thread-156551] INFO - Checking necessary condition of step "notify: jabber".
2007-10-17 11:59:09,638 [Thread-156551] INFO - Condition satisfied, running step "notify: jabber".

SNIP

Jabber notifications say the build failed BUT when it comes to email notification...

2007-10-17 11:59:15,599 [Thread-156551] INFO - Step "notify: jabber" is successfully.
2007-10-17 11:59:15,599 [Thread-156551] INFO - Triggering step "notify: email".
2007-10-17 11:59:15,599 [Thread-156551] INFO - Checking necessary condition of step "notify: email".
2007-10-17 11:59:15,599 [Thread-156551] INFO - Condition satisfied, running step "notify: email".

SNIP

2007-10-17 11:59:16,400 [Thread-156551] DEBUG - Preparing mail content...
2007-10-17 11:59:16,403 [Thread-156551] INFO - Send build notification via email to: email addresses removed
2007-10-17 11:59:16,403 [Thread-156551] DEBUG - Using MIME mail
2007-10-17 11:59:16,403 [Thread-156551] INFO - Sending email: [APT Builds] successful: "APT.projects.pbs.pbs-core.ci-builds.pbs-common" (566)
2007-10-17 11:59:16,403 [Thread-156551] DEBUG - From [email protected]
2007-10-17 11:59:16,403 [Thread-156551] DEBUG - ReplyTo []
2007-10-17 11:59:16,403 [Thread-156551] DEBUG - To [removed email addresses]
2007-10-17 11:59:16,404 [Thread-156551] DEBUG - Cc []
2007-10-17 11:59:16,404 [Thread-156551] DEBUG - Bcc []
2007-10-17 11:59:16,563 [Thread-156551] INFO - Sent email with 0 attachments
2007-10-17 11:59:16,563 [Thread-156551] INFO - Step "notify: email" is successfully.
2007-10-17 11:59:16,563 [Thread-156551] INFO - Step "script: notify" is successfully.
2007-10-17 11:59:16,564 [Thread-156551] ERROR - Step "process: ci" is failed: Composite step "process: ci" failed due to unsatisfication of step success condition.
2007-10-17 11:59:16,564 [Thread-156551] ERROR - Step "default" is failed: Composite step "default" failed due to unsatisfication of step success condition.

The resulting email says the build was successful every time.


Template header in the notifier is:

[APT Builds] $build.status.name: "$build.configuration" ($build.version)


This applies to whether we use the plain or HTML templates.


We have had to disable email notifications, what can be up with it?


 Comments   
Comment by Robin Shen [ 17/Oct/07 05:36 PM ]
Can you send a xml backup of your database to [robin AT pmease DOT com] and point out which configuration is having problem with the email notification?

Thanks.
Robin
Comment by John Allen [ 26/Oct/07 10:42 AM ]
Sorry it's taken so long to reply Robin, being having a nightmare with our central ALM server running out of open file descriptors. Anyway i have emailed you the Quickbuild XML export. And it is in all configurations that the email status reporting is incorrect.
Generated at Wed Oct 15 21:39:29 UTC 2025 using JIRA 189.