Project Number Date
test_Tails_ISO_stable 5527 23 Mar 2025, 12:52

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 49:6.040 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:31.682
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:39.641
And I update APT using apt 2:55.582
And I install "python3-behave" using apt 53.393
Then the Tails Persistent Storage behave tests pass 3.064
After features/support/hooks.rb:330 2.624
After features/support/hooks.rb:100 0.000
Tags: @product
46.285
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 12.597
When I log in to a new session without activating the Persistent Storage 22.910
Then Tails is running from USB drive "__internal" 0.661
And persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 9.731
After features/support/hooks.rb:330 1.758
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.426
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 12.938
Then Tails is running from USB drive "__internal" 0.549
When I create a file in the Persistent directory 0.169
And I create a persistent partition with the default settings 23.963
Then the file I created was copied to the Persistent Storage 0.635
When I shutdown Tails and wait for the computer to power off 16.097
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.556
Then persistence for "Persistent" is active 0.443
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.913
After features/support/hooks.rb:100 0.011
Tags: @product
1:0.320
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 11.727
And the system is very low on memory 2.873
When I create a file in the Persistent directory 1.157
When I try to create a persistent partition 27.109
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.134
When I close the Persistent Storage app 2.532
And I free up some memory 1.509
And I create a persistent partition with the default settings 12.935
Then the file I created was copied to the Persistent Storage 0.340
After features/support/hooks.rb:330 2.345
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.610
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 29.867
Then Tails is running from USB drive "__internal" 0.570
And all tps features are active 3.771
And all persistent directories have safe access rights 2.648
When I disable the first tps feature 6.836
Then all tps features but the first one are active 2.510
And I shutdown Tails and wait for the computer to power off 12.926
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.209
Then all tps features but the first one are active 2.270
After features/support/hooks.rb:330 0.891
After features/support/hooks.rb:100 0.010
Tags: @product
24.130
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.691
Then persistence for "Persistent" is active 1.024
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 6.807
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.143
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.677
After features/support/hooks.rb:100 0.000
Tags: @product
22.720
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.830
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 1.201
And I disable the first tps feature 6.587
And I delete the data of the Persistent Folder feature 3.944
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.475
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.917
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.452
And the network is plugged 0.085
And Tor is ready 23.296
And I take note of which tps features are available 0.790
When I write some files expected to persist 1.718
And I shutdown Tails and wait for the computer to power off 10.874
# 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" 26.699
After features/support/hooks.rb:330 0.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.405
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.022
And the network is plugged 0.081
And Tor is ready 20.380
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.245
And I shutdown Tails and wait for the computer to power off 8.795
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.855
And I capture all network traffic 0.010
And the network is plugged 0.083
And Tor is ready 21.308
And I switch to the "persistent-con-current" NetworkManager connection 0.372
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:330 0.789
After features/support/hooks.rb:100 0.049
Tags: @product
1:19.206
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 25.228
And I enable persistence creation in Tails Greeter 1.177
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.744
Then I create a persistent partition with the default settings using the wizard that was already open 29.056
After features/support/hooks.rb:330 2.358
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.864
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 13.328
When I enable persistence 44.125
Then no persistent Greeter options were restored 14.433
When I set all Greeter options to non-default values 26.637
And I log in to a new session in German (de) after having activated the Persistent Storage 48.753
Then all Greeter options are set to non-default values 0.529
When I cold reboot the computer 7.839
And the computer reboots Tails 1:1.009
Given I enable persistence 19.250
Then persistent Greeter options were restored 0.567
When I log in to a new session after having activated the Persistent Storage 37.887
Then all Greeter options are set to non-default values 0.502
After features/support/hooks.rb:330 2.450
After features/support/hooks.rb:100 0.007
Tags: @product
4:22.706
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.600
# 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 48.439
And I shutdown Tails and wait for the computer to power off 12.909
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:34.039
And I change the passphrase of the Persistent Storage back to the original 36.717
After features/support/hooks.rb:330 2.360
After features/support/hooks.rb:100 0.012
Tags: @product
1:3.622
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 10.976
And I log in to a new session without activating the Persistent Storage 24.526
Then persistence is disabled 0.378
But a Tails persistence partition exists on USB drive "__internal" 10.562
And all notifications have disappeared 8.620
When I delete the persistent partition 7.906
Then there is no persistence partition on USB drive "__internal" 0.651
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.284
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.568
When I write some dotfile expected to persist 1.303
And I shutdown Tails and wait for the computer to power off 9.067
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.953
Then the expected persistent dotfile is present in the filesystem 0.391
After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.013
Tags: @product
1:50.929
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.533
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.399
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.959
When I log in to a new session after having activated the Persistent Storage 49.751
And all notifications have disappeared 7.654
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.031
And all tps features are enabled 2.431
And all tps features but the first one are active 2.069
After features/support/hooks.rb:330 1.941
After features/support/hooks.rb:100 0.000
Tags: @product
7:44.734
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 6:10.940
And I enable persistence 39.088
And I log in to a new session after having activated the Persistent Storage 49.965
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.784
And persistence is enabled 2.955
After features/support/hooks.rb:330 2.003
After features/support/hooks.rb:100 0.000
Tags: @product
32.134
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
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.384
And I enable persistence but something goes wrong during the LUKS header upgrade 21.614
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.135
After features/support/hooks.rb:330 0.766
After features/support/hooks.rb:100 0.000
Tags: @product
54.906
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 10.208
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.389
When I enable persistence 32.627
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.593
After features/support/hooks.rb:330 2.030
After features/support/hooks.rb:100 0.000
Tags: @product
52.926
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.798
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.102
When I try to enable persistence 0.582
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.157
When I repair the filesystem of the Persistent Storage 2.730
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.709
And the filesystem of the Persistent Storage was repaired 1.688
When I close the filesystem repair dialog 1.579
Then persistence is successfully enabled 2.577
After features/support/hooks.rb:330 2.037
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.235
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.510
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.135
When I try to enable persistence 0.302
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.265
When I repair the filesystem of the Persistent Storage 1.229
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 47.593
And all notifications have disappeared 9.339
# 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.820
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.887
When I close the "whisperback" window 1.483
Then the Tor Browser starts 17.575
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.005
After features/support/hooks.rb:330 3.085
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.990
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.004
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.205
And Tails detects disk read failures on the boot device 1.638
When I try to enable persistence 1.491
Then the Welcome Screen tells me that my hardware is probably failing 21.799
When I log in to a new session 50.543
And all notifications have disappeared 8.315
Then the Tor Browser starts 24.032
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.958
After features/support/hooks.rb:330 2.087
After features/support/hooks.rb:100 0.000