Project Number Date
test_Tails_ISO_devel 3545 11 Oct 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 42:0.990 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.565
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.170
And I update APT using apt 15.731
And I install "python3-behave" using apt 28.895
Then the Tails Persistent Storage behave tests pass 2.767
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
43.911
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 11.872
When I log in to a new session without activating the Persistent Storage 24.402
Then Tails is running from USB drive "__internal" 0.452
And persistence is disabled 0.392
But a Tails persistence partition exists on USB drive "__internal" 6.792
After features/support/hooks.rb:326 1.446
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.625
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 19.303
Then Tails is running from USB drive "__internal" 1.417
When I create a file in the Persistent directory 0.293
And I create a persistent partition with the default settings 24.031
Then the file I created was copied to the Persistent Storage 0.500
When I shutdown Tails and wait for the computer to power off 13.441
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.803
Then persistence for "Persistent" is active 0.753
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.934
After features/support/hooks.rb:100 0.010
Tags: @product
1:6.421
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 11.147
And the system is very low on memory 5.831
When I create a file in the Persistent directory 1.037
When I try to create a persistent partition 28.456
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.259
When I close the Persistent Storage app 2.663
And I free up some memory 1.451
And I create a persistent partition with the default settings 15.308
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:326 1.658
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.705
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 13.507
Then Tails is running from USB drive "__internal" 1.119
And all tps features are active 2.791
And all persistent directories have safe access rights 2.650
When I disable the first tps feature 5.704
Then all tps features but the first one are active 2.128
And I shutdown Tails and wait for the computer to power off 10.701
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.803
Then all tps features but the first one are active 2.299
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.009
Tags: @product
20.158
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.232
Then persistence for "Persistent" is active 0.147
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.102
When I disable the first tps feature 6.082
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.213
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
33.308
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 23.143
Then persistence for "Persistent" is active 0.145
When I create a file in the Persistent directory 0.142
And I disable the first tps feature 6.118
And I delete the data of the Persistent Folder feature 3.705
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.412
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 8.984
And the network is plugged 0.083
And Tor is ready 19.999
And I take note of which tps features are available 0.632
When I write some files expected to persist 1.481
And I shutdown Tails and wait for the computer to power off 10.789
# 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.441
After features/support/hooks.rb:326 0.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.843
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.497
And the network is plugged 0.178
And Tor is ready 16.155
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.262
And I shutdown Tails and wait for the computer to power off 8.822
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.319
And I capture all network traffic 0.008
And the network is plugged 0.085
And Tor is ready 22.910
And I switch to the "persistent-con-current" NetworkManager connection 0.349
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.058
Tags: @product
1:10.524
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.207
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.247
Then I create a persistent partition with the default settings using the wizard that was already open 27.953
After features/support/hooks.rb:326 1.824
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.500
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 14.509
When I enable persistence 45.778
Then no persistent Greeter options were restored 14.460
When I set all Greeter options to non-default values 25.472
And I log in to a new session in German (de) after having activated the Persistent Storage 46.870
Then all Greeter options are set to non-default values 0.623
When I cold reboot the computer 9.844
And the computer reboots Tails 59.026
Given I enable persistence 32.054
Then persistent Greeter options were restored 15.195
When I log in to a new session after having activated the Persistent Storage 39.266
Then all Greeter options are set to non-default values 0.399
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.008
Tags: @product
3:33.849
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.831
# 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 31.031
And I shutdown Tails and wait for the computer to power off 15.133
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.722
And I change the passphrase of the Persistent Storage back to the original 30.130
After features/support/hooks.rb:326 1.827
After features/support/hooks.rb:100 0.009
Tags: @product
1:18.465
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 24.488
And I log in to a new session without activating the Persistent Storage 21.526
Then persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 11.467
And all notifications have disappeared 13.239
When I delete the persistent partition 6.877
Then there is no persistence partition on USB drive "__internal" 0.487
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.499
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.642
When I write some dotfile expected to persist 0.169
And I shutdown Tails and wait for the computer to power off 11.098
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.177
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.016
Tags: @product
1:47.640
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.700
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.640
When I log in to a new session after having activated the Persistent Storage 41.960
And all notifications have disappeared 9.723
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.415
And all tps features are enabled 3.657
And all tps features but the first one are active 2.168
After features/support/hooks.rb:326 1.268
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.254
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 4:56.064
And I enable persistence 32.302
And I log in to a new session after having activated the Persistent Storage 44.311
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.335
And persistence is enabled 0.240
After features/support/hooks.rb:326 1.786
After features/support/hooks.rb:100 0.000
Tags: @product
34.639
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.034
And I enable persistence but something goes wrong during the LUKS header upgrade 20.754
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.850
After features/support/hooks.rb:326 1.119
After features/support/hooks.rb:100 0.000
Tags: @product
45.993
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 11.825
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.800
When I enable persistence 27.897
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 0.373
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
33.079
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.332
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.524
When I try to enable persistence 0.504
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.367
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.276
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.301
Then persistence is successfully enabled 0.421
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:41.038
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.191
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.281
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.055
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 32.946
And all notifications have disappeared 9.191
# 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.606
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.647
When I close the "whisperback" window 1.754
Then the Tor Browser starts 14.225
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.668
After features/support/hooks.rb:326 2.602
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.554
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.157
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.312
And Tails detects disk read failures on the boot device 1.665
When I try to enable persistence 1.661
Then the Welcome Screen tells me that my hardware is probably failing 8.598
When I log in to a new session 21.216
And all notifications have disappeared 7.000
Then the Tor Browser starts 23.329
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.611
After features/support/hooks.rb:326 1.406
After features/support/hooks.rb:100 0.000