Project Number Date
test_Tails_ISO_devel 3822 19 May 2025, 18:00

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:43.850 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:42.572
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:56.026
And I update APT using apt 16.260
And I install "python3-behave" using apt 26.719
Then the Tails Persistent Storage behave tests pass 3.566
After features/support/hooks.rb:330 0.835
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.529
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 22.028
When I log in to a new session without activating the Persistent Storage 26.813
Then Tails is running from USB drive "__internal" 0.702
And persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 11.655
After features/support/hooks.rb:330 3.734
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.609
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 59.075
Then Tails is running from USB drive "__internal" 0.493
When I create a file in the Persistent directory 0.233
And I create a persistent partition with the default settings 29.472
Then the file I created was copied to the Persistent Storage 2.668
When I shutdown Tails and wait for the computer to power off 13.404
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.860
Then persistence for "Persistent" is active 0.329
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.731
After features/support/hooks.rb:100 0.009
Tags: @product
1:14.854
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 18.630
And the system is very low on memory 5.189
When I create a file in the Persistent directory 1.416
When I try to create a persistent partition 27.929
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.220
When I close the Persistent Storage app 2.804
And I free up some memory 3.880
And I create a persistent partition with the default settings 14.388
Then the file I created was copied to the Persistent Storage 0.394
After features/support/hooks.rb:330 2.279
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.757
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 51.961
Then Tails is running from USB drive "__internal" 0.673
And all tps features are active 2.854
And all persistent directories have safe access rights 2.776
When I disable the first tps feature 6.197
Then all tps features but the first one are active 2.730
And I shutdown Tails and wait for the computer to power off 16.680
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.201
Then all tps features but the first one are active 2.680
After features/support/hooks.rb:330 1.295
After features/support/hooks.rb:100 0.008
Tags: @product
20.545
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.882
Then persistence for "Persistent" is active 0.159
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 5.792
Then persistence for "Persistent" is not active 0.103
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.192
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 1.409
After features/support/hooks.rb:100 0.000
Tags: @product
19.865
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.973
Then persistence for "Persistent" is active 0.102
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 5.862
And I delete the data of the Persistent Folder feature 3.790
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.209
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.044
And the network is plugged 0.571
And Tor is ready 20.967
And I take note of which tps features are available 3.705
When I write some files expected to persist 1.539
And I shutdown Tails and wait for the computer to power off 13.375
# 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" 28.005
After features/support/hooks.rb:330 0.170
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.926
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.317
And the network is plugged 0.128
And Tor is ready 21.097
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 12.951
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.958
And I capture all network traffic 0.011
And the network is plugged 0.114
And Tor is ready 21.879
And I switch to the "persistent-con-current" NetworkManager connection 0.960
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.186
After features/support/hooks.rb:330 2.741
After features/support/hooks.rb:100 0.068
Tags: @product
1:33.912
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 30.274
And I enable persistence creation in Tails Greeter 1.176
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.699
Then I create a persistent partition with the default settings using the wizard that was already open 38.762
After features/support/hooks.rb:330 2.058
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.724
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 28.427
When I enable persistence 40.556
Then no persistent Greeter options were restored 14.747
When I set all Greeter options to non-default values 27.685
And I log in to a new session in German (de) after having activated the Persistent Storage 54.580
Then all Greeter options are set to non-default values 0.599
When I cold reboot the computer 7.951
And the computer reboots Tails 1:9.661
Given I enable persistence 20.146
Then persistent Greeter options were restored 0.709
When I log in to a new session after having activated the Persistent Storage 38.150
Then all Greeter options are set to non-default values 0.508
After features/support/hooks.rb:330 2.091
After features/support/hooks.rb:100 0.022
Tags: @product
4:24.653
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.704
# 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 40.492
And I shutdown Tails and wait for the computer to power off 15.604
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:44.749
And I change the passphrase of the Persistent Storage back to the original 31.102
After features/support/hooks.rb:330 2.868
After features/support/hooks.rb:100 0.008
Tags: @product
1:6.971
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 14.745
And I log in to a new session without activating the Persistent Storage 24.437
Then persistence is disabled 0.421
But a Tails persistence partition exists on USB drive "__internal" 9.770
And all notifications have disappeared 9.317
When I delete the persistent partition 7.126
Then there is no persistence partition on USB drive "__internal" 1.152
After features/support/hooks.rb:330 3.110
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.390
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.169
When I write some dotfile expected to persist 0.212
And I shutdown Tails and wait for the computer to power off 13.975
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.642
Then the expected persistent dotfile is present in the filesystem 0.389
After features/support/hooks.rb:330 1.041
After features/support/hooks.rb:100 0.009
Tags: @product
1:54.871
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.656
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.147
When I try to enable persistence 0.291
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 41.185
When I log in to a new session after having activated the Persistent Storage 42.712
And all notifications have disappeared 8.446
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.805
And all tps features are enabled 3.104
And all tps features but the first one are active 2.521
After features/support/hooks.rb:330 1.515
After features/support/hooks.rb:100 0.000
Tags: @product
11:8.014
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:41.549
And I enable persistence 31.724
And I log in to a new session after having activated the Persistent Storage 47.595
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.101
And persistence is enabled 5.043
After features/support/hooks.rb:330 1.154
After features/support/hooks.rb:100 0.000
Tags: @product
54.032
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 14.874
And I enable persistence but something goes wrong during the LUKS header upgrade 38.314
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.843
After features/support/hooks.rb:330 0.692
After features/support/hooks.rb:100 0.000
Tags: @product
57.836
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.517
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.435
When I enable persistence 38.219
Then the filesystem of the Persistent Storage was repaired 0.171
And persistence is successfully enabled 3.492
After features/support/hooks.rb:330 1.248
After features/support/hooks.rb:100 0.000
Tags: @product
55.405
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.406
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.331
When I try to enable persistence 0.540
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.701
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.230
And the filesystem of the Persistent Storage was repaired 4.082
When I close the filesystem repair dialog 1.317
Then persistence is successfully enabled 1.531
After features/support/hooks.rb:330 0.987
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:11.542
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.506
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.177
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.107
When I log in to a new session 49.861
And all notifications have disappeared 10.010
# 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.509
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.917
When I close the "whisperback" window 1.541
Then the Tor Browser starts 19.876
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.393
After features/support/hooks.rb:330 5.100
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.625
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.250
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.902
And Tails detects disk read failures on the boot device 1.677
When I try to enable persistence 0.521
Then the Welcome Screen tells me that my hardware is probably failing 24.051
When I log in to a new session 50.146
And all notifications have disappeared 8.241
Then the Tor Browser starts 23.905
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.928
After features/support/hooks.rb:330 2.009
After features/support/hooks.rb:100 0.000