Project Number Date
test_Tails_ISO_feature-arti 94 19 Jun 2025, 18:01

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 56:22.125 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:32.963
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:12.102
And I update APT using apt 46.467
And I install "python3-behave" using apt 28.298
Then the Tails Persistent Storage behave tests pass 6.095
After features/support/hooks.rb:330 1.674
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.679
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.085
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 25.756
When I log in to a new session without activating the Persistent Storage 29.627
Then Tails is running from USB drive "__internal" 0.901
And persistence is disabled 0.442
But a Tails persistence partition exists on USB drive "__internal" 19.951
After features/support/hooks.rb:330 2.327
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.648
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.175
Then Tails is running from USB drive "__internal" 0.955
When I create a file in the Persistent directory 0.380
And I create a persistent partition with the default settings 36.696
Then the file I created was copied to the Persistent Storage 3.133
When I shutdown Tails and wait for the computer to power off 14.551
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.919
Then persistence for "Persistent" is active 0.514
And the file I created in the Persistent directory exists 0.320
After features/support/hooks.rb:330 1.786
After features/support/hooks.rb:100 0.009
Tags: @product
1:18.628
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 18.720
And the system is very low on memory 5.057
When I create a file in the Persistent directory 1.561
When I try to create a persistent partition 26.015
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.528
When I close the Persistent Storage app 2.883
And I free up some memory 3.492
And I create a persistent partition with the default settings 19.884
Then the file I created was copied to the Persistent Storage 0.485
After features/support/hooks.rb:330 4.241
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.791
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.308
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.688
Then Tails is running from USB drive "__internal" 2.628
And all tps features are active 4.803
And all persistent directories have safe access rights 3.319
When I disable the first tps feature 6.731
Then all tps features but the first one are active 4.106
And I shutdown Tails and wait for the computer to power off 16.752
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:56.921
Then all tps features but the first one are active 2.839
After features/support/hooks.rb:330 2.331
After features/support/hooks.rb:100 0.053
Tags: @product
30.825
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.076
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.682
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.189
Then the file I created was copied to the Persistent Storage 0.137
When I disable the first tps feature 10.083
Then persistence for "Persistent" is not active 0.175
And the Persistent directory does not exist 0.171
When I enable the first tps feature 4.161
Then persistence for "Persistent" is active 0.066
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:330 1.527
After features/support/hooks.rb:100 0.000
Tags: @product
28.027
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.236
Then persistence for "Persistent" is active 0.972
When I create a file in the Persistent directory 0.493
And I disable the first tps feature 6.922
And I delete the data of the Persistent Folder feature 6.179
Then the file I created does not exist on the Persistent Storage 0.223
After features/support/hooks.rb:330 5.775
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.474
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.550
And the network is plugged 0.101
And Tor is ready 30.585
And I take note of which tps features are available 0.773
When I write some files expected to persist 1.658
And I shutdown Tails and wait for the computer to power off 7.360
# 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" 38.444
After features/support/hooks.rb:330 0.171
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.911
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 17.491
And the network is plugged 0.108
And Tor is ready 32.857
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.263
And I shutdown Tails and wait for the computer to power off 8.706
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:51.756
And I capture all network traffic 0.037
And the network is plugged 0.118
And Tor is ready 22.931
And I switch to the "persistent-con-current" NetworkManager connection 0.333
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.222
After features/support/hooks.rb:330 0.620
After features/support/hooks.rb:100 0.047
Tags: @product
1:37.663
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 stopped at Tails Greeter's login screen 32.843
And I enable persistence creation in Tails Greeter 1.164
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.798
Then I create a persistent partition with the default settings using the wizard that was already open 36.856
After features/support/hooks.rb:330 3.351
After features/support/hooks.rb:100 0.000
Tags: @product
6:2.296
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 19.487
When I enable persistence 1:1.807
Then no persistent Greeter options were restored 16.318
When I set all Greeter options to non-default values 35.305
And I log in to a new session in German (de) after having activated the Persistent Storage 56.248
Then all Greeter options are set to non-default values 0.566
When I cold reboot the computer 9.754
And the computer reboots Tails 1:27.132
Given I enable persistence 29.587
Then persistent Greeter options were restored 0.564
When I log in to a new session after having activated the Persistent Storage 45.182
Then all Greeter options are set to non-default values 0.340
After features/support/hooks.rb:330 1.632
After features/support/hooks.rb:100 0.010
Tags: @product
5:30.537
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 17.743
# 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 1:7.821
And I shutdown Tails and wait for the computer to power off 15.573
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:57.166
And I change the passphrase of the Persistent Storage back to the original 52.232
After features/support/hooks.rb:330 4.085
After features/support/hooks.rb:100 0.012
Tags: @product
1:19.118
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 12.503
And I log in to a new session without activating the Persistent Storage 27.996
Then persistence is disabled 0.323
But a Tails persistence partition exists on USB drive "__internal" 16.509
And all notifications have disappeared 12.566
When I delete the persistent partition 8.962
Then there is no persistence partition on USB drive "__internal" 0.256
After features/support/hooks.rb:330 1.594
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.094
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 enabled and logged in 11.976
When I write some dotfile expected to persist 0.131
And I shutdown Tails and wait for the computer to power off 12.101
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.406
Then the expected persistent dotfile is present in the filesystem 0.478
After features/support/hooks.rb:330 1.989
After features/support/hooks.rb:100 0.011
Tags: @product
2:23.878
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 14.192
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.099
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 47.266
When I log in to a new session after having activated the Persistent Storage 57.155
And all notifications have disappeared 11.448
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.050
And all tps features are enabled 3.946
And all tps features but the first one are active 4.423
After features/support/hooks.rb:330 3.593
After features/support/hooks.rb:100 0.000
Tags: @product
6:25.846
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
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:39.216
And I enable persistence 45.168
And I log in to a new session after having activated the Persistent Storage 54.513
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.885
And persistence is enabled 3.061
After features/support/hooks.rb:330 1.855
After features/support/hooks.rb:100 0.000
Tags: @product
37.155
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 13.014
And I enable persistence but something goes wrong during the LUKS header upgrade 23.366
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.774
After features/support/hooks.rb:330 0.752
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.373
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 10.497
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.939
When I enable persistence 43.697
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 6.131
After features/support/hooks.rb:330 2.894
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.691
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 and stopped at Tails Greeter's login screen 10.846
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.492
When I try to enable persistence 0.452
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.966
When I repair the filesystem of the Persistent Storage 1.980
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.082
And the filesystem of the Persistent Storage was repaired 3.214
When I close the filesystem repair dialog 1.373
Then persistence is successfully enabled 7.282
After features/support/hooks.rb:330 2.846
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:42.781
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.039
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.548
When I try to enable persistence 1.758
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 45.926
When I repair the filesystem of the Persistent Storage 1.330
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.146
When I log in to a new session 55.927
And all notifications have disappeared 12.910
# 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.438
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.791
When I close the "whisperback" window 4.115
Then the Tor Browser starts 25.873
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.974
After features/support/hooks.rb:330 3.339
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:42.738
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 13.439
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.944
And Tails detects disk read failures on the boot device 2.001
When I try to enable persistence 0.490
Then the Welcome Screen tells me that my hardware is probably failing 37.603
When I log in to a new session 58.922
And all notifications have disappeared 16.670
Then the Tor Browser starts 26.634
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.030
After features/support/hooks.rb:330 3.964
After features/support/hooks.rb:100 0.000