Project

General

Profile

Actions

action #92764

closed

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

Added by jbaier_cz almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-05-17
Due date:
% Done:

0%

Estimated time:

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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by jbaier_cz almost 3 years ago

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

Updated by deneb_alpha almost 3 years 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

Actions #3

Updated by deneb_alpha almost 3 years 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
Actions #4

Updated by jbaier_cz almost 3 years 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.

Actions #5

Updated by deneb_alpha almost 3 years 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.

Actions

Also available in: Atom PDF