Project Number Date
test_Tails_ISO_stable 5159 08 Oct 2024, 19:00

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:52.941 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.095
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:42.823
And I update APT using apt 15.354
And I install "python3-behave" using apt 25.641
Then the Tails Persistent Storage behave tests pass 3.277
After features/support/hooks.rb:326 0.697
After features/support/hooks.rb:100 0.000
Tags: @product
52.097
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.877
When I log in to a new session without activating the Persistent Storage 25.279
Then Tails is running from USB drive "__internal" 0.489
And persistence is disabled 0.504
But a Tails persistence partition exists on USB drive "__internal" 9.946
After features/support/hooks.rb:326 3.111
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.430
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 15.501
Then Tails is running from USB drive "__internal" 0.522
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 37.755
Then the file I created was copied to the Persistent Storage 0.559
When I shutdown Tails and wait for the computer to power off 16.178
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.290
Then persistence for "Persistent" is active 0.417
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 1.128
After features/support/hooks.rb:100 0.007
Tags: @product
1:7.601
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 17.883
And the system is very low on memory 9.907
When I create a file in the Persistent directory 0.878
When I try to create a persistent partition 19.373
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.195
When I close the Persistent Storage app 2.890
And I free up some memory 1.299
And I create a persistent partition with the default settings 14.940
Then the file I created was copied to the Persistent Storage 0.232
After features/support/hooks.rb:326 1.505
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.507
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 11.316
Then Tails is running from USB drive "__internal" 0.477
And all tps features are active 2.470
And all persistent directories have safe access rights 2.814
When I disable the first tps feature 5.804
Then all tps features but the first one are active 6.377
And I shutdown Tails and wait for the computer to power off 10.658
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.078
Then all tps features but the first one are active 2.509
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.009
Tags: @product
20.344
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.577
Then persistence for "Persistent" is active 0.178
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 5.980
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.152
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
20.568
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.053
Then persistence for "Persistent" is active 0.348
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 6.338
And I delete the data of the Persistent Folder feature 3.688
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.164
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.015
And the network is plugged 0.089
And Tor is ready 17.139
And I take note of which tps features are available 0.788
When I write some files expected to persist 1.595
And I shutdown Tails and wait for the computer to power off 8.865
# 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.671
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.476
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 11.302
And the network is plugged 0.091
And Tor is ready 19.457
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.236
And I shutdown Tails and wait for the computer to power off 11.122
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.653
And I capture all network traffic 0.005
And the network is plugged 0.082
And Tor is ready 19.731
And I switch to the "persistent-con-current" NetworkManager connection 0.519
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:326 0.660
After features/support/hooks.rb:100 0.057
Tags: @product
1:11.001
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 16.766
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.305
Then I create a persistent partition with the default settings using the wizard that was already open 29.789
After features/support/hooks.rb:326 2.021
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.292
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.219
When I enable persistence 41.547
Then no persistent Greeter options were restored 14.752
When I set all Greeter options to non-default values 27.712
And I log in to a new session in German (de) after having activated the Persistent Storage 58.186
Then all Greeter options are set to non-default values 0.679
When I cold reboot the computer 10.178
And the computer reboots Tails 1:3.672
Given I enable persistence 32.822
Then persistent Greeter options were restored 15.229
When I log in to a new session after having activated the Persistent Storage 36.856
Then all Greeter options are set to non-default values 0.435
After features/support/hooks.rb:326 1.674
After features/support/hooks.rb:100 0.008
Tags: @product
4:9.303
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 11.205
# 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 51.960
And I shutdown Tails and wait for the computer to power off 12.908
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.940
And I change the passphrase of the Persistent Storage back to the original 44.288
After features/support/hooks.rb:326 3.186
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.866
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.666
And I log in to a new session without activating the Persistent Storage 22.427
Then persistence is disabled 0.375
But a Tails persistence partition exists on USB drive "__internal" 11.477
And all notifications have disappeared 11.684
When I delete the persistent partition 5.823
Then there is no persistence partition on USB drive "__internal" 0.411
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.886
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 25.493
When I write some dotfile expected to persist 0.184
And I shutdown Tails and wait for the computer to power off 11.263
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.416
Then the expected persistent dotfile is present in the filesystem 0.528
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.011
Tags: @product
1:49.523
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.153
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.121
When I try to enable persistence 0.341
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.390
When I log in to a new session after having activated the Persistent Storage 47.798
And all notifications have disappeared 9.255
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.608
And all tps features are enabled 2.507
And all tps features but the first one are active 2.346
After features/support/hooks.rb:326 1.287
After features/support/hooks.rb:100 0.000
Tags: @product
6:40.898
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 5:12.729
And I enable persistence 37.297
And I log in to a new session after having activated the Persistent Storage 47.408
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.015
And persistence is enabled 0.447
After features/support/hooks.rb:326 1.731
After features/support/hooks.rb:100 0.000
Tags: @product
31.307
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 10.047
And I enable persistence but something goes wrong during the LUKS header upgrade 20.439
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.820
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
52.950
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.618
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.745
When I enable persistence 36.941
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 0.534
After features/support/hooks.rb:326 2.726
After features/support/hooks.rb:100 0.000
Tags: @product
26.982
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.379
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.801
When I try to enable persistence 0.453
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.112
When I repair the filesystem of the Persistent Storage 1.309
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.242
And the filesystem of the Persistent Storage was repaired 0.083
When I close the filesystem repair dialog 1.222
Then persistence is successfully enabled 0.375
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.000
Tags: @product
1:58.073
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.598
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.296
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.048
When I repair the filesystem of the Persistent Storage 1.189
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 42.692
And all notifications have disappeared 10.616
# 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.583
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.140
When I close the "whisperback" window 1.680
Then the Tor Browser starts 12.286
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.715
After features/support/hooks.rb:326 4.598
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.566
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.944
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.262
And Tails detects disk read failures on the boot device 1.786
When I try to enable persistence 1.550
Then the Welcome Screen tells me that my hardware is probably failing 6.991
When I log in to a new session 19.656
And all notifications have disappeared 8.112
Then the Tor Browser starts 22.378
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.882
After features/support/hooks.rb:326 1.464
After features/support/hooks.rb:100 0.000