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

Key: QB-293
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
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

Email notifications lying - says build successful when Jabber and logs say otherwise

Created: 17/Oct/07 06:33 AM   Updated: 29/Oct/07 11:00 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

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


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


 All   Comments   Work Log   Change History      Sort Order:
No work has yet been logged on this issue.