action #90917

coordination #99303: [saga][epic] Future improvements for SUSE Maintenance QA workflows with fully automated testing, approval and release

coordination #110016: [epic][teregen] teregen (maintenance test report template generator) improvements

[teregen] Add notification about errors in template generating

Added by jbaier_cz about 1 year ago. Updated 2 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Often, there is a problem inside incident which cause the template not to be generated and the error is not spotted until someone needs the template. Then, one need to login to the server to view the logs and to find out the reason (usually a missing product definition). If the issue is easily fixable, one need to wait for MR to be merged and deployed and for template generator to pick up those changes during next runs. This might cause a delay.

I propose to make a proactive approach and notify on errors (RC channel would be probably a good idea) to allow faster reaction to problematic templates. To minimize spam, each error should be sent only once. As the template generator is not stateless (with introducing the test coverage feature), this should be no longer a problem to implement. Proof of concept how to send messages to RC already exists and the bot account should be also already active.

Things to consider:

  1. Sent notification storage (psql is already used elsewhere in the template generator)
  2. Outgoing hook implementation (can be part of a process -- output plugin; or wrapper script watching for return code)
  3. RC Bot integration (could send messages directly or through another service to allow interaction)

Related issues

Related to QA - action #90914: [teregen] Add overview for stored coverage dataNew2021-04-09


#1 Updated by jbaier_cz about 1 year ago

  • Project changed from QAM to QA

This may be also used to report problems with coverage data.

#2 Updated by jbaier_cz about 1 year ago

  • Related to action #90914: [teregen] Add overview for stored coverage data added

#3 Updated by jbaier_cz 11 months ago

  • Assignee deleted (jbaier_cz)

#4 Updated by jbaier_cz 2 months ago

  • Parent task set to #110016

Also available in: Atom PDF