Project Number Date
test_Tails_ISO_feature-arti 103 01 Jul 2025, 17:47

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 57:47.618 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:11.940
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:41.721
And I update APT using apt 51.444
And I install "python3-behave" using apt 28.975
Then the Tails Persistent Storage behave tests pass 9.798
After features/support/hooks.rb:330 0.649
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.489
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 17.344
When I log in to a new session without activating the Persistent Storage 36.300
Then Tails is running from USB drive "__internal" 1.915
And persistence is disabled 0.383
But a Tails persistence partition exists on USB drive "__internal" 8.545
After features/support/hooks.rb:330 1.959
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.508
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 18.261
Then Tails is running from USB drive "__internal" 0.611
When I create a file in the Persistent directory 0.144
And I create a persistent partition with the default settings 41.018
Then the file I created was copied to the Persistent Storage 3.786
When I shutdown Tails and wait for the computer to power off 17.746
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:28.827
Then persistence for "Persistent" is active 0.975
And the file I created in the Persistent directory exists 0.135
After features/support/hooks.rb:330 2.286
After features/support/hooks.rb:100 0.009
Tags: @product
1:26.700
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 25.867
And the system is very low on memory 7.324
When I create a file in the Persistent directory 1.043
When I try to create a persistent partition 26.822
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.270
When I close the Persistent Storage app 2.671
And I free up some memory 2.688
And I create a persistent partition with the default settings 19.769
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:330 4.622
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.078
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.725
Then Tails is running from USB drive "__internal" 2.639
And all tps features are active 4.458
And all persistent directories have safe access rights 4.436
When I disable the first tps feature 6.909
Then all tps features but the first one are active 6.815
And I shutdown Tails and wait for the computer to power off 19.524
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.256
Then all tps features but the first one are active 3.311
After features/support/hooks.rb:330 3.835
After features/support/hooks.rb:100 0.026
Tags: @product
27.328
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.768
Then persistence for "Persistent" is active 0.190
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.231
When I disable the first tps feature 9.743
Then persistence for "Persistent" is not active 0.179
And the Persistent directory does not exist 0.089
When I enable the first tps feature 3.812
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.105
After features/support/hooks.rb:330 1.674
After features/support/hooks.rb:100 0.000
Tags: @product
26.343
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 13.935
Then persistence for "Persistent" is active 0.397
When I create a file in the Persistent directory 0.153
And I disable the first tps feature 7.198
And I delete the data of the Persistent Folder feature 4.573
Then the file I created does not exist on the Persistent Storage 0.084
After features/support/hooks.rb:330 4.945
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.839
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.089
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.894
And the network is plugged 0.075
And Tor is ready 27.545
And I take note of which tps features are available 1.087
When I write some files expected to persist 2.573
And I shutdown Tails and wait for the computer to power off 9.403
# 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" 36.258
After features/support/hooks.rb:330 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.274
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 16.124
And the network is plugged 0.112
And Tor is ready 23.587
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 13.339
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:50.266
And I capture all network traffic 0.007
And the network is plugged 0.109
And Tor is ready 24.373
And I switch to the "persistent-con-current" NetworkManager connection 1.080
And the 1st network device has a spoofed MAC address configured 0.690
And no network device leaked the real MAC address 1.368
After features/support/hooks.rb:330 1.025
After features/support/hooks.rb:100 0.041
Tags: @product
1:24.489
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 18.711
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.154
Then I create a persistent partition with the default settings using the wizard that was already open 35.498
After features/support/hooks.rb:330 3.961
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.930
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 17.747
When I enable persistence 1:4.363
Then no persistent Greeter options were restored 15.997
When I set all Greeter options to non-default values 41.449
And I log in to a new session in German (de) after having activated the Persistent Storage 1:1.585
Then all Greeter options are set to non-default values 1.071
When I cold reboot the computer 10.555
And the computer reboots Tails 1:23.416
Given I enable persistence 24.532
Then persistent Greeter options were restored 0.689
When I log in to a new session after having activated the Persistent Storage 54.190
Then all Greeter options are set to non-default values 0.332
After features/support/hooks.rb:330 2.085
After features/support/hooks.rb:100 0.009
Tags: @product
5:37.923
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 27.230
# 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 49.356
And I shutdown Tails and wait for the computer to power off 17.694
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:20.938
And I change the passphrase of the Persistent Storage back to the original 42.703
After features/support/hooks.rb:330 2.819
After features/support/hooks.rb:100 0.011
Tags: @product
1:24.534
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.812
And I log in to a new session without activating the Persistent Storage 30.823
Then persistence is disabled 0.380
But a Tails persistence partition exists on USB drive "__internal" 20.689
And all notifications have disappeared 14.708
When I delete the persistent partition 5.872
Then there is no persistence partition on USB drive "__internal" 0.247
After features/support/hooks.rb:330 5.022
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.113
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.070
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.223
When I write some dotfile expected to persist 0.129
And I shutdown Tails and wait for the computer to power off 13.438
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.463
Then the expected persistent dotfile is present in the filesystem 0.858
After features/support/hooks.rb:330 1.143
After features/support/hooks.rb:100 0.011
Tags: @product
2:27.081
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 14.112
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.153
When I try to enable persistence 0.548
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 48.074
When I log in to a new session after having activated the Persistent Storage 1:2.570
And all notifications have disappeared 11.805
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.562
And all tps features are enabled 2.961
And all tps features but the first one are active 2.291
After features/support/hooks.rb:330 5.218
After features/support/hooks.rb:100 0.000
Tags: @product
6:11.645
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.091
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:23.214
And I enable persistence 48.731
And I log in to a new session after having activated the Persistent Storage 55.440
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.393
And persistence is enabled 2.865
After features/support/hooks.rb:330 1.813
After features/support/hooks.rb:100 0.000
Tags: @product
40.944
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
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 16.314
And I enable persistence but something goes wrong during the LUKS header upgrade 23.420
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.210
After features/support/hooks.rb:330 1.619
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.359
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.074
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.004
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.232
When I enable persistence 43.413
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 3.609
After features/support/hooks.rb:330 1.536
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.106
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.482
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.750
When I try to enable persistence 1.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.727
When I repair the filesystem of the Persistent Storage 4.298
Then the Welcome Screen tells me that the filesystem was repaired successfully 5.152
And the filesystem of the Persistent Storage was repaired 3.556
When I close the filesystem repair dialog 1.295
Then persistence is successfully enabled 1.524
After features/support/hooks.rb:330 2.235
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:51.887
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.078
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.400
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 47.910
When I repair the filesystem of the Persistent Storage 2.693
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.879
When I log in to a new session 54.495
And all notifications have disappeared 15.372
# 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.535
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.885
When I close the "whisperback" window 1.755
Then the Tor Browser starts 29.413
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.171
After features/support/hooks.rb:330 2.660
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:48.099
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 15.524
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.782
And Tails detects disk read failures on the boot device 1.876
When I try to enable persistence 1.478
Then the Welcome Screen tells me that my hardware is probably failing 38.616
When I log in to a new session 1:3.552
And all notifications have disappeared 15.259
Then the Tor Browser starts 22.242
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.767
After features/support/hooks.rb:330 7.417
After features/support/hooks.rb:100 0.000