Project Number Date
test_Tails_ISO_stable 5241 31 Oct 2024, 15:07

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 48:46.044 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.757
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.315
And I update APT using apt 12.965
And I install "python3-behave" using apt 25.694
Then the Tails Persistent Storage behave tests pass 2.783
After features/support/hooks.rb:326 0.646
After features/support/hooks.rb:100 0.000
Tags: @product
47.132
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.110
When I log in to a new session without activating the Persistent Storage 21.498
Then Tails is running from USB drive "__internal" 0.709
And persistence is disabled 0.338
But a Tails persistence partition exists on USB drive "__internal" 10.476
After features/support/hooks.rb:326 1.990
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.376
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 13.401
Then Tails is running from USB drive "__internal" 0.430
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 23.479
Then the file I created was copied to the Persistent Storage 0.612
When I shutdown Tails and wait for the computer to power off 13.383
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.061
Then persistence for "Persistent" is active 1.788
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.012
Tags: @product
1:5.712
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 11.370
And the system is very low on memory 6.320
When I create a file in the Persistent directory 0.798
When I try to create a persistent partition 28.551
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.254
When I close the Persistent Storage app 2.789
And I free up some memory 1.891
And I create a persistent partition with the default settings 13.493
Then the file I created was copied to the Persistent Storage 0.244
After features/support/hooks.rb:326 1.626
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.130
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 12.669
Then Tails is running from USB drive "__internal" 0.552
And all tps features are active 2.540
And all persistent directories have safe access rights 2.731
When I disable the first tps feature 6.199
Then all tps features but the first one are active 2.216
And I shutdown Tails and wait for the computer to power off 10.658
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.366
Then all tps features but the first one are active 2.196
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.008
Tags: @product
21.204
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.672
Then persistence for "Persistent" is active 0.295
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.088
When I disable the first tps feature 6.585
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.175
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
22.319
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.633
Then persistence for "Persistent" is active 0.593
When I create a file in the Persistent directory 0.131
And I disable the first tps feature 6.941
And I delete the data of the Persistent Folder feature 3.936
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:326 1.032
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.265
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.462
And the network is plugged 0.101
And Tor is ready 22.266
And I take note of which tps features are available 0.700
When I write some files expected to persist 1.703
And I shutdown Tails and wait for the computer to power off 11.007
# 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.021
After features/support/hooks.rb:326 0.097
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.754
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.167
And the network is plugged 0.106
And Tor is ready 21.011
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.300
And I shutdown Tails and wait for the computer to power off 11.014
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.455
And I capture all network traffic 0.006
And the network is plugged 0.439
And Tor is ready 20.511
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.205
After features/support/hooks.rb:326 0.750
After features/support/hooks.rb:100 0.051
Tags: @product
1:32.391
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 42.369
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.980
Then I create a persistent partition with the default settings using the wizard that was already open 24.926
After features/support/hooks.rb:326 1.910
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.391
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 46.791
When I enable persistence 42.355
Then no persistent Greeter options were restored 14.678
When I set all Greeter options to non-default values 27.443
And I log in to a new session in German (de) after having activated the Persistent Storage 54.741
Then all Greeter options are set to non-default values 0.539
When I cold reboot the computer 8.173
And the computer reboots Tails 1:6.273
Given I enable persistence 40.699
Then persistent Greeter options were restored 14.994
When I log in to a new session after having activated the Persistent Storage 41.106
Then all Greeter options are set to non-default values 0.594
After features/support/hooks.rb:326 1.250
After features/support/hooks.rb:100 0.009
Tags: @product
4:16.595
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 14.937
# 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 40.300
And I shutdown Tails and wait for the computer to power off 15.127
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.607
And I change the passphrase of the Persistent Storage back to the original 45.623
After features/support/hooks.rb:326 1.825
After features/support/hooks.rb:100 0.011
Tags: @product
1:11.144
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 20.995
And I log in to a new session without activating the Persistent Storage 23.831
Then persistence is disabled 0.378
But a Tails persistence partition exists on USB drive "__internal" 8.906
And all notifications have disappeared 9.804
When I delete the persistent partition 6.774
Then there is no persistence partition on USB drive "__internal" 0.453
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.891
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.215
When I write some dotfile expected to persist 0.492
And I shutdown Tails and wait for the computer to power off 11.359
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.380
Then the expected persistent dotfile is present in the filesystem 0.444
After features/support/hooks.rb:326 1.220
After features/support/hooks.rb:100 0.012
Tags: @product
2:17.376
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 12.608
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.292
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 44.974
When I log in to a new session after having activated the Persistent Storage 52.422
And all notifications have disappeared 10.187
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.868
And all tps features are enabled 3.445
And all tps features but the first one are active 8.492
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
9:20.956
Before features/support/hooks.rb:269 0.012
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 7:30.163
And I enable persistence 51.967
And I log in to a new session after having activated the Persistent Storage 52.227
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 6.278
And persistence is enabled 0.317
After features/support/hooks.rb:326 1.203
After features/support/hooks.rb:100 0.000
Tags: @product
45.339
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 13.680
And I enable persistence but something goes wrong during the LUKS header upgrade 30.703
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.954
After features/support/hooks.rb:326 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
55.644
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 10.009
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.120
When I enable persistence 36.917
Then the filesystem of the Persistent Storage was repaired 0.103
And persistence is successfully enabled 0.493
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
33.318
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 10.703
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.926
When I try to enable persistence 0.555
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.789
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.820
And the filesystem of the Persistent Storage was repaired 0.449
When I close the filesystem repair dialog 1.306
Then persistence is successfully enabled 0.486
After features/support/hooks.rb:326 1.030
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.585
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.235
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.242
When I try to enable persistence 0.308
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.888
When I repair the filesystem of the Persistent Storage 1.597
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.107
When I log in to a new session 44.480
And all notifications have disappeared 11.389
# 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.377
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.591
When I close the "whisperback" window 1.745
Then the Tor Browser starts 17.710
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.911
After features/support/hooks.rb:326 2.213
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:30.755
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 10.479
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 18.023
And Tails detects disk read failures on the boot device 1.797
When I try to enable persistence 0.437
Then the Welcome Screen tells me that my hardware is probably failing 8.887
When I log in to a new session 21.911
And all notifications have disappeared 7.297
Then the Tor Browser starts 21.067
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.853
After features/support/hooks.rb:326 1.773
After features/support/hooks.rb:100 0.000