Project Number Date
test_Tails_ISO_stable 5670 22 May 2025, 12:34

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:11.606 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:9.520
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.549
And I update APT using apt 13.468
And I install "python3-behave" using apt 22.844
Then the Tails Persistent Storage behave tests pass 2.658
After features/support/hooks.rb:330 0.834
After features/support/hooks.rb:100 0.000
Tags: @product
40.149
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.981
When I log in to a new session without activating the Persistent Storage 21.714
Then Tails is running from USB drive "__internal" 0.369
And persistence is disabled 0.286
But a Tails persistence partition exists on USB drive "__internal" 5.797
After features/support/hooks.rb:330 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.347
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 12.092
Then Tails is running from USB drive "__internal" 0.363
When I create a file in the Persistent directory 0.109
And I create a persistent partition with the default settings 22.026
Then the file I created was copied to the Persistent Storage 1.698
When I shutdown Tails and wait for the computer to power off 10.461
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.201
Then persistence for "Persistent" is active 0.325
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.435
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.834
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.982
And the system is very low on memory 3.408
When I create a file in the Persistent directory 1.320
When I try to create a persistent partition 33.560
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.461
When I close the Persistent Storage app 2.598
And I free up some memory 3.108
And I create a persistent partition with the default settings 12.790
Then the file I created was copied to the Persistent Storage 0.602
After features/support/hooks.rb:330 2.162
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.759
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.583
Then Tails is running from USB drive "__internal" 0.648
And all tps features are active 2.110
And all persistent directories have safe access rights 2.362
When I disable the first tps feature 5.550
Then all tps features but the first one are active 1.917
And I shutdown Tails and wait for the computer to power off 12.698
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.844
Then all tps features but the first one are active 2.043
After features/support/hooks.rb:330 1.294
After features/support/hooks.rb:100 0.009
Tags: @product
19.089
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.103
Then persistence for "Persistent" is active 0.077
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.158
When I disable the first tps feature 5.316
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.084
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:330 1.623
After features/support/hooks.rb:100 0.000
Tags: @product
17.899
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 8.579
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 5.596
And I delete the data of the Persistent Folder feature 3.491
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.484
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.353
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.237
And the network is plugged 0.080
And Tor is ready 21.873
And I take note of which tps features are available 0.533
When I write some files expected to persist 1.382
And I shutdown Tails and wait for the computer to power off 8.294
# 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" 23.949
After features/support/hooks.rb:330 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.996
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.035
And the network is plugged 0.062
And Tor is ready 18.448
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.178
And I shutdown Tails and wait for the computer to power off 8.280
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.883
And I capture all network traffic 0.007
And the network is plugged 0.082
And Tor is ready 18.423
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.702
After features/support/hooks.rb:100 0.070
Tags: @product
54.398
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 12.275
And I enable persistence creation in Tails Greeter 1.351
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.866
Then I create a persistent partition with the default settings using the wizard that was already open 21.905
After features/support/hooks.rb:330 2.584
After features/support/hooks.rb:100 0.000
Tags: @product
4:1.757
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 10.547
When I enable persistence 30.264
Then no persistent Greeter options were restored 14.246
When I set all Greeter options to non-default values 24.972
And I log in to a new session in German (de) after having activated the Persistent Storage 47.811
Then all Greeter options are set to non-default values 0.482
When I cold reboot the computer 7.141
And the computer reboots Tails 57.945
Given I enable persistence 19.442
Then persistent Greeter options were restored 0.532
When I log in to a new session after having activated the Persistent Storage 27.836
Then all Greeter options are set to non-default values 0.533
After features/support/hooks.rb:330 2.373
After features/support/hooks.rb:100 0.009
Tags: @product
3:33.059
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 9.677
# 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 32.102
And I shutdown Tails and wait for the computer to power off 12.441
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.509
And I change the passphrase of the Persistent Storage back to the original 27.327
After features/support/hooks.rb:330 3.352
After features/support/hooks.rb:100 0.009
Tags: @product
48.755
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.427
And I log in to a new session without activating the Persistent Storage 18.105
Then persistence is disabled 0.271
But a Tails persistence partition exists on USB drive "__internal" 4.892
And all notifications have disappeared 8.856
When I delete the persistent partition 6.397
Then there is no persistence partition on USB drive "__internal" 0.803
After features/support/hooks.rb:330 1.129
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.436
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.401
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 10.548
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.908
Then the expected persistent dotfile is present in the filesystem 0.495
After features/support/hooks.rb:330 1.144
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.743
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.658
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.260
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.213
When I log in to a new session after having activated the Persistent Storage 42.842
And all notifications have disappeared 8.377
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.409
And all tps features are enabled 2.074
And all tps features but the first one are active 1.828
After features/support/hooks.rb:330 1.600
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.804
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:55.119
And I enable persistence 28.991
And I log in to a new session after having activated the Persistent Storage 42.497
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.467
And persistence is enabled 2.729
After features/support/hooks.rb:330 2.783
After features/support/hooks.rb:100 0.000
Tags: @product
27.660
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.671
And I enable persistence but something goes wrong during the LUKS header upgrade 18.012
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.975
After features/support/hooks.rb:330 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
40.752
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.273
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.715
When I enable persistence 24.012
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.667
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
44.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 9.201
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.130
When I try to enable persistence 0.384
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.705
When I repair the filesystem of the Persistent Storage 2.710
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.298
And the filesystem of the Persistent Storage was repaired 2.978
When I close the filesystem repair dialog 1.180
Then persistence is successfully enabled 1.352
After features/support/hooks.rb:330 2.178
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.885
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.726
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.311
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.585
When I repair the filesystem of the Persistent Storage 1.254
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 38.886
And all notifications have disappeared 8.152
# 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.436
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.178
When I close the "whisperback" window 1.520
Then the Tor Browser starts 20.822
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.458
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.011
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.022
And Tails detects disk read failures on the boot device 1.604
When I try to enable persistence 0.383
Then the Welcome Screen tells me that my hardware is probably failing 17.154
When I log in to a new session 46.582
And all notifications have disappeared 7.783
Then the Tor Browser starts 22.115
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.800
After features/support/hooks.rb:330 1.860
After features/support/hooks.rb:100 0.000