Project Number Date
test_Tails_ISO_stable 5517 16 Mar 2025, 13:00

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 48:10.762 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:9.573
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.365
And I update APT using apt 3:52.113
And I install "python3-behave" using apt 25.972
Then the Tails Persistent Storage behave tests pass 3.122
After features/support/hooks.rb:330 0.672
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.237
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.623
When I log in to a new session without activating the Persistent Storage 24.774
Then Tails is running from USB drive "__internal" 0.644
And persistence is disabled 0.595
But a Tails persistence partition exists on USB drive "__internal" 24.598
After features/support/hooks.rb:330 2.926
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.626
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 without a persistent partition and logged in 14.780
Then Tails is running from USB drive "__internal" 0.451
When I create a file in the Persistent directory 0.305
And I create a persistent partition with the default settings 24.719
Then the file I created was copied to the Persistent Storage 0.546
When I shutdown Tails and wait for the computer to power off 15.993
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.335
Then persistence for "Persistent" is active 0.426
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.669
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.969
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 without a persistent partition and logged in 12.302
And the system is very low on memory 4.932
When I create a file in the Persistent directory 1.712
When I try to create a persistent partition 27.072
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.601
And I free up some memory 1.475
And I create a persistent partition with the default settings 13.272
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:330 2.575
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.067
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.562
Then Tails is running from USB drive "__internal" 0.413
And all tps features are active 2.420
And all persistent directories have safe access rights 2.948
When I disable the first tps feature 7.273
Then all tps features but the first one are active 2.160
And I shutdown Tails and wait for the computer to power off 13.493
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.378
Then all tps features but the first one are active 6.415
After features/support/hooks.rb:330 1.580
After features/support/hooks.rb:100 0.009
Tags: @product
23.379
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.753
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.110
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 6.761
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.246
Then persistence for "Persistent" is active 0.102
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.492
After features/support/hooks.rb:100 0.000
Tags: @product
21.187
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.663
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.515
And I delete the data of the Persistent Folder feature 3.778
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 2.492
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.547
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.252
And the network is plugged 0.484
And Tor is ready 23.161
And I take note of which tps features are available 3.648
When I write some files expected to persist 1.626
And I shutdown Tails and wait for the computer to power off 10.718
# 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.655
After features/support/hooks.rb:330 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.389
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.388
And the network is plugged 0.121
And Tor is ready 20.899
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.636
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.780
And I capture all network traffic 0.006
And the network is plugged 0.084
And Tor is ready 21.630
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.082
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.078
Tags: @product
1:7.567
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 15.716
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.461
Then I create a persistent partition with the default settings using the wizard that was already open 27.262
After features/support/hooks.rb:330 3.044
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.585
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.678
When I enable persistence 53.347
Then no persistent Greeter options were restored 15.142
When I set all Greeter options to non-default values 35.323
And I log in to a new session in German (de) after having activated the Persistent Storage 56.854
Then all Greeter options are set to non-default values 0.375
When I cold reboot the computer 7.483
And the computer reboots Tails 1:5.655
Given I enable persistence 24.539
Then persistent Greeter options were restored 0.600
When I log in to a new session after having activated the Persistent Storage 38.682
Then all Greeter options are set to non-default values 0.902
After features/support/hooks.rb:330 1.913
After features/support/hooks.rb:100 0.010
Tags: @product
3:55.484
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 10.626
# 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 37.393
And I shutdown Tails and wait for the computer to power off 11.384
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.254
And I change the passphrase of the Persistent Storage back to the original 38.825
After features/support/hooks.rb:330 1.823
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.538
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.758
And I log in to a new session without activating the Persistent Storage 22.973
Then persistence is disabled 0.611
But a Tails persistence partition exists on USB drive "__internal" 10.267
And all notifications have disappeared 10.963
When I delete the persistent partition 6.505
Then there is no persistence partition on USB drive "__internal" 0.457
After features/support/hooks.rb:330 1.650
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.701
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.313
When I write some dotfile expected to persist 0.063
And I shutdown Tails and wait for the computer to power off 11.039
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.806
Then the expected persistent dotfile is present in the filesystem 0.479
After features/support/hooks.rb:330 1.079
After features/support/hooks.rb:100 0.007
Tags: @product
1:45.363
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.902
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 1.463
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.902
When I log in to a new session after having activated the Persistent Storage 41.489
And all notifications have disappeared 8.057
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.513
And all tps features are enabled 2.588
And all tps features but the first one are active 2.366
After features/support/hooks.rb:330 2.147
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.650
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:45.481
And I enable persistence 41.470
And I log in to a new session after having activated the Persistent Storage 46.752
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.359
And persistence is enabled 2.585
After features/support/hooks.rb:330 2.919
After features/support/hooks.rb:100 0.000
Tags: @product
31.387
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 9.701
And I enable persistence but something goes wrong during the LUKS header upgrade 20.788
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.897
After features/support/hooks.rb:330 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
47.375
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 10.169
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.023
When I enable persistence 29.387
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.706
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
48.040
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.704
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.657
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.237
When I repair the filesystem of the Persistent Storage 1.294
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.544
And the filesystem of the Persistent Storage was repaired 1.292
When I close the filesystem repair dialog 1.303
Then persistence is successfully enabled 1.583
After features/support/hooks.rb:330 3.300
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.596
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.880
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.103
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.418
When I repair the filesystem of the Persistent Storage 1.320
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.094
When I log in to a new session 41.966
And all notifications have disappeared 10.295
# 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.429
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.671
When I close the "whisperback" window 1.799
Then the Tor Browser starts 18.409
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.929
After features/support/hooks.rb:330 2.082
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.492
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.144
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.087
And Tails detects disk read failures on the boot device 0.517
When I try to enable persistence 0.514
Then the Welcome Screen tells me that my hardware is probably failing 21.303
When I log in to a new session 47.722
And all notifications have disappeared 8.598
Then the Tor Browser starts 22.736
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.868
After features/support/hooks.rb:330 2.751
After features/support/hooks.rb:100 0.000