Project

General

Profile

Actions

action #135782

open

auto-review+force-result ticket does not seem to have an effect when issue tracker changed after the initial comment when carry-over is effective

Added by okurz 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2023-09-14
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://openqa.suse.de/tests/12082826 is failed, https://openqa.suse.de/tests/12082826#comments references a takeover ticket #134873 but the result is not updated when it should be.
ticket #134873 was moved to the tracker "openqa-force-result" in https://progress.opensuse.org/issues/134873#note-8 2023-09-06 10:29 (CEST?) and https://openqa.suse.de/tests/12082826 finished 2023-09-11 . The comment was carried over initially from https://openqa.suse.de/tests/12016780 which finished 2023-09-06 04:42:06 +0000 when the ticket was not yet in openqa-force-result.

Note: The job is softfailed now, but you can see that a human did that in the second comment.

Acceptance Criteria

  • AC1: force result expressions in ticket titles are effective for comments with carried over labels even if the issue changed to be effective for force-result meanwhile

Suggestions

  • Look for relevant logs from openqa-gru service or minion jobs https://openqa.suse.de/minion/jobs
  • Confirm that it happens more often
  • Maybe see if this is related to #135803 (just a guess, though)
  • Since this seems to be a case where the tracker was wrong as the script was running:
    • Consider adding a comment e.g. after "(Automatic takeover from t#12016780) (The hook script will not be executed.)" like "(force_result was specified but will not be used unless the tracker is $tracker)"
  • If you expect that everything works as expected just find at least one openQA job where a label carry over and force-result was effective

Out of scope


Related issues 2 (0 open2 closed)

Related to QA - action #107923: qem-bot: Ignore not-ok openQA jobs for specific incident based on openQA job comment size:MResolvedjbaier_cz

Actions
Related to openQA Project - action #123724: auto_review not working despite ticket in openQA auto review project size:MResolvedmkittler2023-03-24

Actions
Actions

Also available in: Atom PDF