Project

General

Profile

Actions

action #37027

closed

[tw][desktop] Update create_hdd_* to make sure right permissions

Added by yfjiang almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2018-06-11
Due date:
% Done:

0%

Estimated time:
Difficulty:
easy

Description

The test create_hdd_gnome[0] has done the common installation automation for tumbleweed,
while three cases consoletest_setup, hostname, and x11setup, are not included in [0].
Specifically, the three cases are solid dependencies if the subsequent gnome testing needs
to launch terminal or in-depth GNOME testing.

Therefore, at the moment, the three cases need to include in individual test cases before
a real testing starts. e.g. [1]

The ticket targets to move cases of consoletest_setup, hostname, and x11setup from gnome
tests (e.g. [1]) to create_hdd_gnome[0], and make a proper dependencies between relevant
gnome tests and create_hdd_gnome.

We could focus on the tuning between [0] and [1] at the moment, and follow up by populating
more gnome test cases depended on the refreshed create_hdd_gnome.

[0] https://openqa.opensuse.org/tests/688857
[1] https://openqa.opensuse.org/tests/688970


Related issues 5 (0 open5 closed)

Related to openQA Project - action #30613: [functional][y][hard] script_output might include extra serial outputResolvedriafarov2018-01-222018-08-28

Actions
Related to openQA Tests - action #38525: [sle]][functional][u][fast] test fails in boot_to_desktop - booting is not completedResolvednicksinger2018-07-182018-07-31

Actions
Related to openQA Tests - action #38480: [functional][u][fast][qam] job mau-extratests fails in new tests update_alternatives, aplay, openssl_alpn, curl_ipv6, wget_ipv6, gpg, shellsResolvedokurz2018-07-172018-07-31

Actions
Related to openQA Tests - action #38531: [tw][desktop] test fails in sshdResolved2018-07-18

Actions
Related to openQA Tests - action #38600: [functional][sle][u] test fails in vnc_two_passwords - predecessor test modules (consoletest_setup, hostname) are not scheduledResolvedokurz2018-07-19

Actions
Actions #1

Updated by yfjiang almost 6 years ago

Ray (yuanren10) is taking care of it.

Actions #2

Updated by yfjiang almost 6 years ago

For technical details, how the SLE-15/openQA meets the expectation can be a good reference. For example:

https://openqa.suse.de/tests/1749756
https://openqa.suse.de/tests/1750821

Actions #3

Updated by okurz almost 6 years ago

Thanks for the report. I think this is a very valid idea. It seems that the "sled" case triggers load_x11_installation based on the variable "REGRESSION". We already improved recently by getting rid of some test schedule parts which mentioned "regression" as previously agreed. IMHO we need to do the next step here and find a better definition of what the tests should actually do and not be based on a variable REGRESSION.

yfjiang, Ray, pllease feel free to create WIP (work-in-progress) pull requests for os-autoinst-distri-opensuse early so that we can discuss based on code proposals.

Actions #4

Updated by yfjiang almost 6 years ago

  • Assignee changed from yfjiang to yuanren10
Actions #5

Updated by yfjiang almost 6 years ago

  • Subject changed from [tw] Move the 3 common test cases for gnome to create_hdd_gnome. to [tw][desktop] Move the 3 common test cases for gnome to create_hdd_gnome.
Actions #6

Updated by yuanren10 almost 6 years ago

  • Priority changed from High to Normal

Updated extra_tests_on_gnome and create_hdd_gnome test suits

Updated main_common.pm
Moved the hostname consoletest_setup from load_extra_tests() to load_create_hdd_tests()
Deleted the x11_setup from both test above

Related ticket: https://progress.opensuse.org/issues/37027
Verification run: http://10.67.19.231/tests/overview?distri=opensuse&version=Tumbleweed&build=00012&groupid=1

Actions #7

Updated by yuanren10 almost 6 years ago

  1. Moved the console/hostname from load_extra_tests to load_create_hdd_tests
  2. Moved the x11/x11_setup from load_extra_tests to load_create_hdd_tests raplace the consoletest_setup.
  3. Deleted the consoletest_setup from load_extra_tests.

In order to let hostname, x11_setup test in advance while create_hdd.

Verification run: http://10.67.19.67/tests/overview?build=00015&distri=opensuse&version=Tumbleweed&groupid=1

Actions #8

Updated by yuanren10 almost 6 years ago

  • Status changed from New to Blocked

Github
Test Run on o.o.o:
create_hdd_gnome
extra_tests_on_gnome
create_hdd_kde
extra_tests_on_kde
create_hdd_xface
extra_hdd_xface
Blocked in "extra_tests_on textmode":
Ref: #poo38531

Actions #9

Updated by okurz over 5 years ago

  • Related to action #30613: [functional][y][hard] script_output might include extra serial output added
Actions #10

Updated by okurz over 5 years ago

  • Related to action #38525: [sle]][functional][u][fast] test fails in boot_to_desktop - booting is not completed added
Actions #11

Updated by okurz over 5 years ago

  • Related to action #38480: [functional][u][fast][qam] job mau-extratests fails in new tests update_alternatives, aplay, openssl_alpn, curl_ipv6, wget_ipv6, gpg, shells added
Actions #12

Updated by okurz over 5 years ago

  • Related to action #38531: [tw][desktop] test fails in sshd added
Actions #13

Updated by okurz over 5 years ago

  • Related to action #38600: [functional][sle][u] test fails in vnc_two_passwords - predecessor test modules (consoletest_setup, hostname) are not scheduled added
Actions #14

Updated by yuanren10 over 5 years ago

refs: pr#5438

Actions #15

Updated by yuanren10 over 5 years ago

  • Subject changed from [tw][desktop] Move the 3 common test cases for gnome to create_hdd_gnome. to [tw][desktop] Update create_hdd_* to make sure right permissions
  • Status changed from Blocked to In Progress

Please reference PR#5492.

Waiting for the final review.

Actions #16

Updated by yuanren10 over 5 years ago

  • Status changed from In Progress to Resolved

Please reference:

PR#5555

Split out "x11/system_prepare" from "consoletest_setup". "x11/system_prepare" done the permission ensure job.

Actions

Also available in: Atom PDF