Project Number Date
test_Tails_ISO_devel 3897 05 Jul 2025, 14:27

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:20.860 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:34.155
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.957
And I update APT using apt 16.790
And I install "python3-behave" using apt 30.142
Then the Tails Persistent Storage behave tests pass 3.265
After features/support/hooks.rb:330 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
53.039
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 13.293
When I log in to a new session without activating the Persistent Storage 27.353
Then Tails is running from USB drive "__internal" 0.944
And persistence is disabled 0.483
But a Tails persistence partition exists on USB drive "__internal" 10.963
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.781
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.717
Then Tails is running from USB drive "__internal" 1.300
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 33.320
Then the file I created was copied to the Persistent Storage 2.443
When I shutdown Tails and wait for the computer to power off 14.218
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:38.844
Then persistence for "Persistent" is active 0.702
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 1.724
After features/support/hooks.rb:100 0.011
Tags: @product
1:12.829
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.025
And the system is very low on memory 4.459
When I create a file in the Persistent directory 1.249
When I try to create a persistent partition 31.593
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.352
When I close the Persistent Storage app 2.615
And I free up some memory 2.828
And I create a persistent partition with the default settings 15.418
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:330 2.758
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.602
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 27.749
Then Tails is running from USB drive "__internal" 0.530
And all tps features are active 3.015
And all persistent directories have safe access rights 3.476
When I disable the first tps feature 6.542
Then all tps features but the first one are active 2.090
And I shutdown Tails and wait for the computer to power off 12.225
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.606
Then all tps features but the first one are active 3.365
After features/support/hooks.rb:330 1.675
After features/support/hooks.rb:100 0.009
Tags: @product
24.301
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.687
Then persistence for "Persistent" is active 0.066
And I create a file in the Persistent directory 0.122
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 7.473
Then persistence for "Persistent" is not active 0.177
And the Persistent directory does not exist 0.098
When I enable the first tps feature 3.284
Then persistence for "Persistent" is active 0.115
And the file I created in the Persistent directory exists 0.202
After features/support/hooks.rb:330 1.233
After features/support/hooks.rb:100 0.000
Tags: @product
22.711
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.824
Then persistence for "Persistent" is active 0.082
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 6.837
And I delete the data of the Persistent Folder feature 3.834
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.030
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.414
And the network is plugged 0.083
And Tor is ready 24.855
And I take note of which tps features are available 0.569
When I write some files expected to persist 1.506
And I shutdown Tails and wait for the computer to power off 9.846
# 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.754
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.135
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.108
And the network is plugged 0.181
And Tor is ready 21.493
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.249
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.075
And I capture all network traffic 0.014
And the network is plugged 0.101
And Tor is ready 20.716
And I switch to the "persistent-con-current" NetworkManager connection 0.740
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.156
After features/support/hooks.rb:330 0.993
After features/support/hooks.rb:100 0.071
Tags: @product
1:6.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 without a persistent partition and stopped at Tails Greeter's login screen 11.867
And I enable persistence creation in Tails Greeter 1.174
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.865
Then I create a persistent partition with the default settings using the wizard that was already open 24.246
After features/support/hooks.rb:330 2.374
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.479
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.502
When I enable persistence 40.636
Then no persistent Greeter options were restored 14.644
When I set all Greeter options to non-default values 34.933
And I log in to a new session in German (de) after having activated the Persistent Storage 48.271
Then all Greeter options are set to non-default values 0.830
When I cold reboot the computer 8.237
And the computer reboots Tails 1:9.868
Given I enable persistence 22.955
Then persistent Greeter options were restored 0.616
When I log in to a new session after having activated the Persistent Storage 44.629
Then all Greeter options are set to non-default values 0.352
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.009
Tags: @product
4:39.775
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.298
# 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 43.902
And I shutdown Tails and wait for the computer to power off 13.779
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:39.718
And I change the passphrase of the Persistent Storage back to the original 52.076
After features/support/hooks.rb:330 3.512
After features/support/hooks.rb:100 0.010
Tags: @product
1:3.700
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.587
And I log in to a new session without activating the Persistent Storage 24.360
Then persistence is disabled 0.560
But a Tails persistence partition exists on USB drive "__internal" 9.836
And all notifications have disappeared 10.636
When I delete the persistent partition 6.809
Then there is no persistence partition on USB drive "__internal" 0.908
After features/support/hooks.rb:330 1.311
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.884
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.041
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 11.111
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.251
Then the expected persistent dotfile is present in the filesystem 0.413
After features/support/hooks.rb:330 1.687
After features/support/hooks.rb:100 0.010
Tags: @product
1:56.399
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 12.577
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.132
When I try to enable persistence 0.411
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.943
When I log in to a new session after having activated the Persistent Storage 49.415
And all notifications have disappeared 8.677
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.639
And all tps features are enabled 2.610
And all tps features but the first one are active 1.992
After features/support/hooks.rb:330 1.302
After features/support/hooks.rb:100 0.000
Tags: @product
5:37.893
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
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:8.516
And I enable persistence 39.733
And I log in to a new session after having activated the Persistent Storage 43.616
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.930
And persistence is enabled 3.098
After features/support/hooks.rb:330 2.300
After features/support/hooks.rb:100 0.000
Tags: @product
36.444
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 11.808
And I enable persistence but something goes wrong during the LUKS header upgrade 23.864
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.771
After features/support/hooks.rb:330 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
55.164
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 11.289
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.306
When I enable persistence 34.022
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 3.457
After features/support/hooks.rb:330 1.810
After features/support/hooks.rb:100 0.000
Tags: @product
59.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 with a persistent partition and stopped at Tails Greeter's login screen 9.330
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.889
When I try to enable persistence 0.579
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.055
When I repair the filesystem of the Persistent Storage 5.381
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.256
And the filesystem of the Persistent Storage was repaired 3.501
When I close the filesystem repair dialog 1.274
Then persistence is successfully enabled 1.811
After features/support/hooks.rb:330 1.602
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.761
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.714
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.518
When I try to enable persistence 0.505
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.470
When I repair the filesystem of the Persistent Storage 1.285
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 45.210
And all notifications have disappeared 11.347
# 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.550
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.729
When I close the "whisperback" window 1.427
Then the Tor Browser starts 22.550
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.374
After features/support/hooks.rb:330 3.929
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.534
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.071
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.484
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.908
And Tails detects disk read failures on the boot device 1.605
When I try to enable persistence 1.142
Then the Welcome Screen tells me that my hardware is probably failing 26.418
When I log in to a new session 50.513
And all notifications have disappeared 10.042
Then the Tor Browser starts 25.501
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.918
After features/support/hooks.rb:330 3.044
After features/support/hooks.rb:100 0.000