Project

General

Profile

Actions

action #166772

open

coordination #102915: [saga][epic] Automated classification of failures

coordination #166655: [epic] openqa-label-known-issues

[timedbox:10h] openqa-label-known-issues overrides size:S

Added by ybonatakis about 2 months ago. Updated 8 days ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2024-09-13
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://github.com/os-autoinst/scripts/blob/master/openqa-label-known-issues#L55

if ! curl "${curl_args[@]}" -s "$testurl" -o "$out"; then

Problem is that $out is overridden. Then, in case it doesnt reach the block, the script will continue with the label_on_issues_from_issue_tracker with modified context, when it is expected to be the context of autoinst-log.txt.

Raised on https://github.com/os-autoinst/scripts/pull/342/files#r1745228802

Acceptrance criteria

  • AC1: The output file is written to the right location in the reference function.

Suggestions

  • Research what the use of the output file is and how to test/verify this
  • Try to make sense of the code to find out what the wanted behavior is
  • Add unit tests

Related issues 1 (0 open1 closed)

Related to openQA Project - action #165716: [o3] Munin - minion hook failed - /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68 size:MResolvedybonatakis2024-08-23

Actions
Actions

Also available in: Atom PDF