<< Back to previous view

[QB-4115] Better Notification When There is an Email Failure
Created: 22/Aug/24  Updated: 22/Jan/25

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

Type: Bug Priority: Major
Reporter: Jonas Zhang Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: all platforms


 Description   
Context: A developer no longer get an email indicating the status of the build starting 2 weeks ago, although he's in the email notification list of that build config and the config had many builds finished during the 2 weeks. The overview page shows that the builds succeed. But sometimes, the page briefly shows an error message saying that an email send failed because the email someInvalidEmail@example.com is not valid (did not manage to take a screenshot of the error message before it disappeared). After I as devops engineer received the developer's ticket, I found no error log relating email failure in the build logs, but I did find the error buried deep in the server log of the machine on which the build runs, which shows: "...
 Caused by: javax.mail.SendFailedException: Invalid Addresses;
     nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <someInvalidEmail@example.com>: Recipient address rejected: User unknown in local recipient table
"
This email "someInvalidEmail@example.com" belongs to a exited employee, and the email was already removed from SMTP server, but our QB admin did not remove this person from the QB email notification list (since it's not an expected routine for QB admin).

Problem: the dev has sharp eyes to notice the disappearance of new emails, which should notify failures only when that exists. It's also hard for devops to debug, since build overview and build logs don't show any related errors, and server logs should be mostly for the status of the machine instead of for specific build. In short, it's very hard for any user to catch email notification failure.

Scope: an outdated email silently disable multiple build configs' email notices, which is fatal to many dev teams since they don't get error reports.

Proposed/potential solution(s): make sure email error shows up in build log / build overview / config overview pages (one or more). This error should be clearly displayed, and should not be ephemeral (like what the dev explained).

 Comments   
Comment by Robin Shen [ 22/Aug/24 11:27 PM ]
Errors like this happen after build is finished. It can not affect build status, or can be written to build log. If you want to be notified of such errors earlier, you may set up configuration error receivers in advanced setting of appropriate configurations in advanced setting.
Generated at Fri Mar 14 12:21:47 UTC 2025 using JIRA 189.