Project

General

Profile

Actions

action #119770

open

Show test progress/status during initialization in web UI

Added by mkittler over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2022-11-02
Due date:
% Done:

0%

Estimated time:

Description

Observation

When starting a test nothing might show up for a while in the web UI (no modules and the live view has no image and logs). This isn't good because one cannot easily see what's taking so long (without observing logs on the worker host).

Acceptance criteria

  • AC1: There's some indication on the test details page that the openQA job is waiting for cache service jobs to finish (as long as that's the case).
  • AC2: There's some indication on the test details page that the openQA job is still in early stages of os-autoinst's initialization (as long as that's the case, e.g. while needles and tests are being loaded). (This might already be visible in the live log but it would be good to double-check that and maybe make it more obvious.)

Suggestions

  • Likely it is the easiest to show early log message via the live log. The developer mode's panel is currently intentionally hidden in cases mentioned in the ACs. It could actually be shown and with a generic note "waiting for tests to start, see live log for details".
  • For the case of AC2 an explicit indication could be passed via the developer mode's web socket connection so a more specific note could be shown (e.g. "loading needles", "loading test schedule", …).
  • It is conceivable to add an extra state for the caching phase but it is likely unnecessarily complicated so I'd refrain from that.
Actions #1

Updated by mkittler over 1 year ago

  • Description updated (diff)
Actions #2

Updated by okurz over 1 year ago

  • Target version set to future
Actions

Also available in: Atom PDF