Project Number Date
test_Tails_ISO_devel 3549 15 Oct 2024, 19:22

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 43:22.766 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.615
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.487
And I update APT using apt 12.994
And I install "python3-behave" using apt 26.319
Then the Tails Persistent Storage behave tests pass 2.813
After features/support/hooks.rb:326 1.685
After features/support/hooks.rb:100 0.000
Tags: @product
51.358
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 20.347
When I log in to a new session without activating the Persistent Storage 22.991
Then Tails is running from USB drive "__internal" 0.485
And persistence is disabled 0.397
But a Tails persistence partition exists on USB drive "__internal" 7.134
After features/support/hooks.rb:326 1.013
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.265
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 12.919
Then Tails is running from USB drive "__internal" 0.410
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 26.180
Then the file I created was copied to the Persistent Storage 0.728
When I shutdown Tails and wait for the computer to power off 12.965
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.412
Then persistence for "Persistent" is active 0.443
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.009
Tags: @product
1:21.588
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 30.510
And the system is very low on memory 4.926
When I create a file in the Persistent directory 2.881
When I try to create a persistent partition 24.850
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.269
When I close the Persistent Storage app 2.906
And I free up some memory 1.485
And I create a persistent partition with the default settings 13.490
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:326 1.741
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.564
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 12.918
Then Tails is running from USB drive "__internal" 1.229
And all tps features are active 3.673
And all persistent directories have safe access rights 2.884
When I disable the first tps feature 6.556
Then all tps features but the first one are active 3.362
And I shutdown Tails and wait for the computer to power off 11.654
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.746
Then all tps features but the first one are active 2.538
After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.008
Tags: @product
23.834
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.624
Then persistence for "Persistent" is active 0.519
And I create a file in the Persistent directory 0.958
Then the file I created was copied to the Persistent Storage 0.073
When I disable the first tps feature 6.727
Then persistence for "Persistent" is not active 0.575
And the Persistent directory does not exist 0.084
When I enable the first tps feature 4.106
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
22.212
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.138
Then persistence for "Persistent" is active 0.143
When I create a file in the Persistent directory 0.737
And I disable the first tps feature 6.584
And I delete the data of the Persistent Folder feature 4.537
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:326 1.033
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.561
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 10.699
And the network is plugged 0.080
And Tor is ready 22.168
And I take note of which tps features are available 0.627
When I write some files expected to persist 1.581
And I shutdown Tails and wait for the computer to power off 13.553
# 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.848
After features/support/hooks.rb:326 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.997
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.887
And the network is plugged 0.081
And Tor is ready 20.470
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.202
And I shutdown Tails and wait for the computer to power off 11.589
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.237
And I capture all network traffic 0.007
And the network is plugged 0.227
And Tor is ready 20.446
And I switch to the "persistent-con-current" NetworkManager connection 0.387
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.354
After features/support/hooks.rb:326 2.229
After features/support/hooks.rb:100 0.050
Tags: @product
1:8.163
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 14.337
And I enable persistence creation in Tails Greeter 1.157
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.034
Then I create a persistent partition with the default settings using the wizard that was already open 27.633
After features/support/hooks.rb:326 1.863
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.013
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.337
When I enable persistence 41.485
Then no persistent Greeter options were restored 14.448
When I set all Greeter options to non-default values 27.890
And I log in to a new session in German (de) after having activated the Persistent Storage 52.434
Then all Greeter options are set to non-default values 0.597
When I cold reboot the computer 7.633
And the computer reboots Tails 1:4.993
Given I enable persistence 31.783
Then persistent Greeter options were restored 14.961
When I log in to a new session after having activated the Persistent Storage 40.871
Then all Greeter options are set to non-default values 0.575
After features/support/hooks.rb:326 1.437
After features/support/hooks.rb:100 0.011
Tags: @product
3:53.778
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.309
# 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.422
And I shutdown Tails and wait for the computer to power off 12.929
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.640
And I change the passphrase of the Persistent Storage back to the original 31.476
After features/support/hooks.rb:326 2.452
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.467
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.264
And I log in to a new session without activating the Persistent Storage 23.324
Then persistence is disabled 0.347
But a Tails persistence partition exists on USB drive "__internal" 7.331
And all notifications have disappeared 9.910
When I delete the persistent partition 6.810
Then there is no persistence partition on USB drive "__internal" 0.479
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.672
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 11.000
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 9.002
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.052
Then the expected persistent dotfile is present in the filesystem 0.533
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.009
Tags: @product
1:50.178
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.091
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.768
When I log in to a new session after having activated the Persistent Storage 47.041
And all notifications have disappeared 10.034
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.462
And all tps features are enabled 3.569
And all tps features but the first one are active 2.809
After features/support/hooks.rb:326 1.321
After features/support/hooks.rb:100 0.000
Tags: @product
6:8.842
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 4:48.209
And I enable persistence 34.231
And I log in to a new session after having activated the Persistent Storage 43.783
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.426
And persistence is enabled 0.191
After features/support/hooks.rb:326 1.296
After features/support/hooks.rb:100 0.000
Tags: @product
50.097
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 23.976
And I enable persistence but something goes wrong during the LUKS header upgrade 25.339
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.781
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
56.945
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.380
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 18.230
When I enable persistence 27.866
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 0.374
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
27.390
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.285
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.851
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.447
When I repair the filesystem of the Persistent Storage 1.242
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.219
And the filesystem of the Persistent Storage was repaired 0.106
When I close the filesystem repair dialog 1.339
Then persistence is successfully enabled 0.488
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.613
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.430
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.131
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.382
When I repair the filesystem of the Persistent Storage 1.535
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.408
When I log in to a new session 43.328
And all notifications have disappeared 8.031
# 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.081
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.281
When I close the "whisperback" window 1.462
Then the Tor Browser starts 15.526
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.727
After features/support/hooks.rb:326 1.911
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.605
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.643
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.108
And Tails detects disk read failures on the boot device 1.741
When I try to enable persistence 0.457
Then the Welcome Screen tells me that my hardware is probably failing 6.076
When I log in to a new session 24.238
And all notifications have disappeared 6.277
Then the Tor Browser starts 20.377
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.684
After features/support/hooks.rb:326 1.308
After features/support/hooks.rb:100 0.000