Project

General

Profile

Actions

action #31912

closed

[opensuse][functional][u] test fails in updates_packagekit_kde - part 2

Added by lnussel over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 17
Start date:
2018-02-06
Due date:
2018-07-31
% Done:

0%

Estimated time:
Difficulty:
medium

Description

Observation

openQA test in scenario opensuse-15.0-NET-x86_64-kde@Laptop_64 fails in
updates_packagekit_kde

Not sure what's wrong there. For sure the test doesn't install the 2nd batch of updates though.

Latest builds fail due to the bug, but can be fixed using https://openqa.opensuse.org/tests/626820

Reproducible

Fails since (at least) Build 129.1

Expected result

Last good: 128.1 (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Follows (1 day) openQA Tests - action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1ResolvedStefanBruens2018-02-02

Actions
Actions #1

Updated by StefanBruens over 6 years ago

  • The match is wrongly tagged with 'updates_none', should be 'updates_available'
  • The area is completely bogus, the matched (2) is unrelated to the updates, its just the number of notifications.
Actions #2

Updated by StefanBruens over 6 years ago

The needle was probably an attempt to fix an issue very similar to #31327#note-3.

From https://openqa.opensuse.org/tests/609009/file/autoinst-log.txt

[2018-02-13T16:52:34.0284 CET] [debug] <<< testapi::check_screen(mustmatch='updates_click-install', timeout=0)
[2018-02-13T16:52:34.0476 CET] [debug] MATCH(updates_kde-updates_click-install-20160526:1.00)

This is already fixed with https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4397
(merged 2018-02-13T23:26:06)

Actions #3

Updated by dimstar about 6 years ago

Urgh - that us going to fun

https://openqa.opensuse.org/tests/611882#step/updates_packagekit_kde/11

The KDE team implemented, on Ludwig's request, that the Updated applet auto-closes on completion. So in TW we no longer can look for the text 'system up-to-date' The only indication of 'Your system is up to date is that there are 'only notifications left'; if there were updates. the regular count on openQA is '3 notifications'.

Hence for lack of seeing anything better, this was chosen. Alternatively we can probabl add the 'update-none' to the normal needle we use to 'try to guess there are no updates' (takes a bit longer area of the panel)

Actions #4

Updated by dimstar about 6 years ago

Ok, I created another needle as an update to an existing 'try-without-updates' - it spans much over all shown icons in the notification area and does not include a 'more updates available' icon, which in turn is verified not to match the Leap case where there ARE more updates available

Actions #5

Updated by lnussel about 6 years ago

In leap, there's first a package manager update. So the applet is expected to show some message requesting to relogin.

Actions #6

Updated by StefanBruens about 6 years ago

@dimstar - I think the needle duplicates the ones with tag 'tray-without-updates-available'

Actions #7

Updated by dimstar about 6 years ago

Replaces - not duplicates (it has different / additional tags)

Actions #8

Updated by StefanBruens about 6 years ago

Currently the code reads somewhat like:

assert_and_click("updates_available-tray");
while(1) {
    # do stuff
    if (check_screen 'updates_none')
        last;
}

Maybe change that to:

assert_and_click("updates_available-tray");
while(match_has_tag("updates_available-tray")) {
    # do stuff

    assert_screen [qw(updates_available-tray tray-without-updates-available)];
}
Actions #9

Updated by okurz about 6 years ago

  • Subject changed from test fails in updates_packagekit_kde to [opensuse][functional]test fails in updates_packagekit_kde
  • Due date set to 2018-03-27
  • Target version set to Milestone 15
Actions #10

Updated by riafarov about 6 years ago

  • Description updated (diff)
  • Status changed from New to Workable
Actions #11

Updated by okurz about 6 years ago

  • Due date changed from 2018-03-27 to 2018-04-24
Actions #12

Updated by StefanBruens about 6 years ago

So now we are hitting the case "there are updates available" after the first round, as described in comment #31912#note-3.

I think the change mentioned in #31912#note-8 would work here.

Actions #13

Updated by okurz about 6 years ago

  • Related to action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1 added
Actions #14

Updated by okurz about 6 years ago

  • Subject changed from [opensuse][functional]test fails in updates_packagekit_kde to [opensuse][functional]test fails in updates_packagekit_kde - part 2
Actions #15

Updated by okurz about 6 years ago

  • Related to deleted (action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1)
Actions #16

Updated by okurz about 6 years ago

  • Follows action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1 added
Actions #17

Updated by okurz about 6 years ago

  • Due date changed from 2018-04-11 to 2018-07-02
  • Start date changed from 2018-02-04 to 2018-04-26

due to changes in a related task

Actions #18

Updated by okurz about 6 years ago

  • Target version changed from Milestone 15 to Milestone 17
Actions #19

Updated by okurz about 6 years ago

  • Due date changed from 2018-07-02 to 2018-04-12
  • Start date changed from 2018-04-26 to 2018-02-06

due to changes in a related task

Actions #20

Updated by okurz about 6 years ago

  • Due date changed from 2018-04-12 to 2018-07-17
Actions #21

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 17 to Milestone 17
Actions #22

Updated by okurz almost 6 years ago

  • Due date changed from 2018-07-17 to 2018-07-31

It's hackweek time!

Actions #23

Updated by jorauch almost 6 years ago

  • Status changed from Workable to In Progress
  • Assignee set to jorauch
  • Difficulty set to medium

Taking a look until Hackweek

Actions #24

Updated by okurz almost 6 years ago

  • Subject changed from [opensuse][functional]test fails in updates_packagekit_kde - part 2 to [opensuse][functional][u] test fails in updates_packagekit_kde - part 2
Actions #25

Updated by okurz almost 6 years ago

  • Status changed from In Progress to Resolved

Should be solved with cf57c8403 already, yes, super old :)

Actions

Also available in: Atom PDF