Project Number Date
test_Tails_ISO_feature-arti 18 03 Dec 2024, 16:21

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 41:28.133 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.253
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.247
And I update APT using apt 14.591
And I install "python3-behave" using apt 26.209
Then the Tails Persistent Storage behave tests pass 3.204
After features/support/hooks.rb:326 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
50.922
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 16.586
When I log in to a new session without activating the Persistent Storage 24.955
Then Tails is running from USB drive "__internal" 0.392
And persistence is disabled 0.445
But a Tails persistence partition exists on USB drive "__internal" 8.541
After features/support/hooks.rb:326 1.079
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.860
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 12.349
Then Tails is running from USB drive "__internal" 0.649
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 25.403
Then the file I created was copied to the Persistent Storage 0.758
When I shutdown Tails and wait for the computer to power off 13.008
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.088
Then persistence for "Persistent" is active 0.348
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.008
Tags: @product
58.375
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.160
And the system is very low on memory 6.157
When I create a file in the Persistent directory 0.979
When I try to create a persistent partition 23.677
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.128
When I close the Persistent Storage app 2.693
And I free up some memory 1.205
And I create a persistent partition with the default settings 11.092
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:326 1.531
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.849
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.858
Then Tails is running from USB drive "__internal" 0.375
And all tps features are active 2.453
And all persistent directories have safe access rights 2.469
When I disable the first tps feature 6.145
Then all tps features but the first one are active 2.184
And I shutdown Tails and wait for the computer to power off 10.958
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.935
Then all tps features but the first one are active 2.468
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.016
Tags: @product
22.880
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.197
Then persistence for "Persistent" is active 0.082
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.092
When I disable the first tps feature 7.286
Then persistence for "Persistent" is not active 0.128
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.740
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.000
Tags: @product
22.224
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 10.644
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 6.254
And I delete the data of the Persistent Folder feature 5.072
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 1.071
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.172
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 11.027
And the network is plugged 0.070
And Tor is ready 25.974
And I take note of which tps features are available 0.656
When I write some files expected to persist 1.780
And I shutdown Tails and wait for the computer to power off 10.982
# 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" 27.680
After features/support/hooks.rb:326 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.562
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.635
And the network is plugged 0.114
And Tor is ready 20.779
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 8.818
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.646
And I capture all network traffic 0.006
And the network is plugged 0.160
And Tor is ready 21.465
And I switch to the "persistent-con-current" NetworkManager connection 0.413
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.186
After features/support/hooks.rb:326 0.713
After features/support/hooks.rb:100 0.054
Tags: @product
1:7.914
Before features/support/hooks.rb:269 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 17.967
And I enable persistence creation in Tails Greeter 1.128
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.896
Then I create a persistent partition with the default settings using the wizard that was already open 24.921
After features/support/hooks.rb:326 1.583
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.071
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 13.420
When I enable persistence 40.477
Then no persistent Greeter options were restored 14.188
When I set all Greeter options to non-default values 26.387
And I log in to a new session in German (de) after having activated the Persistent Storage 49.489
Then all Greeter options are set to non-default values 0.549
When I cold reboot the computer 7.721
And the computer reboots Tails 1:0.634
Given I enable persistence 19.150
Then persistent Greeter options were restored 0.618
When I log in to a new session after having activated the Persistent Storage 34.071
Then all Greeter options are set to non-default values 0.362
After features/support/hooks.rb:326 1.449
After features/support/hooks.rb:100 0.048
Tags: @product
3:59.905
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.273
# 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.822
And I shutdown Tails and wait for the computer to power off 13.571
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.065
And I change the passphrase of the Persistent Storage back to the original 34.171
After features/support/hooks.rb:326 2.355
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.705
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.298
And I log in to a new session without activating the Persistent Storage 27.809
Then persistence is disabled 0.501
But a Tails persistence partition exists on USB drive "__internal" 9.361
And all notifications have disappeared 11.795
When I delete the persistent partition 7.524
Then there is no persistence partition on USB drive "__internal" 0.414
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.393
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 11.539
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 8.539
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.778
Then the expected persistent dotfile is present in the filesystem 0.454
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.009
Tags: @product
1:53.946
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.616
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.336
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.253
When I log in to a new session after having activated the Persistent Storage 48.394
And all notifications have disappeared 8.847
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.803
And all tps features are enabled 2.978
And all tps features but the first one are active 2.603
After features/support/hooks.rb:326 1.160
After features/support/hooks.rb:100 0.000
Tags: @product
5:17.020
Before features/support/hooks.rb:269 0.007
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:46.940
And I enable persistence 34.164
And I log in to a new session after having activated the Persistent Storage 49.110
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.026
And persistence is enabled 4.778
After features/support/hooks.rb:326 2.446
After features/support/hooks.rb:100 0.000
Tags: @product
36.672
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 11.369
And I enable persistence but something goes wrong during the LUKS header upgrade 24.459
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.844
After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
50.531
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 9.920
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.358
When I enable persistence 31.197
Then the filesystem of the Persistent Storage was repaired 0.103
And persistence is successfully enabled 2.951
After features/support/hooks.rb:326 1.282
After features/support/hooks.rb:100 0.000
Tags: @product
31.739
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 9.209
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.170
When I try to enable persistence 0.471
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.153
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.313
And the filesystem of the Persistent Storage was repaired 0.343
When I close the filesystem repair dialog 1.233
Then persistence is successfully enabled 1.571
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.500
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.135
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.346
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.327
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 38.815
And all notifications have disappeared 8.882
# 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.941
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.817
When I close the "whisperback" window 1.468
Then the Tor Browser starts 20.462
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.835
After features/support/hooks.rb:326 2.354
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.629
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.963
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.431
And Tails detects disk read failures on the boot device 0.492
When I try to enable persistence 0.560
Then the Welcome Screen tells me that my hardware is probably failing 5.766
When I log in to a new session 22.767
And all notifications have disappeared 7.570
Then the Tor Browser starts 23.209
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 1.428
After features/support/hooks.rb:100 0.000