SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

failed builds send out an error email all at the same time much later #187

Closed tpokorra closed 4 years ago

tpokorra commented 4 years ago

it seems, after some nightly jobs failed, they are only sent out once I access the lbs page?

related code:

I cannot reproduce it with the test/test_email.py script.

tpokorra commented 4 years ago

The email is sent out immediately, see the headers in the source of the email. What is missing is the Date header, so Thunderbird assigns the date and time of receival. see https://support.mozilla.org/en-US/questions/1078611 and https://stackoverflow.com/questions/36832632/sending-mail-via-smtplib-loses-time