Project Number Date
test_Tails_ISO_stable 5405 20 Jan 2025, 16:02

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 49:45.442 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.014
Before features/support/hooks.rb:269 0.015
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.647
And I update APT using apt 13.584
And I install "python3-behave" using apt 22.277
Then the Tails Persistent Storage behave tests pass 3.505
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.000
Tags: @product
47.521
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 12.844
When I log in to a new session without activating the Persistent Storage 24.420
Then Tails is running from USB drive "__internal" 0.847
And persistence is disabled 0.357
But a Tails persistence partition exists on USB drive "__internal" 9.052
After features/support/hooks.rb:326 1.384
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.411
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 14.736
Then Tails is running from USB drive "__internal" 0.424
When I create a file in the Persistent directory 0.156
And I create a persistent partition with the default settings 32.627
Then the file I created was copied to the Persistent Storage 0.514
When I shutdown Tails and wait for the computer to power off 12.981
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.217
Then persistence for "Persistent" is active 0.662
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.864
After features/support/hooks.rb:100 0.007
Tags: @product
1:7.674
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.650
And the system is very low on memory 4.061
When I create a file in the Persistent directory 2.030
When I try to create a persistent partition 29.932
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.583
When I close the Persistent Storage app 2.885
And I free up some memory 1.980
And I create a persistent partition with the default settings 15.213
Then the file I created was copied to the Persistent Storage 0.336
After features/support/hooks.rb:326 1.786
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.158
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 14.334
Then Tails is running from USB drive "__internal" 1.192
And all tps features are active 2.476
And all persistent directories have safe access rights 3.123
When I disable the first tps feature 6.784
Then all tps features but the first one are active 4.129
And I shutdown Tails and wait for the computer to power off 18.052
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.617
Then all tps features but the first one are active 7.448
After features/support/hooks.rb:326 1.256
After features/support/hooks.rb:100 0.014
Tags: @product
29.254
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 16.436
Then persistence for "Persistent" is active 0.245
And I create a file in the Persistent directory 0.122
Then the file I created was copied to the Persistent Storage 0.099
When I disable the first tps feature 6.979
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.067
When I enable the first tps feature 5.051
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 1.211
After features/support/hooks.rb:100 0.000
Tags: @product
27.310
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.166
Then persistence for "Persistent" is active 0.134
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 10.971
And I delete the data of the Persistent Folder feature 3.884
Then the file I created does not exist on the Persistent Storage 0.079
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.961
Before features/support/hooks.rb:269 0.022
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.445
And the network is plugged 0.101
And Tor is ready 49.741
And I take note of which tps features are available 0.808
When I write some files expected to persist 1.773
And I shutdown Tails and wait for the computer to power off 11.766
# 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.323
After features/support/hooks.rb:326 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.203
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.353
And the network is plugged 0.122
And Tor is ready 20.564
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.877
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.336
And I capture all network traffic 0.008
And the network is plugged 0.101
And Tor is ready 19.022
And I switch to the "persistent-con-current" NetworkManager connection 0.366
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.161
After features/support/hooks.rb:326 0.653
After features/support/hooks.rb:100 0.053
Tags: @product
1:32.681
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 44.381
And I enable persistence creation in Tails Greeter 1.867
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.136
Then I create a persistent partition with the default settings using the wizard that was already open 24.295
After features/support/hooks.rb:326 2.586
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.473
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 26.302
When I enable persistence 46.608
Then no persistent Greeter options were restored 14.284
When I set all Greeter options to non-default values 25.681
And I log in to a new session in German (de) after having activated the Persistent Storage 48.202
Then all Greeter options are set to non-default values 0.538
When I cold reboot the computer 7.870
And the computer reboots Tails 1:2.618
Given I enable persistence 18.247
Then persistent Greeter options were restored 0.597
When I log in to a new session after having activated the Persistent Storage 38.206
Then all Greeter options are set to non-default values 0.314
After features/support/hooks.rb:326 1.297
After features/support/hooks.rb:100 0.009
Tags: @product
3:43.054
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.286
# 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 36.021
And I shutdown Tails and wait for the computer to power off 12.687
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.700
And I change the passphrase of the Persistent Storage back to the original 33.358
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.010
Tags: @product
55.887
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.624
And I log in to a new session without activating the Persistent Storage 21.745
Then persistence is disabled 0.649
But a Tails persistence partition exists on USB drive "__internal" 6.682
And all notifications have disappeared 9.296
When I delete the persistent partition 7.403
Then there is no persistence partition on USB drive "__internal" 0.484
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.563
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.606
When I write some dotfile expected to persist 0.101
And I shutdown Tails and wait for the computer to power off 8.737
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.355
Then the expected persistent dotfile is present in the filesystem 0.761
After features/support/hooks.rb:326 0.673
After features/support/hooks.rb:100 0.012
Tags: @product
1:47.356
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.652
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.301
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.415
When I log in to a new session after having activated the Persistent Storage 41.545
And all notifications have disappeared 9.034
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.373
And all tps features are enabled 6.587
And all tps features but the first one are active 5.363
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product
11:47.121
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 10:13.373
And I enable persistence 40.496
And I log in to a new session after having activated the Persistent Storage 47.012
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.403
And persistence is enabled 2.835
After features/support/hooks.rb:326 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
47.287
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 19.315
And I enable persistence but something goes wrong during the LUKS header upgrade 27.148
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.823
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.077
Before features/support/hooks.rb:269 0.021
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.189
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.670
When I enable persistence 37.862
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 3.251
After features/support/hooks.rb:326 1.305
After features/support/hooks.rb:100 0.000
Tags: @product
27.563
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.399
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.362
When I try to enable persistence 0.490
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.000
When I repair the filesystem of the Persistent Storage 1.236
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.247
And the filesystem of the Persistent Storage was repaired 0.093
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 1.474
After features/support/hooks.rb:326 1.519
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.151
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.545
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.089
When I try to enable persistence 0.260
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.915
When I repair the filesystem of the Persistent Storage 1.336
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.112
When I log in to a new session 38.554
And all notifications have disappeared 9.354
# 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.113
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.727
When I close the "whisperback" window 1.687
Then the Tor Browser starts 20.547
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.904
After features/support/hooks.rb:326 2.084
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.713
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.420
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.263
And Tails detects disk read failures on the boot device 0.515
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 5.694
When I log in to a new session 22.567
And all notifications have disappeared 7.407
Then the Tor Browser starts 22.674
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.731
After features/support/hooks.rb:326 1.244
After features/support/hooks.rb:100 0.000