Project Number Date
test_Tails_ISO_stable 5673 24 May 2025, 13:14

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 42:39.697 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.851
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.688
And I update APT using apt 13.689
And I install "python3-behave" using apt 26.009
Then the Tails Persistent Storage behave tests pass 2.464
After features/support/hooks.rb:330 0.855
After features/support/hooks.rb:100 0.000
Tags: @product
47.612
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.061
When I log in to a new session without activating the Persistent Storage 23.146
Then Tails is running from USB drive "__internal" 0.779
And persistence is disabled 0.390
But a Tails persistence partition exists on USB drive "__internal" 11.235
After features/support/hooks.rb:330 2.044
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.586
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 logged in 16.056
Then Tails is running from USB drive "__internal" 0.533
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 23.003
Then the file I created was copied to the Persistent Storage 2.242
When I shutdown Tails and wait for the computer to power off 13.231
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.150
Then persistence for "Persistent" is active 1.166
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 2.295
After features/support/hooks.rb:100 0.009
Tags: @product
1:11.223
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 without a persistent partition and logged in 14.107
And the system is very low on memory 5.107
When I create a file in the Persistent directory 1.119
When I try to create a persistent partition 28.952
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.625
When I close the Persistent Storage app 2.570
And I free up some memory 4.177
And I create a persistent partition with the default settings 14.277
Then the file I created was copied to the Persistent Storage 0.285
After features/support/hooks.rb:330 2.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.213
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 14.978
Then Tails is running from USB drive "__internal" 1.667
And all tps features are active 2.459
And all persistent directories have safe access rights 2.846
When I disable the first tps feature 6.030
Then all tps features but the first one are active 2.360
And I shutdown Tails and wait for the computer to power off 15.955
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.389
Then all tps features but the first one are active 2.524
After features/support/hooks.rb:330 1.824
After features/support/hooks.rb:100 0.035
Tags: @product
22.682
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 12.900
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.058
When I disable the first tps feature 6.154
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.132
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 2.069
After features/support/hooks.rb:100 0.000
Tags: @product
19.660
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.777
Then persistence for "Persistent" is active 0.119
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 5.980
And I delete the data of the Persistent Folder feature 3.649
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 1.589
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.594
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.417
And the network is plugged 0.119
And Tor is ready 18.781
And I take note of which tps features are available 0.725
When I write some files expected to persist 1.572
And I shutdown Tails and wait for the computer to power off 8.715
# 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.263
After features/support/hooks.rb:330 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.693
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.244
And the network is plugged 0.427
And Tor is ready 22.207
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 8.729
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.804
And I capture all network traffic 0.014
And the network is plugged 0.094
And Tor is ready 22.319
And I switch to the "persistent-con-current" NetworkManager connection 0.386
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.168
After features/support/hooks.rb:330 0.708
After features/support/hooks.rb:100 0.100
Tags: @product
1:5.846
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 stopped at Tails Greeter's login screen 20.843
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.449
Then I create a persistent partition with the default settings using the wizard that was already open 22.437
After features/support/hooks.rb:330 2.546
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.321
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 12.298
When I enable persistence 41.056
Then no persistent Greeter options were restored 14.811
When I set all Greeter options to non-default values 25.597
And I log in to a new session in German (de) after having activated the Persistent Storage 42.642
Then all Greeter options are set to non-default values 0.758
When I cold reboot the computer 7.605
And the computer reboots Tails 1:6.835
Given I enable persistence 17.625
Then persistent Greeter options were restored 0.687
When I log in to a new session after having activated the Persistent Storage 41.067
Then all Greeter options are set to non-default values 0.335
After features/support/hooks.rb:330 1.572
After features/support/hooks.rb:100 0.007
Tags: @product
3:47.613
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 9.838
# 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 43.978
And I shutdown Tails and wait for the computer to power off 12.698
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.181
And I change the passphrase of the Persistent Storage back to the original 31.916
After features/support/hooks.rb:330 3.129
After features/support/hooks.rb:100 0.019
Tags: @product
58.374
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 9.974
And I log in to a new session without activating the Persistent Storage 23.523
Then persistence is disabled 0.385
But a Tails persistence partition exists on USB drive "__internal" 8.411
And all notifications have disappeared 7.698
When I delete the persistent partition 7.528
Then there is no persistence partition on USB drive "__internal" 0.852
After features/support/hooks.rb:330 1.388
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.649
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.125
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 11.622
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.417
Then the expected persistent dotfile is present in the filesystem 0.425
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.731
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 9.451
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.356
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.853
When I log in to a new session after having activated the Persistent Storage 36.172
And all notifications have disappeared 8.216
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.423
And all tps features are enabled 2.932
And all tps features but the first one are active 2.245
After features/support/hooks.rb:330 1.848
After features/support/hooks.rb:100 0.000
Tags: @product
5:38.207
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 4:7.740
And I enable persistence 36.784
And I log in to a new session after having activated the Persistent Storage 49.048
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.757
And persistence is enabled 2.876
After features/support/hooks.rb:330 1.710
After features/support/hooks.rb:100 0.000
Tags: @product
36.414
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 9.121
And I enable persistence but something goes wrong during the LUKS header upgrade 26.486
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.805
After features/support/hooks.rb:330 1.513
After features/support/hooks.rb:100 0.000
Tags: @product
48.857
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 9.188
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.787
When I enable persistence 30.826
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.956
After features/support/hooks.rb:330 2.001
After features/support/hooks.rb:100 0.000
Tags: @product
54.580
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 9.614
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.257
When I try to enable persistence 0.488
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.558
When I repair the filesystem of the Persistent Storage 2.127
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.338
And the filesystem of the Persistent Storage was repaired 3.474
When I close the filesystem repair dialog 1.187
Then persistence is successfully enabled 1.533
After features/support/hooks.rb:330 2.636
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.068
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 and stopped at Tails Greeter's login screen 9.303
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.275
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 41.896
And all notifications have disappeared 8.131
# 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.730
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.224
When I close the "whisperback" window 1.357
Then the Tor Browser starts 21.441
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.932
After features/support/hooks.rb:330 2.516
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.913
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 11.093
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.823
And Tails detects disk read failures on the boot device 0.425
When I try to enable persistence 1.753
Then the Welcome Screen tells me that my hardware is probably failing 20.344
When I log in to a new session 48.540
And all notifications have disappeared 10.147
Then the Tor Browser starts 18.675
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.109
After features/support/hooks.rb:330 3.158
After features/support/hooks.rb:100 0.000