Project Number Date
test_Tails_ISO_stable 5533 26 Mar 2025, 18:45

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:25.136 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:28.076
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:36.161
And I update APT using apt 3:22.940
And I install "python3-behave" using apt 26.514
Then the Tails Persistent Storage behave tests pass 2.460
After features/support/hooks.rb:330 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.509
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 26.406
When I log in to a new session without activating the Persistent Storage 23.831
Then Tails is running from USB drive "__internal" 0.873
And persistence is disabled 0.493
But a Tails persistence partition exists on USB drive "__internal" 10.904
After features/support/hooks.rb:330 1.827
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.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 without a persistent partition and logged in 44.194
Then Tails is running from USB drive "__internal" 0.353
When I create a file in the Persistent directory 0.184
And I create a persistent partition with the default settings 28.836
Then the file I created was copied to the Persistent Storage 2.633
When I shutdown Tails and wait for the computer to power off 12.855
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.954
Then persistence for "Persistent" is active 0.403
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 0.966
After features/support/hooks.rb:100 0.016
Tags: @product
1:9.917
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 without a persistent partition and logged in 13.533
And the system is very low on memory 3.897
When I create a file in the Persistent directory 1.955
When I try to create a persistent partition 28.149
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.033
When I close the Persistent Storage app 2.649
And I free up some memory 4.795
And I create a persistent partition with the default settings 13.458
Then the file I created was copied to the Persistent Storage 0.445
After features/support/hooks.rb:330 2.620
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.117
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 14.077
Then Tails is running from USB drive "__internal" 0.423
And all tps features are active 3.350
And all persistent directories have safe access rights 2.817
When I disable the first tps feature 7.451
Then all tps features but the first one are active 2.103
And I shutdown Tails and wait for the computer to power off 15.335
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.052
Then all tps features but the first one are active 2.505
After features/support/hooks.rb:330 1.425
After features/support/hooks.rb:100 0.016
Tags: @product
24.297
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.083
Then persistence for "Persistent" is active 0.076
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 7.601
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.073
When I enable the first tps feature 4.049
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.520
After features/support/hooks.rb:100 0.000
Tags: @product
24.223
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 11.704
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 7.631
And I delete the data of the Persistent Folder feature 4.635
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.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 with a persistent partition enabled and logged in 11.547
And the network is plugged 0.072
And Tor is ready 25.031
And I take note of which tps features are available 0.678
When I write some files expected to persist 1.447
And I shutdown Tails and wait for the computer to power off 8.324
# 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.727
After features/support/hooks.rb:330 0.099
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.757
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 12.147
And the network is plugged 0.071
And Tor is ready 23.346
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.202
And I shutdown Tails and wait for the computer to power off 10.860
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.068
And I capture all network traffic 0.016
And the network is plugged 0.070
And Tor is ready 19.373
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.110
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:330 0.639
After features/support/hooks.rb:100 0.056
Tags: @product
1:6.517
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 stopped at Tails Greeter's login screen 14.376
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.191
Then I create a persistent partition with the default settings using the wizard that was already open 26.837
After features/support/hooks.rb:330 3.359
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.856
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 15.776
When I enable persistence 50.514
Then no persistent Greeter options were restored 14.568
When I set all Greeter options to non-default values 26.995
And I log in to a new session in German (de) after having activated the Persistent Storage 47.913
Then all Greeter options are set to non-default values 0.561
When I cold reboot the computer 7.425
And the computer reboots Tails 1:11.136
Given I enable persistence 17.993
Then persistent Greeter options were restored 0.643
When I log in to a new session after having activated the Persistent Storage 40.723
Then all Greeter options are set to non-default values 0.605
After features/support/hooks.rb:330 1.634
After features/support/hooks.rb:100 0.010
Tags: @product
3:41.277
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.022
# 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 35.651
And I shutdown Tails and wait for the computer to power off 12.755
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.204
And I change the passphrase of the Persistent Storage back to the original 28.643
After features/support/hooks.rb:330 3.349
After features/support/hooks.rb:100 0.009
Tags: @product
58.205
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.784
And I log in to a new session without activating the Persistent Storage 21.099
Then persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 8.183
And all notifications have disappeared 11.086
When I delete the persistent partition 6.655
Then there is no persistence partition on USB drive "__internal" 1.010
After features/support/hooks.rb:330 1.403
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.769
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.176
When I write some dotfile expected to persist 0.192
And I shutdown Tails and wait for the computer to power off 8.616
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.302
Then the expected persistent dotfile is present in the filesystem 0.481
After features/support/hooks.rb:330 1.346
After features/support/hooks.rb:100 0.013
Tags: @product
1:41.771
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.136
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.301
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.062
When I log in to a new session after having activated the Persistent Storage 42.024
And all notifications have disappeared 9.520
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.357
And all tps features are enabled 3.048
And all tps features but the first one are active 2.227
After features/support/hooks.rb:330 1.692
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.859
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:36.975
And I enable persistence 36.532
And I log in to a new session after having activated the Persistent Storage 50.973
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.525
And persistence is enabled 2.853
After features/support/hooks.rb:330 1.900
After features/support/hooks.rb:100 0.000
Tags: @product
31.149
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 10.202
And I enable persistence but something goes wrong during the LUKS header upgrade 20.137
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.809
After features/support/hooks.rb:330 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
47.836
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.309
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.883
When I enable persistence 29.917
Then the filesystem of the Persistent Storage was repaired 0.067
And persistence is successfully enabled 2.659
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.000
Tags: @product
50.475
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.720
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.867
When I try to enable persistence 0.389
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.797
When I repair the filesystem of the Persistent Storage 1.891
Then the Welcome Screen tells me that the filesystem was repaired successfully 5.295
And the filesystem of the Persistent Storage was repaired 3.846
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.405
After features/support/hooks.rb:330 1.701
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.600
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 8.829
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.315
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.252
When I repair the filesystem of the Persistent Storage 1.829
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.410
When I log in to a new session 42.953
And all notifications have disappeared 7.584
# 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.908
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.317
When I close the "whisperback" window 1.479
Then the Tor Browser starts 15.800
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.805
After features/support/hooks.rb:330 2.015
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.589
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.651
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.746
And Tails detects disk read failures on the boot device 1.556
When I try to enable persistence 0.535
Then the Welcome Screen tells me that my hardware is probably failing 19.626
When I log in to a new session 53.780
And all notifications have disappeared 8.618
Then the Tor Browser starts 21.151
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.922
After features/support/hooks.rb:330 1.737
After features/support/hooks.rb:100 0.000