Project Number Date
test_Tails_ISO_devel 3589 16 Nov 2024, 12:42

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 38:59.922 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.733
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:37.961
And I update APT using apt 13.637
And I install "python3-behave" using apt 25.759
Then the Tails Persistent Storage behave tests pass 2.375
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
42.273
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.634
When I log in to a new session without activating the Persistent Storage 21.191
Then Tails is running from USB drive "__internal" 0.388
And persistence is disabled 0.273
But a Tails persistence partition exists on USB drive "__internal" 8.785
After features/support/hooks.rb:326 2.419
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.590
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 13.212
Then Tails is running from USB drive "__internal" 0.409
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 24.160
Then the file I created was copied to the Persistent Storage 0.598
When I shutdown Tails and wait for the computer to power off 12.980
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.208
Then persistence for "Persistent" is active 0.791
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 1.033
After features/support/hooks.rb:100 0.013
Tags: @product
1:3.786
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.424
And the system is very low on memory 5.424
When I create a file in the Persistent directory 2.473
When I try to create a persistent partition 25.102
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.411
When I close the Persistent Storage app 2.668
And I free up some memory 1.869
And I create a persistent partition with the default settings 14.179
Then the file I created was copied to the Persistent Storage 0.231
After features/support/hooks.rb:326 1.379
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.274
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.236
Then Tails is running from USB drive "__internal" 0.796
And all tps features are active 2.538
And all persistent directories have safe access rights 2.735
When I disable the first tps feature 6.303
Then all tps features but the first one are active 1.976
And I shutdown Tails and wait for the computer to power off 10.866
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.465
Then all tps features but the first one are active 2.355
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.011
Tags: @product
21.985
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.674
Then persistence for "Persistent" is active 0.130
And I create a file in the Persistent directory 0.213
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 7.066
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.491
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.000
Tags: @product
21.655
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.600
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 6.955
And I delete the data of the Persistent Folder feature 3.855
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:326 1.124
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.959
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.856
And the network is plugged 0.119
And Tor is ready 20.714
And I take note of which tps features are available 0.556
When I write some files expected to persist 1.774
And I shutdown Tails and wait for the computer to power off 10.988
# 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.949
After features/support/hooks.rb:326 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.111
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 25.048
And the network is plugged 0.111
And Tor is ready 20.585
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 8.849
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.967
And I capture all network traffic 0.012
And the network is plugged 0.075
And Tor is ready 19.667
And I switch to the "persistent-con-current" NetworkManager connection 0.325
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:326 0.660
After features/support/hooks.rb:100 0.069
Tags: @product
57.493
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 11.566
And I enable persistence creation in Tails Greeter 1.173
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.953
Then I create a persistent partition with the default settings using the wizard that was already open 22.799
After features/support/hooks.rb:326 2.112
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.354
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 13.100
When I enable persistence 33.541
Then no persistent Greeter options were restored 14.331
When I set all Greeter options to non-default values 25.707
And I log in to a new session in German (de) after having activated the Persistent Storage 50.408
Then all Greeter options are set to non-default values 0.867
When I cold reboot the computer 7.591
And the computer reboots Tails 1:1.181
Given I enable persistence 19.846
Then persistent Greeter options were restored 0.600
When I log in to a new session after having activated the Persistent Storage 36.822
Then all Greeter options are set to non-default values 0.355
After features/support/hooks.rb:326 1.169
After features/support/hooks.rb:100 0.009
Tags: @product
4:1.341
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.141
# 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 43.169
And I shutdown Tails and wait for the computer to power off 12.561
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.222
And I change the passphrase of the Persistent Storage back to the original 33.245
After features/support/hooks.rb:326 2.412
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.860
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 10.720
And I log in to a new session without activating the Persistent Storage 21.798
Then persistence is disabled 0.397
But a Tails persistence partition exists on USB drive "__internal" 9.455
And all notifications have disappeared 10.639
When I delete the persistent partition 7.400
Then there is no persistence partition on USB drive "__internal" 0.448
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.346
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.751
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 10.866
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.324
Then the expected persistent dotfile is present in the filesystem 0.333
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.728
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.215
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.398
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.023
When I log in to a new session after having activated the Persistent Storage 42.235
And all notifications have disappeared 8.417
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.136
And all tps features are enabled 2.293
And all tps features but the first one are active 1.922
After features/support/hooks.rb:326 1.062
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.283
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 3:5.949
And I enable persistence 33.688
And I log in to a new session after having activated the Persistent Storage 40.144
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.437
And persistence is enabled 3.063
After features/support/hooks.rb:326 1.011
After features/support/hooks.rb:100 0.000
Tags: @product
29.823
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 9.562
And I enable persistence but something goes wrong during the LUKS header upgrade 19.535
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.725
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.000
Tags: @product
45.328
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.705
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.279
When I enable persistence 26.269
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.976
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.000
Tags: @product
26.754
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.618
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.235
When I try to enable persistence 0.568
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.154
When I repair the filesystem of the Persistent Storage 1.298
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.191
And the filesystem of the Persistent Storage was repaired 0.080
When I close the filesystem repair dialog 1.227
Then persistence is successfully enabled 1.380
After features/support/hooks.rb:326 0.736
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.512
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.275
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.148
When I try to enable persistence 0.337
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.072
When I repair the filesystem of the Persistent Storage 1.288
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 41.533
And all notifications have disappeared 10.029
# 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.502
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.897
When I close the "whisperback" window 1.725
Then the Tor Browser starts 14.792
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.829
After features/support/hooks.rb:326 2.212
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:8.726
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.139
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.687
And Tails detects disk read failures on the boot device 0.573
When I try to enable persistence 0.372
Then the Welcome Screen tells me that my hardware is probably failing 5.415
When I log in to a new session 19.982
And all notifications have disappeared 7.189
Then the Tor Browser starts 19.523
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.841
After features/support/hooks.rb:326 1.129
After features/support/hooks.rb:100 0.000