Project Number Date
test_Tails_ISO_stable 5510 12 Mar 2025, 11:55

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 44:7.153 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:51.003
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:10.044
And I update APT using apt 12.599
And I install "python3-behave" using apt 25.724
Then the Tails Persistent Storage behave tests pass 2.634
After features/support/hooks.rb:330 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
57.697
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 17.597
When I log in to a new session without activating the Persistent Storage 25.749
Then Tails is running from USB drive "__internal" 0.663
And persistence is disabled 0.421
But a Tails persistence partition exists on USB drive "__internal" 13.265
After features/support/hooks.rb:330 2.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.891
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 26.022
Then Tails is running from USB drive "__internal" 0.490
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 30.022
Then the file I created was copied to the Persistent Storage 0.646
When I shutdown Tails and wait for the computer to power off 14.256
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.718
Then persistence for "Persistent" is active 0.482
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.863
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.730
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 11.867
And the system is very low on memory 4.633
When I create a file in the Persistent directory 1.036
When I try to create a persistent partition 28.393
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.161
When I close the Persistent Storage app 2.672
And I free up some memory 1.738
And I create a persistent partition with the default settings 12.977
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:330 2.335
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.493
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 22.383
Then Tails is running from USB drive "__internal" 0.396
And all tps features are active 7.394
And all persistent directories have safe access rights 2.593
When I disable the first tps feature 7.616
Then all tps features but the first one are active 6.821
And I shutdown Tails and wait for the computer to power off 16.104
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.508
Then all tps features but the first one are active 2.675
After features/support/hooks.rb:330 1.198
After features/support/hooks.rb:100 0.007
Tags: @product
22.211
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.513
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.143
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.074
When I enable the first tps feature 3.977
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
19.873
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.741
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.154
And I delete the data of the Persistent Folder feature 3.729
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:330 1.393
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.371
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.136
And the network is plugged 0.084
And Tor is ready 19.908
And I take note of which tps features are available 1.030
When I write some files expected to persist 1.510
And I shutdown Tails and wait for the computer to power off 8.948
# 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.751
After features/support/hooks.rb:330 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.315
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.195
And the network is plugged 0.323
And Tor is ready 20.147
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.189
And I shutdown Tails and wait for the computer to power off 8.834
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.435
And I capture all network traffic 0.007
And the network is plugged 0.097
And Tor is ready 19.463
And I switch to the "persistent-con-current" NetworkManager connection 0.387
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:330 0.715
After features/support/hooks.rb:100 0.048
Tags: @product
1:1.348
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 12.747
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 23.393
Then I create a persistent partition with the default settings using the wizard that was already open 24.094
After features/support/hooks.rb:330 2.339
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.351
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.853
When I enable persistence 37.955
Then no persistent Greeter options were restored 14.183
When I set all Greeter options to non-default values 26.177
And I log in to a new session in German (de) after having activated the Persistent Storage 55.163
Then all Greeter options are set to non-default values 0.447
When I cold reboot the computer 7.632
And the computer reboots Tails 1:5.240
Given I enable persistence 21.144
Then persistent Greeter options were restored 0.488
When I log in to a new session after having activated the Persistent Storage 39.424
Then all Greeter options are set to non-default values 0.640
After features/support/hooks.rb:330 1.462
After features/support/hooks.rb:100 0.007
Tags: @product
3:39.190
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.050
# 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 36.928
And I shutdown Tails and wait for the computer to power off 12.641
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.940
And I change the passphrase of the Persistent Storage back to the original 34.629
After features/support/hooks.rb:330 1.981
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.219
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 10.209
And I log in to a new session without activating the Persistent Storage 21.339
Then persistence is disabled 0.361
But a Tails persistence partition exists on USB drive "__internal" 10.646
And all notifications have disappeared 11.660
When I delete the persistent partition 6.537
Then there is no persistence partition on USB drive "__internal" 0.463
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.477
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.917
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 8.477
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.556
Then the expected persistent dotfile is present in the filesystem 0.465
After features/support/hooks.rb:330 1.456
After features/support/hooks.rb:100 0.009
Tags: @product
1:40.700
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.498
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.418
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.756
When I log in to a new session after having activated the Persistent Storage 40.709
And all notifications have disappeared 8.105
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.516
And all tps features are enabled 4.543
And all tps features but the first one are active 3.069
After features/support/hooks.rb:330 1.901
After features/support/hooks.rb:100 0.000
Tags: @product
5:54.244
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
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:25.963
And I enable persistence 33.065
And I log in to a new session after having activated the Persistent Storage 49.293
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.627
And persistence is enabled 3.294
After features/support/hooks.rb:330 1.776
After features/support/hooks.rb:100 0.000
Tags: @product
32.636
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.663
And I enable persistence but something goes wrong during the LUKS header upgrade 21.150
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.822
After features/support/hooks.rb:330 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
52.830
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.697
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.559
When I enable persistence 31.646
Then the filesystem of the Persistent Storage was repaired 0.118
And persistence is successfully enabled 2.808
After features/support/hooks.rb:330 1.577
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.178
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 22.302
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.546
When I try to enable persistence 1.534
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.393
When I repair the filesystem of the Persistent Storage 1.319
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.964
And the filesystem of the Persistent Storage was repaired 2.314
When I close the filesystem repair dialog 5.119
Then persistence is successfully enabled 1.683
After features/support/hooks.rb:330 1.553
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.631
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 9.393
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.155
When I try to enable persistence 0.290
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.994
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 41.322
And all notifications have disappeared 10.076
# 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" 1.070
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.681
When I close the "whisperback" window 1.763
Then the Tor Browser starts 20.537
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.982
After features/support/hooks.rb:330 2.021
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.755
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.009
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.318
And Tails detects disk read failures on the boot device 0.555
When I try to enable persistence 0.460
Then the Welcome Screen tells me that my hardware is probably failing 18.476
When I log in to a new session 50.712
And all notifications have disappeared 8.551
Then the Tor Browser starts 22.822
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.848
After features/support/hooks.rb:330 2.434
After features/support/hooks.rb:100 0.000