Project Number Date
test_Tails_ISO_devel 3802 06 May 2025, 13:38

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:40.483 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.547
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.686
And I update APT using apt 14.186
And I install "python3-behave" using apt 26.214
Then the Tails Persistent Storage behave tests pass 2.460
After features/support/hooks.rb:330 1.122
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.566
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 26.098
When I log in to a new session without activating the Persistent Storage 28.623
Then Tails is running from USB drive "__internal" 0.669
And persistence is disabled 0.437
But a Tails persistence partition exists on USB drive "__internal" 8.737
After features/support/hooks.rb:330 5.158
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.573
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 without a persistent partition and logged in 37.820
Then Tails is running from USB drive "__internal" 0.558
When I create a file in the Persistent directory 0.304
And I create a persistent partition with the default settings 30.839
Then the file I created was copied to the Persistent Storage 2.327
When I shutdown Tails and wait for the computer to power off 13.556
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.473
Then persistence for "Persistent" is active 0.593
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:330 2.257
After features/support/hooks.rb:100 0.010
Tags: @product
1:29.471
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 24.407
And the system is very low on memory 5.865
When I create a file in the Persistent directory 2.940
When I try to create a persistent partition 27.886
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.501
When I close the Persistent Storage app 2.984
And I free up some memory 3.089
And I create a persistent partition with the default settings 21.502
Then the file I created was copied to the Persistent Storage 0.292
After features/support/hooks.rb:330 3.474
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.555
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.435
Then Tails is running from USB drive "__internal" 0.490
And all tps features are active 3.223
And all persistent directories have safe access rights 3.171
When I disable the first tps feature 7.756
Then all tps features but the first one are active 2.617
And I shutdown Tails and wait for the computer to power off 15.806
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.617
Then all tps features but the first one are active 2.437
After features/support/hooks.rb:330 1.871
After features/support/hooks.rb:100 0.008
Tags: @product
28.631
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 14.239
Then persistence for "Persistent" is active 0.291
And I create a file in the Persistent directory 0.128
Then the file I created was copied to the Persistent Storage 0.145
When I disable the first tps feature 8.919
Then persistence for "Persistent" is not active 0.176
And the Persistent directory does not exist 0.069
When I enable the first tps feature 4.494
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
25.029
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 10.386
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.123
And I disable the first tps feature 8.697
And I delete the data of the Persistent Folder feature 5.643
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:330 1.681
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.957
Before features/support/hooks.rb:266 0.000
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 10.319
And the network is plugged 0.105
And Tor is ready 24.285
And I take note of which tps features are available 2.124
When I write some files expected to persist 1.643
And I shutdown Tails and wait for the computer to power off 8.640
# 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.839
After features/support/hooks.rb:330 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.869
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.892
And the network is plugged 0.136
And Tor is ready 21.820
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 12.905
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:49.175
And I capture all network traffic 0.008
And the network is plugged 0.101
And Tor is ready 20.953
And I switch to the "persistent-con-current" NetworkManager connection 0.388
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.156
After features/support/hooks.rb:330 0.643
After features/support/hooks.rb:100 0.068
Tags: @product
1:52.132
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 stopped at Tails Greeter's login screen 54.477
And I enable persistence creation in Tails Greeter 1.163
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.309
Then I create a persistent partition with the default settings using the wizard that was already open 30.181
After features/support/hooks.rb:330 3.837
After features/support/hooks.rb:100 0.000
Tags: @product
5:35.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 with a persistent partition and stopped at Tails Greeter's login screen 32.942
When I enable persistence 56.524
Then no persistent Greeter options were restored 14.509
When I set all Greeter options to non-default values 28.499
And I log in to a new session in German (de) after having activated the Persistent Storage 46.913
Then all Greeter options are set to non-default values 0.578
When I cold reboot the computer 7.692
And the computer reboots Tails 1:15.663
Given I enable persistence 20.623
Then persistent Greeter options were restored 0.748
When I log in to a new session after having activated the Persistent Storage 50.683
Then all Greeter options are set to non-default values 0.533
After features/support/hooks.rb:330 2.663
After features/support/hooks.rb:100 0.012
Tags: @product
4:14.666
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 13.909
# 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.729
And I shutdown Tails and wait for the computer to power off 20.020
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.650
And I change the passphrase of the Persistent Storage back to the original 45.357
After features/support/hooks.rb:330 2.983
After features/support/hooks.rb:100 0.026
Tags: @product
1:7.225
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.863
And I log in to a new session without activating the Persistent Storage 24.756
Then persistence is disabled 0.535
But a Tails persistence partition exists on USB drive "__internal" 9.349
And all notifications have disappeared 12.128
When I delete the persistent partition 6.637
Then there is no persistence partition on USB drive "__internal" 0.953
After features/support/hooks.rb:330 1.183
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.005
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 10.290
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 11.665
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.610
Then the expected persistent dotfile is present in the filesystem 0.371
After features/support/hooks.rb:330 1.584
After features/support/hooks.rb:100 0.009
Tags: @product
1:58.126
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.140
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.323
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.380
When I log in to a new session after having activated the Persistent Storage 49.557
And all notifications have disappeared 7.375
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.764
And all tps features are enabled 2.930
And all tps features but the first one are active 2.562
After features/support/hooks.rb:330 2.087
After features/support/hooks.rb:100 0.000
Tags: @product
6:54.022
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 4:56.895
And I enable persistence 1:2.893
And I log in to a new session after having activated the Persistent Storage 48.280
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.257
And persistence is enabled 3.694
After features/support/hooks.rb:330 2.763
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.814
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 15.123
And I enable persistence but something goes wrong during the LUKS header upgrade 1:3.698
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.992
After features/support/hooks.rb:330 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.634
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.090
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.858
When I enable persistence 54.394
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 3.193
After features/support/hooks.rb:330 2.103
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.427
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 10.049
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.164
When I try to enable persistence 0.701
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.018
When I repair the filesystem of the Persistent Storage 2.623
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.745
And the filesystem of the Persistent Storage was repaired 4.284
When I close the filesystem repair dialog 1.296
Then persistence is successfully enabled 1.543
After features/support/hooks.rb:330 2.137
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.599
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.418
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.137
When I try to enable persistence 0.316
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.594
When I repair the filesystem of the Persistent Storage 5.493
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 38.243
And all notifications have disappeared 9.836
# 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.609
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.666
When I close the "whisperback" window 1.668
Then the Tor Browser starts 24.223
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.315
After features/support/hooks.rb:330 4.221
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.714
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.305
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.609
And Tails detects disk read failures on the boot device 0.615
When I try to enable persistence 0.426
Then the Welcome Screen tells me that my hardware is probably failing 21.166
When I log in to a new session 50.425
And all notifications have disappeared 9.187
Then the Tor Browser starts 24.025
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.953
After features/support/hooks.rb:330 4.304
After features/support/hooks.rb:100 0.000