Project Number Date
test_Tails_ISO_devel 3530 03 Oct 2024, 21:18

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 41:9.325 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.453
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.196
And I update APT using apt 13.808
And I install "python3-behave" using apt 25.833
Then the Tails Persistent Storage behave tests pass 2.615
After features/support/hooks.rb:326 1.856
After features/support/hooks.rb:100 0.000
Tags: @product
47.059
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.493
When I log in to a new session without activating the Persistent Storage 26.669
Then Tails is running from USB drive "__internal" 0.366
And persistence is disabled 0.417
But a Tails persistence partition exists on USB drive "__internal" 7.113
After features/support/hooks.rb:326 1.497
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.824
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.709
Then Tails is running from USB drive "__internal" 0.594
When I create a file in the Persistent directory 0.211
And I create a persistent partition with the default settings 23.077
Then the file I created was copied to the Persistent Storage 0.669
When I shutdown Tails and wait for the computer to power off 13.045
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.688
Then persistence for "Persistent" is active 0.760
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.516
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 11.031
And the system is very low on memory 11.040
When I create a file in the Persistent directory 1.801
When I try to create a persistent partition 25.664
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.131
When I close the Persistent Storage app 2.545
And I free up some memory 1.508
And I create a persistent partition with the default settings 12.550
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:326 1.426
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.136
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 12.129
Then Tails is running from USB drive "__internal" 0.614
And all tps features are active 2.276
And all persistent directories have safe access rights 2.700
When I disable the first tps feature 5.731
Then all tps features but the first one are active 2.070
And I shutdown Tails and wait for the computer to power off 10.938
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.361
Then all tps features but the first one are active 2.313
After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.007
Tags: @product
19.598
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.861
Then persistence for "Persistent" is active 0.315
And I create a file in the Persistent directory 0.103
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 5.739
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.205
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
19.482
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 9.729
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 5.779
And I delete the data of the Persistent Folder feature 3.753
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.011
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.573
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.119
And the network is plugged 0.081
And Tor is ready 22.289
And I take note of which tps features are available 0.632
When I write some files expected to persist 1.442
And I shutdown Tails and wait for the computer to power off 8.532
# 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.475
After features/support/hooks.rb:326 0.096
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.535
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 9.693
And the network is plugged 0.081
And Tor is ready 20.308
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.324
And I shutdown Tails and wait for the computer to power off 8.513
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.634
And I capture all network traffic 0.006
And the network is plugged 0.081
And Tor is ready 21.215
And I switch to the "persistent-con-current" NetworkManager connection 0.399
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.183
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.074
Tags: @product
1:33.772
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 44.300
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.712
Then I create a persistent partition with the default settings using the wizard that was already open 22.627
After features/support/hooks.rb:326 1.703
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.205
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 18.319
When I enable persistence 36.291
Then no persistent Greeter options were restored 14.206
When I set all Greeter options to non-default values 25.295
And I log in to a new session in German (de) after having activated the Persistent Storage 45.681
Then all Greeter options are set to non-default values 0.606
When I cold reboot the computer 7.629
And the computer reboots Tails 1:3.697
Given I enable persistence 31.761
Then persistent Greeter options were restored 14.852
When I log in to a new session after having activated the Persistent Storage 38.379
Then all Greeter options are set to non-default values 0.483
After features/support/hooks.rb:326 1.065
After features/support/hooks.rb:100 0.009
Tags: @product
3:46.260
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.417
# 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 37.061
And I shutdown Tails and wait for the computer to power off 12.700
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.992
And I change the passphrase of the Persistent Storage back to the original 37.088
After features/support/hooks.rb:326 2.378
After features/support/hooks.rb:100 0.010
Tags: @product
55.705
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.628
And I log in to a new session without activating the Persistent Storage 21.333
Then persistence is disabled 0.313
But a Tails persistence partition exists on USB drive "__internal" 8.329
And all notifications have disappeared 9.072
When I delete the persistent partition 6.545
Then there is no persistence partition on USB drive "__internal" 0.480
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.274
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.746
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 10.689
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.360
Then the expected persistent dotfile is present in the filesystem 0.418
After features/support/hooks.rb:326 0.869
After features/support/hooks.rb:100 0.007
Tags: @product
1:49.219
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.940
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.359
When I log in to a new session after having activated the Persistent Storage 46.122
And all notifications have disappeared 8.021
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.879
And all tps features are enabled 2.671
And all tps features but the first one are active 4.870
After features/support/hooks.rb:326 1.466
After features/support/hooks.rb:100 0.000
Tags: @product
6:9.336
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 4:44.313
And I enable persistence 36.727
And I log in to a new session after having activated the Persistent Storage 45.189
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.977
And persistence is enabled 0.127
After features/support/hooks.rb:326 1.043
After features/support/hooks.rb:100 0.000
Tags: @product
27.672
Before features/support/hooks.rb:269 0.007
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.903
And I enable persistence but something goes wrong during the LUKS header upgrade 18.028
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.740
After features/support/hooks.rb:326 0.714
After features/support/hooks.rb:100 0.000
Tags: @product
43.243
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.298
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.930
When I enable persistence 27.503
Then the filesystem of the Persistent Storage was repaired 0.120
And persistence is successfully enabled 0.390
After features/support/hooks.rb:326 1.216
After features/support/hooks.rb:100 0.000
Tags: @product
24.456
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.894
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.528
When I try to enable persistence 0.421
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.456
When I repair the filesystem of the Persistent Storage 1.236
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.225
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.248
Then persistence is successfully enabled 0.382
After features/support/hooks.rb:326 0.735
After features/support/hooks.rb:100 0.000
Tags: @product
1:41.264
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.896
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.282
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.506
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 35.056
And all notifications have disappeared 8.286
# 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.559
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.212
When I close the "whisperback" window 1.893
Then the Tor Browser starts 14.665
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.472
After features/support/hooks.rb:326 2.930
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.735
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.595
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.037
And Tails detects disk read failures on the boot device 1.621
When I try to enable persistence 0.427
Then the Welcome Screen tells me that my hardware is probably failing 6.773
When I log in to a new session 20.324
And all notifications have disappeared 7.502
Then the Tor Browser starts 19.914
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 1.538
After features/support/hooks.rb:326 1.406
After features/support/hooks.rb:100 0.000