Project Number Date
test_Tails_ISO_devel 3773 09 Apr 2025, 15:20

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 50:57.449 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:29.311
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.399
And I update APT using apt 2:43.402
And I install "python3-behave" using apt 1:3.378
Then the Tails Persistent Storage behave tests pass 3.130
After features/support/hooks.rb:330 0.680
After features/support/hooks.rb:100 0.000
Tags: @product
49.070
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 12.370
When I log in to a new session without activating the Persistent Storage 26.803
Then Tails is running from USB drive "__internal" 1.155
And persistence is disabled 0.518
But a Tails persistence partition exists on USB drive "__internal" 8.223
After features/support/hooks.rb:330 1.977
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.625
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 18.749
Then Tails is running from USB drive "__internal" 0.440
When I create a file in the Persistent directory 0.118
And I create a persistent partition with the default settings 25.081
Then the file I created was copied to the Persistent Storage 2.647
When I shutdown Tails and wait for the computer to power off 12.864
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.971
Then persistence for "Persistent" is active 0.567
And the file I created in the Persistent directory exists 0.184
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.023
Tags: @product
1:3.559
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.413
And the system is very low on memory 4.321
When I create a file in the Persistent directory 1.150
When I try to create a persistent partition 24.755
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.288
When I close the Persistent Storage app 2.642
And I free up some memory 3.238
And I create a persistent partition with the default settings 13.471
Then the file I created was copied to the Persistent Storage 0.276
After features/support/hooks.rb:330 2.568
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.606
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 12.867
Then Tails is running from USB drive "__internal" 0.736
And all tps features are active 2.679
And all persistent directories have safe access rights 2.930
When I disable the first tps feature 5.673
Then all tps features but the first one are active 2.169
And I shutdown Tails and wait for the computer to power off 15.620
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.724
Then all tps features but the first one are active 2.205
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.012
Tags: @product
19.600
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.148
Then persistence for "Persistent" is active 0.136
And I create a file in the Persistent directory 0.181
Then the file I created was copied to the Persistent Storage 0.111
When I disable the first tps feature 5.591
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.130
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.576
After features/support/hooks.rb:100 0.000
Tags: @product
19.835
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.732
Then persistence for "Persistent" is active 0.274
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 6.093
And I delete the data of the Persistent Folder feature 3.578
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.798
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.326
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 13.099
And the network is plugged 0.094
And Tor is ready 24.068
And I take note of which tps features are available 0.608
When I write some files expected to persist 1.530
And I shutdown Tails and wait for the computer to power off 8.370
# 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.554
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.448
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 9.797
And the network is plugged 0.129
And Tor is ready 17.696
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.264
And I shutdown Tails and wait for the computer to power off 11.197
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.946
And I capture all network traffic 0.008
And the network is plugged 0.075
And Tor is ready 20.788
And I switch to the "persistent-con-current" NetworkManager connection 0.330
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.118
After features/support/hooks.rb:330 0.663
After features/support/hooks.rb:100 0.077
Tags: @product
1:6.715
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 without a persistent partition and stopped at Tails Greeter's login screen 13.975
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.476
Then I create a persistent partition with the default settings using the wizard that was already open 28.142
After features/support/hooks.rb:330 3.297
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.732
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.838
When I enable persistence 37.227
Then no persistent Greeter options were restored 14.299
When I set all Greeter options to non-default values 28.219
And I log in to a new session in German (de) after having activated the Persistent Storage 43.704
Then all Greeter options are set to non-default values 0.469
When I cold reboot the computer 7.179
And the computer reboots Tails 1:3.814
Given I enable persistence 19.307
Then persistent Greeter options were restored 0.608
When I log in to a new session after having activated the Persistent Storage 44.670
Then all Greeter options are set to non-default values 0.393
After features/support/hooks.rb:330 0.924
After features/support/hooks.rb:100 0.010
Tags: @product
3:57.869
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.774
# 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 38.086
And I shutdown Tails and wait for the computer to power off 15.179
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.742
And I change the passphrase of the Persistent Storage back to the original 32.086
After features/support/hooks.rb:330 3.933
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.251
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 13.779
And I log in to a new session without activating the Persistent Storage 22.319
Then persistence is disabled 0.467
But a Tails persistence partition exists on USB drive "__internal" 10.646
And all notifications have disappeared 8.505
When I delete the persistent partition 7.313
Then there is no persistence partition on USB drive "__internal" 1.220
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.916
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.472
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 10.950
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.894
Then the expected persistent dotfile is present in the filesystem 0.513
After features/support/hooks.rb:330 1.506
After features/support/hooks.rb:100 0.012
Tags: @product
2:21.103
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.293
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.123
When I try to enable persistence 0.296
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 53.056
When I log in to a new session after having activated the Persistent Storage 53.458
And all notifications have disappeared 8.615
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.063
And all tps features are enabled 4.203
And all tps features but the first one are active 6.992
After features/support/hooks.rb:330 2.206
After features/support/hooks.rb:100 0.000
Tags: @product
9:4.937
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 7:34.573
And I enable persistence 37.628
And I log in to a new session after having activated the Persistent Storage 48.180
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.675
And persistence is enabled 2.878
After features/support/hooks.rb:330 1.882
After features/support/hooks.rb:100 0.000
Tags: @product
40.990
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 13.519
And I enable persistence but something goes wrong during the LUKS header upgrade 26.416
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.054
After features/support/hooks.rb:330 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.244
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.893
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.789
When I enable persistence 47.186
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 3.277
After features/support/hooks.rb:330 2.104
After features/support/hooks.rb:100 0.000
Tags: @product
55.523
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 10.823
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.076
When I try to enable persistence 1.573
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.368
When I repair the filesystem of the Persistent Storage 1.467
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.025
And the filesystem of the Persistent Storage was repaired 3.311
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 1.606
After features/support/hooks.rb:330 1.927
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.138
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.660
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.149
When I try to enable persistence 0.304
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.078
When I repair the filesystem of the Persistent Storage 1.344
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 41.379
And all notifications have disappeared 8.183
# 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.584
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.221
When I close the "whisperback" window 1.434
Then the Tor Browser starts 23.556
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.156
After features/support/hooks.rb:330 1.793
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:13.642
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.801
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.093
And Tails detects disk read failures on the boot device 1.747
When I try to enable persistence 0.474
Then the Welcome Screen tells me that my hardware is probably failing 25.377
When I log in to a new session 52.054
And all notifications have disappeared 8.240
Then the Tor Browser starts 24.758
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.093
After features/support/hooks.rb:330 2.699
After features/support/hooks.rb:100 0.000