Project Number Date
test_Tails_ISO_devel 3828 21 May 2025, 22:52

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 39:49.565 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.686
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.465
And I update APT using apt 13.602
And I install "python3-behave" using apt 22.832
Then the Tails Persistent Storage behave tests pass 2.786
After features/support/hooks.rb:330 0.652
After features/support/hooks.rb:100 0.000
Tags: @product
43.748
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.228
When I log in to a new session without activating the Persistent Storage 24.878
Then Tails is running from USB drive "__internal" 0.432
And persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 6.824
After features/support/hooks.rb:330 1.324
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.557
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.112
Then Tails is running from USB drive "__internal" 1.478
When I create a file in the Persistent directory 0.151
And I create a persistent partition with the default settings 21.678
Then the file I created was copied to the Persistent Storage 1.854
When I shutdown Tails and wait for the computer to power off 13.074
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.715
Then persistence for "Persistent" is active 0.401
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.889
After features/support/hooks.rb:100 0.010
Tags: @product
1:9.824
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.662
And the system is very low on memory 4.347
When I create a file in the Persistent directory 1.037
When I try to create a persistent partition 32.316
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.202
When I close the Persistent Storage app 2.717
And I free up some memory 3.260
And I create a persistent partition with the default settings 13.976
Then the file I created was copied to the Persistent Storage 0.303
After features/support/hooks.rb:330 2.289
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.483
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.116
Then Tails is running from USB drive "__internal" 0.763
And all tps features are active 2.148
And all persistent directories have safe access rights 2.889
When I disable the first tps feature 7.053
Then all tps features but the first one are active 2.863
And I shutdown Tails and wait for the computer to power off 15.220
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.219
Then all tps features but the first one are active 2.209
After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.009
Tags: @product
20.495
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.454
Then persistence for "Persistent" is active 0.077
And I create a file in the Persistent directory 0.278
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.265
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.071
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:330 1.270
After features/support/hooks.rb:100 0.000
Tags: @product
21.246
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.372
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.168
And I disable the first tps feature 6.317
And I delete the data of the Persistent Folder feature 3.946
Then the file I created does not exist on the Persistent Storage 0.351
After features/support/hooks.rb:330 1.413
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.820
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.842
And the network is plugged 0.075
And Tor is ready 18.360
And I take note of which tps features are available 0.550
When I write some files expected to persist 1.547
And I shutdown Tails and wait for the computer to power off 8.193
# 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.249
After features/support/hooks.rb:330 0.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.825
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 23.540
And the network is plugged 0.079
And Tor is ready 20.805
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.858
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.782
And I capture all network traffic 0.010
And the network is plugged 0.074
And Tor is ready 17.753
And I switch to the "persistent-con-current" NetworkManager connection 0.501
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:330 0.742
After features/support/hooks.rb:100 0.060
Tags: @product
54.519
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.518
And I enable persistence creation in Tails Greeter 1.134
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.491
Then I create a persistent partition with the default settings using the wizard that was already open 21.374
After features/support/hooks.rb:330 2.691
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.716
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.073
When I enable persistence 38.600
Then no persistent Greeter options were restored 14.205
When I set all Greeter options to non-default values 26.914
And I log in to a new session in German (de) after having activated the Persistent Storage 51.967
Then all Greeter options are set to non-default values 0.520
When I cold reboot the computer 7.447
And the computer reboots Tails 1:15.834
Given I enable persistence 17.848
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 29.348
Then all Greeter options are set to non-default values 0.391
After features/support/hooks.rb:330 2.647
After features/support/hooks.rb:100 0.009
Tags: @product
3:58.093
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.325
# 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 34.821
And I shutdown Tails and wait for the computer to power off 15.292
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.602
And I change the passphrase of the Persistent Storage back to the original 31.050
After features/support/hooks.rb:330 3.324
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.895
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.290
And I log in to a new session without activating the Persistent Storage 26.338
Then persistence is disabled 0.334
But a Tails persistence partition exists on USB drive "__internal" 10.896
And all notifications have disappeared 8.150
When I delete the persistent partition 6.101
Then there is no persistence partition on USB drive "__internal" 0.782
After features/support/hooks.rb:330 1.074
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.639
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.093
When I write some dotfile expected to persist 0.411
And I shutdown Tails and wait for the computer to power off 8.573
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.148
Then the expected persistent dotfile is present in the filesystem 0.412
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.007
Tags: @product
1:41.055
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.121
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.971
When I log in to a new session after having activated the Persistent Storage 43.403
And all notifications have disappeared 8.215
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.331
And all tps features are enabled 2.711
And all tps features but the first one are active 1.951
After features/support/hooks.rb:330 1.389
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.752
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 2:53.468
And I enable persistence 30.317
And I log in to a new session after having activated the Persistent Storage 43.326
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.219
And persistence is enabled 2.420
After features/support/hooks.rb:330 1.271
After features/support/hooks.rb:100 0.000
Tags: @product
25.487
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.450
And I enable persistence but something goes wrong during the LUKS header upgrade 16.346
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.690
After features/support/hooks.rb:330 0.654
After features/support/hooks.rb:100 0.000
Tags: @product
43.658
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.311
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.661
When I enable persistence 24.920
Then the filesystem of the Persistent Storage was repaired 0.119
And persistence is successfully enabled 2.646
After features/support/hooks.rb:330 1.047
After features/support/hooks.rb:100 0.000
Tags: @product
50.169
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.038
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.882
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.866
When I repair the filesystem of the Persistent Storage 1.277
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.688
And the filesystem of the Persistent Storage was repaired 3.351
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 1.375
After features/support/hooks.rb:330 1.190
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.692
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.958
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.256
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.364
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.068
When I log in to a new session 40.626
And all notifications have disappeared 8.259
# 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.624
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.319
When I close the "whisperback" window 1.414
Then the Tor Browser starts 16.878
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.520
After features/support/hooks.rb:330 1.882
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.197
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.258
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.842
And Tails detects disk read failures on the boot device 0.440
When I try to enable persistence 0.387
Then the Welcome Screen tells me that my hardware is probably failing 17.121
When I log in to a new session 48.081
And all notifications have disappeared 8.327
Then the Tor Browser starts 21.898
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.840
After features/support/hooks.rb:330 2.170
After features/support/hooks.rb:100 0.000