Project Number Date
test_Tails_ISO_devel 3774 10 Apr 2025, 11:40

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 52:35.867 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:55.961
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 2:10.238
And I update APT using apt 2:44.567
And I install "python3-behave" using apt 57.406
Then the Tails Persistent Storage behave tests pass 3.749
After features/support/hooks.rb:330 0.971
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.217
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 26.306
When I log in to a new session without activating the Persistent Storage 25.821
Then Tails is running from USB drive "__internal" 0.692
And persistence is disabled 0.538
But a Tails persistence partition exists on USB drive "__internal" 13.859
After features/support/hooks.rb:330 2.633
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.532
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 33.898
Then Tails is running from USB drive "__internal" 0.422
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 30.987
Then the file I created was copied to the Persistent Storage 2.784
When I shutdown Tails and wait for the computer to power off 14.380
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:15.155
Then persistence for "Persistent" is active 0.670
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.296
After features/support/hooks.rb:100 0.028
Tags: @product
1:13.364
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 17.712
And the system is very low on memory 4.597
When I create a file in the Persistent directory 1.621
When I try to create a persistent partition 26.748
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.188
When I close the Persistent Storage app 2.868
And I free up some memory 4.396
And I create a persistent partition with the default settings 14.901
Then the file I created was copied to the Persistent Storage 0.329
After features/support/hooks.rb:330 2.740
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.636
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.179
Then Tails is running from USB drive "__internal" 0.820
And all tps features are active 3.046
And all persistent directories have safe access rights 3.189
When I disable the first tps feature 7.406
Then all tps features but the first one are active 2.641
And I shutdown Tails and wait for the computer to power off 13.151
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.595
Then all tps features but the first one are active 3.604
After features/support/hooks.rb:330 1.098
After features/support/hooks.rb:100 0.014
Tags: @product
22.649
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 11.072
Then persistence for "Persistent" is active 0.115
And I create a file in the Persistent directory 0.126
Then the file I created was copied to the Persistent Storage 0.153
When I disable the first tps feature 6.751
Then persistence for "Persistent" is not active 0.101
And the Persistent directory does not exist 0.083
When I enable the first tps feature 4.055
Then persistence for "Persistent" is active 0.102
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 1.604
After features/support/hooks.rb:100 0.000
Tags: @product
21.779
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 10.730
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.131
And I disable the first tps feature 6.597
And I delete the data of the Persistent Folder feature 4.134
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000
Tags: @product
1:41.170
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.876
And the network is plugged 0.113
And Tor is ready 52.345
And I take note of which tps features are available 0.848
When I write some files expected to persist 2.096
And I shutdown Tails and wait for the computer to power off 9.201
# 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.688
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
4:0.410
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.087
And the network is plugged 0.417
And Tor is ready 50.732
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 11.623
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.333
And I capture all network traffic 0.007
And the network is plugged 0.098
And Tor is ready 20.357
And I switch to the "persistent-con-current" NetworkManager connection 0.321
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.050
Tags: @product
1:12.279
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 22.302
And I enable persistence creation in Tails Greeter 1.144
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.890
Then I create a persistent partition with the default settings using the wizard that was already open 24.941
After features/support/hooks.rb:330 2.828
After features/support/hooks.rb:100 0.000
Tags: @product
5:59.925
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 31.153
When I enable persistence 47.654
Then no persistent Greeter options were restored 15.121
When I set all Greeter options to non-default values 39.322
And I log in to a new session in German (de) after having activated the Persistent Storage 57.118
Then all Greeter options are set to non-default values 0.471
When I cold reboot the computer 9.941
And the computer reboots Tails 1:9.581
Given I enable persistence 45.654
Then persistent Greeter options were restored 0.569
When I log in to a new session after having activated the Persistent Storage 42.734
Then all Greeter options are set to non-default values 0.601
After features/support/hooks.rb:330 2.265
After features/support/hooks.rb:100 0.010
Tags: @product
4:22.036
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 14.550
# 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.223
And I shutdown Tails and wait for the computer to power off 13.650
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:39.534
And I change the passphrase of the Persistent Storage back to the original 36.077
After features/support/hooks.rb:330 4.102
After features/support/hooks.rb:100 0.010
Tags: @product
1:7.659
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 15.928
And I log in to a new session without activating the Persistent Storage 21.895
Then persistence is disabled 0.452
But a Tails persistence partition exists on USB drive "__internal" 10.402
And all notifications have disappeared 11.491
When I delete the persistent partition 6.525
Then there is no persistence partition on USB drive "__internal" 0.963
After features/support/hooks.rb:330 1.640
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.899
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 11.896
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 14.128
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.430
Then the expected persistent dotfile is present in the filesystem 0.356
After features/support/hooks.rb:330 1.495
After features/support/hooks.rb:100 0.019
Tags: @product
1:49.133
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 10.096
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.315
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.831
When I log in to a new session after having activated the Persistent Storage 43.674
And all notifications have disappeared 8.572
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.329
And all tps features are enabled 3.047
And all tps features but the first one are active 2.182
After features/support/hooks.rb:330 3.394
After features/support/hooks.rb:100 0.000
Tags: @product
5:28.915
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:56.173
And I enable persistence 37.127
And I log in to a new session after having activated the Persistent Storage 47.635
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.734
And persistence is enabled 5.244
After features/support/hooks.rb:330 2.430
After features/support/hooks.rb:100 0.000
Tags: @product
33.048
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
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.240
And I enable persistence but something goes wrong during the LUKS header upgrade 22.893
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.914
After features/support/hooks.rb:330 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.337
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 24.796
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.038
When I enable persistence 35.205
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 3.205
After features/support/hooks.rb:330 1.958
After features/support/hooks.rb:100 0.000
Tags: @product
57.512
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 9.554
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.586
When I try to enable persistence 0.504
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.508
When I repair the filesystem of the Persistent Storage 5.114
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.070
And the filesystem of the Persistent Storage was repaired 3.446
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.445
After features/support/hooks.rb:330 2.337
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.815
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.626
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.138
When I try to enable persistence 0.344
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.677
When I repair the filesystem of the Persistent Storage 1.298
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 37.591
And all notifications have disappeared 9.632
# 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.478
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.590
When I close the "whisperback" window 1.487
Then the Tor Browser starts 21.012
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.863
After features/support/hooks.rb:330 2.705
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.583
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.182
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.749
And Tails detects disk read failures on the boot device 0.733
When I try to enable persistence 0.420
Then the Welcome Screen tells me that my hardware is probably failing 21.526
When I log in to a new session 53.485
And all notifications have disappeared 10.753
Then the Tor Browser starts 24.393
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.338
After features/support/hooks.rb:330 3.540
After features/support/hooks.rb:100 0.000