Project Number Date
test_Tails_ISO_devel 3771 09 Apr 2025, 10:14

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 56:42.328 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:39.548
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:46.179
And I update APT using apt 1:44.703
And I install "python3-behave" using apt 1:6.268
Then the Tails Persistent Storage behave tests pass 2.397
After features/support/hooks.rb:330 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
48.351
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.521
When I log in to a new session without activating the Persistent Storage 25.156
Then Tails is running from USB drive "__internal" 0.660
And persistence is disabled 0.959
But a Tails persistence partition exists on USB drive "__internal" 9.052
After features/support/hooks.rb:330 1.602
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.568
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.857
Then Tails is running from USB drive "__internal" 0.761
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 25.598
Then the file I created was copied to the Persistent Storage 2.243
When I shutdown Tails and wait for the computer to power off 16.605
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.877
Then persistence for "Persistent" is active 0.380
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 2.231
After features/support/hooks.rb:100 0.026
Tags: @product
1:31.948
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 without a persistent partition and logged in 27.441
And the system is very low on memory 4.711
When I create a file in the Persistent directory 0.795
When I try to create a persistent partition 34.236
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.434
When I close the Persistent Storage app 2.812
And I free up some memory 3.837
And I create a persistent partition with the default settings 16.753
Then the file I created was copied to the Persistent Storage 0.925
After features/support/hooks.rb:330 2.614
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.793
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 40.441
Then Tails is running from USB drive "__internal" 0.702
And all tps features are active 3.144
And all persistent directories have safe access rights 2.838
When I disable the first tps feature 6.655
Then all tps features but the first one are active 4.904
And I shutdown Tails and wait for the computer to power off 16.058
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.247
Then all tps features but the first one are active 2.801
After features/support/hooks.rb:330 1.296
After features/support/hooks.rb:100 0.009
Tags: @product
20.465
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.762
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 5.796
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.325
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.653
After features/support/hooks.rb:100 0.000
Tags: @product
21.085
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.720
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 5.916
And I delete the data of the Persistent Folder feature 4.213
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.734
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.182
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.666
And the network is plugged 0.099
And Tor is ready 26.088
And I take note of which tps features are available 0.819
When I write some files expected to persist 1.962
And I shutdown Tails and wait for the computer to power off 9.243
# 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.301
After features/support/hooks.rb:330 0.224
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.816
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.786
And the network is plugged 0.109
And Tor is ready 23.679
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 12.821
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.204
And I capture all network traffic 0.008
And the network is plugged 0.124
And Tor is ready 23.162
And I switch to the "persistent-con-current" NetworkManager connection 0.466
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:330 0.624
After features/support/hooks.rb:100 0.077
Tags: @product
1:52.004
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 stopped at Tails Greeter's login screen 49.408
And I enable persistence creation in Tails Greeter 1.117
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.219
Then I create a persistent partition with the default settings using the wizard that was already open 37.259
After features/support/hooks.rb:330 3.289
After features/support/hooks.rb:100 0.000
Tags: @product
6:14.506
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 18.739
When I enable persistence 1:58.347
Then no persistent Greeter options were restored 14.946
When I set all Greeter options to non-default values 27.631
And I log in to a new session in German (de) after having activated the Persistent Storage 46.175
Then all Greeter options are set to non-default values 0.634
When I cold reboot the computer 8.107
And the computer reboots Tails 1:6.772
Given I enable persistence 21.379
Then persistent Greeter options were restored 0.532
When I log in to a new session after having activated the Persistent Storage 50.243
Then all Greeter options are set to non-default values 0.995
After features/support/hooks.rb:330 2.790
After features/support/hooks.rb:100 0.015
Tags: @product
4:18.269
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 13.468
# 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.921
And I shutdown Tails and wait for the computer to power off 14.036
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:34.766
And I change the passphrase of the Persistent Storage back to the original 37.076
After features/support/hooks.rb:330 3.811
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.473
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 14.879
And I log in to a new session without activating the Persistent Storage 21.648
Then persistence is disabled 0.227
But a Tails persistence partition exists on USB drive "__internal" 5.890
And all notifications have disappeared 10.819
When I delete the persistent partition 6.977
Then there is no persistence partition on USB drive "__internal" 1.029
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.445
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.695
When I write some dotfile expected to persist 0.049
And I shutdown Tails and wait for the computer to power off 12.667
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.555
Then the expected persistent dotfile is present in the filesystem 0.477
After features/support/hooks.rb:330 1.599
After features/support/hooks.rb:100 0.010
Tags: @product
1:56.636
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 14.881
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.254
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.226
When I log in to a new session after having activated the Persistent Storage 46.165
And all notifications have disappeared 8.777
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.833
And all tps features are enabled 2.792
And all tps features but the first one are active 2.416
After features/support/hooks.rb:330 3.898
After features/support/hooks.rb:100 0.000
Tags: @product
10:19.611
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
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:37.839
And I enable persistence 46.601
And I log in to a new session after having activated the Persistent Storage 48.325
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.051
And persistence is enabled 4.794
After features/support/hooks.rb:330 1.917
After features/support/hooks.rb:100 0.000
Tags: @product
42.892
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 16.264
And I enable persistence but something goes wrong during the LUKS header upgrade 25.822
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.805
After features/support/hooks.rb:330 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
57.228
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.451
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.250
When I enable persistence 34.251
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 3.173
After features/support/hooks.rb:330 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
58.188
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.278
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.663
When I try to enable persistence 0.558
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.763
When I repair the filesystem of the Persistent Storage 1.224
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.489
And the filesystem of the Persistent Storage was repaired 5.323
When I close the filesystem repair dialog 1.262
Then persistence is successfully enabled 2.625
After features/support/hooks.rb:330 2.275
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:34.645
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.165
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.337
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 46.452
When I repair the filesystem of the Persistent Storage 5.959
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 49.320
And all notifications have disappeared 13.751
# 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.398
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.117
When I close the "whisperback" window 1.699
Then the Tor Browser starts 23.152
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.062
After features/support/hooks.rb:330 4.674
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.665
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.687
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.217
And Tails detects disk read failures on the boot device 1.620
When I try to enable persistence 0.436
Then the Welcome Screen tells me that my hardware is probably failing 22.824
When I log in to a new session 56.541
And all notifications have disappeared 11.334
Then the Tor Browser starts 21.296
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.707
After features/support/hooks.rb:330 3.016
After features/support/hooks.rb:100 0.000