Project

General

Profile

action #92764

Possible spam from check_for_unsent_reports.sh, repeated sending of "PASSED" and "FAILED" emails

Added by jbaier_cz 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Concrete Bugs
Target version:
Start date:
2021-05-17
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Quick notes from the conversation:


Not sure if it's useful but the Testreport resent are from already released maintenance incidents
As example
From: qa-maintenance@suse.de
To: qa-maintenance-reports@suse.de
Cc: maint-coord@suse.de
Subject: double-conversion, libqt5-qtdeclarative, libqt5-qttools, llvm7,
SUSE:Maintenance:19402:240869
X-QA-Maintenance: testreport for maintenance update
SUSE:Maintenance:19402:240869


It might be related to one fix though, some post-commit hook is probably not running correctly as some part of templates was not indexed inside search tool; so those mails might be in fact just delayed mails from the past. Although, the fix was done circa around 2pm, first reported e-mail is from 17:42. Cron job runs 4 times per hour.


Cronjob has been temporary disabled to prevent more mails from flooding your inbox. More investigation needed.


Related issues

Related to QA - action #92755: Investigate problems with post-commit hook for testreportsResolved2021-05-172021-06-01

History

#1 Updated by jbaier_cz 2 months ago

  • Related to action #92755: Investigate problems with post-commit hook for testreports added

#2 Updated by deneb_alpha 2 months ago

just a small note.

the resent emails were also from the FAILED testreports, not only from the PASSED.
This is an example from the FAILED:


From: qa-maintenance@suse.de
To: qa-maintenance-reports@suse.de
Cc: maint-coord@suse.de,prjmgr@suse.de
Subject: FAILED: bind, SUSE:Maintenance:19428:240376
X-QA-Maintenance: testreport for maintenance update
    SUSE:Maintenance:19428:240376

#3 Updated by deneb_alpha 2 months ago

  • Subject changed from Possible spam from check_for_unsent_reports.sh, repeated sending of "PASSED" emails to Possible spam from check_for_unsent_reports.sh, repeated sending of "PASSED" and "FAILED" emails

#4 Updated by jbaier_cz 2 months ago

  • Status changed from New to Resolved

The issue has been identified. The main problem was in the sending script not being able to mark the report as sent after sending the mail. The problem was corrected on the affected reports and additionally a protection before reoccurring has been added.

I also reenabled the cron job and consider this problem solved. Please let me know if the problem persists.

#5 Updated by deneb_alpha 2 months ago

jbaier_cz wrote:

I also reenabled the cron job and consider this problem solved. Please let me know if the problem persists.

Thanks a lot for taking care :)
For the moment the test report sent are looking fine and with no duplicated messages. I'll keep an eye on it.

Also available in: Atom PDF