Project

General

Profile

Actions

action #158805

closed

Job details on minion dashboard inaccessible, observed on both o3+osd

Added by livdywan 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Observation

Details of jobs on the minion dashboard on osd don't expand anymore and there's error messages in the developer console in the browser.

Even direct links don't seem to reveal the details, for example: https://openqa.suse.de/minion/jobs?id=10901255

It seems like there was a UX change and the columns are different now.

Acceptance criteria

  • AC1: Details of minion jobs can be revealed

Suggestions

  • Lookup changes in dependencies related to Mojolicious
  • Consider changes to how openQA and the web UI is built and deployed
  • Cross-check o3 for reference - issue looks to be reproducible with the minion dashboard on o3

Files

Actions #1

Updated by okurz 6 months ago

  • Tags changed from infra to reactive work
  • Project changed from openQA Infrastructure to openQA Project
  • Subject changed from Job details on minion dashboard inaccessible on osd to Job details on minion dashboard inaccessible, observed on both o3+osd
  • Category changed from Regressions/Crashes to Regressions/Crashes
Actions #2

Updated by tinita 6 months ago · Edited

  • Status changed from New to In Progress
  • Assignee set to tinita

We need to update Minion 10.29:
https://metacpan.org/release/SRI/Minion-10.29/source/Changes#L5 - Fixed jQuery dependency.

Mojolicious 9.36 doesn't deliver jquery.js it anymore, Minion now does.

That means we need to link it in https://build.opensuse.org/project/show/devel:openQA

Actions #3

Updated by tinita 6 months ago

obs linkpac openSUSE:Factory perl-Minion devel:openQA:Leap:15.5
obs linkpac openSUSE:Factory perl-Minion devel:openQA:Leap:15.6

Added comments with reason.

Actions #4

Updated by tinita 6 months ago · Edited

  • Status changed from In Progress to Feedback

On o3 it was already automatically updated and the webui restarted. On osd I have to explicitly install it from devel:OpenQA:

# zypper in perl-Minion
Loading repository data...
Reading installed packages...
'perl-Minion' is already installed.
There is an update candidate for 'perl-Minion' from vendor 'obs://build.opensuse.org/devel:openQA', while the current vendor is 'openSUSE'. Use 'zypper install perl-Minion-10.290.0-lp155.2.1.noarch' to install this candidate.
Resolving package dependencies...
Nothing to do.

Did that now and restarted the webui.

All looks good again.

I wonder why none of our tests failed.

Actions #5

Updated by tinita 6 months ago

  • Status changed from Feedback to Workable
  • Assignee deleted (tinita)

We should check why none of our tests failed when Mojolicious was updated.
Unassigning me as I don't have time right now.

Actions #6

Updated by mkittler 6 months ago

  • Status changed from Workable to In Progress
  • Assignee set to mkittler
Actions #7

Updated by mkittler 6 months ago

We should check why none of our tests failed when Mojolicious was updated.

I don't think we have any tests that would check whether the Minion UI works. Considering UI changes in Minion should rather be tested by the testsuite of Minion itself this also makes normally sense. I guess I could add a simple test that would open the Minion page, do a simple assertion and also implicitly check for JavaScript errors (as we always do).

Considering we're already linking Mojolicious we should probably also always link Minion like @tinita just did. Those packages are just highly related so it makes sense to treat them the same.

Actions #8

Updated by mkittler 6 months ago

  • Status changed from In Progress to Feedback
Actions #9

Updated by mkittler 6 months ago

  • Status changed from Feedback to Resolved

The PR has just been merged. With that problems like that will also show up as such in our tests.

As explained, the linking should probably stay. So that's all and I'm resolving the ticket.

Actions

Also available in: Atom PDF