Project Number Date
test_Tails_ISO_devel 3829 22 May 2025, 09:46

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 46:49.215 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.701
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:44.475
And I update APT using apt 13.745
And I install "python3-behave" using apt 27.188
Then the Tails Persistent Storage behave tests pass 3.291
After features/support/hooks.rb:330 0.732
After features/support/hooks.rb:100 0.000
Tags: @product
56.223
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.592
When I log in to a new session without activating the Persistent Storage 30.417
Then Tails is running from USB drive "__internal" 0.592
And persistence is disabled 0.358
But a Tails persistence partition exists on USB drive "__internal" 11.262
After features/support/hooks.rb:330 2.363
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.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 without a persistent partition and logged in 16.519
Then Tails is running from USB drive "__internal" 0.800
When I create a file in the Persistent directory 0.171
And I create a persistent partition with the default settings 31.212
Then the file I created was copied to the Persistent Storage 2.510
When I shutdown Tails and wait for the computer to power off 14.101
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.480
Then persistence for "Persistent" is active 0.734
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.704
After features/support/hooks.rb:100 0.016
Tags: @product
1:20.631
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 21.511
And the system is very low on memory 6.399
When I create a file in the Persistent directory 1.774
When I try to create a persistent partition 29.376
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.353
When I close the Persistent Storage app 2.650
And I free up some memory 3.083
And I create a persistent partition with the default settings 15.243
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:330 2.507
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.755
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 30.437
Then Tails is running from USB drive "__internal" 0.536
And all tps features are active 2.847
And all persistent directories have safe access rights 3.080
When I disable the first tps feature 6.287
Then all tps features but the first one are active 2.426
And I shutdown Tails and wait for the computer to power off 15.686
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.533
Then all tps features but the first one are active 2.918
After features/support/hooks.rb:330 1.619
After features/support/hooks.rb:100 0.010
Tags: @product
22.261
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.000
Then persistence for "Persistent" is active 0.103
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.110
When I disable the first tps feature 6.263
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.059
When I enable the first tps feature 4.380
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.810
After features/support/hooks.rb:100 0.000
Tags: @product
20.956
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.383
Then persistence for "Persistent" is active 0.239
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 5.775
And I delete the data of the Persistent Folder feature 4.358
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:330 1.875
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.828
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 9.511
And the network is plugged 0.077
And Tor is ready 21.739
And I take note of which tps features are available 0.728
When I write some files expected to persist 1.621
And I shutdown Tails and wait for the computer to power off 9.411
# 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.739
After features/support/hooks.rb:330 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.469
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.278
And the network is plugged 0.277
And Tor is ready 20.669
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.324
And I shutdown Tails and wait for the computer to power off 10.812
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.572
And I capture all network traffic 0.008
And the network is plugged 0.081
And Tor is ready 17.888
And I switch to the "persistent-con-current" NetworkManager connection 0.349
And the 1st network device has a spoofed MAC address configured 0.069
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:330 0.655
After features/support/hooks.rb:100 0.041
Tags: @product
1:25.232
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 19.409
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.181
Then I create a persistent partition with the default settings using the wizard that was already open 36.515
After features/support/hooks.rb:330 3.704
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.669
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 19.458
When I enable persistence 42.604
Then no persistent Greeter options were restored 15.199
When I set all Greeter options to non-default values 33.005
And I log in to a new session in German (de) after having activated the Persistent Storage 49.298
Then all Greeter options are set to non-default values 0.674
When I cold reboot the computer 8.478
And the computer reboots Tails 1:11.765
Given I enable persistence 18.673
Then persistent Greeter options were restored 0.568
When I log in to a new session after having activated the Persistent Storage 47.731
Then all Greeter options are set to non-default values 0.211
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.009
Tags: @product
3:59.145
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.819
# 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 34.243
And I shutdown Tails and wait for the computer to power off 13.199
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.714
And I change the passphrase of the Persistent Storage back to the original 31.168
After features/support/hooks.rb:330 3.274
After features/support/hooks.rb:100 0.008
Tags: @product
58.524
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 12.193
And I log in to a new session without activating the Persistent Storage 20.366
Then persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 6.632
And all notifications have disappeared 10.636
When I delete the persistent partition 7.201
Then there is no persistence partition on USB drive "__internal" 1.230
After features/support/hooks.rb:330 1.721
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.534
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 11.272
When I write some dotfile expected to persist 0.126
And I shutdown Tails and wait for the computer to power off 14.158
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.537
Then the expected persistent dotfile is present in the filesystem 0.438
After features/support/hooks.rb:330 1.059
After features/support/hooks.rb:100 0.012
Tags: @product
1:56.144
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 10.256
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.336
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.291
When I log in to a new session after having activated the Persistent Storage 44.418
And all notifications have disappeared 8.500
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.720
And all tps features are enabled 2.523
And all tps features but the first one are active 3.000
After features/support/hooks.rb:330 2.339
After features/support/hooks.rb:100 0.000
Tags: @product
6:11.494
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:45.535
And I enable persistence 33.473
And I log in to a new session after having activated the Persistent Storage 47.702
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.712
And persistence is enabled 3.071
After features/support/hooks.rb:330 1.970
After features/support/hooks.rb:100 0.000
Tags: @product
46.431
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 13.998
And I enable persistence but something goes wrong during the LUKS header upgrade 31.375
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.057
After features/support/hooks.rb:330 0.975
After features/support/hooks.rb:100 0.000
Tags: @product
56.270
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.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.792
When I enable persistence 36.719
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 3.236
After features/support/hooks.rb:330 1.943
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.506
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.403
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.791
When I try to enable persistence 0.549
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.590
When I repair the filesystem of the Persistent Storage 3.759
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.657
And the filesystem of the Persistent Storage was repaired 4.769
When I close the filesystem repair dialog 1.314
Then persistence is successfully enabled 1.672
After features/support/hooks.rb:330 1.885
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.765
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.977
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.300
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.854
When I repair the filesystem of the Persistent Storage 2.425
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.105
When I log in to a new session 50.020
And all notifications have disappeared 12.884
# 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.466
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.589
When I close the "whisperback" window 1.581
Then the Tor Browser starts 19.539
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.892
After features/support/hooks.rb:330 3.809
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.053
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.960
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.586
And Tails detects disk read failures on the boot device 0.656
When I try to enable persistence 0.666
Then the Welcome Screen tells me that my hardware is probably failing 26.135
When I log in to a new session 49.954
And all notifications have disappeared 10.414
Then the Tor Browser starts 18.982
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.696
After features/support/hooks.rb:330 4.661
After features/support/hooks.rb:100 0.000