Project

General

Profile

Actions

action #107923

closed

coordination #91646: [saga][epic] SUSE Maintenance QA workflows with fully automated testing, approval and release

qem-bot: Ignore not-ok openQA jobs for specific incident based on openQA job comment size:M

Added by okurz about 2 years ago. Updated 9 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See the proposal in the parent epic #95479, e.g. about the specific format of an openQA label that is readable by qem-bot

Acceptance criteria

  • AC1: A not-ok openQA job with a comment following format https://progress.opensuse.org/issues/95479#Suggestions is not blocking approval of incident updates
  • AC2: A not-ok openQA job with such comment is still blocking approval of all other, not specified incident updates
  • AC3: A not-ok openQA without such comment is still blocking all related incidents

Suggestions

  • DONE: Add a testing framework to github.com/openSUSE/qem-bot/, e.g. based on github.com/os-autoinst/openqa_review -> #109641
  • DONE: Add a simple automatic test exercising one of the existing happy path workflows of qem-bot -> #110167
  • DONE: Add automatic tests for the above acceptance criteria
  • DONE: As a first quick-and-dirty, and messy approach read out openQA comments directly within the approval step of qem-bot (only for the failed jobs which should not take too long)
  • DONE: Parse the mentioned special label string and for the parsed incident remove the according not-ok openQA job from the list of blocking results
  • Optional: Add openQA comment parsing over the openQA API together with consistent data in qem-dashboard, i.e.
    • As qem-dashboard is the "database for qem-bot" read out the according data from openQA that is pushed to qem-dashboard
    • make qem-dashboard store the related data
    • and then qem-bot should read it out from there

Out of scope

Visualize such specially handled failed openQA jobs in dashboard


Related issues 9 (1 open8 closed)

Related to openQA Project - openqa-force-result #109857: Secure auto-review+force_result size:M auto_review:"Failed to download gobbledeegoop":force_result:softfailedResolvedlivdywanActions
Related to QA - action #111078: Simple automatic test exercising one of the existing happy path workflows of qem-bot size:MResolvedosukup2022-05-13

Actions
Related to openQA Project - action #119467: "Internal server error" on opening any job group front page at OSDResolvedlivdywan

Actions
Related to QA - action #114415: [timeboxed:10h][spike solution] qem-bot comments on IBS size:SResolvedtinita2022-07-20

Actions
Related to openQA Infrastructure - action #120939: [alert] Pipeline for scheduling incidents runs into timeout size:MResolvedlivdywan2022-11-242022-12-13

Actions
Related to QA - action #119161: Approval step of qem-bot says incident has failed job in incidents but it looks empty on the dashboard size:MResolvedokurz2022-10-21

Actions
Related to QA - action #122308: Handle invalid openQA job references in qem-dashboard size:MResolvedjbaier_cz2022-12-21

Actions
Related to openQA Project - action #135782: auto-review+force-result ticket does not seem to have an effect when issue tracker changed after the initial comment when carry-over is effectiveNew2023-09-14

Actions
Related to openQA Project - action #136244: Ensure arbitrary comments can be taken over to new jobs size:MResolveddheidler2023-09-212023-11-17

Actions
Actions

Also available in: Atom PDF