Project Number Date
test_Tails_ISO_devel 3814 15 May 2025, 23:21

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 40:52.648 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.238
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:36.521
And I update APT using apt 14.346
And I install "python3-behave" using apt 23.027
Then the Tails Persistent Storage behave tests pass 3.343
After features/support/hooks.rb:330 2.387
After features/support/hooks.rb:100 0.000
Tags: @product
47.418
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.368
When I log in to a new session without activating the Persistent Storage 26.233
Then Tails is running from USB drive "__internal" 0.476
And persistence is disabled 0.356
But a Tails persistence partition exists on USB drive "__internal" 6.983
After features/support/hooks.rb:330 1.324
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.099
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 14.027
Then Tails is running from USB drive "__internal" 0.424
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 25.945
Then the file I created was copied to the Persistent Storage 2.205
When I shutdown Tails and wait for the computer to power off 12.669
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.277
Then persistence for "Persistent" is active 0.337
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 2.010
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.017
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 10.603
And the system is very low on memory 3.404
When I create a file in the Persistent directory 0.815
When I try to create a persistent partition 28.166
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.388
When I close the Persistent Storage app 2.689
And I free up some memory 3.322
And I create a persistent partition with the default settings 14.372
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:330 2.166
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.015
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 12.924
Then Tails is running from USB drive "__internal" 0.458
And all tps features are active 2.320
And all persistent directories have safe access rights 2.764
When I disable the first tps feature 6.720
Then all tps features but the first one are active 2.397
And I shutdown Tails and wait for the computer to power off 15.566
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.719
Then all tps features but the first one are active 2.143
After features/support/hooks.rb:330 1.452
After features/support/hooks.rb:100 0.007
Tags: @product
23.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 enabled and logged in 11.575
Then persistence for "Persistent" is active 0.617
And I create a file in the Persistent directory 0.124
Then the file I created was copied to the Persistent Storage 0.100
When I disable the first tps feature 6.739
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.982
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.282
After features/support/hooks.rb:100 0.000
Tags: @product
20.687
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.750
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.063
And I disable the first tps feature 7.012
And I delete the data of the Persistent Folder feature 3.691
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.611
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.031
And the network is plugged 0.091
And Tor is ready 21.827
And I take note of which tps features are available 0.460
When I write some files expected to persist 1.476
And I shutdown Tails and wait for the computer to power off 8.947
# 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.776
After features/support/hooks.rb:330 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.268
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.566
And the network is plugged 0.114
And Tor is ready 38.681
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.233
And I shutdown Tails and wait for the computer to power off 8.321
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.424
And I capture all network traffic 0.010
And the network is plugged 0.081
And Tor is ready 19.106
And I switch to the "persistent-con-current" NetworkManager connection 0.486
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:330 1.187
After features/support/hooks.rb:100 0.052
Tags: @product
1:1.459
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 14.863
And I enable persistence creation in Tails Greeter 1.110
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.224
Then I create a persistent partition with the default settings using the wizard that was already open 23.260
After features/support/hooks.rb:330 2.849
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.241
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 11.908
When I enable persistence 36.673
Then no persistent Greeter options were restored 14.587
When I set all Greeter options to non-default values 25.135
And I log in to a new session in German (de) after having activated the Persistent Storage 51.510
Then all Greeter options are set to non-default values 1.505
When I cold reboot the computer 7.618
And the computer reboots Tails 1:3.965
Given I enable persistence 17.070
Then persistent Greeter options were restored 0.541
When I log in to a new session after having activated the Persistent Storage 39.071
Then all Greeter options are set to non-default values 0.652
After features/support/hooks.rb:330 1.534
After features/support/hooks.rb:100 0.009
Tags: @product
3:51.240
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.604
# 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.005
And I shutdown Tails and wait for the computer to power off 14.923
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.161
And I change the passphrase of the Persistent Storage back to the original 36.544
After features/support/hooks.rb:330 3.101
After features/support/hooks.rb:100 0.010
Tags: @product
59.020
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 10.444
And I log in to a new session without activating the Persistent Storage 21.167
Then persistence is disabled 0.427
But a Tails persistence partition exists on USB drive "__internal" 8.943
And all notifications have disappeared 10.157
When I delete the persistent partition 7.061
Then there is no persistence partition on USB drive "__internal" 0.817
After features/support/hooks.rb:330 1.039
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.484
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.909
When I write some dotfile expected to persist 0.925
And I shutdown Tails and wait for the computer to power off 8.715
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.504
Then the expected persistent dotfile is present in the filesystem 0.430
After features/support/hooks.rb:330 0.775
After features/support/hooks.rb:100 0.007
Tags: @product
1:40.050
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.600
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.411
When I log in to a new session after having activated the Persistent Storage 43.415
And all notifications have disappeared 7.670
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.493
And all tps features are enabled 3.018
And all tps features but the first one are active 2.073
After features/support/hooks.rb:330 2.740
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.996
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:21.517
And I enable persistence 30.512
And I log in to a new session after having activated the Persistent Storage 48.864
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.466
And persistence is enabled 2.635
After features/support/hooks.rb:330 1.283
After features/support/hooks.rb:100 0.000
Tags: @product
31.110
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.872
And I enable persistence but something goes wrong during the LUKS header upgrade 21.353
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.884
After features/support/hooks.rb:330 0.704
After features/support/hooks.rb:100 0.000
Tags: @product
45.264
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.423
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.307
When I enable persistence 27.759
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 2.680
After features/support/hooks.rb:330 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
50.688
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.407
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.288
When I try to enable persistence 0.405
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.494
When I repair the filesystem of the Persistent Storage 1.504
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.065
And the filesystem of the Persistent Storage was repaired 2.934
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 1.352
After features/support/hooks.rb:330 0.843
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.537
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 8.796
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.119
When I try to enable persistence 1.326
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.498
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.074
When I log in to a new session 42.226
And all notifications have disappeared 7.924
# 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.922
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.134
When I close the "whisperback" window 1.719
Then the Tor Browser starts 21.506
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.014
After features/support/hooks.rb:330 1.973
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.791
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 8.617
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.254
And Tails detects disk read failures on the boot device 1.531
When I try to enable persistence 0.431
Then the Welcome Screen tells me that my hardware is probably failing 18.855
When I log in to a new session 49.719
And all notifications have disappeared 8.939
Then the Tor Browser starts 22.655
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.787
After features/support/hooks.rb:330 3.275
After features/support/hooks.rb:100 0.000