Project Number Date
test_Tails_ISO_stable 5393 15 Jan 2025, 12:48

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:2.835 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.163
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.319
And I update APT using apt 13.807
And I install "python3-behave" using apt 25.785
Then the Tails Persistent Storage behave tests pass 3.250
After features/support/hooks.rb:326 1.417
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.449
Before features/support/hooks.rb:269 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 23.878
When I log in to a new session without activating the Persistent Storage 33.397
Then Tails is running from USB drive "__internal" 0.809
And persistence is disabled 0.591
But a Tails persistence partition exists on USB drive "__internal" 11.773
After features/support/hooks.rb:326 4.541
After features/support/hooks.rb:100 0.000
Tags: @product
3:57.420
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 22.385
Then Tails is running from USB drive "__internal" 0.640
When I create a file in the Persistent directory 0.404
And I create a persistent partition with the default settings 30.085
Then the file I created was copied to the Persistent Storage 0.741
When I shutdown Tails and wait for the computer to power off 14.310
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.315
Then persistence for "Persistent" is active 0.453
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.007
Tags: @product
1:31.025
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 22.221
And the system is very low on memory 6.942
When I create a file in the Persistent directory 3.132
When I try to create a persistent partition 30.028
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.569
When I close the Persistent Storage app 4.070
And I free up some memory 1.586
And I create a persistent partition with the default settings 21.222
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:326 2.318
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.222
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.306
Then Tails is running from USB drive "__internal" 1.527
And all tps features are active 3.167
And all persistent directories have safe access rights 2.952
When I disable the first tps feature 8.938
Then all tps features but the first one are active 2.605
And I shutdown Tails and wait for the computer to power off 18.370
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.612
Then all tps features but the first one are active 2.740
After features/support/hooks.rb:326 1.214
After features/support/hooks.rb:100 0.007
Tags: @product
31.072
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.672
Then persistence for "Persistent" is active 0.110
And I create a file in the Persistent directory 0.960
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 9.551
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.067
When I enable the first tps feature 4.359
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
27.416
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.186
Then persistence for "Persistent" is active 1.283
When I create a file in the Persistent directory 0.098
And I disable the first tps feature 8.007
And I delete the data of the Persistent Folder feature 5.770
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:326 1.257
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.019
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.820
And the network is plugged 0.116
And Tor is ready 24.601
And I take note of which tps features are available 0.902
When I write some files expected to persist 1.611
And I shutdown Tails and wait for the computer to power off 8.888
# 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.078
After features/support/hooks.rb:326 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
4:1.917
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.594
And the network is plugged 0.090
And Tor is ready 24.263
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.240
And I shutdown Tails and wait for the computer to power off 11.345
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.975
And I capture all network traffic 0.012
And the network is plugged 0.114
And Tor is ready 49.408
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.160
And no network device leaked the real MAC address 0.288
After features/support/hooks.rb:326 0.782
After features/support/hooks.rb:100 0.059
Tags: @product
1:34.177
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 27.986
And I enable persistence creation in Tails Greeter 5.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.374
Then I create a persistent partition with the default settings using the wizard that was already open 33.648
After features/support/hooks.rb:326 3.001
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.837
Before features/support/hooks.rb:269 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 15.288
When I enable persistence 54.257
Then no persistent Greeter options were restored 15.207
When I set all Greeter options to non-default values 28.499
And I log in to a new session in German (de) after having activated the Persistent Storage 56.430
Then all Greeter options are set to non-default values 0.347
When I cold reboot the computer 8.195
And the computer reboots Tails 1:2.295
Given I enable persistence 18.044
Then persistent Greeter options were restored 0.599
When I log in to a new session after having activated the Persistent Storage 38.281
Then all Greeter options are set to non-default values 0.390
After features/support/hooks.rb:326 1.315
After features/support/hooks.rb:100 0.008
Tags: @product
4:11.524
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.081
# 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 39.804
And I shutdown Tails and wait for the computer to power off 14.792
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.546
And I change the passphrase of the Persistent Storage back to the original 40.300
After features/support/hooks.rb:326 3.147
After features/support/hooks.rb:100 0.016
Tags: @product
1:11.080
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.385
And I log in to a new session without activating the Persistent Storage 28.851
Then persistence is disabled 0.792
But a Tails persistence partition exists on USB drive "__internal" 8.229
And all notifications have disappeared 11.017
When I delete the persistent partition 9.380
Then there is no persistence partition on USB drive "__internal" 0.424
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.794
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.836
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 13.750
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.569
Then the expected persistent dotfile is present in the filesystem 0.552
After features/support/hooks.rb:326 0.844
After features/support/hooks.rb:100 0.010
Tags: @product
1:50.480
Before features/support/hooks.rb:269 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.888
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 0.423
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.876
When I log in to a new session after having activated the Persistent Storage 46.220
And all notifications have disappeared 8.293
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.451
And all tps features are enabled 2.747
And all tps features but the first one are active 2.477
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.000
Tags: @product
9:14.600
Before features/support/hooks.rb:269 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:34.155
And I enable persistence 45.269
And I log in to a new session after having activated the Persistent Storage 48.807
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.000
And persistence is enabled 4.367
After features/support/hooks.rb:326 1.140
After features/support/hooks.rb:100 0.000
Tags: @product
44.845
Before features/support/hooks.rb:269 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 11.273
And I enable persistence but something goes wrong during the LUKS header upgrade 32.641
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.931
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
53.514
Before features/support/hooks.rb:269 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.532
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.127
When I enable persistence 34.020
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.750
After features/support/hooks.rb:326 1.120
After features/support/hooks.rb:100 0.000
Tags: @product
26.066
Before features/support/hooks.rb:269 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.407
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.618
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.325
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.244
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.225
Then persistence is successfully enabled 1.467
After features/support/hooks.rb:326 0.721
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.283
Before features/support/hooks.rb:269 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.975
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.342
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.521
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 41.173
And all notifications have disappeared 9.821
# 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.453
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.537
When I close the "whisperback" window 1.419
Then the Tor Browser starts 19.624
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.027
After features/support/hooks.rb:326 2.827
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:26.920
Before features/support/hooks.rb:269 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.978
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.475
And Tails detects disk read failures on the boot device 1.604
When I try to enable persistence 0.466
Then the Welcome Screen tells me that my hardware is probably failing 6.088
When I log in to a new session 21.987
And all notifications have disappeared 10.455
Then the Tor Browser starts 24.513
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.352
After features/support/hooks.rb:326 1.372
After features/support/hooks.rb:100 0.000