Project

General

Profile

Actions

action #16354

closed

Unambiguous lookup of "preferred machine" for same amount of multiple machine types

Added by ktsamis about 7 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2017-01-31
Due date:
% Done:

0%

Estimated time:

Description

User story

As a user of /tests/overview I want to have consistent display of test names to not confuse a changing name with a differing machine type

acceptance criteria

  • AC1: On reload of the same URL the display of test names should not differ on a random base

tasks

  • investigate the reason for the seemingly "random behavior", probably when there are as many tests of one machine type as for the other
  • make it unambiguous in any way, e.g. just always select the "first machine type" if that is also not random

further details

original observation by ktsamis:
Display of hostname jumps randomly between scheduled tests and switches the test in another row

On: https://openqa.suse.de/tests/overview?distri=sle&version=12-SP2&build=%3A127401.java-1_8_0-openjdk.4082&groupid=53
I have:
qam-minimal@s390x-zVM-hsi-l3 and qam-minimal-full scheduled
and on reload (maybe a couple reloads)
I have:
qam-minimal and qam-minimal-full@s390x-zVM scheduled
and that causes the test with the hostname to be moved into a new row.

I am attaching screenshots of both cases.


Files


Related issues 2 (0 open2 closed)

Related to openQA Project - action #54008: [web ui] test result not alignment to test nameResolvedokurz2019-07-09

Actions
Related to openQA Project - action #52493: Filter according to machine in 'Test result overview'ResolvedXiaojing_liu2019-06-03

Actions
Actions #1

Updated by okurz about 7 years ago

  • Subject changed from Display of hostname jumps randomly between scheduled tests and switches the test in another row to Unambiguous lookup of "preferred machine" for same amount of multiple machine types
  • Description updated (diff)
  • Category set to Feature requests
  • Target version set to Milestone 6
Actions #2

Updated by okurz about 7 years ago

  • Target version deleted (Milestone 6)

M6 is over

Actions #3

Updated by coolo over 6 years ago

  • Target version set to Ready

sounds like a good entrance level issue

Actions #4

Updated by mkittler about 5 years ago

It this still happening? Can you provide a more recent example? Because the error is not easy to spot in the source code.

Actions #5

Updated by ktsamis about 5 years ago

mkittler wrote:

It this still happening? Can you provide a more recent example? Because the error is not easy to spot in the source code.

I have no idea. I opened this 2 years ago and I haven't done much openqa since then. I don't have any instance to check this. I can't provide more info on this.

Actions #6

Updated by coolo almost 5 years ago

https://openqa.suse.de/tests/overview?distri=sle&version=15&build=%3A10940%3Asystemd&groupid=159 - reload the page to see the Server-DVD-Incidents-Install flavor jump

Actions #7

Updated by mkittler over 4 years ago

  • Assignee set to mkittler

That one I can reproduce locally. Sometimes qam-incidentinstall@zkvm is in its own row and sometimes shown together with qam-incidentinstall. Which one is the behavior we want? I'd say it should be shown together to use the space more efficiently.

Actions #8

Updated by mkittler over 4 years ago

  • Status changed from New to In Progress
  • Target version changed from Ready to Current Sprint

PR: https://github.com/os-autoinst/openQA/pull/2249

When looking at the code I understand now why the machines are sometimes rendered differently. There is no general way to be always in favor of one of the variants (which are that s390 gets its own row or that it is shown in the same row as the other archs). But at least one of the variants is now used consistently.

I'm wondering what the purpose of this "preferred machine" behavior is (https://github.com/os-autoinst/openQA/pull/224 has not much info on it). At least here is seems arbitrary that we sometimes append the machine and sometimes not - even though this arbitrary decision now done in a consistent way with my PR. The most space efficient way would be removing that "preferred machine" feature completely and just show all archs for the same test in the same row.

Actions #9

Updated by okurz over 4 years ago

  • Related to action #54008: [web ui] test result not alignment to test name added
Actions #10

Updated by okurz over 4 years ago

  • Related to action #52493: Filter according to machine in 'Test result overview' added
Actions #11

Updated by okurz over 4 years ago

  • Status changed from In Progress to Feedback

PR merged, I guess this is Feedback now?

Actions #12

Updated by okurz over 4 years ago

  • Status changed from Feedback to Resolved

good on osd

Actions

Also available in: Atom PDF