Project Number Date
test_Tails_ISO_devel 3899 07 Jul 2025, 14:42

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 53:32.249 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.362
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.629
And I update APT using apt 18.314
And I install "python3-behave" using apt 26.414
Then the Tails Persistent Storage behave tests pass 4.004
After features/support/hooks.rb:330 1.016
After features/support/hooks.rb:100 0.000
Tags: @product
52.469
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 13.792
When I log in to a new session without activating the Persistent Storage 26.673
Then Tails is running from USB drive "__internal" 0.612
And persistence is disabled 0.436
But a Tails persistence partition exists on USB drive "__internal" 10.954
After features/support/hooks.rb:330 1.083
After features/support/hooks.rb:100 0.000
Tags: @product
3:46.560
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 12.632
Then Tails is running from USB drive "__internal" 0.526
When I create a file in the Persistent directory 0.205
And I create a persistent partition with the default settings 25.675
Then the file I created was copied to the Persistent Storage 2.157
When I shutdown Tails and wait for the computer to power off 12.412
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.492
Then persistence for "Persistent" is active 0.360
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:330 3.160
After features/support/hooks.rb:100 0.030
Tags: @product
1:27.311
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.075
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.030
And the system is very low on memory 7.359
When I create a file in the Persistent directory 2.370
When I try to create a persistent partition 31.667
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.314
When I close the Persistent Storage app 6.094
And I free up some memory 3.686
And I create a persistent partition with the default settings 20.445
Then the file I created was copied to the Persistent Storage 0.341
After features/support/hooks.rb:330 3.509
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.967
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.812
Then Tails is running from USB drive "__internal" 0.441
And all tps features are active 2.596
And all persistent directories have safe access rights 3.150
When I disable the first tps feature 8.090
Then all tps features but the first one are active 2.800
And I shutdown Tails and wait for the computer to power off 16.131
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.629
Then all tps features but the first one are active 3.313
After features/support/hooks.rb:330 1.100
After features/support/hooks.rb:100 0.014
Tags: @product
24.446
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 enabled and logged in 12.280
Then persistence for "Persistent" is active 0.861
And I create a file in the Persistent directory 0.137
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.635
Then persistence for "Persistent" is not active 0.135
And the Persistent directory does not exist 0.068
When I enable the first tps feature 4.052
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:330 0.984
After features/support/hooks.rb:100 0.000
Tags: @product
25.556
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.298
Then persistence for "Persistent" is active 0.129
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 5.872
And I delete the data of the Persistent Folder feature 6.014
Then the file I created does not exist on the Persistent Storage 0.155
After features/support/hooks.rb:330 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.094
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 11.006
And the network is plugged 0.116
And Tor is ready 27.737
And I take note of which tps features are available 0.889
When I write some files expected to persist 2.240
And I shutdown Tails and wait for the computer to power off 10.699
# 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" 35.404
After features/support/hooks.rb:330 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.488
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 enabled and logged in 11.799
And the network is plugged 0.517
And Tor is ready 24.635
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.346
And I shutdown Tails and wait for the computer to power off 9.667
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:6.986
And I capture all network traffic 0.027
And the network is plugged 0.115
And Tor is ready 25.795
And I switch to the "persistent-con-current" NetworkManager connection 0.341
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.175
After features/support/hooks.rb:330 0.676
After features/support/hooks.rb:100 0.063
Tags: @product
1:12.913
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 15.991
And I enable persistence creation in Tails Greeter 1.284
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.198
Then I create a persistent partition with the default settings using the wizard that was already open 31.438
After features/support/hooks.rb:330 4.625
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.778
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 13.538
When I enable persistence 58.124
Then no persistent Greeter options were restored 14.883
When I set all Greeter options to non-default values 32.225
And I log in to a new session in German (de) after having activated the Persistent Storage 47.445
Then all Greeter options are set to non-default values 0.653
When I cold reboot the computer 11.497
And the computer reboots Tails 1:17.728
Given I enable persistence 21.231
Then persistent Greeter options were restored 0.804
When I log in to a new session after having activated the Persistent Storage 45.084
Then all Greeter options are set to non-default values 0.560
After features/support/hooks.rb:330 2.657
After features/support/hooks.rb:100 0.008
Tags: @product
4:51.202
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 13.698
# 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 45.676
And I shutdown Tails and wait for the computer to power off 15.156
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:59.527
And I change the passphrase of the Persistent Storage back to the original 37.144
After features/support/hooks.rb:330 4.095
After features/support/hooks.rb:100 0.011
Tags: @product
1:18.568
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.587
And I log in to a new session without activating the Persistent Storage 28.460
Then persistence is disabled 0.559
But a Tails persistence partition exists on USB drive "__internal" 18.820
And all notifications have disappeared 12.055
When I delete the persistent partition 6.828
Then there is no persistence partition on USB drive "__internal" 0.256
After features/support/hooks.rb:330 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.569
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 11.585
When I write some dotfile expected to persist 0.121
And I shutdown Tails and wait for the computer to power off 9.822
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.684
Then the expected persistent dotfile is present in the filesystem 0.354
After features/support/hooks.rb:330 1.384
After features/support/hooks.rb:100 0.157
Tags: @product
2:10.130
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.127
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.830
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.848
When I log in to a new session after having activated the Persistent Storage 51.183
And all notifications have disappeared 7.751
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.187
And all tps features are enabled 5.169
And all tps features but the first one are active 2.785
After features/support/hooks.rb:330 1.317
After features/support/hooks.rb:100 0.000
Tags: @product
7:40.333
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 5:46.342
And I enable persistence 49.749
And I log in to a new session after having activated the Persistent Storage 57.390
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.401
And persistence is enabled 3.449
After features/support/hooks.rb:330 1.040
After features/support/hooks.rb:100 0.000
Tags: @product
38.501
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
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 12.270
And I enable persistence but something goes wrong during the LUKS header upgrade 25.288
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.941
After features/support/hooks.rb:330 0.830
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.015
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.768
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.616
When I enable persistence 54.507
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 4.012
After features/support/hooks.rb:330 2.024
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.291
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.114
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.716
When I try to enable persistence 0.490
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 43.058
When I repair the filesystem of the Persistent Storage 1.394
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.327
And the filesystem of the Persistent Storage was repaired 5.717
When I close the filesystem repair dialog 1.923
Then persistence is successfully enabled 2.547
After features/support/hooks.rb:330 1.175
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:44.344
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.734
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.161
When I try to enable persistence 0.653
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 50.295
When I repair the filesystem of the Persistent Storage 1.347
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.126
When I log in to a new session 46.834
And all notifications have disappeared 18.875
# 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.841
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.220
When I close the "whisperback" window 1.645
Then the Tor Browser starts 27.262
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.344
After features/support/hooks.rb:330 3.723
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:57.342
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.011
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.335
And Tails detects disk read failures on the boot device 2.415
When I try to enable persistence 1.521
Then the Welcome Screen tells me that my hardware is probably failing 29.737
When I log in to a new session 1:14.990
And all notifications have disappeared 14.859
Then the Tor Browser starts 27.123
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.346
After features/support/hooks.rb:330 5.301
After features/support/hooks.rb:100 0.000