Project Number Date
test_Tails_ISO_devel 3827 21 May 2025, 13:07

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:39.377 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.607
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:34.681
And I update APT using apt 13.469
And I install "python3-behave" using apt 26.196
Then the Tails Persistent Storage behave tests pass 2.259
After features/support/hooks.rb:330 0.729
After features/support/hooks.rb:100 0.000
Tags: @product
51.378
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.392
When I log in to a new session without activating the Persistent Storage 25.108
Then Tails is running from USB drive "__internal" 0.950
And persistence is disabled 0.751
But a Tails persistence partition exists on USB drive "__internal" 11.175
After features/support/hooks.rb:330 2.624
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.413
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 13.870
Then Tails is running from USB drive "__internal" 0.398
When I create a file in the Persistent directory 0.114
And I create a persistent partition with the default settings 23.790
Then the file I created was copied to the Persistent Storage 2.341
When I shutdown Tails and wait for the computer to power off 12.888
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.601
Then persistence for "Persistent" is active 0.337
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 2.006
After features/support/hooks.rb:100 0.009
Tags: @product
1:9.468
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 12.902
And the system is very low on memory 5.738
When I create a file in the Persistent directory 1.363
When I try to create a persistent partition 29.547
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.360
When I close the Persistent Storage app 2.954
And I free up some memory 3.877
And I create a persistent partition with the default settings 12.458
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:330 2.058
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.317
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.727
Then Tails is running from USB drive "__internal" 0.599
And all tps features are active 2.653
And all persistent directories have safe access rights 2.658
When I disable the first tps feature 6.286
Then all tps features but the first one are active 2.380
And I shutdown Tails and wait for the computer to power off 15.477
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.244
Then all tps features but the first one are active 2.291
After features/support/hooks.rb:330 1.472
After features/support/hooks.rb:100 0.008
Tags: @product
20.504
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.211
Then persistence for "Persistent" is active 0.207
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 6.260
Then persistence for "Persistent" is not active 0.101
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.345
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.604
After features/support/hooks.rb:100 0.000
Tags: @product
19.973
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.861
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.163
And I disable the first tps feature 6.105
And I delete the data of the Persistent Folder feature 3.697
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.680
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.039
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.786
And the network is plugged 0.068
And Tor is ready 19.627
And I take note of which tps features are available 0.605
When I write some files expected to persist 1.444
And I shutdown Tails and wait for the computer to power off 8.603
# 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.904
After features/support/hooks.rb:330 0.124
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.041
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.009
And the network is plugged 0.069
And Tor is ready 18.790
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 8.475
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.387
And I capture all network traffic 0.005
And the network is plugged 0.066
And Tor is ready 17.422
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:330 0.569
After features/support/hooks.rb:100 0.039
Tags: @product
1:0.230
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 12.831
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.753
Then I create a persistent partition with the default settings using the wizard that was already open 25.525
After features/support/hooks.rb:330 2.168
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.945
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 12.279
When I enable persistence 35.655
Then no persistent Greeter options were restored 14.322
When I set all Greeter options to non-default values 28.015
And I log in to a new session in German (de) after having activated the Persistent Storage 46.030
Then all Greeter options are set to non-default values 0.634
When I cold reboot the computer 7.983
And the computer reboots Tails 1:3.246
Given I enable persistence 18.533
Then persistent Greeter options were restored 0.546
When I log in to a new session after having activated the Persistent Storage 43.406
Then all Greeter options are set to non-default values 0.292
After features/support/hooks.rb:330 1.719
After features/support/hooks.rb:100 0.009
Tags: @product
3:50.058
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.171
# 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 39.311
And I shutdown Tails and wait for the computer to power off 15.160
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.871
And I change the passphrase of the Persistent Storage back to the original 35.543
After features/support/hooks.rb:330 3.247
After features/support/hooks.rb:100 0.008
Tags: @product
52.784
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.877
And I log in to a new session without activating the Persistent Storage 20.524
Then persistence is disabled 0.258
But a Tails persistence partition exists on USB drive "__internal" 5.756
And all notifications have disappeared 8.509
When I delete the persistent partition 6.881
Then there is no persistence partition on USB drive "__internal" 0.976
After features/support/hooks.rb:330 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.094
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.861
When I write some dotfile expected to persist 0.142
And I shutdown Tails and wait for the computer to power off 10.870
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.883
Then the expected persistent dotfile is present in the filesystem 0.336
After features/support/hooks.rb:330 1.328
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.538
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.292
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.263
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.735
When I log in to a new session after having activated the Persistent Storage 43.273
And all notifications have disappeared 7.849
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.114
And all tps features are enabled 2.798
And all tps features but the first one are active 2.120
After features/support/hooks.rb:330 1.693
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.878
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 3:32.687
And I enable persistence 31.956
And I log in to a new session after having activated the Persistent Storage 44.383
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.196
And persistence is enabled 2.655
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.000
Tags: @product
33.087
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.981
And I enable persistence but something goes wrong during the LUKS header upgrade 23.289
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.816
After features/support/hooks.rb:330 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
46.514
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 8.821
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.688
When I enable persistence 30.194
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.723
After features/support/hooks.rb:330 2.708
After features/support/hooks.rb:100 0.000
Tags: @product
51.132
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.795
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.745
When I try to enable persistence 0.375
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.618
When I repair the filesystem of the Persistent Storage 5.098
Then the Welcome Screen tells me that the filesystem was repaired successfully 3.980
And the filesystem of the Persistent Storage was repaired 2.740
When I close the filesystem repair dialog 1.254
Then persistence is successfully enabled 1.525
After features/support/hooks.rb:330 1.503
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.001
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.089
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.084
When I try to enable persistence 0.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.216
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 38.872
And all notifications have disappeared 8.931
# 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.331
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.264
When I close the "whisperback" window 1.417
Then the Tor Browser starts 20.352
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.825
After features/support/hooks.rb:330 2.878
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.366
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 8.922
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.682
And Tails detects disk read failures on the boot device 1.527
When I try to enable persistence 0.403
Then the Welcome Screen tells me that my hardware is probably failing 18.709
When I log in to a new session 47.683
And all notifications have disappeared 7.833
Then the Tor Browser starts 22.805
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.797
After features/support/hooks.rb:330 1.625
After features/support/hooks.rb:100 0.000