Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 29 17 Nov 2024, 18:11

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 43:10.785 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.497
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.152
And I update APT using apt 12.571
And I install "python3-behave" using apt 25.510
Then the Tails Persistent Storage behave tests pass 2.263
After features/support/hooks.rb:326 0.625
After features/support/hooks.rb:100 0.000
Tags: @product
50.376
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.321
When I log in to a new session without activating the Persistent Storage 23.387
Then Tails is running from USB drive "__internal" 0.860
And persistence is disabled 0.468
But a Tails persistence partition exists on USB drive "__internal" 11.338
After features/support/hooks.rb:326 2.068
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.145
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.831
Then Tails is running from USB drive "__internal" 0.595
When I create a file in the Persistent directory 0.144
And I create a persistent partition with the default settings 25.501
Then the file I created was copied to the Persistent Storage 0.706
When I shutdown Tails and wait for the computer to power off 12.878
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.744
Then persistence for "Persistent" is active 0.641
And the file I created in the Persistent directory exists 0.101
After features/support/hooks.rb:326 0.650
After features/support/hooks.rb:100 0.009
Tags: @product
1:10.532
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.492
And the system is very low on memory 5.990
When I create a file in the Persistent directory 1.860
When I try to create a persistent partition 29.524
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.284
When I close the Persistent Storage app 2.617
And I free up some memory 1.751
And I create a persistent partition with the default settings 14.762
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:326 1.559
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.496
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.813
Then Tails is running from USB drive "__internal" 0.563
And all tps features are active 2.667
And all persistent directories have safe access rights 2.338
When I disable the first tps feature 6.669
Then all tps features but the first one are active 2.121
And I shutdown Tails and wait for the computer to power off 11.499
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.522
Then all tps features but the first one are active 2.299
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.008
Tags: @product
21.343
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.410
Then persistence for "Persistent" is active 0.086
And I create a file in the Persistent directory 0.569
Then the file I created was copied to the Persistent Storage 0.118
When I disable the first tps feature 6.639
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.187
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.867
After features/support/hooks.rb:100 0.000
Tags: @product
22.327
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.820
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 6.460
And I delete the data of the Persistent Folder feature 3.802
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.770
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.439
And the network is plugged 0.097
And Tor is ready 24.116
And I take note of which tps features are available 0.934
When I write some files expected to persist 1.733
And I shutdown Tails and wait for the computer to power off 8.643
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 24.806
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.705
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.991
And the network is plugged 0.124
And Tor is ready 19.916
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.252
And I shutdown Tails and wait for the computer to power off 13.494
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.043
And I capture all network traffic 0.014
And the network is plugged 0.076
And Tor is ready 21.154
And I switch to the "persistent-con-current" NetworkManager connection 0.375
And the 1st network device has a spoofed MAC address configured 0.127
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:326 0.659
After features/support/hooks.rb:100 0.052
Tags: @product
1:2.357
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.051
And I enable persistence creation in Tails Greeter 1.256
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.361
Then I create a persistent partition with the default settings using the wizard that was already open 23.688
After features/support/hooks.rb:326 1.909
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.655
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.530
When I enable persistence 39.105
Then no persistent Greeter options were restored 14.378
When I set all Greeter options to non-default values 25.136
And I log in to a new session in German (de) after having activated the Persistent Storage 51.511
Then all Greeter options are set to non-default values 0.555
When I cold reboot the computer 7.677
And the computer reboots Tails 59.768
Given I enable persistence 20.827
Then persistent Greeter options were restored 0.620
When I log in to a new session after having activated the Persistent Storage 38.831
Then all Greeter options are set to non-default values 0.712
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.008
Tags: @product
3:58.391
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.758
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 35.245
And I shutdown Tails and wait for the computer to power off 12.657
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.462
And I change the passphrase of the Persistent Storage back to the original 37.266
After features/support/hooks.rb:326 1.682
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.880
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.510
And I log in to a new session without activating the Persistent Storage 23.440
Then persistence is disabled 0.381
But a Tails persistence partition exists on USB drive "__internal" 10.453
And all notifications have disappeared 10.720
When I delete the persistent partition 5.844
Then there is no persistence partition on USB drive "__internal" 0.529
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.693
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.912
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 9.085
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.151
Then the expected persistent dotfile is present in the filesystem 0.473
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.009
Tags: @product
1:43.257
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.813
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.299
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.949
When I log in to a new session after having activated the Persistent Storage 41.081
And all notifications have disappeared 8.812
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.232
And all tps features are enabled 2.610
And all tps features but the first one are active 2.368
After features/support/hooks.rb:326 1.090
After features/support/hooks.rb:100 0.000
Tags: @product
6:29.941
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:56.795
And I enable persistence 38.411
And I log in to a new session after having activated the Persistent Storage 49.922
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.430
And persistence is enabled 3.381
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.000
Tags: @product
31.892
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.856
And I enable persistence but something goes wrong during the LUKS header upgrade 22.169
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.866
After features/support/hooks.rb:326 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
51.308
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.521
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.819
When I enable persistence 32.149
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.731
After features/support/hooks.rb:326 1.533
After features/support/hooks.rb:100 0.000
Tags: @product
55.838
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.398
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.426
When I try to enable persistence 0.529
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.633
When I repair the filesystem of the Persistent Storage 5.120
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.238
And the filesystem of the Persistent Storage was repaired 2.668
When I close the filesystem repair dialog 1.242
Then persistence is successfully enabled 1.579
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.843
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.760
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.489
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.084
When I log in to a new session 36.180
And all notifications have disappeared 8.297
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 1.019
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.290
When I close the "whisperback" window 2.110
Then the Tor Browser starts 15.149
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:326 3.102
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.529
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.742
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.750
And Tails detects disk read failures on the boot device 1.593
When I try to enable persistence 0.482
Then the Welcome Screen tells me that my hardware is probably failing 24.871
When I log in to a new session 47.198
And all notifications have disappeared 8.551
Then the Tor Browser starts 20.437
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.899
After features/support/hooks.rb:326 1.969
After features/support/hooks.rb:100 0.000