tempestmail (from validate-tempest): custom subjects for different matchers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Low
|
Emilien Macchi |
Bug Description
Currently tempestmail send the same notification email for each failing job to all the email addresses which matches the criteria for that job.
For instance, if a jobs contains tests matching both 'foo' and 'bar', all addresses will receive the same email:
- mail: <email address hidden>
regex: '.*foo.*'
- mail: <email address hidden>
regex: '.*bar.*'
- mail: <email address hidden>
regex: '.*bar.*'
It would be really useful if each filter block could define a set of custom tags that would be added to email subject. The emails sent would be different, and the tags could help with filtering.
For example:
- mail: <email address hidden>
regex: '.*foo.*'
topics: foo1
- mail: <email address hidden>
regex: '.*bar.*'
topics: bar1
- mail: <email address hidden>
regex: '.*bar.*'
topics: bar2,extra
if a jobs contains tests matching both 'foo' and 'bar', then:
- fail1@ will receive an email '[foo1]...' and an email '[bar1]...'
- fail2@ will receive an email '[bar2][extra]...'
Changed in tripleo: | |
milestone: | none → queens-3 |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in tripleo: | |
assignee: | nobody → Arx Cruz (arxcruz) |
assignee: | Arx Cruz (arxcruz) → nobody |
assignee: | nobody → Rafael Folco (rafaelfolco) |
Changed in tripleo: | |
assignee: | Rafael Folco (rafaelfolco) → Emilien Macchi (emilienm) |
Fix proposed to branch: master /review. openstack. org/529590
Review: https:/