action #31912
closed[opensuse][functional][u] test fails in updates_packagekit_kde - part 2
0%
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
Updated by StefanBruens almost 7 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.
Updated by StefanBruens almost 7 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)
Updated by dimstar almost 7 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)
Updated by dimstar almost 7 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
Updated by lnussel almost 7 years ago
In leap, there's first a package manager update. So the applet is expected to show some message requesting to relogin.
Updated by StefanBruens almost 7 years ago
@dimstar - I think the needle duplicates the ones with tag 'tray-without-updates-available'
Updated by dimstar almost 7 years ago
Replaces - not duplicates (it has different / additional tags)
Updated by StefanBruens almost 7 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)];
}
Updated by okurz almost 7 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
Updated by riafarov almost 7 years ago
- Description updated (diff)
- Status changed from New to Workable
Updated by okurz almost 7 years ago
- Due date changed from 2018-03-27 to 2018-04-24
Updated by StefanBruens almost 7 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.
Updated by okurz almost 7 years ago
- Related to action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1 added
Updated by okurz almost 7 years ago
- Subject changed from [opensuse][functional]test fails in updates_packagekit_kde to [opensuse][functional]test fails in updates_packagekit_kde - part 2
Updated by okurz almost 7 years ago
- Related to deleted (action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1)
Updated by okurz almost 7 years ago
- Follows action #31327: [functional][opensuse][u][sporadic]test fails in updates_packagekit_kde - part 1 added
Updated by okurz almost 7 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
Updated by okurz almost 7 years ago
- Target version changed from Milestone 15 to Milestone 17
Updated by okurz over 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
Updated by okurz over 6 years ago
- Due date changed from 2018-04-12 to 2018-07-17
Updated by okurz over 6 years ago
- Target version changed from Milestone 17 to Milestone 17
Updated by okurz over 6 years ago
- Due date changed from 2018-07-17 to 2018-07-31
It's hackweek time!
Updated by jorauch over 6 years ago
- Status changed from Workable to In Progress
- Assignee set to jorauch
- Difficulty set to medium
Taking a look until Hackweek
Updated by okurz over 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
Updated by okurz over 6 years ago
- Status changed from In Progress to Resolved
Should be solved with cf57c8403 already, yes, super old :)