Project Number Date
test_Tails_ISO_devel 3904 09 Jul 2025, 14:01

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:6.094 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.429
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:31.800
And I update APT using apt 16.194
And I install "python3-behave" using apt 26.207
Then the Tails Persistent Storage behave tests pass 2.226
After features/support/hooks.rb:330 0.869
After features/support/hooks.rb:100 0.000
Tags: @product
59.153
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 25.159
When I log in to a new session without activating the Persistent Storage 23.791
Then Tails is running from USB drive "__internal" 0.726
And persistence is disabled 0.447
But a Tails persistence partition exists on USB drive "__internal" 9.028
After features/support/hooks.rb:330 1.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.361
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 12.873
Then Tails is running from USB drive "__internal" 0.757
When I create a file in the Persistent directory 0.196
And I create a persistent partition with the default settings 22.671
Then the file I created was copied to the Persistent Storage 1.981
When I shutdown Tails and wait for the computer to power off 13.560
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.533
Then persistence for "Persistent" is active 0.686
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 2.188
After features/support/hooks.rb:100 0.018
Tags: @product
1:0.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 without a persistent partition and logged in 11.262
And the system is very low on memory 5.863
When I create a file in the Persistent directory 1.361
When I try to create a persistent partition 21.958
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.596
When I close the Persistent Storage app 2.525
And I free up some memory 2.652
And I create a persistent partition with the default settings 13.934
Then the file I created was copied to the Persistent Storage 0.414
After features/support/hooks.rb:330 2.133
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.128
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.290
Then Tails is running from USB drive "__internal" 0.735
And all tps features are active 2.410
And all persistent directories have safe access rights 2.764
When I disable the first tps feature 5.519
Then all tps features but the first one are active 2.173
And I shutdown Tails and wait for the computer to power off 12.838
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.050
Then all tps features but the first one are active 2.346
After features/support/hooks.rb:330 1.391
After features/support/hooks.rb:100 0.011
Tags: @product
20.756
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.194
Then persistence for "Persistent" is active 0.071
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.788
Then persistence for "Persistent" is not active 0.138
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.194
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.256
After features/support/hooks.rb:100 0.000
Tags: @product
19.531
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.923
Then persistence for "Persistent" is active 0.121
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 5.745
And I delete the data of the Persistent Folder feature 3.601
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.409
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.690
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 10.892
And the network is plugged 0.087
And Tor is ready 20.436
And I take note of which tps features are available 0.719
When I write some files expected to persist 1.593
And I shutdown Tails and wait for the computer to power off 8.864
# 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" 27.096
After features/support/hooks.rb:330 0.152
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.461
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 10.752
And the network is plugged 0.203
And Tor is ready 21.618
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 9.249
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.783
And I capture all network traffic 0.008
And the network is plugged 0.079
And Tor is ready 21.735
And I switch to the "persistent-con-current" NetworkManager connection 0.369
And the 1st network device has a spoofed MAC address configured 0.137
And no network device leaked the real MAC address 0.304
After features/support/hooks.rb:330 0.602
After features/support/hooks.rb:100 0.072
Tags: @product
58.080
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 stopped at Tails Greeter's login screen 11.051
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.425
Then I create a persistent partition with the default settings using the wizard that was already open 22.488
After features/support/hooks.rb:330 2.830
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.143
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 10.262
When I enable persistence 34.555
Then no persistent Greeter options were restored 14.293
When I set all Greeter options to non-default values 30.738
And I log in to a new session in German (de) after having activated the Persistent Storage 50.157
Then all Greeter options are set to non-default values 0.444
When I cold reboot the computer 7.367
And the computer reboots Tails 1:5.493
Given I enable persistence 17.448
Then persistent Greeter options were restored 0.615
When I log in to a new session after having activated the Persistent Storage 46.314
Then all Greeter options are set to non-default values 0.451
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.014
Tags: @product
3:42.502
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 10.611
# 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.604
And I shutdown Tails and wait for the computer to power off 15.814
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.115
And I change the passphrase of the Persistent Storage back to the original 31.355
After features/support/hooks.rb:330 2.921
After features/support/hooks.rb:100 0.009
Tags: @product
59.658
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 10.096
And I log in to a new session without activating the Persistent Storage 19.702
Then persistence is disabled 0.355
But a Tails persistence partition exists on USB drive "__internal" 10.471
And all notifications have disappeared 10.817
When I delete the persistent partition 7.277
Then there is no persistence partition on USB drive "__internal" 0.937
After features/support/hooks.rb:330 0.684
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.036
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 10.514
When I write some dotfile expected to persist 0.056
And I shutdown Tails and wait for the computer to power off 11.151
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.877
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:330 1.376
After features/support/hooks.rb:100 0.016
Tags: @product
1:46.179
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.351
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.136
When I try to enable persistence 0.706
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.427
When I log in to a new session after having activated the Persistent Storage 46.697
And all notifications have disappeared 9.540
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.249
And all tps features are enabled 2.700
And all tps features but the first one are active 2.369
After features/support/hooks.rb:330 1.441
After features/support/hooks.rb:100 0.000
Tags: @product
5:38.049
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 4:4.147
And I enable persistence 44.846
And I log in to a new session after having activated the Persistent Storage 44.479
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.263
And persistence is enabled 3.312
After features/support/hooks.rb:330 1.938
After features/support/hooks.rb:100 0.000
Tags: @product
30.625
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.450
And I enable persistence but something goes wrong during the LUKS header upgrade 20.365
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.809
After features/support/hooks.rb:330 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
45.697
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.376
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.343
When I enable persistence 28.196
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.684
After features/support/hooks.rb:330 0.974
After features/support/hooks.rb:100 0.000
Tags: @product
53.470
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 9.663
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.728
When I try to enable persistence 0.473
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.292
When I repair the filesystem of the Persistent Storage 1.983
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.046
And the filesystem of the Persistent Storage was repaired 4.311
When I close the filesystem repair dialog 1.190
Then persistence is successfully enabled 1.780
After features/support/hooks.rb:330 1.085
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.614
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 8.695
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.135
When I try to enable persistence 0.923
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.636
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 36.117
And all notifications have disappeared 9.613
# 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.590
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.646
When I close the "whisperback" window 1.642
Then the Tor Browser starts 22.079
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.221
After features/support/hooks.rb:330 3.223
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.953
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.246
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.289
And Tails detects disk read failures on the boot device 1.552
When I try to enable persistence 1.644
Then the Welcome Screen tells me that my hardware is probably failing 19.573
When I log in to a new session 50.656
And all notifications have disappeared 9.591
Then the Tor Browser starts 23.383
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.016
After features/support/hooks.rb:330 1.973
After features/support/hooks.rb:100 0.000