Project Number Date
test_Tails_ISO_devel 3715 03 Mar 2025, 13:12

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 51:6.942 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.733
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:55.157
And I update APT using apt 15.024
And I install "python3-behave" using apt 25.769
Then the Tails Persistent Storage behave tests pass 4.782
After features/support/hooks.rb:330 1.988
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.246
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 28.306
When I log in to a new session without activating the Persistent Storage 25.876
Then Tails is running from USB drive "__internal" 0.607
And persistence is disabled 0.491
But a Tails persistence partition exists on USB drive "__internal" 10.965
After features/support/hooks.rb:330 3.495
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.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 without a persistent partition and logged in 1:9.564
Then Tails is running from USB drive "__internal" 0.581
When I create a file in the Persistent directory 0.195
And I create a persistent partition with the default settings 24.271
Then the file I created was copied to the Persistent Storage 0.677
When I shutdown Tails and wait for the computer to power off 13.236
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.296
Then persistence for "Persistent" is active 0.339
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.060
After features/support/hooks.rb:100 0.009
Tags: @product
1:25.185
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 27.905
And the system is very low on memory 9.114
When I create a file in the Persistent directory 1.385
When I try to create a persistent partition 27.721
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.242
When I close the Persistent Storage app 2.742
And I free up some memory 1.697
And I create a persistent partition with the default settings 14.075
Then the file I created was copied to the Persistent Storage 0.300
After features/support/hooks.rb:330 2.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.022
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 18.849
Then Tails is running from USB drive "__internal" 0.541
And all tps features are active 3.178
And all persistent directories have safe access rights 3.106
When I disable the first tps feature 7.150
Then all tps features but the first one are active 2.536
And I shutdown Tails and wait for the computer to power off 15.085
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.153
Then all tps features but the first one are active 2.419
After features/support/hooks.rb:330 1.534
After features/support/hooks.rb:100 0.031
Tags: @product
22.783
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 11.234
Then persistence for "Persistent" is active 0.144
And I create a file in the Persistent directory 0.175
Then the file I created was copied to the Persistent Storage 0.142
When I disable the first tps feature 7.207
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.575
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.493
After features/support/hooks.rb:100 0.000
Tags: @product
21.195
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 9.904
Then persistence for "Persistent" is active 0.072
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 6.912
And I delete the data of the Persistent Folder feature 4.103
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:330 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.558
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 11.035
And the network is plugged 0.106
And Tor is ready 49.992
And I take note of which tps features are available 0.631
When I write some files expected to persist 1.705
And I shutdown Tails and wait for the computer to power off 8.669
# 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.416
After features/support/hooks.rb:330 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.712
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.152
And the network is plugged 0.091
And Tor is ready 22.311
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.616
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.848
And I capture all network traffic 0.006
And the network is plugged 0.110
And Tor is ready 19.726
And I switch to the "persistent-con-current" NetworkManager connection 0.399
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:330 0.679
After features/support/hooks.rb:100 0.050
Tags: @product
1:4.808
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.681
And I enable persistence creation in Tails Greeter 1.380
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.773
Then I create a persistent partition with the default settings using the wizard that was already open 22.973
After features/support/hooks.rb:330 2.372
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.337
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.654
When I enable persistence 44.857
Then no persistent Greeter options were restored 14.552
When I set all Greeter options to non-default values 30.730
And I log in to a new session in German (de) after having activated the Persistent Storage 57.861
Then all Greeter options are set to non-default values 0.691
When I cold reboot the computer 10.064
And the computer reboots Tails 1:0.903
Given I enable persistence 19.878
Then persistent Greeter options were restored 0.609
When I log in to a new session after having activated the Persistent Storage 39.839
Then all Greeter options are set to non-default values 0.695
After features/support/hooks.rb:330 1.917
After features/support/hooks.rb:100 0.021
Tags: @product
4:37.635
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 10.841
# 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 44.378
And I shutdown Tails and wait for the computer to power off 13.370
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:52.948
And I change the passphrase of the Persistent Storage back to the original 36.097
After features/support/hooks.rb:330 2.390
After features/support/hooks.rb:100 0.013
Tags: @product
1:7.609
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 18.372
And I log in to a new session without activating the Persistent Storage 22.600
Then persistence is disabled 0.579
But a Tails persistence partition exists on USB drive "__internal" 10.278
And all notifications have disappeared 8.603
When I delete the persistent partition 6.812
Then there is no persistence partition on USB drive "__internal" 0.362
After features/support/hooks.rb:330 1.279
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.075
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.855
When I write some dotfile expected to persist 0.063
And I shutdown Tails and wait for the computer to power off 10.910
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.733
Then the expected persistent dotfile is present in the filesystem 0.510
After features/support/hooks.rb:330 1.226
After features/support/hooks.rb:100 0.012
Tags: @product
2:9.275
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.297
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.783
When I log in to a new session after having activated the Persistent Storage 45.115
And all notifications have disappeared 10.940
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.570
And all tps features are enabled 9.630
And all tps features but the first one are active 8.537
After features/support/hooks.rb:330 3.164
After features/support/hooks.rb:100 0.000
Tags: @product
9:10.588
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7:38.659
And I enable persistence 37.900
And I log in to a new session after having activated the Persistent Storage 45.196
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.079
And persistence is enabled 4.752
After features/support/hooks.rb:330 1.533
After features/support/hooks.rb:100 0.000
Tags: @product
42.984
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 17.911
And I enable persistence but something goes wrong during the LUKS header upgrade 24.127
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.945
After features/support/hooks.rb:330 1.058
After features/support/hooks.rb:100 0.000
Tags: @product
51.603
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.987
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.293
When I enable persistence 32.607
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 3.610
After features/support/hooks.rb:330 1.942
After features/support/hooks.rb:100 0.000
Tags: @product
55.026
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.149
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.828
When I try to enable persistence 0.423
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.002
When I repair the filesystem of the Persistent Storage 5.078
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.304
And the filesystem of the Persistent Storage was repaired 1.460
When I close the filesystem repair dialog 1.247
Then persistence is successfully enabled 1.532
After features/support/hooks.rb:330 1.419
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.688
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.423
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.303
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.480
When I repair the filesystem of the Persistent Storage 1.228
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 4.696
When I log in to a new session 35.551
And all notifications have disappeared 7.341
# 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.732
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.262
When I close the "whisperback" window 1.774
Then the Tor Browser starts 22.773
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.009
After features/support/hooks.rb:330 2.608
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.635
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.931
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.821
And Tails detects disk read failures on the boot device 0.440
When I try to enable persistence 0.446
Then the Welcome Screen tells me that my hardware is probably failing 22.227
When I log in to a new session 47.234
And all notifications have disappeared 8.780
Then the Tor Browser starts 21.830
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.759
After features/support/hooks.rb:100 0.000