Project

General

Profile

Actions

action #157204

closed

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

coordination #155671: [epic] Better handling of SLE maintenance test review

Sync openQA job removal events to qem-dashboard listening to AMQP events size:M

Added by okurz about 1 month ago. Updated 15 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2024-03-14
Due date:
% Done:

0%

Estimated time:

Description

Motivation

https://suse.slack.com/archives/C02CLB8TZP1/p1709892527534149?thread_ts=1709883106.021479&cid=C02CLB8TZP1
When openQA jobs are deleted then the according reference in qem-dashboard should also be removed. Listen to AMQP events to sync the removal accordingly

Acceptance criteria

  • AC1: SLE maintenance openQA jobs previously blocking SLE maintenance updates on http://dashboard.qam.suse.de/blocked do not block approval after such openQA jobs are deleted from the openQA database

Suggestions

Out of scope

  • Regular cleanup of results when we missed or have otherwise not received according AMQP events
Actions #1

Updated by okurz about 1 month ago

  • Target version changed from Tools - Next to Ready
Actions #2

Updated by okurz about 1 month ago

  • Parent task set to #155671
Actions #3

Updated by okurz about 1 month ago

  • Description updated (diff)
Actions #4

Updated by okurz about 1 month ago

  • Subject changed from Sync openQA job removal events to qem-dashboard listening to AMQP events to Sync openQA job removal events to qem-dashboard listening to AMQP events size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #5

Updated by jbaier_cz 22 days ago

  • Assignee set to jbaier_cz
Actions #6

Updated by jbaier_cz 16 days ago

  • Status changed from Workable to In Progress
Actions #7

Updated by jbaier_cz 16 days ago

https://github.com/openSUSE/qem-dashboard/pull/1017 should be enough to listen for delete events and act accordingly.

Actions #8

Updated by jbaier_cz 16 days ago

  • Status changed from In Progress to Feedback

The PR is merged, I will wait for the automatic deploy to occur and test it in production.

Actions #9

Updated by jbaier_cz 15 days ago

  • Status changed from Feedback to Resolved

After creating (and cancelling) a few incident jobs, I can see that every individual job delete will create a corresponding line in the server log (for the dasboard-amqp-watcher.service) and a decrease of job count on the dashboard for that incident. That should solve the qem-bot blocking for deleted openQA jobs.

Apr 12 18:26:06 qam2 dashboard[3026]: [3026] [i] delete 14017258
Actions

Also available in: Atom PDF