Project Number Date
test_Tails_ISO_devel 3794 29 Apr 2025, 15:45

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 41:31.069 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.658
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.735
And I update APT using apt 14.562
And I install "python3-behave" using apt 24.218
Then the Tails Persistent Storage behave tests pass 3.142
After features/support/hooks.rb:330 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
49.430
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.150
When I log in to a new session without activating the Persistent Storage 27.104
Then Tails is running from USB drive "__internal" 0.451
And persistence is disabled 0.401
But a Tails persistence partition exists on USB drive "__internal" 8.322
After features/support/hooks.rb:330 1.515
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.097
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.004
Then Tails is running from USB drive "__internal" 0.383
When I create a file in the Persistent directory 0.219
And I create a persistent partition with the default settings 24.775
Then the file I created was copied to the Persistent Storage 1.911
When I shutdown Tails and wait for the computer to power off 12.549
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.843
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.764
After features/support/hooks.rb:100 0.009
Tags: @product
1:22.305
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.541
And the system is very low on memory 3.270
When I create a file in the Persistent directory 2.257
When I try to create a persistent partition 31.884
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.366
When I close the Persistent Storage app 2.608
And I free up some memory 3.346
And I create a persistent partition with the default settings 13.765
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:330 2.551
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.183
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.562
Then Tails is running from USB drive "__internal" 0.699
And all tps features are active 2.162
And all persistent directories have safe access rights 2.585
When I disable the first tps feature 5.995
Then all tps features but the first one are active 2.049
And I shutdown Tails and wait for the computer to power off 13.230
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.710
Then all tps features but the first one are active 2.188
After features/support/hooks.rb:330 1.322
After features/support/hooks.rb:100 0.009
Tags: @product
20.851
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.288
Then persistence for "Persistent" is active 0.082
And I create a file in the Persistent directory 0.193
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 6.410
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.459
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.000
Tags: @product
19.050
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.043
Then persistence for "Persistent" is active 0.170
When I create a file in the Persistent directory 0.092
And I disable the first tps feature 6.041
And I delete the data of the Persistent Folder feature 3.648
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.585
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.028
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.752
And the network is plugged 0.075
And Tor is ready 22.507
And I take note of which tps features are available 0.564
When I write some files expected to persist 1.574
And I shutdown Tails and wait for the computer to power off 8.743
# 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.809
After features/support/hooks.rb:330 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.813
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.314
And the network is plugged 0.100
And Tor is ready 21.034
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.188
And I shutdown Tails and wait for the computer to power off 8.848
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.857
And I capture all network traffic 0.011
And the network is plugged 0.093
And Tor is ready 21.669
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.154
After features/support/hooks.rb:330 0.661
After features/support/hooks.rb:100 0.048
Tags: @product
1:15.678
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 14.577
And I enable persistence creation in Tails Greeter 1.163
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.249
Then I create a persistent partition with the default settings using the wizard that was already open 36.688
After features/support/hooks.rb:330 3.027
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.174
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.725
When I enable persistence 41.508
Then no persistent Greeter options were restored 14.583
When I set all Greeter options to non-default values 24.673
And I log in to a new session in German (de) after having activated the Persistent Storage 50.609
Then all Greeter options are set to non-default values 0.941
When I cold reboot the computer 7.965
And the computer reboots Tails 1:6.414
Given I enable persistence 16.218
Then persistent Greeter options were restored 0.699
When I log in to a new session after having activated the Persistent Storage 40.496
Then all Greeter options are set to non-default values 0.338
After features/support/hooks.rb:330 1.567
After features/support/hooks.rb:100 0.023
Tags: @product
3:51.930
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.737
# 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 33.612
And I shutdown Tails and wait for the computer to power off 13.511
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.407
And I change the passphrase of the Persistent Storage back to the original 36.661
After features/support/hooks.rb:330 3.745
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.088
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.559
And I log in to a new session without activating the Persistent Storage 23.383
Then persistence is disabled 0.541
But a Tails persistence partition exists on USB drive "__internal" 10.482
And all notifications have disappeared 10.981
When I delete the persistent partition 6.296
Then there is no persistence partition on USB drive "__internal" 0.844
After features/support/hooks.rb:330 1.478
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.052
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.598
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 8.735
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.271
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.009
Tags: @product
1:42.997
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.592
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.329
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.287
When I log in to a new session after having activated the Persistent Storage 43.321
And all notifications have disappeared 8.934
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.408
And all tps features are enabled 2.917
And all tps features but the first one are active 2.108
After features/support/hooks.rb:330 1.945
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.908
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
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 3:30.238
And I enable persistence 33.795
And I log in to a new session after having activated the Persistent Storage 48.052
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.449
And persistence is enabled 2.373
After features/support/hooks.rb:330 2.026
After features/support/hooks.rb:100 0.000
Tags: @product
28.291
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.421
And I enable persistence but something goes wrong during the LUKS header upgrade 18.502
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.367
After features/support/hooks.rb:330 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
47.416
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.033
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.059
When I enable persistence 29.482
Then the filesystem of the Persistent Storage was repaired 0.125
And persistence is successfully enabled 2.715
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
49.204
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.916
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.620
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.616
When I repair the filesystem of the Persistent Storage 2.710
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.984
And the filesystem of the Persistent Storage was repaired 3.216
When I close the filesystem repair dialog 1.263
Then persistence is successfully enabled 1.467
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.327
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.021
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.009
When I repair the filesystem of the Persistent Storage 2.526
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.250
When I log in to a new session 43.018
And all notifications have disappeared 7.804
# 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.451
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.115
When I close the "whisperback" window 1.677
Then the Tor Browser starts 20.842
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.205
After features/support/hooks.rb:330 3.070
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.578
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.433
And Tails detects disk read failures on the boot device 0.626
When I try to enable persistence 0.532
Then the Welcome Screen tells me that my hardware is probably failing 19.281
When I log in to a new session 47.420
And all notifications have disappeared 8.190
Then the Tor Browser starts 22.728
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.809
After features/support/hooks.rb:330 3.994
After features/support/hooks.rb:100 0.000