Project Number Date
test_Tails_ISO_devel 3573 01 Nov 2024, 12:54

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:28.549 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.644
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:39.212
And I update APT using apt 14.308
And I install "python3-behave" using apt 25.500
Then the Tails Persistent Storage behave tests pass 2.622
After features/support/hooks.rb:326 0.661
After features/support/hooks.rb:100 0.000
Tags: @product
48.191
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 14.600
When I log in to a new session without activating the Persistent Storage 25.396
Then Tails is running from USB drive "__internal" 0.823
And persistence is disabled 0.477
But a Tails persistence partition exists on USB drive "__internal" 6.893
After features/support/hooks.rb:326 2.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.766
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 15.060
Then Tails is running from USB drive "__internal" 0.800
When I create a file in the Persistent directory 0.218
And I create a persistent partition with the default settings 27.885
Then the file I created was copied to the Persistent Storage 0.590
When I shutdown Tails and wait for the computer to power off 15.197
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.338
Then persistence for "Persistent" is active 0.584
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.908
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 13.048
And the system is very low on memory 7.619
When I create a file in the Persistent directory 1.321
When I try to create a persistent partition 25.109
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.185
When I close the Persistent Storage app 2.856
And I free up some memory 1.683
And I create a persistent partition with the default settings 12.869
Then the file I created was copied to the Persistent Storage 0.214
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.853
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 12.219
Then Tails is running from USB drive "__internal" 0.576
And all tps features are active 2.538
And all persistent directories have safe access rights 2.550
When I disable the first tps feature 5.904
Then all tps features but the first one are active 2.295
And I shutdown Tails and wait for the computer to power off 13.251
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.048
Then all tps features but the first one are active 2.465
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.012
Tags: @product
21.125
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.964
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.110
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 6.397
Then persistence for "Persistent" is not active 0.113
And the Persistent directory does not exist 0.078
When I enable the first tps feature 3.140
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
20.025
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.887
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 6.004
And I delete the data of the Persistent Folder feature 3.869
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.867
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.698
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.886
And the network is plugged 0.096
And Tor is ready 22.982
And I take note of which tps features are available 0.604
When I write some files expected to persist 1.494
And I shutdown Tails and wait for the computer to power off 8.955
# 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.679
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.591
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.689
And the network is plugged 0.086
And Tor is ready 19.717
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.233
And I shutdown Tails and wait for the computer to power off 9.307
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.249
And I capture all network traffic 0.012
And the network is plugged 0.088
And Tor is ready 20.487
And I switch to the "persistent-con-current" NetworkManager connection 0.439
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.177
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.059
Tags: @product
1:9.473
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 18.411
And I enable persistence creation in Tails Greeter 1.284
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.911
Then I create a persistent partition with the default settings using the wizard that was already open 25.867
After features/support/hooks.rb:326 1.413
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.396
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 13.342
When I enable persistence 42.419
Then no persistent Greeter options were restored 18.331
When I set all Greeter options to non-default values 24.924
And I log in to a new session in German (de) after having activated the Persistent Storage 46.452
Then all Greeter options are set to non-default values 0.560
When I cold reboot the computer 8.147
And the computer reboots Tails 1:2.663
Given I enable persistence 32.125
Then persistent Greeter options were restored 15.809
When I log in to a new session after having activated the Persistent Storage 38.309
Then all Greeter options are set to non-default values 0.311
After features/support/hooks.rb:326 1.423
After features/support/hooks.rb:100 0.007
Tags: @product
3:56.990
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 12.433
# 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 39.757
And I shutdown Tails and wait for the computer to power off 12.403
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.666
And I change the passphrase of the Persistent Storage back to the original 33.731
After features/support/hooks.rb:326 1.784
After features/support/hooks.rb:100 0.041
Tags: @product
1:15.900
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 12.041
And I log in to a new session without activating the Persistent Storage 28.622
Then persistence is disabled 0.504
But a Tails persistence partition exists on USB drive "__internal" 18.207
And all notifications have disappeared 9.790
When I delete the persistent partition 6.463
Then there is no persistence partition on USB drive "__internal" 0.270
After features/support/hooks.rb:326 1.263
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.053
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.430
When I write some dotfile expected to persist 0.812
And I shutdown Tails and wait for the computer to power off 10.757
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.619
Then the expected persistent dotfile is present in the filesystem 0.432
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.011
Tags: @product
1:39.393
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.818
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.904
When I log in to a new session after having activated the Persistent Storage 38.281
And all notifications have disappeared 8.003
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.191
And all tps features are enabled 2.489
And all tps features but the first one are active 2.327
After features/support/hooks.rb:326 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
5:40.433
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:14.831
And I enable persistence 35.974
And I log in to a new session after having activated the Persistent Storage 47.709
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.786
And persistence is enabled 0.132
After features/support/hooks.rb:326 1.029
After features/support/hooks.rb:100 0.000
Tags: @product
31.334
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 9.936
And I enable persistence but something goes wrong during the LUKS header upgrade 20.622
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.775
After features/support/hooks.rb:326 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
43.099
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.523
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.766
When I enable persistence 27.340
Then the filesystem of the Persistent Storage was repaired 0.116
And persistence is successfully enabled 0.352
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
30.165
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.666
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.082
When I try to enable persistence 0.474
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.032
When I repair the filesystem of the Persistent Storage 1.333
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.763
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 0.449
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.265
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.096
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.016
When I repair the filesystem of the Persistent Storage 1.217
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 35.403
And all notifications have disappeared 8.346
# 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" 2.039
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.716
When I close the "whisperback" window 1.605
Then the Tor Browser starts 13.651
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.700
After features/support/hooks.rb:326 3.580
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.237
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.488
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.845
And Tails detects disk read failures on the boot device 1.690
When I try to enable persistence 0.456
Then the Welcome Screen tells me that my hardware is probably failing 6.674
When I log in to a new session 20.111
And all notifications have disappeared 7.588
Then the Tor Browser starts 22.527
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.854
After features/support/hooks.rb:326 1.269
After features/support/hooks.rb:100 0.000