Project Number Date
test_Tails_ISO_stable 5134 02 Oct 2024, 20:01

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:10.677 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.599
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:35.547
And I update APT using apt 12.312
And I install "python3-behave" using apt 25.628
Then the Tails Persistent Storage behave tests pass 2.110
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
43.609
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.199
When I log in to a new session without activating the Persistent Storage 23.295
Then Tails is running from USB drive "__internal" 0.524
And persistence is disabled 0.428
But a Tails persistence partition exists on USB drive "__internal" 7.160
After features/support/hooks.rb:326 1.488
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.168
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 14.984
Then Tails is running from USB drive "__internal" 0.385
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 27.756
Then the file I created was copied to the Persistent Storage 0.683
When I shutdown Tails and wait for the computer to power off 12.791
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.745
Then persistence for "Persistent" is active 0.591
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.010
Tags: @product
1:6.825
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.837
And the system is very low on memory 6.304
When I create a file in the Persistent directory 1.772
When I try to create a persistent partition 27.037
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.225
When I close the Persistent Storage app 2.624
And I free up some memory 1.688
And I create a persistent partition with the default settings 14.130
Then the file I created was copied to the Persistent Storage 0.205
After features/support/hooks.rb:326 1.862
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.668
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.920
Then Tails is running from USB drive "__internal" 0.514
And all tps features are active 3.602
And all persistent directories have safe access rights 2.510
When I disable the first tps feature 5.700
Then all tps features but the first one are active 2.327
And I shutdown Tails and wait for the computer to power off 11.107
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.851
Then all tps features but the first one are active 2.134
After features/support/hooks.rb:326 0.748
After features/support/hooks.rb:100 0.009
Tags: @product
18.820
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.449
Then persistence for "Persistent" is active 0.192
And I create a file in the Persistent directory 0.167
Then the file I created was copied to the Persistent Storage 0.125
When I disable the first tps feature 5.243
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.379
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.000
Tags: @product
19.283
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.388
Then persistence for "Persistent" is active 0.227
When I create a file in the Persistent directory 0.161
And I disable the first tps feature 5.227
And I delete the data of the Persistent Folder feature 4.218
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.428
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.105
And the network is plugged 0.163
And Tor is ready 18.795
And I take note of which tps features are available 0.602
When I write some files expected to persist 1.585
And I shutdown Tails and wait for the computer to power off 8.372
# 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.804
After features/support/hooks.rb:326 0.098
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.487
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.656
And the network is plugged 0.180
And Tor is ready 17.993
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 8.846
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.225
And I capture all network traffic 0.006
And the network is plugged 0.070
And Tor is ready 19.533
And I switch to the "persistent-con-current" NetworkManager connection 0.405
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.248
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.052
Tags: @product
1:1.370
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 13.889
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.828
Then I create a persistent partition with the default settings using the wizard that was already open 23.531
After features/support/hooks.rb:326 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.668
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.599
When I enable persistence 40.529
Then no persistent Greeter options were restored 14.355
When I set all Greeter options to non-default values 32.872
And I log in to a new session in German (de) after having activated the Persistent Storage 53.034
Then all Greeter options are set to non-default values 0.540
When I cold reboot the computer 7.570
And the computer reboots Tails 1:4.250
Given I enable persistence 34.905
Then persistent Greeter options were restored 14.779
When I log in to a new session after having activated the Persistent Storage 40.497
Then all Greeter options are set to non-default values 0.734
After features/support/hooks.rb:326 1.253
After features/support/hooks.rb:100 0.009
Tags: @product
3:43.029
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.846
# 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 34.905
And I shutdown Tails and wait for the computer to power off 12.553
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.553
And I change the passphrase of the Persistent Storage back to the original 33.170
After features/support/hooks.rb:326 2.218
After features/support/hooks.rb:100 0.007
Tags: @product
56.580
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 10.295
And I log in to a new session without activating the Persistent Storage 22.972
Then persistence is disabled 0.349
But a Tails persistence partition exists on USB drive "__internal" 6.970
And all notifications have disappeared 8.569
When I delete the persistent partition 6.937
Then there is no persistence partition on USB drive "__internal" 0.485
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.631
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.319
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 9.379
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.402
Then the expected persistent dotfile is present in the filesystem 0.463
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.058
Tags: @product
1:40.702
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.333
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.982
When I log in to a new session after having activated the Persistent Storage 39.727
And all notifications have disappeared 8.088
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.791
And all tps features are enabled 2.409
And all tps features but the first one are active 2.003
After features/support/hooks.rb:326 1.229
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.190
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 2:57.533
And I enable persistence 35.308
And I log in to a new session after having activated the Persistent Storage 47.399
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.815
And persistence is enabled 0.133
After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.000
Tags: @product
31.106
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 10.151
And I enable persistence but something goes wrong during the LUKS header upgrade 19.984
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.970
After features/support/hooks.rb:326 0.781
After features/support/hooks.rb:100 0.000
Tags: @product
43.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 8.916
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.126
When I enable persistence 27.393
Then the filesystem of the Persistent Storage was repaired 0.115
And persistence is successfully enabled 0.448
After features/support/hooks.rb:326 1.233
After features/support/hooks.rb:100 0.000
Tags: @product
25.908
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.851
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.074
When I try to enable persistence 0.489
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.075
When I repair the filesystem of the Persistent Storage 1.281
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.363
And the filesystem of the Persistent Storage was repaired 0.095
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 0.420
After features/support/hooks.rb:326 0.862
After features/support/hooks.rb:100 0.000
Tags: @product
1:48.234
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.394
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.454
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 43.481
And all notifications have disappeared 6.902
# 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.505
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.408
When I close the "whisperback" window 1.560
Then the Tor Browser starts 14.124
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.633
After features/support/hooks.rb:326 2.232
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.362
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.074
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.245
And Tails detects disk read failures on the boot device 0.509
When I try to enable persistence 0.501
Then the Welcome Screen tells me that my hardware is probably failing 5.819
When I log in to a new session 21.176
And all notifications have disappeared 8.095
Then the Tor Browser starts 20.466
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.474
After features/support/hooks.rb:326 1.502
After features/support/hooks.rb:100 0.000