Project

General

Profile

Actions

action #25754

closed

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

Added by thehejik about 7 years ago. Updated almost 7 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).

Actions #1

Updated by thehejik about 7 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
Actions #2

Updated by thehejik about 7 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

Actions #3

Updated by okurz about 7 years ago

  • Target version set to Milestone 14
Actions #4

Updated by okurz almost 7 years ago

  • Due date set to 2018-03-13
Actions #5

Updated by riafarov almost 7 years ago

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

Updated by riafarov almost 7 years ago

  • Description updated (diff)
Actions #7

Updated by riafarov almost 7 years ago

  • Description updated (diff)
Actions #8

Updated by riafarov almost 7 years ago

  • Description updated (diff)
Actions #9

Updated by mgriessmeier almost 7 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
Actions #10

Updated by jorauch almost 7 years ago

  • Status changed from Workable to In Progress
  • Assignee set to jorauch
Actions #11

Updated by thehejik almost 7 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

Actions #12

Updated by mgriessmeier almost 7 years ago

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

Updated by okurz almost 7 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
Actions #14

Updated by jorauch almost 7 years ago

  • Status changed from In Progress to Feedback

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

Actions #15

Updated by jorauch almost 7 years ago

  • Status changed from Feedback to Resolved

Bassd scho by okurz

Actions

Also available in: Atom PDF