Project Number Date
test_Tails_ISO_stable 5665 20 May 2025, 21:10

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 37:54.405 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.324
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:31.702
And I update APT using apt 13.694
And I install "python3-behave" using apt 22.969
Then the Tails Persistent Storage behave tests pass 2.959
After features/support/hooks.rb:330 0.653
After features/support/hooks.rb:100 0.000
Tags: @product
42.229
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.552
When I log in to a new session without activating the Persistent Storage 20.732
Then Tails is running from USB drive "__internal" 0.693
And persistence is disabled 0.359
But a Tails persistence partition exists on USB drive "__internal" 9.892
After features/support/hooks.rb:330 1.522
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.380
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 13.182
Then Tails is running from USB drive "__internal" 0.521
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 23.693
Then the file I created was copied to the Persistent Storage 1.996
When I shutdown Tails and wait for the computer to power off 12.428
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.978
Then persistence for "Persistent" is active 0.346
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.765
After features/support/hooks.rb:100 0.010
Tags: @product
58.770
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.681
And the system is very low on memory 3.867
When I create a file in the Persistent directory 0.918
When I try to create a persistent partition 25.213
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.219
When I close the Persistent Storage app 2.689
And I free up some memory 3.354
And I create a persistent partition with the default settings 11.577
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:330 2.253
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.085
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.403
Then Tails is running from USB drive "__internal" 0.350
And all tps features are active 2.390
And all persistent directories have safe access rights 2.391
When I disable the first tps feature 5.424
Then all tps features but the first one are active 1.918
And I shutdown Tails and wait for the computer to power off 12.410
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.708
Then all tps features but the first one are active 2.087
After features/support/hooks.rb:330 1.446
After features/support/hooks.rb:100 0.009
Tags: @product
19.281
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.029
Then persistence for "Persistent" is active 0.086
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 5.697
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.071
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 1.466
After features/support/hooks.rb:100 0.000
Tags: @product
19.419
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.931
Then persistence for "Persistent" is active 0.082
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 5.737
And I delete the data of the Persistent Folder feature 3.551
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.796
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.662
And the network is plugged 0.110
And Tor is ready 19.826
And I take note of which tps features are available 0.539
When I write some files expected to persist 1.404
And I shutdown Tails and wait for the computer to power off 8.452
# 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" 23.799
After features/support/hooks.rb:330 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.497
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.816
And the network is plugged 0.118
And Tor is ready 18.329
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 8.489
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.992
And I capture all network traffic 0.007
And the network is plugged 0.084
And Tor is ready 18.839
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.066
And no network device leaked the real MAC address 0.119
After features/support/hooks.rb:330 0.783
After features/support/hooks.rb:100 0.056
Tags: @product
52.535
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 11.773
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.441
Then I create a persistent partition with the default settings using the wizard that was already open 21.213
After features/support/hooks.rb:330 2.431
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.403
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 11.597
When I enable persistence 31.216
Then no persistent Greeter options were restored 14.242
When I set all Greeter options to non-default values 27.262
And I log in to a new session in German (de) after having activated the Persistent Storage 42.476
Then all Greeter options are set to non-default values 0.506
When I cold reboot the computer 7.115
And the computer reboots Tails 1:2.475
Given I enable persistence 13.812
Then persistent Greeter options were restored 0.498
When I log in to a new session after having activated the Persistent Storage 37.362
Then all Greeter options are set to non-default values 0.837
After features/support/hooks.rb:330 2.394
After features/support/hooks.rb:100 0.010
Tags: @product
3:35.966
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.647
# 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 30.203
And I shutdown Tails and wait for the computer to power off 14.382
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.936
And I change the passphrase of the Persistent Storage back to the original 36.797
After features/support/hooks.rb:330 3.277
After features/support/hooks.rb:100 0.009
Tags: @product
56.865
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.816
And I log in to a new session without activating the Persistent Storage 19.870
Then persistence is disabled 0.270
But a Tails persistence partition exists on USB drive "__internal" 8.741
And all notifications have disappeared 11.148
When I delete the persistent partition 6.114
Then there is no persistence partition on USB drive "__internal" 0.904
After features/support/hooks.rb:330 1.457
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.960
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.598
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 10.665
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.191
Then the expected persistent dotfile is present in the filesystem 0.428
After features/support/hooks.rb:330 0.623
After features/support/hooks.rb:100 0.018
Tags: @product
1:36.537
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.047
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.867
When I log in to a new session after having activated the Persistent Storage 44.820
And all notifications have disappeared 7.042
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.329
And all tps features are enabled 2.162
And all tps features but the first one are active 1.895
After features/support/hooks.rb:330 1.590
After features/support/hooks.rb:100 0.000
Tags: @product
4:3.626
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 2:48.761
And I enable persistence 28.295
And I log in to a new session after having activated the Persistent Storage 41.552
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.645
And persistence is enabled 3.371
After features/support/hooks.rb:330 1.743
After features/support/hooks.rb:100 0.000
Tags: @product
30.982
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 8.687
And I enable persistence but something goes wrong during the LUKS header upgrade 21.563
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.732
After features/support/hooks.rb:330 0.610
After features/support/hooks.rb:100 0.000
Tags: @product
41.163
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.337
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.911
When I enable persistence 24.121
Then the filesystem of the Persistent Storage was repaired 0.129
And persistence is successfully enabled 2.663
After features/support/hooks.rb:330 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
51.802
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.686
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.594
When I try to enable persistence 1.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.460
When I repair the filesystem of the Persistent Storage 5.074
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.310
And the filesystem of the Persistent Storage was repaired 2.588
When I close the filesystem repair dialog 1.225
Then persistence is successfully enabled 1.408
After features/support/hooks.rb:330 1.951
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.582
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.814
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.962
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.114
When I log in to a new session 36.785
And all notifications have disappeared 8.797
# 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.446
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.111
When I close the "whisperback" window 1.477
Then the Tor Browser starts 18.973
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.463
After features/support/hooks.rb:330 1.905
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.192
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.132
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.604
And Tails detects disk read failures on the boot device 0.482
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 16.527
When I log in to a new session 49.211
And all notifications have disappeared 7.562
Then the Tor Browser starts 17.430
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.827
After features/support/hooks.rb:330 1.744
After features/support/hooks.rb:100 0.000