Project Number Date
test_Tails_ISO_feature-arti 53 09 May 2025, 16:42

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 44:2.546 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:0.763
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:52.890
And I update APT using apt 36.760
And I install "python3-behave" using apt 27.392
Then the Tails Persistent Storage behave tests pass 3.720
After features/support/hooks.rb:330 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
51.653
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 15.708
When I log in to a new session without activating the Persistent Storage 26.298
Then Tails is running from USB drive "__internal" 0.781
And persistence is disabled 0.435
But a Tails persistence partition exists on USB drive "__internal" 8.429
After features/support/hooks.rb:330 1.536
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.436
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 1:6.429
Then Tails is running from USB drive "__internal" 0.727
When I create a file in the Persistent directory 0.166
And I create a persistent partition with the default settings 26.254
Then the file I created was copied to the Persistent Storage 2.631
When I shutdown Tails and wait for the computer to power off 11.806
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.002
Then persistence for "Persistent" is active 0.333
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.794
After features/support/hooks.rb:100 0.009
Tags: @product
55.880
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 11.096
And the system is very low on memory 4.636
When I create a file in the Persistent directory 1.187
When I try to create a persistent partition 19.612
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.220
When I close the Persistent Storage app 2.629
And I free up some memory 2.839
And I create a persistent partition with the default settings 13.369
Then the file I created was copied to the Persistent Storage 0.289
After features/support/hooks.rb:330 2.215
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.587
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 17.715
Then Tails is running from USB drive "__internal" 0.436
And all tps features are active 2.594
And all persistent directories have safe access rights 2.966
When I disable the first tps feature 6.734
Then all tps features but the first one are active 2.376
And I shutdown Tails and wait for the computer to power off 15.369
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.942
Then all tps features but the first one are active 5.451
After features/support/hooks.rb:330 1.288
After features/support/hooks.rb:100 0.014
Tags: @product
24.172
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 12.011
Then persistence for "Persistent" is active 0.285
And I create a file in the Persistent directory 0.096
Then the file I created was copied to the Persistent Storage 0.140
When I disable the first tps feature 8.098
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.242
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
20.759
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.353
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.400
And I delete the data of the Persistent Folder feature 3.766
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.411
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.194
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.776
And the network is plugged 0.075
And Tor is ready 22.121
And I take note of which tps features are available 0.637
When I write some files expected to persist 1.814
And I shutdown Tails and wait for the computer to power off 10.840
# 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.929
After features/support/hooks.rb:330 0.142
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.121
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.558
And the network is plugged 0.094
And Tor is ready 22.538
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.231
And I shutdown Tails and wait for the computer to power off 8.777
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.673
And I capture all network traffic 0.014
And the network is plugged 0.090
And Tor is ready 20.513
And I switch to the "persistent-con-current" NetworkManager connection 0.374
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.176
After features/support/hooks.rb:330 0.682
After features/support/hooks.rb:100 0.093
Tags: @product
55.731
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 12.031
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 20.281
Then I create a persistent partition with the default settings using the wizard that was already open 22.292
After features/support/hooks.rb:330 2.620
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.093
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.836
When I enable persistence 40.812
Then no persistent Greeter options were restored 14.078
When I set all Greeter options to non-default values 26.355
And I log in to a new session in German (de) after having activated the Persistent Storage 50.887
Then all Greeter options are set to non-default values 0.687
When I cold reboot the computer 7.814
And the computer reboots Tails 1:12.459
Given I enable persistence 17.874
Then persistent Greeter options were restored 0.618
When I log in to a new session after having activated the Persistent Storage 39.973
Then all Greeter options are set to non-default values 0.695
After features/support/hooks.rb:330 1.937
After features/support/hooks.rb:100 0.010
Tags: @product
3:47.740
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 11.030
# 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 41.981
And I shutdown Tails and wait for the computer to power off 14.772
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.977
And I change the passphrase of the Persistent Storage back to the original 29.978
After features/support/hooks.rb:330 3.238
After features/support/hooks.rb:100 0.008
Tags: @product
58.928
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.250
And I log in to a new session without activating the Persistent Storage 21.718
Then persistence is disabled 0.440
But a Tails persistence partition exists on USB drive "__internal" 10.203
And all notifications have disappeared 10.667
When I delete the persistent partition 5.870
Then there is no persistence partition on USB drive "__internal" 0.776
After features/support/hooks.rb:330 1.342
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.424
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.291
When I write some dotfile expected to persist 0.054
And I shutdown Tails and wait for the computer to power off 8.489
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.216
Then the expected persistent dotfile is present in the filesystem 0.372
After features/support/hooks.rb:330 0.721
After features/support/hooks.rb:100 0.009
Tags: @product
1:43.928
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.698
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.327
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.585
When I log in to a new session after having activated the Persistent Storage 43.503
And all notifications have disappeared 7.411
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.422
And all tps features are enabled 3.926
And all tps features but the first one are active 1.963
After features/support/hooks.rb:330 2.668
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.459
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 4:3.436
And I enable persistence 37.156
And I log in to a new session after having activated the Persistent Storage 39.356
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.756
And persistence is enabled 3.753
After features/support/hooks.rb:330 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
32.555
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.539
And I enable persistence but something goes wrong during the LUKS header upgrade 23.266
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.748
After features/support/hooks.rb:330 0.741
After features/support/hooks.rb:100 0.000
Tags: @product
48.467
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.578
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.452
When I enable persistence 27.788
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 2.547
After features/support/hooks.rb:330 1.382
After features/support/hooks.rb:100 0.000
Tags: @product
49.754
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.530
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.084
When I try to enable persistence 0.600
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.850
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.249
And the filesystem of the Persistent Storage was repaired 2.611
When I close the filesystem repair dialog 1.225
Then persistence is successfully enabled 1.342
After features/support/hooks.rb:330 1.613
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.462
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.857
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.440
When I repair the filesystem of the Persistent Storage 1.202
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 44.806
And all notifications have disappeared 9.974
# 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.825
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.548
When I close the "whisperback" window 1.494
Then the Tor Browser starts 18.003
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.831
After features/support/hooks.rb:330 4.163
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.430
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.816
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.426
And Tails detects disk read failures on the boot device 1.520
When I try to enable persistence 0.491
Then the Welcome Screen tells me that my hardware is probably failing 20.875
When I log in to a new session 51.641
And all notifications have disappeared 9.355
Then the Tor Browser starts 22.491
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:330 2.115
After features/support/hooks.rb:100 0.000