Project Number Date
test_Tails_ISO_devel 3744 18 Mar 2025, 19:51

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 43:9.856 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:46.841
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.246
And I update APT using apt 2:14.560
And I install "python3-behave" using apt 53.282
Then the Tails Persistent Storage behave tests pass 2.752
After features/support/hooks.rb:330 2.988
After features/support/hooks.rb:100 0.000
Tags: @product
45.521
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.029
When I log in to a new session without activating the Persistent Storage 23.488
Then Tails is running from USB drive "__internal" 0.572
And persistence is disabled 0.230
But a Tails persistence partition exists on USB drive "__internal" 9.200
After features/support/hooks.rb:330 1.735
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.498
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 13.314
Then Tails is running from USB drive "__internal" 0.587
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 24.957
Then the file I created was copied to the Persistent Storage 0.539
When I shutdown Tails and wait for the computer to power off 14.981
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.292
Then persistence for "Persistent" is active 0.606
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.007
Tags: @product
1:7.843
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 11.190
And the system is very low on memory 5.743
When I create a file in the Persistent directory 1.271
When I try to create a persistent partition 30.853
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.305
When I close the Persistent Storage app 2.651
And I free up some memory 1.810
And I create a persistent partition with the default settings 13.745
Then the file I created was copied to the Persistent Storage 0.269
After features/support/hooks.rb:330 2.525
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.843
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.902
Then Tails is running from USB drive "__internal" 0.691
And all tps features are active 2.525
And all persistent directories have safe access rights 2.612
When I disable the first tps feature 5.748
Then all tps features but the first one are active 2.204
And I shutdown Tails and wait for the computer to power off 13.443
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.942
Then all tps features but the first one are active 2.772
After features/support/hooks.rb:330 0.862
After features/support/hooks.rb:100 0.009
Tags: @product
21.099
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 10.568
Then persistence for "Persistent" is active 0.384
And I create a file in the Persistent directory 0.104
Then the file I created was copied to the Persistent Storage 0.133
When I disable the first tps feature 6.442
Then persistence for "Persistent" is not active 0.115
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.126
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.392
After features/support/hooks.rb:100 0.000
Tags: @product
20.143
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.054
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 6.192
And I delete the data of the Persistent Folder feature 3.668
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.434
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.649
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.670
And the network is plugged 0.104
And Tor is ready 21.715
And I take note of which tps features are available 0.581
When I write some files expected to persist 1.601
And I shutdown Tails and wait for the computer to power off 8.411
# 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.564
After features/support/hooks.rb:330 0.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.464
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.746
And the network is plugged 0.071
And Tor is ready 22.899
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.296
And I shutdown Tails and wait for the computer to power off 9.141
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.950
And I capture all network traffic 0.007
And the network is plugged 0.078
And Tor is ready 21.713
And I switch to the "persistent-con-current" NetworkManager connection 0.359
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.114
After features/support/hooks.rb:330 0.609
After features/support/hooks.rb:100 0.046
Tags: @product
1:7.979
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 20.973
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.855
Then I create a persistent partition with the default settings using the wizard that was already open 22.025
After features/support/hooks.rb:330 2.271
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.687
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.497
When I enable persistence 36.943
Then no persistent Greeter options were restored 14.491
When I set all Greeter options to non-default values 23.894
And I log in to a new session in German (de) after having activated the Persistent Storage 51.263
Then all Greeter options are set to non-default values 0.423
When I cold reboot the computer 7.433
And the computer reboots Tails 59.734
Given I enable persistence 18.091
Then persistent Greeter options were restored 0.557
When I log in to a new session after having activated the Persistent Storage 42.094
Then all Greeter options are set to non-default values 0.261
After features/support/hooks.rb:330 1.411
After features/support/hooks.rb:100 0.010
Tags: @product
3:32.739
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.936
# 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 30.558
And I shutdown Tails and wait for the computer to power off 12.514
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.680
And I change the passphrase of the Persistent Storage back to the original 32.049
After features/support/hooks.rb:330 1.818
After features/support/hooks.rb:100 0.009
Tags: @product
55.127
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.674
And I log in to a new session without activating the Persistent Storage 22.572
Then persistence is disabled 0.307
But a Tails persistence partition exists on USB drive "__internal" 6.483
And all notifications have disappeared 9.286
When I delete the persistent partition 6.288
Then there is no persistence partition on USB drive "__internal" 0.513
After features/support/hooks.rb:330 1.459
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.789
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.792
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 9.163
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.386
Then the expected persistent dotfile is present in the filesystem 0.378
After features/support/hooks.rb:330 1.322
After features/support/hooks.rb:100 0.011
Tags: @product
1:33.528
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 8.860
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.878
When I log in to a new session after having activated the Persistent Storage 37.113
And all notifications have disappeared 6.449
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.559
And all tps features are enabled 2.334
And all tps features but the first one are active 1.954
After features/support/hooks.rb:330 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.996
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 3:52.952
And I enable persistence 35.760
And I log in to a new session after having activated the Persistent Storage 45.850
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.653
And persistence is enabled 3.779
After features/support/hooks.rb:330 1.430
After features/support/hooks.rb:100 0.000
Tags: @product
29.403
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 9.317
And I enable persistence but something goes wrong during the LUKS header upgrade 19.289
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.796
After features/support/hooks.rb:330 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
52.652
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.117
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.050
When I enable persistence 34.589
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.804
After features/support/hooks.rb:330 1.235
After features/support/hooks.rb:100 0.000
Tags: @product
51.904
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.384
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.244
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.470
When I repair the filesystem of the Persistent Storage 5.794
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.335
And the filesystem of the Persistent Storage was repaired 1.607
When I close the filesystem repair dialog 1.204
Then persistence is successfully enabled 1.434
After features/support/hooks.rb:330 1.907
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.370
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.479
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.086
When I try to enable persistence 0.267
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.526
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 37.493
And all notifications have disappeared 8.112
# 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.973
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.404
When I close the "whisperback" window 1.610
Then the Tor Browser starts 19.140
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.954
After features/support/hooks.rb:330 1.914
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.770
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.400
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.609
And Tails detects disk read failures on the boot device 1.693
When I try to enable persistence 0.409
Then the Welcome Screen tells me that my hardware is probably failing 20.007
When I log in to a new session 51.332
And all notifications have disappeared 8.447
Then the Tor Browser starts 21.974
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.893
After features/support/hooks.rb:330 2.430
After features/support/hooks.rb:100 0.000