Project

General

Profile

Actions

action #12898

closed

[functional][x11][y][medium] Tests without autologin

Added by dimstar over 7 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 21
Start date:
2016-07-27
Due date:
2018-12-04
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

So far, all test runs (except minimalx using xdm) are done with autologin.

There is no test verifying functionality of gdm and SDDM, which should be bare minimum tested
(minimal login tests happen in some otherDE tests, where lightdm is being installed)

Acceptance criteria

  1. Test with autologin disable runs for openSUSE, SLE 15, SLE 12 SP4

NOTE: INSTALL_ONLY should be enough.

Further details

SLE now covered in #44069


Related issues 1 (0 open1 closed)

Copied to openQA Tests - action #44069: [sle][functional][y] Covering autologin in SLEResolvedJERiveraMoya2018-11-202019-06-04

Actions
Actions #1

Updated by okurz over 7 years ago

  • Assignee set to dimstar

SLE by default always tests with NOAUTOLOGIN=1 so there should be no necessity to change anything in test modules. Maybe some needles are missing for openSUSE but as minimalx is already covered it is maybe one or two needles for GDM and SDDM each.

I recommend you just add test_suites and enable them for Tumbleweed and see what's happening. If BTW you don't want to break TW release process with "experimental test_suites", create a new job group and just enable the test_suite there for testing.

Actions #2

Updated by dimstar over 7 years ago

  • Status changed from New to In Progress

A new test has been configured for Tumbleweed (gnome-gdm)
https://openqa.opensuse.org/tests/230956

It passes the login, but currently fails on 'consoletest_setup' - it somehow jumps back to GUI - that could well be a product bug / timing issue.

But not having seen it run ever correct makes it difficult to assess

Actions #3

Updated by dimstar over 7 years ago

for GNOME the 'problem' is a bit more complex:

  • with GDM 3.16+, once the user logs in, gdm remains as a session on VT7 and the user is assigned 'the first free VT' (usually VT2).
  • This breaks many of the assumptions we have in some code, like the selection of the various root/user/log consoles and the expectation to find X on VT7
Actions #4

Updated by okurz over 7 years ago

  • Category set to New test
Actions #5

Updated by asmorodskyi almost 7 years ago

  • Subject changed from Tests without autologin to [functional][x11]Tests without autologin
  • Assignee deleted (dimstar)

Removing @dimstar from assignee due to 7 month of inactivity . dimstar if you still working on this feel free to add you back

Actions #6

Updated by dimstar almost 7 years ago

We have basic tests in place so far doing a login (e.g. gnome-gdm, kde-sddm) - but as noted in an earlier comment: for GNOME we break a lot of assumption, meaning we can only to INSTALLONLY=1 tests at the moment

Last test runs we have:

Actions #7

Updated by okurz over 6 years ago

  • Due date set to 2018-01-30
  • Target version set to Milestone 14
Actions #8

Updated by okurz over 6 years ago

  • Due date changed from 2018-01-30 to 2018-02-13
Actions #9

Updated by riafarov over 6 years ago

  • Status changed from In Progress to Workable
Actions #10

Updated by okurz about 6 years ago

  • Due date changed from 2018-02-13 to 2018-02-27
Actions #11

Updated by riafarov about 6 years ago

  • Subject changed from [functional][x11]Tests without autologin to [functional][x11][medium] Tests without autologin
  • Description updated (diff)
  • Due date changed from 2018-02-27 to 2018-03-13
Actions #12

Updated by okurz about 6 years ago

  • Due date deleted (2018-03-13)
  • Target version changed from Milestone 14 to Milestone 16

M14 is too full. Better we focus more on fixing.

Actions #13

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 16 to Milestone 19
Actions #14

Updated by okurz almost 6 years ago

  • Subject changed from [functional][x11][medium] Tests without autologin to [functional][x11][y][medium] Tests without autologin
Actions #15

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 19 to Milestone 19
Actions #16

Updated by okurz over 5 years ago

  • Due date set to 2018-11-06
  • Target version changed from Milestone 19 to Milestone 20

@riafarov this might be relevant regarding the current stories to restructure the tests

Actions #17

Updated by riafarov over 5 years ago

  • Description updated (diff)
  • Estimated time set to 5.00 h
Actions #18

Updated by riafarov over 5 years ago

  • Due date changed from 2018-11-06 to 2018-11-20

No capacity in S29

Actions #19

Updated by oorlov over 5 years ago

  • Assignee set to oorlov
Actions #20

Updated by riafarov over 5 years ago

  • Due date changed from 2018-11-20 to 2018-12-04

No progress here yet.

Actions #21

Updated by oorlov over 5 years ago

  • Status changed from Workable to In Progress
  • Assignee changed from oorlov to okurz

I've checked both Sle and Opensuse distris and here is the current state:

  1. Tumbleweed: 4 test suites without autologin:
  2. Leap 15.1: 3 test suites without autologin:
  3. Sle12-SP4 and Sle15-SP1 has autologin disabled in all the tests by default.

@okurz, how do you think, do we need to increase the amount of the tests with no autologin on opensuse? Or current amount is enough?

Actions #22

Updated by oorlov over 5 years ago

  • Status changed from In Progress to Feedback
Actions #23

Updated by okurz over 5 years ago

  • Copied to action #44069: [sle][functional][y] Covering autologin in SLE added
Actions #24

Updated by okurz over 5 years ago

  • Description updated (diff)
  • Assignee changed from okurz to dimstar
  • Target version changed from Milestone 20 to Milestone 21

good points. SLE is now covered in #44069, let's focus on openSUSE.

So it seems we have the AC fulfilled but I think dimstar had open points as mentioned in #12898#note-3 .

@dimstar could you help to clarify what you would see useful to test on top of just "log into a session and end the test"?

Actions #25

Updated by dimstar over 5 years ago

okurz wrote:

good points. SLE is now covered in #44069, let's focus on openSUSE.

So it seems we have the AC fulfilled but I think dimstar had open points as mentioned in #12898#note-3 .

@dimstar could you help to clarify what you would see useful to test on top of just "log into a session and end the test"?

I think the issues around gdm staying around have been solved in the last two years, from when comment #3 was. SLE15 introduced a newer GDM and made this already necessary

From my PoV, the requested points are satisfied

Actions #26

Updated by okurz over 5 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from dimstar to oorlov

cool, thx.

Actions

Also available in: Atom PDF