I've looked into the code. I don't see a clean and elegant
solution
how to disable all emails for some tests (rpmlint, rpmguard) but
keep full.log emails enabled for other tests (upgradepath,
depcheck). Of course we can hard-code it, but then we have to also
change our configuration files like this one:
# Comma-separated list of email addresses that will receive full test
results
# of every completed test.
# (leave blank to disable)
result_email =
If we changed the code but left the configuration intact it would be
very confusing for anyone using/exploring AutoQA.
To do it cleanly, I see two major solutions:
1. Send only one email per test (but for every test). We can either
send full.log or pretty log created from the main TestDetail. The
second option is probably better, because the email is much smaller
(we send just the header and a hyperlink).
On October 28th this would reduce the number of results from 11523
emails to ~ 4341 emails (and considerably reduced email size, I
suppose by >80%).
2. Send emails only for crashed tests. We will have to adjust
"result_email" option to correctly state it concerns only crashed
tests. Alternatively we can introduce a new option
"send_only_crashed" and set it to True on production server.
I would go for the first option if the decreased load (of 3-4
thousand emails per day) is acceptable by Fedora's mail server. If
it is not, let's go for the second option.
Please note this does not concern opt-in emails at all. Opt-in emails
do not cause any problems and it should be possible to keep their
behavior intact.
Thoughts?
By the way, when going through my bookmarks I have found a long forgotten link:
http://autoqa.fedoraproject.org/tko/compose_query.cgi?columns=test&ro...
This is also an easy way how to spot crashed tests without autoqa-results archive. It
doesn't inform us about NEEDS_INSPECTION results though, just CRASHED.