Project Number Date
test_Tails_ISO_devel 3806 12 May 2025, 20:37

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 41:54.012 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.631
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:34.225
And I update APT using apt 13.335
And I install "python3-behave" using apt 25.699
Then the Tails Persistent Storage behave tests pass 2.370
After features/support/hooks.rb:330 0.682
After features/support/hooks.rb:100 0.000
Tags: @product
50.339
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 12.007
When I log in to a new session without activating the Persistent Storage 25.659
Then Tails is running from USB drive "__internal" 0.547
And persistence is disabled 0.619
But a Tails persistence partition exists on USB drive "__internal" 11.505
After features/support/hooks.rb:330 2.499
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.612
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 logged in 13.830
Then Tails is running from USB drive "__internal" 0.519
When I create a file in the Persistent directory 0.128
And I create a persistent partition with the default settings 28.034
Then the file I created was copied to the Persistent Storage 1.950
When I shutdown Tails and wait for the computer to power off 13.013
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.154
Then persistence for "Persistent" is active 0.905
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.904
After features/support/hooks.rb:100 0.009
Tags: @product
54.305
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 10.799
And the system is very low on memory 2.526
When I create a file in the Persistent directory 1.227
When I try to create a persistent partition 19.188
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.410
When I close the Persistent Storage app 2.532
And I free up some memory 3.293
And I create a persistent partition with the default settings 14.070
Then the file I created was copied to the Persistent Storage 0.256
After features/support/hooks.rb:330 2.027
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.420
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 13.030
Then Tails is running from USB drive "__internal" 0.565
And all tps features are active 2.801
And all persistent directories have safe access rights 2.666
When I disable the first tps feature 6.745
Then all tps features but the first one are active 2.094
And I shutdown Tails and wait for the computer to power off 15.516
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.618
Then all tps features but the first one are active 2.380
After features/support/hooks.rb:330 1.207
After features/support/hooks.rb:100 0.009
Tags: @product
19.903
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.927
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 5.878
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.519
Then persistence for "Persistent" is active 0.095
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.621
After features/support/hooks.rb:100 0.000
Tags: @product
22.505
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.249
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.675
And I disable the first tps feature 6.224
And I delete the data of the Persistent Folder feature 4.205
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:330 1.707
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.418
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.087
And the network is plugged 0.099
And Tor is ready 25.087
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.609
And I shutdown Tails and wait for the computer to power off 8.508
# 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.409
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.531
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 10.796
And the network is plugged 0.090
And Tor is ready 23.283
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.251
And I shutdown Tails and wait for the computer to power off 8.625
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.611
And I capture all network traffic 0.008
And the network is plugged 0.087
And Tor is ready 24.173
And I switch to the "persistent-con-current" NetworkManager connection 0.383
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.057
Tags: @product
1:3.496
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 stopped at Tails Greeter's login screen 13.926
And I enable persistence creation in Tails Greeter 1.434
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.321
Then I create a persistent partition with the default settings using the wizard that was already open 23.813
After features/support/hooks.rb:330 2.816
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.124
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 16.163
When I enable persistence 40.973
Then no persistent Greeter options were restored 14.748
When I set all Greeter options to non-default values 27.324
And I log in to a new session in German (de) after having activated the Persistent Storage 48.715
Then all Greeter options are set to non-default values 0.817
When I cold reboot the computer 7.551
And the computer reboots Tails 1:14.768
Given I enable persistence 20.314
Then persistent Greeter options were restored 0.598
When I log in to a new session after having activated the Persistent Storage 40.582
Then all Greeter options are set to non-default values 0.566
After features/support/hooks.rb:330 2.191
After features/support/hooks.rb:100 0.009
Tags: @product
4:1.344
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.778
# 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.525
And I shutdown Tails and wait for the computer to power off 14.663
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.464
And I change the passphrase of the Persistent Storage back to the original 35.912
After features/support/hooks.rb:330 3.487
After features/support/hooks.rb:100 0.012
Tags: @product
57.567
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 10.681
And I log in to a new session without activating the Persistent Storage 20.812
Then persistence is disabled 0.281
But a Tails persistence partition exists on USB drive "__internal" 9.771
And all notifications have disappeared 8.471
When I delete the persistent partition 6.745
Then there is no persistence partition on USB drive "__internal" 0.803
After features/support/hooks.rb:330 1.642
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.592
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.999
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 10.701
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.379
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:330 1.306
After features/support/hooks.rb:100 0.011
Tags: @product
1:48.237
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.118
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.260
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.660
When I log in to a new session after having activated the Persistent Storage 48.854
And all notifications have disappeared 8.169
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.469
And all tps features are enabled 2.453
And all tps features but the first one are active 2.155
After features/support/hooks.rb:330 1.936
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.344
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 3:43.953
And I enable persistence 31.812
And I log in to a new session after having activated the Persistent Storage 47.009
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.757
And persistence is enabled 2.811
After features/support/hooks.rb:330 2.674
After features/support/hooks.rb:100 0.000
Tags: @product
29.212
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 8.780
And I enable persistence but something goes wrong during the LUKS header upgrade 19.508
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.923
After features/support/hooks.rb:330 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
49.775
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.542
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.009
When I enable persistence 31.116
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 3.009
After features/support/hooks.rb:330 1.740
After features/support/hooks.rb:100 0.000
Tags: @product
58.217
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.590
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.373
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.630
When I repair the filesystem of the Persistent Storage 2.826
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.879
And the filesystem of the Persistent Storage was repaired 2.877
When I close the filesystem repair dialog 1.267
Then persistence is successfully enabled 2.317
After features/support/hooks.rb:330 2.678
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.171
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 11.291
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.028
When I repair the filesystem of the Persistent Storage 1.279
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 37.264
And all notifications have disappeared 7.734
# 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" 1.042
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.176
When I close the "whisperback" window 1.643
Then the Tor Browser starts 21.422
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.833
After features/support/hooks.rb:330 3.049
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.260
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.360
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.849
And Tails detects disk read failures on the boot device 1.628
When I try to enable persistence 0.472
Then the Welcome Screen tells me that my hardware is probably failing 18.627
When I log in to a new session 52.013
And all notifications have disappeared 7.321
Then the Tor Browser starts 22.201
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.783
After features/support/hooks.rb:330 3.836
After features/support/hooks.rb:100 0.000