Project Number Date
test_Tails_ISO_stable 5590 23 Apr 2025, 20:33

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:16.297 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:21.948
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.216
And I update APT using apt 1:14.298
And I install "python3-behave" using apt 1:24.791
Then the Tails Persistent Storage behave tests pass 2.641
After features/support/hooks.rb:330 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
47.675
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 12.692
When I log in to a new session without activating the Persistent Storage 22.717
Then Tails is running from USB drive "__internal" 0.742
And persistence is disabled 0.403
But a Tails persistence partition exists on USB drive "__internal" 11.120
After features/support/hooks.rb:330 2.046
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.470
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 17.277
Then Tails is running from USB drive "__internal" 0.569
When I create a file in the Persistent directory 0.225
And I create a persistent partition with the default settings 23.319
Then the file I created was copied to the Persistent Storage 2.514
When I shutdown Tails and wait for the computer to power off 11.224
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.899
Then persistence for "Persistent" is active 0.381
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:330 1.794
After features/support/hooks.rb:100 0.008
Tags: @product
1:3.841
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.164
And the system is very low on memory 4.024
When I create a file in the Persistent directory 0.832
When I try to create a persistent partition 26.433
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.308
When I close the Persistent Storage app 2.660
And I free up some memory 4.467
And I create a persistent partition with the default settings 13.668
Then the file I created was copied to the Persistent Storage 0.282
After features/support/hooks.rb:330 2.329
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.349
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 14.139
Then Tails is running from USB drive "__internal" 0.398
And all tps features are active 2.483
And all persistent directories have safe access rights 2.479
When I disable the first tps feature 5.630
Then all tps features but the first one are active 2.061
And I shutdown Tails and wait for the computer to power off 10.971
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.603
Then all tps features but the first one are active 2.581
After features/support/hooks.rb:330 1.100
After features/support/hooks.rb:100 0.007
Tags: @product
21.437
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.127
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 6.511
Then persistence for "Persistent" is not active 0.164
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.168
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.000
Tags: @product
20.270
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 9.912
Then persistence for "Persistent" is active 0.691
When I create a file in the Persistent directory 0.118
And I disable the first tps feature 5.623
And I delete the data of the Persistent Folder feature 3.857
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.528
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.760
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.810
And the network is plugged 0.091
And Tor is ready 22.883
And I take note of which tps features are available 0.586
When I write some files expected to persist 1.421
And I shutdown Tails and wait for the computer to power off 8.872
# 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.095
After features/support/hooks.rb:330 0.185
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.388
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.009
And the network is plugged 0.104
And Tor is ready 23.214
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 10.900
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.876
And I capture all network traffic 0.007
And the network is plugged 0.104
And Tor is ready 19.269
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.166
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.060
Tags: @product
58.908
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 13.326
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.265
Then I create a persistent partition with the default settings using the wizard that was already open 22.209
After features/support/hooks.rb:330 2.929
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.136
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 13.000
When I enable persistence 41.211
Then no persistent Greeter options were restored 14.532
When I set all Greeter options to non-default values 28.374
And I log in to a new session in German (de) after having activated the Persistent Storage 54.655
Then all Greeter options are set to non-default values 0.581
When I cold reboot the computer 9.946
And the computer reboots Tails 1:5.985
Given I enable persistence 18.113
Then persistent Greeter options were restored 0.546
When I log in to a new session after having activated the Persistent Storage 42.706
Then all Greeter options are set to non-default values 0.482
After features/support/hooks.rb:330 1.771
After features/support/hooks.rb:100 0.009
Tags: @product
4:12.293
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.791
# 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.151
And I shutdown Tails and wait for the computer to power off 15.001
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:35.252
And I change the passphrase of the Persistent Storage back to the original 33.096
After features/support/hooks.rb:330 3.765
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.528
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 12.122
And I log in to a new session without activating the Persistent Storage 21.241
Then persistence is disabled 0.341
But a Tails persistence partition exists on USB drive "__internal" 8.763
And all notifications have disappeared 10.348
When I delete the persistent partition 7.770
Then there is no persistence partition on USB drive "__internal" 0.941
After features/support/hooks.rb:330 1.334
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.189
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 9.721
When I write some dotfile expected to persist 0.206
And I shutdown Tails and wait for the computer to power off 11.024
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.674
Then the expected persistent dotfile is present in the filesystem 0.562
After features/support/hooks.rb:330 0.885
After features/support/hooks.rb:100 0.012
Tags: @product
1:46.412
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.274
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.274
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.555
When I log in to a new session after having activated the Persistent Storage 47.438
And all notifications have disappeared 7.266
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.184
And all tps features are enabled 3.965
And all tps features but the first one are active 2.373
After features/support/hooks.rb:330 2.237
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.808
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 3:32.724
And I enable persistence 34.199
And I log in to a new session after having activated the Persistent Storage 49.910
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.863
And persistence is enabled 3.110
After features/support/hooks.rb:330 2.989
After features/support/hooks.rb:100 0.000
Tags: @product
28.241
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.520
And I enable persistence but something goes wrong during the LUKS header upgrade 18.868
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.852
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
49.657
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.999
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.437
When I enable persistence 31.157
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.971
After features/support/hooks.rb:330 1.752
After features/support/hooks.rb:100 0.000
Tags: @product
51.268
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.735
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.041
When I try to enable persistence 0.533
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.901
When I repair the filesystem of the Persistent Storage 5.138
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.265
And the filesystem of the Persistent Storage was repaired 3.917
When I close the filesystem repair dialog 1.219
Then persistence is successfully enabled 1.514
After features/support/hooks.rb:330 3.011
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.946
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.302
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.088
When I try to enable persistence 0.305
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.006
When I repair the filesystem of the Persistent Storage 1.338
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.117
When I log in to a new session 46.627
And all notifications have disappeared 10.083
# 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.247
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.035
When I close the "whisperback" window 1.588
Then the Tor Browser starts 16.986
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.219
After features/support/hooks.rb:330 3.807
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.761
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 8.898
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.358
And Tails detects disk read failures on the boot device 1.584
When I try to enable persistence 0.568
Then the Welcome Screen tells me that my hardware is probably failing 20.979
When I log in to a new session 51.992
And all notifications have disappeared 9.526
Then the Tor Browser starts 19.858
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.994
After features/support/hooks.rb:330 2.332
After features/support/hooks.rb:100 0.000