Project Number Date
test_Tails_ISO_stable 5534 27 Mar 2025, 09:14

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 50:32.400 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:39.188
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 2:13.229
And I update APT using apt 3:56.266
And I install "python3-behave" using apt 26.619
Then the Tails Persistent Storage behave tests pass 3.073
After features/support/hooks.rb:330 1.039
After features/support/hooks.rb:100 0.000
Tags: @product
55.897
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.677
When I log in to a new session without activating the Persistent Storage 29.252
Then Tails is running from USB drive "__internal" 0.818
And persistence is disabled 0.417
But a Tails persistence partition exists on USB drive "__internal" 10.731
After features/support/hooks.rb:330 1.591
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.805
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 15.323
Then Tails is running from USB drive "__internal" 0.583
When I create a file in the Persistent directory 0.162
And I create a persistent partition with the default settings 28.864
Then the file I created was copied to the Persistent Storage 3.252
When I shutdown Tails and wait for the computer to power off 15.756
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.418
Then persistence for "Persistent" is active 1.355
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 0.710
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.772
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 without a persistent partition and logged in 11.723
And the system is very low on memory 4.551
When I create a file in the Persistent directory 1.297
When I try to create a persistent partition 29.729
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.344
When I close the Persistent Storage app 2.698
And I free up some memory 4.020
And I create a persistent partition with the default settings 14.104
Then the file I created was copied to the Persistent Storage 0.302
After features/support/hooks.rb:330 2.862
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.014
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.758
Then Tails is running from USB drive "__internal" 0.615
And all tps features are active 2.397
And all persistent directories have safe access rights 3.852
When I disable the first tps feature 6.246
Then all tps features but the first one are active 2.372
And I shutdown Tails and wait for the computer to power off 13.177
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.976
Then all tps features but the first one are active 2.617
After features/support/hooks.rb:330 1.321
After features/support/hooks.rb:100 0.011
Tags: @product
20.708
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.705
Then persistence for "Persistent" is active 0.325
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.786
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.393
Then persistence for "Persistent" is active 0.117
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
19.614
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 10.027
Then persistence for "Persistent" is active 0.195
When I create a file in the Persistent directory 0.140
And I disable the first tps feature 5.479
And I delete the data of the Persistent Folder feature 3.710
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.289
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.074
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.901
And the network is plugged 0.086
And Tor is ready 19.782
And I take note of which tps features are available 0.627
When I write some files expected to persist 1.553
And I shutdown Tails and wait for the computer to power off 8.584
# 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.538
After features/support/hooks.rb:330 0.122
After features/support/hooks.rb:100 0.000
Tags: @product
3:53.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 enabled and logged in 10.502
And the network is plugged 0.117
And Tor is ready 46.891
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 9.209
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.179
And I capture all network traffic 0.022
And the network is plugged 0.119
And Tor is ready 21.167
And I switch to the "persistent-con-current" NetworkManager connection 0.414
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:330 0.609
After features/support/hooks.rb:100 0.056
Tags: @product
1:26.054
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 stopped at Tails Greeter's login screen 33.021
And I enable persistence creation in Tails Greeter 1.127
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.784
Then I create a persistent partition with the default settings using the wizard that was already open 27.121
After features/support/hooks.rb:330 3.204
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.685
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 15.709
When I enable persistence 38.834
Then no persistent Greeter options were restored 14.984
When I set all Greeter options to non-default values 27.692
And I log in to a new session in German (de) after having activated the Persistent Storage 55.833
Then all Greeter options are set to non-default values 0.980
When I cold reboot the computer 7.932
And the computer reboots Tails 1:7.113
Given I enable persistence 20.376
Then persistent Greeter options were restored 0.570
When I log in to a new session after having activated the Persistent Storage 47.421
Then all Greeter options are set to non-default values 0.236
After features/support/hooks.rb:330 2.017
After features/support/hooks.rb:100 0.010
Tags: @product
4:9.679
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 11.544
# 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 40.588
And I shutdown Tails and wait for the computer to power off 13.529
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.436
And I change the passphrase of the Persistent Storage back to the original 33.578
After features/support/hooks.rb:330 3.453
After features/support/hooks.rb:100 0.017
Tags: @product
1:11.244
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.223
And I log in to a new session without activating the Persistent Storage 25.179
Then persistence is disabled 0.430
But a Tails persistence partition exists on USB drive "__internal" 12.101
And all notifications have disappeared 12.397
When I delete the persistent partition 6.794
Then there is no persistence partition on USB drive "__internal" 1.118
After features/support/hooks.rb:330 1.467
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.424
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.520
When I write some dotfile expected to persist 0.206
And I shutdown Tails and wait for the computer to power off 9.771
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.457
Then the expected persistent dotfile is present in the filesystem 0.468
After features/support/hooks.rb:330 1.841
After features/support/hooks.rb:100 0.011
Tags: @product
1:52.893
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 9.802
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.327
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.226
When I log in to a new session after having activated the Persistent Storage 48.824
And all notifications have disappeared 8.584
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.683
And all tps features are enabled 3.050
And all tps features but the first one are active 2.305
After features/support/hooks.rb:330 1.731
After features/support/hooks.rb:100 0.000
Tags: @product
5:49.014
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:11.512
And I enable persistence 37.694
And I log in to a new session after having activated the Persistent Storage 55.377
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.410
And persistence is enabled 3.020
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
34.102
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.256
And I enable persistence but something goes wrong during the LUKS header upgrade 22.997
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.848
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.000
Tags: @product
59.835
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.126
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.760
When I enable persistence 41.359
Then the filesystem of the Persistent Storage was repaired 0.148
And persistence is successfully enabled 3.440
After features/support/hooks.rb:330 1.302
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.128
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 and stopped at Tails Greeter's login screen 10.521
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 15.146
When I try to enable persistence 0.586
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.260
When I repair the filesystem of the Persistent Storage 2.666
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.901
And the filesystem of the Persistent Storage was repaired 3.147
When I close the filesystem repair dialog 1.316
Then persistence is successfully enabled 1.579
After features/support/hooks.rb:330 1.713
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.250
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.361
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.120
When I try to enable persistence 0.281
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.925
When I repair the filesystem of the Persistent Storage 1.381
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.545
When I log in to a new session 46.602
And all notifications have disappeared 12.551
# 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.578
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.342
When I close the "whisperback" window 1.503
Then the Tor Browser starts 18.972
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.083
After features/support/hooks.rb:330 4.511
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.904
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.369
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.582
And Tails detects disk read failures on the boot device 1.655
When I try to enable persistence 0.454
Then the Welcome Screen tells me that my hardware is probably failing 21.706
When I log in to a new session 51.380
And all notifications have disappeared 10.345
Then the Tor Browser starts 24.221
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.188
After features/support/hooks.rb:330 4.506
After features/support/hooks.rb:100 0.000