Project

General

Profile

action #25754

[sle][functional][yast][easy] don't wait 100s for pop-up in addon_products_yast2.pm

Added by thehejik almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Start date:
2017-10-04
Due date:
2018-03-27
% Done:

0%

Estimated time:
Difficulty:

Description

In addon_installation_yast2.pm we have following code which means that we are waiting 100s for pop-up which will not occur is most cases.

if (check_screen 'addon-installation-pop-up', 100) { # e.g. RT reboot to activate new kernel
...
}

Rodion wrote following:
I know that this code was here before, but it's bad that we will wait for 100 seconds when pop up is not there. So maybe we can improve here and do assert_screen on multiple tags and process them accordingly using match_has_tag api call.

Note: this is old ticket, I was not able to find any test suite which uses this module.

Acceptance criteria

AC1: There is no check screen with 100 seconds, replaced with multi tag match instead

https://openqa.suse.de/tests/1378824 (won't be triggered until next RT release which is not yet scheduled).

History

#1 Updated by thehejik almost 4 years ago

  • Subject changed from [sle][functional] don't wait 100s for pop-up in addon_installation_yast2.pm to [sle][functional] don't wait 100s for pop-up in addon_products_yast2.pm

#2 Updated by thehejik almost 4 years ago

The test is used for "sles+rt" test where the pop-up occurs http://dhcp62.suse.cz/tests/2149#step/addon_products_yast2/25

#3 Updated by okurz almost 4 years ago

  • Target version set to Milestone 14

#4 Updated by okurz over 3 years ago

  • Due date set to 2018-03-13

#5 Updated by riafarov over 3 years ago

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

#6 Updated by riafarov over 3 years ago

  • Description updated (diff)

#7 Updated by riafarov over 3 years ago

  • Description updated (diff)

#8 Updated by riafarov over 3 years ago

  • Description updated (diff)

#9 Updated by mgriessmeier over 3 years ago

  • Subject changed from [sle][functional] don't wait 100s for pop-up in addon_products_yast2.pm to [sle][functional][easy] don't wait 100s for pop-up in addon_products_yast2.pm

#10 Updated by jorauch over 3 years ago

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

#11 Updated by thehejik over 3 years ago

sles+rt definition:
ADDONS=rt
BOOT_HDD_IMAGE=1
BUILD_SLE=GM
HDD_1=SLES-%VERSION%-%ARCH%-Build%BUILD_SLE%-gnome.qcow2
ISO=SLE-%VERSION%-Server-DVD-%ARCH%-%BUILD_SLE%-DVD1.iso
ISO_5=SLE-%VERSION%-RT-DVD-%ARCH%-Build%BUILD%-Media1.iso

Medium definition:
Distri=sle; Version=12-SP3; Flavor=Server-DVD-RT; Arch=x86_64
ISO_MAXSIZE=4700372992
SCC_REGCODE=<secret>
SCC_REGCODE_RT=<secret>
SCC_REGISTER_GEO=<secret>
SCC_REGISTER_HA=<secret>
SHUTDOWN_NEEDS_AUTH=1

Command for triggering:
/usr/share/openqa/script/client --host https://openqa.suse.de isos post DISTRI=sle VERSION=12-SP3 FLAVOR=Server-DVD-RT ARCH=x86_64 BUILD=0041 BETA_RT=0

#12 Updated by mgriessmeier over 3 years ago

  • Due date changed from 2018-03-13 to 2018-03-27
  • Target version changed from Milestone 14 to Milestone 15

#13 Updated by okurz over 3 years ago

  • Subject changed from [sle][functional][easy] don't wait 100s for pop-up in addon_products_yast2.pm to [sle][functional][yast][easy] don't wait 100s for pop-up in addon_products_yast2.pm

#14 Updated by jorauch over 3 years ago

  • Status changed from In Progress to Feedback

PR merged, waiting for verification on OSD:
https://openqa.suse.de/tests/1543324#settings

#15 Updated by jorauch over 3 years ago

  • Status changed from Feedback to Resolved

Bassd scho by okurz

Also available in: Atom PDF