Project Number Date
test_Tails_ISO_devel 3857 07 Jun 2025, 12:28

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 37:59.437 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.198
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:30.760
And I update APT using apt 13.216
And I install "python3-behave" using apt 22.957
Then the Tails Persistent Storage behave tests pass 3.264
After features/support/hooks.rb:330 0.695
After features/support/hooks.rb:100 0.000
Tags: @product
41.533
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.643
When I log in to a new session without activating the Persistent Storage 21.156
Then Tails is running from USB drive "__internal" 0.608
And persistence is disabled 0.469
But a Tails persistence partition exists on USB drive "__internal" 7.655
After features/support/hooks.rb:330 1.538
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.310
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.542
Then Tails is running from USB drive "__internal" 0.383
When I create a file in the Persistent directory 0.169
And I create a persistent partition with the default settings 20.608
Then the file I created was copied to the Persistent Storage 1.808
When I shutdown Tails and wait for the computer to power off 10.353
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.067
Then persistence for "Persistent" is active 0.296
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.986
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.836
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 10.348
And the system is very low on memory 3.284
When I create a file in the Persistent directory 1.688
When I try to create a persistent partition 27.749
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.170
When I close the Persistent Storage app 2.501
And I free up some memory 3.437
And I create a persistent partition with the default settings 12.410
Then the file I created was copied to the Persistent Storage 0.245
After features/support/hooks.rb:330 2.150
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.280
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 11.823
Then Tails is running from USB drive "__internal" 0.462
And all tps features are active 2.224
And all persistent directories have safe access rights 2.492
When I disable the first tps feature 5.323
Then all tps features but the first one are active 1.936
And I shutdown Tails and wait for the computer to power off 12.708
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.326
Then all tps features but the first one are active 1.981
After features/support/hooks.rb:330 1.364
After features/support/hooks.rb:100 0.009
Tags: @product
19.156
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.760
Then persistence for "Persistent" is active 0.142
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.119
When I disable the first tps feature 5.663
Then persistence for "Persistent" is not active 0.060
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.087
Then persistence for "Persistent" is active 0.063
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.408
After features/support/hooks.rb:100 0.000
Tags: @product
18.341
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.358
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 5.247
And I delete the data of the Persistent Folder feature 3.511
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 1.468
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.554
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.283
And the network is plugged 0.077
And Tor is ready 47.670
And I take note of which tps features are available 0.564
When I write some files expected to persist 1.346
And I shutdown Tails and wait for the computer to power off 6.590
# 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.020
After features/support/hooks.rb:330 0.106
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.428
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.574
And the network is plugged 0.073
And Tor is ready 17.480
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.300
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.842
And I capture all network traffic 0.010
And the network is plugged 0.083
And Tor is ready 21.335
And I switch to the "persistent-con-current" NetworkManager connection 0.295
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.115
After features/support/hooks.rb:330 0.553
After features/support/hooks.rb:100 0.101
Tags: @product
53.912
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 11.410
And I enable persistence creation in Tails Greeter 1.101
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.699
Then I create a persistent partition with the default settings using the wizard that was already open 22.700
After features/support/hooks.rb:330 2.231
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.650
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.366
When I enable persistence 32.028
Then no persistent Greeter options were restored 13.817
When I set all Greeter options to non-default values 26.747
And I log in to a new session in German (de) after having activated the Persistent Storage 42.252
Then all Greeter options are set to non-default values 0.403
When I cold reboot the computer 7.499
And the computer reboots Tails 1:9.282
Given I enable persistence 15.297
Then persistent Greeter options were restored 0.498
When I log in to a new session after having activated the Persistent Storage 38.860
Then all Greeter options are set to non-default values 0.596
After features/support/hooks.rb:330 2.048
After features/support/hooks.rb:100 0.010
Tags: @product
3:30.026
Before features/support/hooks.rb:266 0.012
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.918
# 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 33.590
And I shutdown Tails and wait for the computer to power off 12.892
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.944
And I change the passphrase of the Persistent Storage back to the original 32.678
After features/support/hooks.rb:330 3.033
After features/support/hooks.rb:100 0.009
Tags: @product
55.418
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.825
And I log in to a new session without activating the Persistent Storage 20.257
Then persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 7.996
And all notifications have disappeared 9.526
When I delete the persistent partition 6.564
Then there is no persistence partition on USB drive "__internal" 0.776
After features/support/hooks.rb:330 1.445
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.120
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.749
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 8.751
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.236
Then the expected persistent dotfile is present in the filesystem 0.324
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.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 and stopped at Tails Greeter's login screen 8.394
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.607
When I log in to a new session after having activated the Persistent Storage 42.578
And all notifications have disappeared 8.045
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.540
And all tps features are enabled 2.556
And all tps features but the first one are active 1.853
After features/support/hooks.rb:330 1.952
After features/support/hooks.rb:100 0.000
Tags: @product
4:8.636
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 2:52.063
And I enable persistence 28.999
And I log in to a new session after having activated the Persistent Storage 43.577
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.733
And persistence is enabled 2.262
After features/support/hooks.rb:330 1.533
After features/support/hooks.rb:100 0.000
Tags: @product
27.178
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.793
And I enable persistence but something goes wrong during the LUKS header upgrade 17.661
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.723
After features/support/hooks.rb:330 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
41.943
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.616
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.885
When I enable persistence 25.821
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 2.526
After features/support/hooks.rb:330 1.885
After features/support/hooks.rb:100 0.000
Tags: @product
48.530
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.110
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.271
When I try to enable persistence 0.385
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.513
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.849
And the filesystem of the Persistent Storage was repaired 3.429
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.465
After features/support/hooks.rb:330 1.914
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.350
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.666
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.120
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.977
When I repair the filesystem of the Persistent Storage 1.258
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 36.477
And all notifications have disappeared 8.317
# 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.666
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.146
When I close the "whisperback" window 1.435
Then the Tor Browser starts 20.945
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.990
After features/support/hooks.rb:330 1.702
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.105
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.609
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.429
And Tails detects disk read failures on the boot device 1.573
When I try to enable persistence 1.451
Then the Welcome Screen tells me that my hardware is probably failing 18.037
When I log in to a new session 49.010
And all notifications have disappeared 7.256
Then the Tor Browser starts 21.835
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.901
After features/support/hooks.rb:330 1.916
After features/support/hooks.rb:100 0.000