Project Number Date
test_Tails_ISO_devel 3604 06 Dec 2024, 12:37

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 38:15.043 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.192
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.570
And I update APT using apt 13.563
And I install "python3-behave" using apt 22.927
Then the Tails Persistent Storage behave tests pass 3.131
After features/support/hooks.rb:326 1.069
After features/support/hooks.rb:100 0.000
Tags: @product
43.081
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 11.800
When I log in to a new session without activating the Persistent Storage 21.831
Then Tails is running from USB drive "__internal" 0.698
And persistence is disabled 0.300
But a Tails persistence partition exists on USB drive "__internal" 8.449
After features/support/hooks.rb:326 1.147
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.741
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 11.124
Then Tails is running from USB drive "__internal" 0.390
When I create a file in the Persistent directory 0.115
And I create a persistent partition with the default settings 20.622
Then the file I created was copied to the Persistent Storage 0.603
When I shutdown Tails and wait for the computer to power off 12.827
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.446
Then persistence for "Persistent" is active 0.537
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.074
After features/support/hooks.rb:100 0.008
Tags: @product
58.230
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.648
And the system is very low on memory 4.176
When I create a file in the Persistent directory 1.028
When I try to create a persistent partition 25.203
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.248
When I close the Persistent Storage app 2.735
And I free up some memory 1.569
And I create a persistent partition with the default settings 12.361
Then the file I created was copied to the Persistent Storage 0.257
After features/support/hooks.rb:326 1.550
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.146
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.954
Then Tails is running from USB drive "__internal" 0.458
And all tps features are active 2.381
And all persistent directories have safe access rights 2.698
When I disable the first tps feature 6.223
Then all tps features but the first one are active 2.242
And I shutdown Tails and wait for the computer to power off 10.929
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.948
Then all tps features but the first one are active 2.310
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.018
Tags: @product
21.463
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.582
Then persistence for "Persistent" is active 0.067
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.969
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.396
Then persistence for "Persistent" is active 0.063
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
20.990
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.878
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 6.344
And I delete the data of the Persistent Folder feature 4.517
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.718
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.341
And the network is plugged 0.088
And Tor is ready 18.686
And I take note of which tps features are available 0.589
When I write some files expected to persist 1.454
And I shutdown Tails and wait for the computer to power off 8.599
# 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" 23.958
After features/support/hooks.rb:326 0.140
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.947
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.959
And the network is plugged 0.088
And Tor is ready 19.465
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.637
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.185
And I capture all network traffic 0.007
And the network is plugged 0.074
And Tor is ready 20.678
And I switch to the "persistent-con-current" NetworkManager connection 0.367
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.151
After features/support/hooks.rb:326 0.636
After features/support/hooks.rb:100 0.050
Tags: @product
1:3.797
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 14.894
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.193
Then I create a persistent partition with the default settings using the wizard that was already open 25.597
After features/support/hooks.rb:326 1.934
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.953
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 12.231
When I enable persistence 33.314
Then no persistent Greeter options were restored 14.623
When I set all Greeter options to non-default values 24.308
And I log in to a new session in German (de) after having activated the Persistent Storage 46.015
Then all Greeter options are set to non-default values 0.505
When I cold reboot the computer 7.273
And the computer reboots Tails 1:6.293
Given I enable persistence 19.386
Then persistent Greeter options were restored 0.529
When I log in to a new session after having activated the Persistent Storage 42.013
Then all Greeter options are set to non-default values 0.456
After features/support/hooks.rb:326 1.090
After features/support/hooks.rb:100 0.007
Tags: @product
3:38.052
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.678
# 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 35.844
And I shutdown Tails and wait for the computer to power off 14.392
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.209
And I change the passphrase of the Persistent Storage back to the original 28.926
After features/support/hooks.rb:326 3.924
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.146
Before features/support/hooks.rb:269 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.215
And I log in to a new session without activating the Persistent Storage 21.086
Then persistence is disabled 0.398
But a Tails persistence partition exists on USB drive "__internal" 10.540
And all notifications have disappeared 11.165
When I delete the persistent partition 6.326
Then there is no persistence partition on USB drive "__internal" 0.413
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.654
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 10.597
When I write some dotfile expected to persist 0.134
And I shutdown Tails and wait for the computer to power off 8.518
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.983
Then the expected persistent dotfile is present in the filesystem 0.420
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.008
Tags: @product
1:41.447
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 8.610
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.226
When I log in to a new session after having activated the Persistent Storage 45.598
And all notifications have disappeared 8.580
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.763
And all tps features are enabled 2.197
And all tps features but the first one are active 2.115
After features/support/hooks.rb:326 3.454
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.187
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 3:19.094
And I enable persistence 30.402
And I log in to a new session after having activated the Persistent Storage 47.460
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.602
And persistence is enabled 2.627
After features/support/hooks.rb:326 2.680
After features/support/hooks.rb:100 0.000
Tags: @product
27.822
Before features/support/hooks.rb:269 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.146
And I enable persistence but something goes wrong during the LUKS header upgrade 18.992
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.682
After features/support/hooks.rb:326 0.761
After features/support/hooks.rb:100 0.000
Tags: @product
46.561
Before features/support/hooks.rb:269 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.132
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.154
When I enable persistence 29.637
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.549
After features/support/hooks.rb:326 2.664
After features/support/hooks.rb:100 0.000
Tags: @product
25.281
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 8.853
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.844
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.904
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.273
And the filesystem of the Persistent Storage was repaired 0.097
When I close the filesystem repair dialog 1.202
Then persistence is successfully enabled 1.410
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.961
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 21.796
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.293
When I repair the filesystem of the Persistent Storage 1.184
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 41.405
And all notifications have disappeared 7.943
# 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.603
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.226
When I close the "whisperback" window 1.466
Then the Tor Browser starts 11.422
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.161
After features/support/hooks.rb:326 2.109
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.666
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 8.607
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.019
And Tails detects disk read failures on the boot device 0.495
When I try to enable persistence 0.458
Then the Welcome Screen tells me that my hardware is probably failing 4.954
When I log in to a new session 19.619
And all notifications have disappeared 7.896
Then the Tor Browser starts 22.838
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.775
After features/support/hooks.rb:326 2.507
After features/support/hooks.rb:100 0.000