Project

General

Profile

Actions

action #108701

closed

Individual groups return 500 via group_overview route

Added by livdywan over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2022-03-21
Due date:
2022-04-04
% Done:

0%

Estimated time:

Description

Observation

Apparently some groups, for instance https://openqa.suse.de/group_overview/219, can produce HTTP 500 server errors. Can because at the time of writing #108659#note-1 it did, and now it works.
The same seems to be true of the overview on https://openqa.suse.de/ which would say Unable to fetch build results. as a side effect of the group reporting an error.

#108659#note-2 also revealed a log message that suggests the code path is broken:

Mar 21 18:08:28 openqa openqa[15913]: [error] [tWelNRQVXNmi] Undefined subroutine &OpenQA::BuildResults::log_error called at /usr/share/openqa/script/../lib/OpenQA/BuildResults.pm line 64.

According to the audit log the job template was modified. However I can't see what changes were made.


Related issues 1 (0 open1 closed)

Copied from openQA Project (public) - action #108659: t/22-dashboard.t fails in one step but overall test still succeeds, maybe Test::Warnings?Rejectedokurz2022-03-21

Actions
Actions #1

Updated by livdywan over 2 years ago

  • Copied from action #108659: t/22-dashboard.t fails in one step but overall test still succeeds, maybe Test::Warnings? added
Actions #2

Updated by asmorodskyi over 2 years ago

Currently I stop seeing this error .

this is history of job group settings - https://gitlab.suse.de/qac/qac-openqa-yaml/-/commits/master/publiccloud/latest/azure.yaml

Actions #3

Updated by tinita over 2 years ago

  • Status changed from New to Feedback
  • Assignee set to tinita
Actions #4

Updated by tinita over 2 years ago

The reason was: 6 jobs with a label:force_result:softfail:poo#108674 label ("softfail" vs. "softfailed"). I fixed the jobs.
e.g. https://openqa.suse.de/tests/8363829#comments

It was clear from the error location lib/OpenQA/BuildResults.pm line 64 that there must be jobs which have a result or state not matching the ones that are checked, so I did

select * from jobs where group_id = 219 and (state = 'done' and result not in ('passed', 'softfailed', 'failed', 'incomplete', 'timeout_exceeded', 'skipped', 'obsoleted', 'parallel_failed', 'parallel_restarted', 'user_cancelled', 'user_restarted'));

and found the jobs.

Actions #5

Updated by okurz over 2 years ago

  • Due date set to 2022-04-04

I also triggered a new deployment in https://gitlab.suse.de/openqa/osd-deployment/-/pipelines/345098 . Thanks for your diligent work and fast fix. I would say you already patched the original issue by fixing the comments but also improved openQA itself. Unless you can think of further immediate improvements that we should apply as part of this ticket I'd say you can resolve the ticket.

Actions #6

Updated by tinita over 2 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF