Project Number Date
test_Tails_ISO_feature-arti 54 10 May 2025, 16:37

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 44:31.969 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:51.922
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.629
And I update APT using apt 35.870
And I install "python3-behave" using apt 27.108
Then the Tails Persistent Storage behave tests pass 2.313
After features/support/hooks.rb:330 1.533
After features/support/hooks.rb:100 0.000
Tags: @product
54.158
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.716
When I log in to a new session without activating the Persistent Storage 31.996
Then Tails is running from USB drive "__internal" 0.591
And persistence is disabled 0.395
But a Tails persistence partition exists on USB drive "__internal" 8.458
After features/support/hooks.rb:330 1.317
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.229
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 16.776
Then Tails is running from USB drive "__internal" 0.587
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 26.620
Then the file I created was copied to the Persistent Storage 2.378
When I shutdown Tails and wait for the computer to power off 13.210
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.027
Then persistence for "Persistent" is active 0.422
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 2.261
After features/support/hooks.rb:100 0.012
Tags: @product
1:5.405
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.208
And the system is very low on memory 3.964
When I create a file in the Persistent directory 1.407
When I try to create a persistent partition 27.069
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.197
When I close the Persistent Storage app 2.583
And I free up some memory 3.051
And I create a persistent partition with the default settings 14.634
Then the file I created was copied to the Persistent Storage 0.289
After features/support/hooks.rb:330 2.535
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.149
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 enabled and logged in 12.214
Then Tails is running from USB drive "__internal" 0.596
And all tps features are active 2.812
And all persistent directories have safe access rights 2.955
When I disable the first tps feature 7.371
Then all tps features but the first one are active 2.318
And I shutdown Tails and wait for the computer to power off 16.077
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.291
Then all tps features but the first one are active 2.512
After features/support/hooks.rb:330 2.127
After features/support/hooks.rb:100 0.009
Tags: @product
21.327
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 enabled and logged in 11.112
Then persistence for "Persistent" is active 0.079
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.664
Then persistence for "Persistent" is not active 0.104
And the Persistent directory does not exist 0.114
When I enable the first tps feature 3.901
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 1.293
After features/support/hooks.rb:100 0.000
Tags: @product
19.675
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.551
Then persistence for "Persistent" is active 0.207
When I create a file in the Persistent directory 0.111
And I disable the first tps feature 5.899
And I delete the data of the Persistent Folder feature 3.852
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.325
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.367
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.160
And the network is plugged 0.118
And Tor is ready 21.739
And I take note of which tps features are available 0.697
When I write some files expected to persist 1.749
And I shutdown Tails and wait for the computer to power off 9.245
# 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.655
After features/support/hooks.rb:330 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.071
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 enabled and logged in 10.073
And the network is plugged 0.088
And Tor is ready 21.504
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.528
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.590
And I capture all network traffic 0.011
And the network is plugged 0.117
And Tor is ready 22.220
And I switch to the "persistent-con-current" NetworkManager connection 0.407
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.198
After features/support/hooks.rb:330 0.775
After features/support/hooks.rb:100 0.048
Tags: @product
1:9.630
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 18.532
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.978
Then I create a persistent partition with the default settings using the wizard that was already open 24.000
After features/support/hooks.rb:330 3.050
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.446
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 14.304
When I enable persistence 1:1.932
Then no persistent Greeter options were restored 14.869
When I set all Greeter options to non-default values 28.629
And I log in to a new session in German (de) after having activated the Persistent Storage 44.740
Then all Greeter options are set to non-default values 0.468
When I cold reboot the computer 9.681
And the computer reboots Tails 1:4.123
Given I enable persistence 18.309
Then persistent Greeter options were restored 0.580
When I log in to a new session after having activated the Persistent Storage 39.998
Then all Greeter options are set to non-default values 0.809
After features/support/hooks.rb:330 2.180
After features/support/hooks.rb:100 0.011
Tags: @product
4:12.523
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 23.883
# 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 38.730
And I shutdown Tails and wait for the computer to power off 17.192
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.885
And I change the passphrase of the Persistent Storage back to the original 37.831
After features/support/hooks.rb:330 3.459
After features/support/hooks.rb:100 0.010
Tags: @product
56.934
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 10.088
And I log in to a new session without activating the Persistent Storage 21.549
Then persistence is disabled 0.259
But a Tails persistence partition exists on USB drive "__internal" 9.005
And all notifications have disappeared 8.570
When I delete the persistent partition 6.581
Then there is no persistence partition on USB drive "__internal" 0.879
After features/support/hooks.rb:330 0.987
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.782
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.542
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 10.724
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.058
Then the expected persistent dotfile is present in the filesystem 0.387
After features/support/hooks.rb:330 1.489
After features/support/hooks.rb:100 0.010
Tags: @product
1:39.106
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.524
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.126
When I try to enable persistence 0.329
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.345
When I log in to a new session after having activated the Persistent Storage 38.375
And all notifications have disappeared 8.677
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.988
And all tps features are enabled 2.590
And all tps features but the first one are active 2.150
After features/support/hooks.rb:330 3.237
After features/support/hooks.rb:100 0.000
Tags: @product
5:49.961
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 4:26.075
And I enable persistence 30.390
And I log in to a new session after having activated the Persistent Storage 46.873
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.865
And persistence is enabled 2.757
After features/support/hooks.rb:330 1.332
After features/support/hooks.rb:100 0.000
Tags: @product
32.767
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
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.065
And I enable persistence but something goes wrong during the LUKS header upgrade 22.819
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.881
After features/support/hooks.rb:330 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
58.089
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.071
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.458
When I enable persistence 38.586
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.884
After features/support/hooks.rb:330 2.452
After features/support/hooks.rb:100 0.000
Tags: @product
49.417
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 and stopped at Tails Greeter's login screen 9.217
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.071
When I try to enable persistence 0.444
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.779
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.250
And the filesystem of the Persistent Storage was repaired 2.572
When I close the filesystem repair dialog 1.304
Then persistence is successfully enabled 1.555
After features/support/hooks.rb:330 2.388
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.666
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.247
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.705
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.044
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.121
When I log in to a new session 39.398
And all notifications have disappeared 7.285
# 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.750
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.222
When I close the "whisperback" window 1.604
Then the Tor Browser starts 21.861
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.065
After features/support/hooks.rb:330 2.795
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.334
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 9.435
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.993
And Tails detects disk read failures on the boot device 0.776
When I try to enable persistence 0.525
Then the Welcome Screen tells me that my hardware is probably failing 17.852
When I log in to a new session 44.560
And all notifications have disappeared 6.980
Then the Tor Browser starts 22.799
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.411
After features/support/hooks.rb:330 3.991
After features/support/hooks.rb:100 0.000