Bug 253003 - EWS sometimes fails to send email notification when error-log contains non-ascii character
Summary: EWS sometimes fails to send email notification when error-log contains non-as...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-27 09:48 PST by Ryan Reno
Modified: 2023-03-01 13:07 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Reno 2023-02-27 09:48:40 PST
This job failed to build: https://ews-build.webkit.org/#/builders/36/builds/102083

The analyze-compile-webkit-results step had output that said it would send an email to the expected address though no email was received.
Comment 1 Radar WebKit Bug Importer 2023-02-27 12:04:21 PST
<rdar://problem/105989071>
Comment 2 Aakash Jain 2023-02-28 12:43:25 PST
From twistd.log, I see some errors matching the timestamp of the build:

2023-02-27 08:43:07-0800 [-] Error in sending email for new build failure: 'ascii' codec can't encode character '\u2018' in position 790: ordinal not in range(128)
Comment 3 lingho@apple.com 2023-03-01 13:07:57 PST
Looks like this is happening fairly often. 172 times in the last 4 days. Is it important to fix?

I found some info here regarding the error:
https://stackoverflow.com/questions/54853197/the-smtplib-server-sendmail-function-in-python-raises-unicodeencodeerror-ascii