Project

General

Profile

Actions

action #166772

open

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

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

openqa-label-known-issues overrides size:S

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

Status:
In Progress
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2024-09-13
Due date:
2024-11-27 (Due in 6 days)
% 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

Related #169699 showing

Nov 10 03:30:05 ariel openqa-gru[12854]: /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68
Nov 10 03:30:07 ariel openqa-gru[13280]: /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68
Nov 10 03:30:24 ariel openqa-gru[13985]: /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68
Nov 10 03:30:29 ariel openqa-gru[14252]: /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68
Nov 10 03:30:31 ariel openqa-gru[14391]: /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68
Nov 10 03:30:32 ariel openqa-gru[14597]: /opt/os-autoinst-scripts/openqa-label-known-issues: ERROR: line 68

Acceptance 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 4 (2 open2 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
Related to openQA Infrastructure - action #169699: [alert] opensuse.org openqa.opensuse.org openqa_minion_jobs_hook_rc_failed minion 'hook failed - see openqa-gru service logs for details'Rejectedokurz2024-11-11

Actions
Related to openQA Infrastructure - action #166721: [alert] Waves of emails due to kex_exchange_identification: Connection closed by remote host errorsFeedbacklivdywan

Actions
Copied to openQA Project - action #169747: Multiple finalize_job_results and hook_script minion jobs per openQA job size:MWorkablemkittler2024-09-13

Actions
Actions

Also available in: Atom PDF