Project Number Date
test_Tails_ISO_stable 5334 14 Dec 2024, 08:41

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 40:33.448 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.661
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.836
And I update APT using apt 14.573
And I install "python3-behave" using apt 23.051
Then the Tails Persistent Storage behave tests pass 3.199
After features/support/hooks.rb:326 2.135
After features/support/hooks.rb:100 0.000
Tags: @product
45.854
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 13.366
When I log in to a new session without activating the Persistent Storage 21.523
Then Tails is running from USB drive "__internal" 0.455
And persistence is disabled 0.500
But a Tails persistence partition exists on USB drive "__internal" 10.009
After features/support/hooks.rb:326 1.713
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.472
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 12.296
Then Tails is running from USB drive "__internal" 0.717
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 22.690
Then the file I created was copied to the Persistent Storage 0.620
When I shutdown Tails and wait for the computer to power off 12.557
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.732
Then persistence for "Persistent" is active 0.626
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 1.519
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.369
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 13.140
And the system is very low on memory 6.018
When I create a file in the Persistent directory 1.658
When I try to create a persistent partition 24.110
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.952
When I close the Persistent Storage app 3.280
And I free up some memory 1.331
And I create a persistent partition with the default settings 12.626
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:326 1.164
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.836
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.832
Then Tails is running from USB drive "__internal" 0.529
And all tps features are active 2.340
And all persistent directories have safe access rights 2.529
When I disable the first tps feature 5.722
Then all tps features but the first one are active 2.190
And I shutdown Tails and wait for the computer to power off 10.558
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.990
Then all tps features but the first one are active 2.142
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.009
Tags: @product
19.022
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.542
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.064
Then the file I created was copied to the Persistent Storage 0.146
When I disable the first tps feature 5.758
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.157
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.054
After features/support/hooks.rb:326 1.064
After features/support/hooks.rb:100 0.000
Tags: @product
19.224
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.735
Then persistence for "Persistent" is active 0.214
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 5.477
And I delete the data of the Persistent Folder feature 3.658
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.777
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.391
And the network is plugged 0.085
And Tor is ready 19.238
And I take note of which tps features are available 0.628
When I write some files expected to persist 1.560
And I shutdown Tails and wait for the computer to power off 8.853
# 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.020
After features/support/hooks.rb:326 0.090
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.258
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.101
And the network is plugged 0.106
And Tor is ready 17.214
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.231
And I shutdown Tails and wait for the computer to power off 10.739
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.971
And I capture all network traffic 0.008
And the network is plugged 0.067
And Tor is ready 20.216
And I switch to the "persistent-con-current" NetworkManager connection 0.356
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:326 0.893
After features/support/hooks.rb:100 0.064
Tags: @product
1:2.793
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 12.297
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.296
Then I create a persistent partition with the default settings using the wizard that was already open 23.092
After features/support/hooks.rb:326 1.747
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.426
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 29.038
When I enable persistence 35.638
Then no persistent Greeter options were restored 14.127
When I set all Greeter options to non-default values 23.528
And I log in to a new session in German (de) after having activated the Persistent Storage 51.844
Then all Greeter options are set to non-default values 0.342
When I cold reboot the computer 7.426
And the computer reboots Tails 1:3.431
Given I enable persistence 17.054
Then persistent Greeter options were restored 0.602
When I log in to a new session after having activated the Persistent Storage 38.078
Then all Greeter options are set to non-default values 0.311
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.009
Tags: @product
3:53.360
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.099
# 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.868
And I shutdown Tails and wait for the computer to power off 14.744
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.027
And I change the passphrase of the Persistent Storage back to the original 32.620
After features/support/hooks.rb:326 1.854
After features/support/hooks.rb:100 0.010
Tags: @product
52.969
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.088
And I log in to a new session without activating the Persistent Storage 20.527
Then persistence is disabled 0.199
But a Tails persistence partition exists on USB drive "__internal" 9.206
And all notifications have disappeared 7.897
When I delete the persistent partition 5.664
Then there is no persistence partition on USB drive "__internal" 0.385
After features/support/hooks.rb:326 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.579
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.217
When I write some dotfile expected to persist 0.097
And I shutdown Tails and wait for the computer to power off 8.646
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.204
Then the expected persistent dotfile is present in the filesystem 0.414
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.625
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.203
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.559
When I log in to a new session after having activated the Persistent Storage 39.053
And all notifications have disappeared 8.443
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.617
And all tps features are enabled 2.257
And all tps features but the first one are active 2.117
After features/support/hooks.rb:326 1.095
After features/support/hooks.rb:100 0.000
Tags: @product
6:9.307
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.159
And I enable persistence 42.784
And I log in to a new session after having activated the Persistent Storage 36.505
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.338
And persistence is enabled 3.519
After features/support/hooks.rb:326 1.329
After features/support/hooks.rb:100 0.000
Tags: @product
32.052
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 8.821
And I enable persistence but something goes wrong during the LUKS header upgrade 22.403
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.827
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
46.326
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.127
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.120
When I enable persistence 27.382
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.611
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.000
Tags: @product
27.270
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.482
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.266
When I try to enable persistence 0.399
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.919
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.243
And the filesystem of the Persistent Storage was repaired 0.079
When I close the filesystem repair dialog 1.209
Then persistence is successfully enabled 1.409
After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.932
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.289
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.137
When I try to enable persistence 0.295
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.131
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.315
When I log in to a new session 40.931
And all notifications have disappeared 8.313
# 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" 1.070
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.133
When I close the "whisperback" window 1.575
Then the Tor Browser starts 16.536
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.947
After features/support/hooks.rb:326 3.649
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.325
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.627
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.237
And Tails detects disk read failures on the boot device 0.484
When I try to enable persistence 0.416
Then the Welcome Screen tells me that my hardware is probably failing 5.990
When I log in to a new session 20.569
And all notifications have disappeared 8.179
Then the Tor Browser starts 23.966
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.853
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.000