Project Number Date
test_Tails_ISO_stable 5412 22 Jan 2025, 12:55

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 45:30.676 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:38.181
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:56.392
And I update APT using apt 12.978
And I install "python3-behave" using apt 25.530
Then the Tails Persistent Storage behave tests pass 3.280
After features/support/hooks.rb:326 1.299
After features/support/hooks.rb:100 0.000
Tags: @product
55.479
Before features/support/hooks.rb:269 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 15.082
When I log in to a new session without activating the Persistent Storage 26.138
Then Tails is running from USB drive "__internal" 0.729
And persistence is disabled 0.553
But a Tails persistence partition exists on USB drive "__internal" 12.975
After features/support/hooks.rb:326 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.825
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.043
Then Tails is running from USB drive "__internal" 0.415
When I create a file in the Persistent directory 0.188
And I create a persistent partition with the default settings 26.804
Then the file I created was copied to the Persistent Storage 0.560
When I shutdown Tails and wait for the computer to power off 15.444
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.979
Then persistence for "Persistent" is active 0.311
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.035
Tags: @product
1:1.747
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.539
And the system is very low on memory 5.603
When I create a file in the Persistent directory 1.387
When I try to create a persistent partition 23.054
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.268
When I close the Persistent Storage app 2.655
And I free up some memory 1.563
And I create a persistent partition with the default settings 14.406
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:326 1.591
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.349
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.236
Then Tails is running from USB drive "__internal" 0.499
And all tps features are active 2.311
And all persistent directories have safe access rights 2.797
When I disable the first tps feature 7.394
Then all tps features but the first one are active 2.182
And I shutdown Tails and wait for the computer to power off 15.671
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:38.655
Then all tps features but the first one are active 3.602
After features/support/hooks.rb:326 1.183
After features/support/hooks.rb:100 0.026
Tags: @product
22.373
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.665
Then persistence for "Persistent" is active 0.150
And I create a file in the Persistent directory 0.097
Then the file I created was copied to the Persistent Storage 0.073
When I disable the first tps feature 5.863
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.200
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
20.937
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.582
Then persistence for "Persistent" is active 0.143
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 6.276
And I delete the data of the Persistent Folder feature 3.780
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.071
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.559
And the network is plugged 0.084
And Tor is ready 21.622
And I take note of which tps features are available 0.768
When I write some files expected to persist 1.738
And I shutdown Tails and wait for the computer to power off 12.016
# 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" 26.281
After features/support/hooks.rb:326 0.189
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.098
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.673
And the network is plugged 0.089
And Tor is ready 19.539
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 8.387
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.804
And I capture all network traffic 0.007
And the network is plugged 0.089
And Tor is ready 21.536
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.139
And no network device leaked the real MAC address 0.211
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.049
Tags: @product
1:3.694
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.213
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.505
Then I create a persistent partition with the default settings using the wizard that was already open 24.862
After features/support/hooks.rb:326 1.519
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.076
Before features/support/hooks.rb:269 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 28.241
When I enable persistence 42.944
Then no persistent Greeter options were restored 14.560
When I set all Greeter options to non-default values 29.785
And I log in to a new session in German (de) after having activated the Persistent Storage 57.066
Then all Greeter options are set to non-default values 0.611
When I cold reboot the computer 7.854
And the computer reboots Tails 1:16.763
Given I enable persistence 18.053
Then persistent Greeter options were restored 0.727
When I log in to a new session after having activated the Persistent Storage 37.964
Then all Greeter options are set to non-default values 0.502
After features/support/hooks.rb:326 1.280
After features/support/hooks.rb:100 0.017
Tags: @product
4:16.676
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.250
# 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.021
And I shutdown Tails and wait for the computer to power off 13.124
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.389
And I change the passphrase of the Persistent Storage back to the original 45.889
After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.010
Tags: @product
59.016
Before features/support/hooks.rb:269 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.030
And I log in to a new session without activating the Persistent Storage 19.738
Then persistence is disabled 0.253
But a Tails persistence partition exists on USB drive "__internal" 12.063
And all notifications have disappeared 9.977
When I delete the persistent partition 6.490
Then there is no persistence partition on USB drive "__internal" 0.462
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.809
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.473
When I write some dotfile expected to persist 0.159
And I shutdown Tails and wait for the computer to power off 8.661
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.033
Then the expected persistent dotfile is present in the filesystem 0.481
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.011
Tags: @product
1:46.860
Before features/support/hooks.rb:269 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.137
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 1.332
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.927
When I log in to a new session after having activated the Persistent Storage 46.924
And all notifications have disappeared 9.532
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.397
And all tps features are enabled 2.913
And all tps features but the first one are active 2.605
After features/support/hooks.rb:326 1.095
After features/support/hooks.rb:100 0.000
Tags: @product
6:29.021
Before features/support/hooks.rb:269 0.009
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:54.935
And I enable persistence 36.986
And I log in to a new session after having activated the Persistent Storage 48.112
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.291
And persistence is enabled 4.695
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
31.829
Before features/support/hooks.rb:269 0.005
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.216
And I enable persistence but something goes wrong during the LUKS header upgrade 21.785
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.827
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
49.927
Before features/support/hooks.rb:269 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.744
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.193
When I enable persistence 29.217
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.684
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.000
Tags: @product
51.228
Before features/support/hooks.rb:269 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.433
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.025
When I try to enable persistence 0.615
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.987
When I repair the filesystem of the Persistent Storage 2.712
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.180
And the filesystem of the Persistent Storage was repaired 1.741
When I close the filesystem repair dialog 1.620
Then persistence is successfully enabled 2.910
After features/support/hooks.rb:326 2.766
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.191
Before features/support/hooks.rb:269 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.418
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.121
When I try to enable persistence 0.321
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.426
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.288
When I log in to a new session 42.066
And all notifications have disappeared 9.510
# 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.466
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.758
When I close the "whisperback" window 1.658
Then the Tor Browser starts 18.006
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.866
After features/support/hooks.rb:326 3.626
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.278
Before features/support/hooks.rb:269 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.370
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.283
And Tails detects disk read failures on the boot device 1.612
When I try to enable persistence 1.481
Then the Welcome Screen tells me that my hardware is probably failing 19.919
When I log in to a new session 51.059
And all notifications have disappeared 8.967
Then the Tor Browser starts 18.763
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.820
After features/support/hooks.rb:326 2.520
After features/support/hooks.rb:100 0.000