Project Number Date
test_Tails_ISO_stable 5484 01 Mar 2025, 12:32

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 39:7.079 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.847
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.152
And I update APT using apt 13.821
And I install "python3-behave" using apt 22.693
Then the Tails Persistent Storage behave tests pass 3.180
After features/support/hooks.rb:330 0.606
After features/support/hooks.rb:100 0.000
Tags: @product
40.839
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 11.303
When I log in to a new session without activating the Persistent Storage 22.262
Then Tails is running from USB drive "__internal" 0.589
And persistence is disabled 0.235
But a Tails persistence partition exists on USB drive "__internal" 6.447
After features/support/hooks.rb:330 1.314
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.473
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 12.351
Then Tails is running from USB drive "__internal" 0.401
When I create a file in the Persistent directory 0.116
And I create a persistent partition with the default settings 23.557
Then the file I created was copied to the Persistent Storage 0.642
When I shutdown Tails and wait for the computer to power off 12.578
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.356
Then persistence for "Persistent" is active 0.403
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.899
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.064
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 10.850
And the system is very low on memory 4.248
When I create a file in the Persistent directory 0.576
When I try to create a persistent partition 31.363
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.163
When I close the Persistent Storage app 2.554
And I free up some memory 1.834
And I create a persistent partition with the default settings 14.267
Then the file I created was copied to the Persistent Storage 0.205
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.720
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 persistent partition enabled and logged in 12.945
Then Tails is running from USB drive "__internal" 0.436
And all tps features are active 2.426
And all persistent directories have safe access rights 2.750
When I disable the first tps feature 6.831
Then all tps features but the first one are active 2.276
And I shutdown Tails and wait for the computer to power off 15.034
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.851
Then all tps features but the first one are active 2.166
After features/support/hooks.rb:330 1.085
After features/support/hooks.rb:100 0.008
Tags: @product
19.570
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 9.886
Then persistence for "Persistent" is active 0.467
And I create a file in the Persistent directory 0.126
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 5.666
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.080
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.123
After features/support/hooks.rb:100 0.000
Tags: @product
18.958
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 8.919
Then persistence for "Persistent" is active 0.395
When I create a file in the Persistent directory 0.262
And I disable the first tps feature 5.700
And I delete the data of the Persistent Folder feature 3.611
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.375
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.845
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.496
And the network is plugged 0.087
And Tor is ready 22.790
And I take note of which tps features are available 0.585
When I write some files expected to persist 1.422
And I shutdown Tails and wait for the computer to power off 8.366
# 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.097
After features/support/hooks.rb:330 0.096
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.879
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.441
And the network is plugged 0.095
And Tor is ready 27.939
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.318
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.403
And I capture all network traffic 0.006
And the network is plugged 0.095
And Tor is ready 19.776
And I switch to the "persistent-con-current" NetworkManager connection 0.393
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:330 0.627
After features/support/hooks.rb:100 0.068
Tags: @product
55.791
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 13.139
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 19.225
Then I create a persistent partition with the default settings using the wizard that was already open 22.314
After features/support/hooks.rb:330 1.737
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.628
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 and stopped at Tails Greeter's login screen 12.954
When I enable persistence 34.799
Then no persistent Greeter options were restored 14.317
When I set all Greeter options to non-default values 24.632
And I log in to a new session in German (de) after having activated the Persistent Storage 45.348
Then all Greeter options are set to non-default values 0.766
When I cold reboot the computer 7.259
And the computer reboots Tails 1:0.389
Given I enable persistence 17.947
Then persistent Greeter options were restored 0.497
When I log in to a new session after having activated the Persistent Storage 36.283
Then all Greeter options are set to non-default values 0.430
After features/support/hooks.rb:330 1.340
After features/support/hooks.rb:100 0.008
Tags: @product
3:42.044
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 enabled and logged in 10.049
# 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 33.876
And I shutdown Tails and wait for the computer to power off 12.414
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.404
And I change the passphrase of the Persistent Storage back to the original 30.299
After features/support/hooks.rb:330 2.339
After features/support/hooks.rb:100 0.008
Tags: @product
53.226
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.581
And I log in to a new session without activating the Persistent Storage 18.921
Then persistence is disabled 0.406
But a Tails persistence partition exists on USB drive "__internal" 5.937
And all notifications have disappeared 10.580
When I delete the persistent partition 7.380
Then there is no persistence partition on USB drive "__internal" 0.419
After features/support/hooks.rb:330 1.096
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.580
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.117
When I write some dotfile expected to persist 0.260
And I shutdown Tails and wait for the computer to power off 8.695
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.094
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:330 1.639
After features/support/hooks.rb:100 0.030
Tags: @product
1:36.091
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.715
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.316
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 25.989
When I log in to a new session after having activated the Persistent Storage 42.137
And all notifications have disappeared 10.031
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.221
And all tps features are enabled 2.401
And all tps features but the first one are active 2.186
After features/support/hooks.rb:330 1.175
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.048
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 3:29.327
And I enable persistence 33.874
And I log in to a new session after having activated the Persistent Storage 45.628
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.486
And persistence is enabled 2.730
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.000
Tags: @product
30.441
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 10.772
And I enable persistence but something goes wrong during the LUKS header upgrade 18.905
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.764
After features/support/hooks.rb:330 0.697
After features/support/hooks.rb:100 0.000
Tags: @product
44.866
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.008
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.527
When I enable persistence 27.456
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.780
After features/support/hooks.rb:330 1.227
After features/support/hooks.rb:100 0.000
Tags: @product
45.447
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.325
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.144
When I try to enable persistence 0.600
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.905
When I repair the filesystem of the Persistent Storage 1.861
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.075
And the filesystem of the Persistent Storage was repaired 0.851
When I close the filesystem repair dialog 1.186
Then persistence is successfully enabled 1.495
After features/support/hooks.rb:330 0.968
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.782
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.764
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.124
When I try to enable persistence 0.252
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.118
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.069
When I log in to a new session 38.992
And all notifications have disappeared 7.746
# 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.509
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.310
When I close the "whisperback" window 1.443
Then the Tor Browser starts 20.348
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.849
After features/support/hooks.rb:330 2.490
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.930
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.150
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.529
And Tails detects disk read failures on the boot device 0.502
When I try to enable persistence 0.480
Then the Welcome Screen tells me that my hardware is probably failing 17.455
When I log in to a new session 45.633
And all notifications have disappeared 9.773
Then the Tor Browser starts 17.612
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.791
After features/support/hooks.rb:330 2.012
After features/support/hooks.rb:100 0.000