Project Number Date
test_Tails_ISO_feature-arti 9 26 Mar 2025, 16:59

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:29.839 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:46.622
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.603
And I update APT using apt 42.217
And I install "python3-behave" using apt 23.288
Then the Tails Persistent Storage behave tests pass 3.512
After features/support/hooks.rb:330 0.710
After features/support/hooks.rb:100 0.000
Tags: @product
46.340
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 11.508
When I log in to a new session without activating the Persistent Storage 25.118
Then Tails is running from USB drive "__internal" 0.450
And persistence is disabled 0.367
But a Tails persistence partition exists on USB drive "__internal" 8.896
After features/support/hooks.rb:330 1.612
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.737
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 16.216
Then Tails is running from USB drive "__internal" 0.505
When I create a file in the Persistent directory 0.187
And I create a persistent partition with the default settings 23.778
Then the file I created was copied to the Persistent Storage 1.954
When I shutdown Tails and wait for the computer to power off 13.047
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.528
Then persistence for "Persistent" is active 0.444
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.765
After features/support/hooks.rb:100 0.006
Tags: @product
1:1.047
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.475
And the system is very low on memory 3.487
When I create a file in the Persistent directory 1.025
When I try to create a persistent partition 23.691
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.361
When I close the Persistent Storage app 2.539
And I free up some memory 3.977
And I create a persistent partition with the default settings 13.163
Then the file I created was copied to the Persistent Storage 0.324
After features/support/hooks.rb:330 2.173
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.716
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.006
Then Tails is running from USB drive "__internal" 0.599
And all tps features are active 2.647
And all persistent directories have safe access rights 2.709
When I disable the first tps feature 6.584
Then all tps features but the first one are active 2.077
And I shutdown Tails and wait for the computer to power off 15.211
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.848
Then all tps features but the first one are active 2.032
After features/support/hooks.rb:330 1.279
After features/support/hooks.rb:100 0.030
Tags: @product
20.934
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.248
Then persistence for "Persistent" is active 0.380
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.145
When I disable the first tps feature 6.242
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.522
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.533
After features/support/hooks.rb:100 0.000
Tags: @product
20.710
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.390
Then persistence for "Persistent" is active 0.200
When I create a file in the Persistent directory 0.125
And I disable the first tps feature 6.600
And I delete the data of the Persistent Folder feature 4.308
Then the file I created does not exist on the Persistent Storage 0.085
After features/support/hooks.rb:330 1.549
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.168
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.418
And the network is plugged 0.115
And Tor is ready 21.326
And I take note of which tps features are available 0.600
When I write some files expected to persist 1.461
And I shutdown Tails and wait for the computer to power off 8.565
# 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.681
After features/support/hooks.rb:330 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.393
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.096
And the network is plugged 0.159
And Tor is ready 20.554
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 11.128
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.347
And I capture all network traffic 0.003
And the network is plugged 0.073
And Tor is ready 19.060
And I switch to the "persistent-con-current" NetworkManager connection 0.438
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.176
After features/support/hooks.rb:330 0.690
After features/support/hooks.rb:100 0.043
Tags: @product
1:0.913
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 14.965
And I enable persistence creation in Tails Greeter 1.395
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.197
Then I create a persistent partition with the default settings using the wizard that was already open 22.354
After features/support/hooks.rb:330 2.632
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.764
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.608
When I enable persistence 39.166
Then no persistent Greeter options were restored 15.168
When I set all Greeter options to non-default values 26.448
And I log in to a new session in German (de) after having activated the Persistent Storage 45.675
Then all Greeter options are set to non-default values 0.430
When I cold reboot the computer 7.257
And the computer reboots Tails 1:9.396
Given I enable persistence 20.411
Then persistent Greeter options were restored 0.631
When I log in to a new session after having activated the Persistent Storage 41.297
Then all Greeter options are set to non-default values 0.272
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.007
Tags: @product
3:39.146
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.388
# 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.207
And I shutdown Tails and wait for the computer to power off 12.994
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.886
And I change the passphrase of the Persistent Storage back to the original 30.668
After features/support/hooks.rb:330 2.909
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.054
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.943
And I log in to a new session without activating the Persistent Storage 22.668
Then persistence is disabled 0.548
But a Tails persistence partition exists on USB drive "__internal" 5.938
And all notifications have disappeared 12.122
When I delete the persistent partition 7.885
Then there is no persistence partition on USB drive "__internal" 0.948
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.500
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.082
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.611
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.294
Then the expected persistent dotfile is present in the filesystem 0.427
After features/support/hooks.rb:330 1.626
After features/support/hooks.rb:100 0.010
Tags: @product
1:42.821
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.711
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.694
When I log in to a new session after having activated the Persistent Storage 46.047
And all notifications have disappeared 8.730
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.117
And all tps features are enabled 3.062
And all tps features but the first one are active 2.098
After features/support/hooks.rb:330 1.676
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.421
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:1.964
And I enable persistence 33.228
And I log in to a new session after having activated the Persistent Storage 44.520
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.118
And persistence is enabled 2.589
After features/support/hooks.rb:330 3.607
After features/support/hooks.rb:100 0.000
Tags: @product
31.306
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 10.244
And I enable persistence but something goes wrong during the LUKS header upgrade 20.162
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.898
After features/support/hooks.rb:330 0.731
After features/support/hooks.rb:100 0.000
Tags: @product
53.087
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.300
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.449
When I enable persistence 32.343
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 4.906
After features/support/hooks.rb:330 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
51.237
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.178
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.748
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.470
When I repair the filesystem of the Persistent Storage 1.468
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.631
And the filesystem of the Persistent Storage was repaired 3.672
When I close the filesystem repair dialog 1.267
Then persistence is successfully enabled 1.390
After features/support/hooks.rb:330 1.442
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.833
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.342
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.155
When I repair the filesystem of the Persistent Storage 1.225
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 38.233
And all notifications have disappeared 11.032
# 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.411
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.547
When I close the "whisperback" window 1.564
Then the Tor Browser starts 19.852
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.005
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.079
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 9.230
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.297
And Tails detects disk read failures on the boot device 1.751
When I try to enable persistence 0.426
Then the Welcome Screen tells me that my hardware is probably failing 19.344
When I log in to a new session 51.990
And all notifications have disappeared 10.249
Then the Tor Browser starts 21.419
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.367
After features/support/hooks.rb:330 1.670
After features/support/hooks.rb:100 0.000