Project Number Date
test_Tails_ISO_stable 5140 03 Oct 2024, 22:27

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 39:34.863 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.218
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:38.143
And I update APT using apt 17.023
And I install "python3-behave" using apt 25.832
Then the Tails Persistent Storage behave tests pass 2.219
After features/support/hooks.rb:326 1.470
After features/support/hooks.rb:100 0.000
Tags: @product
47.759
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 13.342
When I log in to a new session without activating the Persistent Storage 23.176
Then Tails is running from USB drive "__internal" 0.531
And persistence is disabled 0.325
But a Tails persistence partition exists on USB drive "__internal" 10.383
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.866
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.484
Then Tails is running from USB drive "__internal" 0.388
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 24.286
Then the file I created was copied to the Persistent Storage 0.725
When I shutdown Tails and wait for the computer to power off 12.610
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.829
Then persistence for "Persistent" is active 0.320
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 1.209
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.334
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 10.760
And the system is very low on memory 4.248
When I create a file in the Persistent directory 1.016
When I try to create a persistent partition 27.191
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.137
When I close the Persistent Storage app 2.526
And I free up some memory 1.605
And I create a persistent partition with the default settings 12.612
Then the file I created was copied to the Persistent Storage 0.236
After features/support/hooks.rb:326 1.400
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.029
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.611
Then Tails is running from USB drive "__internal" 0.636
And all tps features are active 2.307
And all persistent directories have safe access rights 2.594
When I disable the first tps feature 5.200
Then all tps features but the first one are active 2.237
And I shutdown Tails and wait for the computer to power off 10.835
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.192
Then all tps features but the first one are active 2.414
After features/support/hooks.rb:326 0.660
After features/support/hooks.rb:100 0.039
Tags: @product
19.781
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.775
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 6.392
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.084
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
18.030
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 8.917
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.063
And I disable the first tps feature 5.217
And I delete the data of the Persistent Folder feature 3.658
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:326 4.153
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.000
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.863
And the network is plugged 0.070
And Tor is ready 20.959
And I take note of which tps features are available 0.618
When I write some files expected to persist 1.601
And I shutdown Tails and wait for the computer to power off 8.524
# 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" 24.362
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.102
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.540
And the network is plugged 0.097
And Tor is ready 18.491
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 8.501
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.504
And I capture all network traffic 0.006
And the network is plugged 0.195
And Tor is ready 19.018
And I switch to the "persistent-con-current" NetworkManager connection 0.323
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:326 0.624
After features/support/hooks.rb:100 0.047
Tags: @product
1:13.803
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 15.499
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 31.567
Then I create a persistent partition with the default settings using the wizard that was already open 25.609
After features/support/hooks.rb:326 1.469
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.879
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 11.852
When I enable persistence 42.379
Then no persistent Greeter options were restored 14.237
When I set all Greeter options to non-default values 24.809
And I log in to a new session in German (de) after having activated the Persistent Storage 46.616
Then all Greeter options are set to non-default values 0.402
When I cold reboot the computer 7.345
And the computer reboots Tails 1:1.103
Given I enable persistence 32.014
Then persistent Greeter options were restored 14.827
When I log in to a new session after having activated the Persistent Storage 36.961
Then all Greeter options are set to non-default values 0.330
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.008
Tags: @product
3:31.725
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.066
# 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 30.537
And I shutdown Tails and wait for the computer to power off 12.333
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.026
And I change the passphrase of the Persistent Storage back to the original 32.761
After features/support/hooks.rb:326 2.711
After features/support/hooks.rb:100 0.008
Tags: @product
57.794
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.316
And I log in to a new session without activating the Persistent Storage 22.100
Then persistence is disabled 0.338
But a Tails persistence partition exists on USB drive "__internal" 9.022
And all notifications have disappeared 9.422
When I delete the persistent partition 6.112
Then there is no persistence partition on USB drive "__internal" 0.482
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.553
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.224
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.702
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.192
Then the expected persistent dotfile is present in the filesystem 0.364
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.007
Tags: @product
1:34.724
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.127
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.119
When I try to enable persistence 0.254
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.039
When I log in to a new session after having activated the Persistent Storage 38.252
And all notifications have disappeared 7.692
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.681
And all tps features are enabled 2.322
And all tps features but the first one are active 2.234
After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
Tags: @product
5:27.435
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 4:2.698
And I enable persistence 34.368
And I log in to a new session after having activated the Persistent Storage 48.382
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.813
And persistence is enabled 0.172
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.000
Tags: @product
31.816
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 8.561
And I enable persistence but something goes wrong during the LUKS header upgrade 22.476
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.778
After features/support/hooks.rb:326 0.720
After features/support/hooks.rb:100 0.000
Tags: @product
41.230
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.306
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.807
When I enable persistence 25.676
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 0.343
After features/support/hooks.rb:326 1.005
After features/support/hooks.rb:100 0.000
Tags: @product
25.560
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.003
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.138
When I try to enable persistence 1.503
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.884
When I repair the filesystem of the Persistent Storage 1.210
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.165
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 0.356
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
1:46.749
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.676
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.152
When I try to enable persistence 0.295
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.861
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 40.299
And all notifications have disappeared 7.735
# 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.665
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.222
When I close the "whisperback" window 1.354
Then the Tor Browser starts 13.525
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.632
After features/support/hooks.rb:326 1.662
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.463
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.018
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.631
And Tails detects disk read failures on the boot device 1.679
When I try to enable persistence 0.471
Then the Welcome Screen tells me that my hardware is probably failing 6.233
When I log in to a new session 19.425
And all notifications have disappeared 6.728
Then the Tor Browser starts 19.832
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.442
After features/support/hooks.rb:326 1.469
After features/support/hooks.rb:100 0.000