Project

General

Profile

Bug #13470

Bug #10288: Fix newly identified issues to make our test suite more robust and faster

Step "Tails Greeter has applied all settings" is fragile

Added by bertagaz over 2 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Test suite
Target version:
Start date:
07/14/2017
Due date:
% Done:

100%

Feature Branch:
https://salsa.debian.org/tails-team/tails/merge_requests/33
Type of work:
Research
Blueprint:
Starter:
Affected tool:

Description

The test suite sometimes fails after clicking on the login button of the Greeter. The next loginctl test to see if the X session is opened can't find one apart the Gdm one.

It happened:

  • 3 times so far in July
  • 6 times in June
  • 18 in May
  • 5 in April
  • 13 in March
  • 12 in February
  • 13 in January

But all this failures might not be due to the same reasons.

Maybe we need to raise a bit the waiting time for the session to open. Or there's a bug in the Tails X session opening, or that's #11816 having being closed a bit too fast. This needs investigation.


Related issues

Related to Tails - Feature #12289: Deal with June 2017 false positive scenarios Resolved 06/05/2017 07/05/2017
Related to Tails - Bug #11816: Test suite often freezes after clicking "Login" in the Greeter Resolved 09/20/2016

Associated revisions

Revision 61c0e6b2 (diff)
Added by intrigeri 4 months ago

Test suite: drop useless code based on wrong assumptions (refs: #13470).

At least on Buster, as soon as gdm-password opens a session for the amnesia
user, a new session is registered with logind, then PostLogin is started; then,
once PostLogin has exited, LIVE_USER's gdm-x-session is started. So on Buster,
this step is almost a no-op: it will always succeed very quickly (if not on
first try) and only makes us start to wait for the desktop to be ready a tiny
bit later.

Revision a7ca22af
Added by Sandro Knauß 4 months ago

Merge remote-tracking branch 'test/update-fragile-tags' into devel (refs: #16281, #11890)

Closes: #13470, #11606, #11457, #11563, #11591
Closes: #10499, #11584, #11414, #11453, #11463

History

#1 Updated by bertagaz over 2 years ago

  • Related to Feature #12289: Deal with June 2017 false positive scenarios added

#2 Updated by intrigeri over 2 years ago

  • Related to Bug #11816: Test suite often freezes after clicking "Login" in the Greeter added

#3 Updated by intrigeri over 2 years ago

  • Assignee set to bertagaz
  • QA Check set to Info Needed

Can you please attach the debug log (and ideally the video capture)?

#4 Updated by intrigeri 9 months ago

  • Assignee deleted (bertagaz)
  • QA Check deleted (Info Needed)

I assume we've lost the debug log I've requested.

Next thing to do: check if this still happens.

#5 Updated by intrigeri 4 months ago

  • Status changed from Confirmed to Rejected

This step is useless on Buster (see fb172d0b3f701f6d692c854efc2ccfbd6a040998 for details) and I'll remove it in a branch of mine.

#6 Updated by intrigeri 4 months ago

  • Status changed from Rejected to Needs Validation
  • Assignee set to hefee
  • Target version set to Tails_4.0
  • Feature Branch set to https://salsa.debian.org/tails-team/tails/merge_requests/33

#7 Updated by Anonymous 4 months ago

  • Status changed from Needs Validation to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF