Feature #12055

Update test suite for Greeter revamp, phase 1

Added by intrigeri 2016-12-21 10:21:21 . Updated 2020-04-15 06:01:34 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Test suite
Target version:
Start date:
2016-12-21
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Welcome Screen
Deliverable for:

Description


Subtasks


Related issues

Related to Tails - Bug #12093: Missing "Read only" option for persistence in new Greeter Rejected 2016-12-28

History

#1 Updated by intrigeri 2016-12-21 15:41:55

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 20

Done most of it, let’s see what Jenkins thinks.

#2 Updated by intrigeri 2016-12-21 15:46:54

FTR, the main part left to update is persistence handling, but I think it’s probably blocked by the breakage caused on Bug #11873.

#3 Updated by intrigeri 2016-12-23 17:04:43

  • Target version set to Tails_3.0

I’m going to merge the new Greeter into feature/stretch, so this will become a blocker for Tails 3.0.

#4 Updated by intrigeri 2016-12-28 07:42:53

  • blocked by Bug #12093: Missing "Read only" option for persistence in new Greeter added

#5 Updated by intrigeri 2016-12-28 08:02:22

  • % Done changed from 20 to 50

I think I’m mostly done here, except the part that’s blocked by Bug #12093.

#6 Updated by intrigeri 2017-01-30 11:00:49

  • Priority changed from Normal to Elevated

We need to do something (possibly temporary) for 3.0~beta1 as there’s no realistic way to re-add the “read only” persistence option in time for it: https://mailman.boum.org/pipermail/tails-ux/2017-January/003331.html.

The best option I can think of right now is to add a (not documented, not supported) kernel command-line option to enable read only persistence. It should minimize the amount of changes we have to do in the test suite (where we use read only persistence, presumably for optimization purposes, quite a lot), and allow to easily revert them if UX folks decide to re-add this option to the Greeter.

#7 Updated by intrigeri 2017-01-30 11:01:33

  • blocks deleted (Bug #12093: Missing "Read only" option for persistence in new Greeter)

#8 Updated by intrigeri 2017-01-30 11:01:42

  • related to Bug #12093: Missing "Read only" option for persistence in new Greeter added

#9 Updated by intrigeri 2017-01-30 11:06:19

  • Assignee changed from intrigeri to anonym
  • QA Check set to Info Needed

#10 Updated by anonym 2017-01-30 11:16:10

intrigeri wrote:
> [in the test suite] we use read only persistence, presumably for optimization purposes, quite a lot

There are a few places where we still use it to optimize for touching the persistence partition less, which made sense back when we didn’t use snapshots so changes would persist between scenarios, which could cause problems. These instances can easily and safely be switched to read/write persistence now.

#11 Updated by anonym 2017-01-30 11:19:21

I forgot to say: because of what I just said, we might as well just completely drop read-only persistence for 3.0~beta1, and skip the kernel cmdline option.

#12 Updated by intrigeri 2017-01-30 11:22:06

  • Assignee changed from anonym to intrigeri
  • QA Check deleted (Info Needed)

OK, will try that.

#13 Updated by intrigeri 2017-01-30 11:55:03

  • Assignee changed from intrigeri to anonym

anonym proposed to handle this :)

#14 Updated by anonym 2017-01-30 12:18:32

  • Assignee changed from anonym to intrigeri

I ripped out read-only persistence from the test suite in commit:90b8b989ac2374636ff3cec10006eca65e262f29.

#15 Updated by intrigeri 2017-01-30 12:34:30

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

I think we’re done here. Let’s re-open if we discover more stuff to update.

#16 Updated by intrigeri 2017-03-18 09:03:02

  • Assignee deleted (intrigeri)

#17 Updated by intrigeri 2020-04-15 06:01:34

  • Affected tool changed from Greeter to Welcome Screen