Project

General

Profile

action #37027

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

Added by yfjiang about 2 years ago. Updated about 2 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
Duration:

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

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

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

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, shellsResolved2018-07-172018-07-31

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

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

History

#1 Updated by yfjiang about 2 years ago

Ray (yuanren10) is taking care of it.

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

#3 Updated by okurz about 2 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.

#4 Updated by yfjiang about 2 years ago

  • Assignee changed from yfjiang to yuanren10

#5 Updated by yfjiang about 2 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.

#6 Updated by yuanren10 about 2 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

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

#8 Updated by yuanren10 about 2 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

#9 Updated by okurz about 2 years ago

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

#10 Updated by okurz about 2 years ago

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

#11 Updated by okurz about 2 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

#12 Updated by okurz about 2 years ago

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

#13 Updated by okurz about 2 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

#14 Updated by yuanren10 about 2 years ago

refs: pr#5438

#15 Updated by yuanren10 about 2 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.

#16 Updated by yuanren10 about 2 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.

Also available in: Atom PDF