Project Number Date
test_Tails_ISO_stable 5162 09 Oct 2024, 12:52

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:52.609 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.958
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:42.574
And I update APT using apt 15.001
And I install "python3-behave" using apt 25.571
Then the Tails Persistent Storage behave tests pass 2.810
After features/support/hooks.rb:326 1.203
After features/support/hooks.rb:100 0.000
Tags: @product
48.932
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 14.412
When I log in to a new session without activating the Persistent Storage 22.990
Then Tails is running from USB drive "__internal" 0.756
And persistence is disabled 0.270
But a Tails persistence partition exists on USB drive "__internal" 10.503
After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.358
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 16.423
Then Tails is running from USB drive "__internal" 0.641
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 23.894
Then the file I created was copied to the Persistent Storage 0.523
When I shutdown Tails and wait for the computer to power off 12.951
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.258
Then persistence for "Persistent" is active 0.438
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.009
Tags: @product
1:20.726
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 30.091
And the system is very low on memory 5.073
When I create a file in the Persistent directory 1.139
When I try to create a persistent partition 26.015
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.160
When I close the Persistent Storage app 2.576
And I free up some memory 1.442
And I create a persistent partition with the default settings 13.710
Then the file I created was copied to the Persistent Storage 0.516
After features/support/hooks.rb:326 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.605
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 10.998
Then Tails is running from USB drive "__internal" 0.489
And all tps features are active 2.552
And all persistent directories have safe access rights 2.519
When I disable the first tps feature 6.453
Then all tps features but the first one are active 2.382
And I shutdown Tails and wait for the computer to power off 10.948
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.110
Then all tps features but the first one are active 6.151
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.020
Tags: @product
24.961
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.447
Then persistence for "Persistent" is active 0.105
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.126
When I disable the first tps feature 6.957
Then persistence for "Persistent" is not active 0.152
And the Persistent directory does not exist 0.111
When I enable the first tps feature 3.778
Then persistence for "Persistent" is active 0.105
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 1.023
After features/support/hooks.rb:100 0.000
Tags: @product
20.180
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.201
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.091
And I disable the first tps feature 6.107
And I delete the data of the Persistent Folder feature 3.619
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.403
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.037
And the network is plugged 0.085
And Tor is ready 20.684
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.689
And I shutdown Tails and wait for the computer to power off 6.920
# 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.339
After features/support/hooks.rb:326 0.148
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.547
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 9.597
And the network is plugged 0.124
And Tor is ready 18.525
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.242
And I shutdown Tails and wait for the computer to power off 8.955
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.419
And I capture all network traffic 0.013
And the network is plugged 0.112
And Tor is ready 21.972
And I switch to the "persistent-con-current" NetworkManager connection 0.314
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.064
Tags: @product
1:0.355
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.784
And I enable persistence creation in Tails Greeter 1.151
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.730
Then I create a persistent partition with the default settings using the wizard that was already open 24.689
After features/support/hooks.rb:326 2.095
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.558
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 12.801
When I enable persistence 44.691
Then no persistent Greeter options were restored 14.506
When I set all Greeter options to non-default values 25.228
And I log in to a new session in German (de) after having activated the Persistent Storage 44.992
Then all Greeter options are set to non-default values 0.607
When I cold reboot the computer 10.199
And the computer reboots Tails 1:5.238
Given I enable persistence 40.410
Then persistent Greeter options were restored 17.290
When I log in to a new session after having activated the Persistent Storage 50.910
Then all Greeter options are set to non-default values 0.683
After features/support/hooks.rb:326 1.871
After features/support/hooks.rb:100 0.012
Tags: @product
4:8.376
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.968
# 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.326
And I shutdown Tails and wait for the computer to power off 15.134
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.757
And I change the passphrase of the Persistent Storage back to the original 33.189
After features/support/hooks.rb:326 2.012
After features/support/hooks.rb:100 0.017
Tags: @product
1:3.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 10.343
And I log in to a new session without activating the Persistent Storage 22.363
Then persistence is disabled 0.313
But a Tails persistence partition exists on USB drive "__internal" 14.081
And all notifications have disappeared 8.805
When I delete the persistent partition 6.774
Then there is no persistence partition on USB drive "__internal" 0.598
After features/support/hooks.rb:326 1.787
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.430
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.885
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 11.192
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.912
Then the expected persistent dotfile is present in the filesystem 0.373
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.010
Tags: @product
1:56.839
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.987
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 44.890
When I log in to a new session after having activated the Persistent Storage 44.224
And all notifications have disappeared 9.885
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.766
And all tps features are enabled 2.667
And all tps features but the first one are active 2.050
After features/support/hooks.rb:326 1.268
After features/support/hooks.rb:100 0.000
Tags: @product
7:49.926
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 6:20.072
And I enable persistence 37.812
And I log in to a new session after having activated the Persistent Storage 49.568
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.243
And persistence is enabled 0.229
After features/support/hooks.rb:326 2.151
After features/support/hooks.rb:100 0.000
Tags: @product
29.166
Before features/support/hooks.rb:269 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 9.035
And I enable persistence but something goes wrong during the LUKS header upgrade 19.318
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.812
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
51.900
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.371
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.406
When I enable persistence 31.626
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 0.401
After features/support/hooks.rb:326 1.383
After features/support/hooks.rb:100 0.000
Tags: @product
37.680
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.281
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.364
When I try to enable persistence 1.472
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.106
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.276
And the filesystem of the Persistent Storage was repaired 0.222
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 0.454
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product
1:50.226
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 8.814
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.145
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.576
When I repair the filesystem of the Persistent Storage 1.953
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.124
When I log in to a new session 33.311
And all notifications have disappeared 9.067
# 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.596
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.227
When I close the "whisperback" window 1.801
Then the Tor Browser starts 15.453
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.747
After features/support/hooks.rb:326 2.161
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.192
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.662
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.823
And Tails detects disk read failures on the boot device 1.772
When I try to enable persistence 0.426
Then the Welcome Screen tells me that my hardware is probably failing 7.285
When I log in to a new session 21.469
And all notifications have disappeared 8.270
Then the Tor Browser starts 19.709
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.772
After features/support/hooks.rb:326 2.703
After features/support/hooks.rb:100 0.000