Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 12 31 Oct 2024, 19:34

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 45:14.767 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.241
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:45.380
And I update APT using apt 14.592
And I install "python3-behave" using apt 25.957
Then the Tails Persistent Storage behave tests pass 3.311
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.169
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 15.084
When I log in to a new session without activating the Persistent Storage 31.836
Then Tails is running from USB drive "__internal" 1.003
And persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 13.894
After features/support/hooks.rb:326 1.680
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.286
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.826
Then Tails is running from USB drive "__internal" 0.708
When I create a file in the Persistent directory 1.019
And I create a persistent partition with the default settings 28.243
Then the file I created was copied to the Persistent Storage 0.773
When I shutdown Tails and wait for the computer to power off 16.111
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.117
Then persistence for "Persistent" is active 0.381
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:326 1.050
After features/support/hooks.rb:100 0.012
Tags: @product
1:11.715
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 12.086
And the system is very low on memory 13.171
When I create a file in the Persistent directory 1.542
When I try to create a persistent partition 22.593
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.196
When I close the Persistent Storage app 2.720
And I free up some memory 1.272
And I create a persistent partition with the default settings 17.816
Then the file I created was copied to the Persistent Storage 0.316
After features/support/hooks.rb:326 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.780
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.511
Then Tails is running from USB drive "__internal" 0.493
And all tps features are active 2.858
And all persistent directories have safe access rights 2.537
When I disable the first tps feature 6.613
Then all tps features but the first one are active 2.333
And I shutdown Tails and wait for the computer to power off 13.566
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.603
Then all tps features but the first one are active 2.262
After features/support/hooks.rb:326 0.851
After features/support/hooks.rb:100 0.007
Tags: @product
20.576
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 9.991
Then persistence for "Persistent" is active 0.126
And I create a file in the Persistent directory 0.106
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.411
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.542
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
21.858
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.130
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 7.451
And I delete the data of the Persistent Folder feature 3.993
Then the file I created does not exist on the Persistent Storage 0.092
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.395
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.501
And the network is plugged 0.109
And Tor is ready 22.249
And I take note of which tps features are available 0.956
When I write some files expected to persist 1.633
And I shutdown Tails and wait for the computer to power off 9.150
# 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" 25.794
After features/support/hooks.rb:326 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.994
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 9.393
And the network is plugged 0.943
And Tor is ready 18.127
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.236
And I shutdown Tails and wait for the computer to power off 13.473
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.108
And I capture all network traffic 0.008
And the network is plugged 0.100
And Tor is ready 22.891
And I switch to the "persistent-con-current" NetworkManager connection 0.398
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.188
After features/support/hooks.rb:326 0.869
After features/support/hooks.rb:100 0.062
Tags: @product
1:43.608
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 57.315
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.804
Then I create a persistent partition with the default settings using the wizard that was already open 23.366
After features/support/hooks.rb:326 1.618
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.016
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 14.546
When I enable persistence 40.630
Then no persistent Greeter options were restored 14.246
When I set all Greeter options to non-default values 30.136
And I log in to a new session in German (de) after having activated the Persistent Storage 56.238
Then all Greeter options are set to non-default values 0.640
When I cold reboot the computer 7.672
And the computer reboots Tails 1:3.073
Given I enable persistence 18.618
Then persistent Greeter options were restored 0.652
When I log in to a new session after having activated the Persistent Storage 39.097
Then all Greeter options are set to non-default values 0.462
After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.008
Tags: @product
3:56.925
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 9.593
# 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 36.474
And I shutdown Tails and wait for the computer to power off 13.249
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.285
And I change the passphrase of the Persistent Storage back to the original 32.321
After features/support/hooks.rb:326 1.934
After features/support/hooks.rb:100 0.009
Tags: @product
1:15.322
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 25.303
And I log in to a new session without activating the Persistent Storage 21.539
Then persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 9.751
And all notifications have disappeared 10.597
When I delete the persistent partition 7.258
Then there is no persistence partition on USB drive "__internal" 0.498
After features/support/hooks.rb:326 1.211
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.842
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 9.841
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.776
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.726
Then the expected persistent dotfile is present in the filesystem 0.420
After features/support/hooks.rb:326 1.637
After features/support/hooks.rb:100 0.035
Tags: @product
1:48.017
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.989
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.182
When I try to enable persistence 0.355
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.647
When I log in to a new session after having activated the Persistent Storage 47.522
And all notifications have disappeared 8.865
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.209
And all tps features are enabled 2.996
And all tps features but the first one are active 2.247
After features/support/hooks.rb:326 2.445
After features/support/hooks.rb:100 0.000
Tags: @product
6:37.233
Before features/support/hooks.rb:269 0.007
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 5:0.651
And I enable persistence 42.948
And I log in to a new session after having activated the Persistent Storage 45.438
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.966
And persistence is enabled 3.229
After features/support/hooks.rb:326 1.414
After features/support/hooks.rb:100 0.000
Tags: @product
29.240
Before features/support/hooks.rb:269 0.004
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 9.553
And I enable persistence but something goes wrong during the LUKS header upgrade 18.843
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.843
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.000
Tags: @product
50.273
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.340
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.951
When I enable persistence 30.126
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.760
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product
51.327
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.895
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.980
When I try to enable persistence 0.382
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.607
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.191
And the filesystem of the Persistent Storage was repaired 1.240
When I close the filesystem repair dialog 1.192
Then persistence is successfully enabled 1.547
After features/support/hooks.rb:326 1.192
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.323
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 8.629
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.359
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.291
When I repair the filesystem of the Persistent Storage 1.341
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.126
When I log in to a new session 42.256
And all notifications have disappeared 10.620
# 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" 0.491
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.885
When I close the "whisperback" window 1.854
Then the Tor Browser starts 16.681
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.675
After features/support/hooks.rb:326 1.236
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.618
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.507
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.011
And Tails detects disk read failures on the boot device 1.607
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 22.072
When I log in to a new session 47.092
And all notifications have disappeared 9.680
Then the Tor Browser starts 20.294
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.926
After features/support/hooks.rb:326 2.488
After features/support/hooks.rb:100 0.000