Project Number Date
test_Tails_ISO_devel 3810 13 May 2025, 23:26

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:3.906 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.294
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:39.458
And I update APT using apt 12.974
And I install "python3-behave" using apt 23.157
Then the Tails Persistent Storage behave tests pass 2.704
After features/support/hooks.rb:330 0.617
After features/support/hooks.rb:100 0.000
Tags: @product
59.026
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 20.329
When I log in to a new session without activating the Persistent Storage 26.958
Then Tails is running from USB drive "__internal" 0.962
And persistence is disabled 0.492
But a Tails persistence partition exists on USB drive "__internal" 10.283
After features/support/hooks.rb:330 1.925
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.562
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 logged in 16.068
Then Tails is running from USB drive "__internal" 0.462
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 24.239
Then the file I created was copied to the Persistent Storage 2.059
When I shutdown Tails and wait for the computer to power off 15.168
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.027
Then persistence for "Persistent" is active 0.314
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.931
After features/support/hooks.rb:100 0.010
Tags: @product
1:13.329
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 logged in 23.058
And the system is very low on memory 3.321
When I create a file in the Persistent directory 0.905
When I try to create a persistent partition 21.248
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.230
When I close the Persistent Storage app 2.627
And I free up some memory 4.232
And I create a persistent partition with the default settings 17.466
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:330 2.479
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.040
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 27.439
Then Tails is running from USB drive "__internal" 0.380
And all tps features are active 2.460
And all persistent directories have safe access rights 2.711
When I disable the first tps feature 5.450
Then all tps features but the first one are active 2.335
And I shutdown Tails and wait for the computer to power off 11.086
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.603
Then all tps features but the first one are active 2.572
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.008
Tags: @product
24.560
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 14.734
Then persistence for "Persistent" is active 0.189
And I create a file in the Persistent directory 0.111
Then the file I created was copied to the Persistent Storage 0.099
When I disable the first tps feature 5.936
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.179
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.192
After features/support/hooks.rb:100 0.000
Tags: @product
21.009
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.508
Then persistence for "Persistent" is active 0.161
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 5.787
And I delete the data of the Persistent Folder feature 4.405
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.201
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 9.739
And the network is plugged 0.120
And Tor is ready 22.072
And I take note of which tps features are available 0.684
When I write some files expected to persist 1.612
And I shutdown Tails and wait for the computer to power off 11.229
# 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.741
After features/support/hooks.rb:330 0.140
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.577
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.681
And the network is plugged 0.071
And Tor is ready 19.930
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 8.951
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.751
And I capture all network traffic 0.009
And the network is plugged 0.079
And Tor is ready 18.289
And I switch to the "persistent-con-current" NetworkManager connection 0.362
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.893
After features/support/hooks.rb:100 0.043
Tags: @product
1:0.505
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 14.407
And I enable persistence creation in Tails Greeter 1.315
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.881
Then I create a persistent partition with the default settings using the wizard that was already open 22.900
After features/support/hooks.rb:330 2.567
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.167
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 16.689
When I enable persistence 38.999
Then no persistent Greeter options were restored 14.237
When I set all Greeter options to non-default values 26.488
And I log in to a new session in German (de) after having activated the Persistent Storage 54.088
Then all Greeter options are set to non-default values 0.508
When I cold reboot the computer 7.525
And the computer reboots Tails 1:0.924
Given I enable persistence 17.647
Then persistent Greeter options were restored 0.602
When I log in to a new session after having activated the Persistent Storage 39.124
Then all Greeter options are set to non-default values 0.332
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.011
Tags: @product
3:32.264
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.949
# 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 33.768
And I shutdown Tails and wait for the computer to power off 12.756
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.770
And I change the passphrase of the Persistent Storage back to the original 29.018
After features/support/hooks.rb:330 3.493
After features/support/hooks.rb:100 0.010
Tags: @product
58.655
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.824
And I log in to a new session without activating the Persistent Storage 22.432
Then persistence is disabled 0.340
But a Tails persistence partition exists on USB drive "__internal" 9.611
And all notifications have disappeared 9.270
When I delete the persistent partition 6.357
Then there is no persistence partition on USB drive "__internal" 0.818
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.434
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.238
When I write some dotfile expected to persist 0.172
And I shutdown Tails and wait for the computer to power off 10.757
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.826
Then the expected persistent dotfile is present in the filesystem 0.440
After features/support/hooks.rb:330 1.181
After features/support/hooks.rb:100 0.011
Tags: @product
1:53.434
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.895
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.356
When I log in to a new session after having activated the Persistent Storage 47.824
And all notifications have disappeared 9.264
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.065
And all tps features are enabled 3.428
And all tps features but the first one are active 2.220
After features/support/hooks.rb:330 1.587
After features/support/hooks.rb:100 0.000
Tags: @product
6:7.893
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:45.973
And I enable persistence 30.657
And I log in to a new session after having activated the Persistent Storage 45.764
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.115
And persistence is enabled 3.382
After features/support/hooks.rb:330 1.768
After features/support/hooks.rb:100 0.000
Tags: @product
29.921
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
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.195
And I enable persistence but something goes wrong during the LUKS header upgrade 19.897
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.829
After features/support/hooks.rb:330 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
46.226
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.457
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.166
When I enable persistence 27.585
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.923
After features/support/hooks.rb:330 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
51.732
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.444
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.329
When I try to enable persistence 0.506
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.508
When I repair the filesystem of the Persistent Storage 5.098
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.072
And the filesystem of the Persistent Storage was repaired 3.112
When I close the filesystem repair dialog 1.249
Then persistence is successfully enabled 1.409
After features/support/hooks.rb:330 1.418
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.423
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.467
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.383
When I repair the filesystem of the Persistent Storage 1.312
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 40.653
And all notifications have disappeared 9.519
# 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.528
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.750
When I close the "whisperback" window 1.607
Then the Tor Browser starts 18.698
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.041
After features/support/hooks.rb:330 4.303
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.645
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.054
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.256
And Tails detects disk read failures on the boot device 1.761
When I try to enable persistence 0.495
Then the Welcome Screen tells me that my hardware is probably failing 19.882
When I log in to a new session 47.271
And all notifications have disappeared 8.507
Then the Tor Browser starts 23.296
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.118
After features/support/hooks.rb:330 2.969
After features/support/hooks.rb:100 0.000