Project Number Date
test_Tails_ISO_devel 3616 19 Dec 2024, 12:57

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 51:47.970 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.940
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.353
And I update APT using apt 16.915
And I install "python3-behave" using apt 26.512
Then the Tails Persistent Storage behave tests pass 3.159
After features/support/hooks.rb:326 1.438
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.382
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 35.556
When I log in to a new session without activating the Persistent Storage 24.899
Then Tails is running from USB drive "__internal" 0.712
And persistence is disabled 0.541
But a Tails persistence partition exists on USB drive "__internal" 12.672
After features/support/hooks.rb:326 1.431
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.158
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 13.991
Then Tails is running from USB drive "__internal" 0.421
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 23.670
Then the file I created was copied to the Persistent Storage 0.844
When I shutdown Tails and wait for the computer to power off 13.887
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.747
Then persistence for "Persistent" is active 0.358
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.728
After features/support/hooks.rb:100 0.013
Tags: @product
1:4.049
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.904
And the system is very low on memory 5.845
When I create a file in the Persistent directory 1.496
When I try to create a persistent partition 22.481
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.251
When I close the Persistent Storage app 2.716
And I free up some memory 1.628
And I create a persistent partition with the default settings 14.431
Then the file I created was copied to the Persistent Storage 0.292
After features/support/hooks.rb:326 1.342
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.970
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.622
Then Tails is running from USB drive "__internal" 0.851
And all tps features are active 2.613
And all persistent directories have safe access rights 3.269
When I disable the first tps feature 6.325
Then all tps features but the first one are active 2.498
And I shutdown Tails and wait for the computer to power off 14.532
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.714
Then all tps features but the first one are active 2.542
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.010
Tags: @product
19.895
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.870
Then persistence for "Persistent" is active 0.199
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.193
When I disable the first tps feature 5.741
Then persistence for "Persistent" is not active 0.104
And the Persistent directory does not exist 0.074
When I enable the first tps feature 3.389
Then persistence for "Persistent" is active 0.142
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.000
Tags: @product
20.916
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.282
Then persistence for "Persistent" is active 0.209
When I create a file in the Persistent directory 0.149
And I disable the first tps feature 5.808
And I delete the data of the Persistent Folder feature 4.377
Then the file I created does not exist on the Persistent Storage 0.089
After features/support/hooks.rb:326 0.934
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.779
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.235
And the network is plugged 0.086
And Tor is ready 49.162
And I take note of which tps features are available 0.609
When I write some files expected to persist 1.859
And I shutdown Tails and wait for the computer to power off 8.417
# 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.407
After features/support/hooks.rb:326 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.434
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.675
And the network is plugged 0.124
And Tor is ready 17.941
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.281
And I shutdown Tails and wait for the computer to power off 8.649
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.751
And I capture all network traffic 0.005
And the network is plugged 0.150
And Tor is ready 24.046
And I switch to the "persistent-con-current" NetworkManager connection 0.463
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.216
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.055
Tags: @product
1:32.523
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 29.031
And I enable persistence creation in Tails Greeter 1.232
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.251
Then I create a persistent partition with the default settings using the wizard that was already open 35.007
After features/support/hooks.rb:326 4.137
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.510
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 23.299
When I enable persistence 47.777
Then no persistent Greeter options were restored 14.894
When I set all Greeter options to non-default values 29.465
And I log in to a new session in German (de) after having activated the Persistent Storage 55.850
Then all Greeter options are set to non-default values 0.358
When I cold reboot the computer 9.969
And the computer reboots Tails 1:6.258
Given I enable persistence 21.745
Then persistent Greeter options were restored 0.655
When I log in to a new session after having activated the Persistent Storage 44.870
Then all Greeter options are set to non-default values 0.364
After features/support/hooks.rb:326 1.417
After features/support/hooks.rb:100 0.009
Tags: @product
4:11.854
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 13.631
# 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.641
And I shutdown Tails and wait for the computer to power off 12.803
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.440
And I change the passphrase of the Persistent Storage back to the original 31.336
After features/support/hooks.rb:326 2.117
After features/support/hooks.rb:100 0.013
Tags: @product
1:5.790
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.950
And I log in to a new session without activating the Persistent Storage 23.983
Then persistence is disabled 0.334
But a Tails persistence partition exists on USB drive "__internal" 12.011
And all notifications have disappeared 10.800
When I delete the persistent partition 6.167
Then there is no persistence partition on USB drive "__internal" 0.542
After features/support/hooks.rb:326 1.071
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.209
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 10.647
When I write some dotfile expected to persist 0.367
And I shutdown Tails and wait for the computer to power off 8.963
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.099
Then the expected persistent dotfile is present in the filesystem 1.130
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.007
Tags: @product
1:59.000
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 13.623
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.360
When I log in to a new session after having activated the Persistent Storage 46.951
And all notifications have disappeared 8.545
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.526
And all tps features are enabled 3.137
And all tps features but the first one are active 2.493
After features/support/hooks.rb:326 1.272
After features/support/hooks.rb:100 0.000
Tags: @product
12:10.028
Before features/support/hooks.rb:269 0.008
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 10:40.188
And I enable persistence 39.553
And I log in to a new session after having activated the Persistent Storage 44.186
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.054
And persistence is enabled 4.045
After features/support/hooks.rb:326 1.044
After features/support/hooks.rb:100 0.000
Tags: @product
52.232
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.841
And I enable persistence but something goes wrong during the LUKS header upgrade 41.645
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.745
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.000
Tags: @product
50.159
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 9.422
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.754
When I enable persistence 28.912
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 2.966
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
26.981
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 8.762
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.758
When I try to enable persistence 0.406
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.708
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.282
And the filesystem of the Persistent Storage was repaired 0.085
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.480
After features/support/hooks.rb:326 0.781
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.661
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.720
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.310
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.253
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 38.295
And all notifications have disappeared 7.590
# 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.808
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.176
When I close the "whisperback" window 1.557
Then the Tor Browser starts 16.543
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.910
After features/support/hooks.rb:326 2.932
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.490
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.871
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.556
And Tails detects disk read failures on the boot device 0.510
When I try to enable persistence 0.418
Then the Welcome Screen tells me that my hardware is probably failing 6.359
When I log in to a new session 21.646
And all notifications have disappeared 8.503
Then the Tor Browser starts 22.674
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.949
After features/support/hooks.rb:326 1.616
After features/support/hooks.rb:100 0.000