Project Number Date
test_Tails_ISO_devel 3860 10 Jun 2025, 13:40

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 41:28.625 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.698
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:38.912
And I update APT using apt 12.892
And I install "python3-behave" using apt 22.917
Then the Tails Persistent Storage behave tests pass 2.976
After features/support/hooks.rb:330 0.896
After features/support/hooks.rb:100 0.000
Tags: @product
44.514
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.938
When I log in to a new session without activating the Persistent Storage 24.353
Then Tails is running from USB drive "__internal" 0.550
And persistence is disabled 0.772
But a Tails persistence partition exists on USB drive "__internal" 7.898
After features/support/hooks.rb:330 1.337
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.632
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 12.223
Then Tails is running from USB drive "__internal" 0.375
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 25.757
Then the file I created was copied to the Persistent Storage 2.454
When I shutdown Tails and wait for the computer to power off 12.878
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.116
Then persistence for "Persistent" is active 0.606
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.940
After features/support/hooks.rb:100 0.030
Tags: @product
1:9.563
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 11.100
And the system is very low on memory 5.132
When I create a file in the Persistent directory 1.197
When I try to create a persistent partition 31.077
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.240
When I close the Persistent Storage app 2.820
And I free up some memory 4.015
And I create a persistent partition with the default settings 13.695
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:330 2.570
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.207
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 17.626
Then Tails is running from USB drive "__internal" 0.405
And all tps features are active 2.433
And all persistent directories have safe access rights 2.810
When I disable the first tps feature 6.306
Then all tps features but the first one are active 2.090
And I shutdown Tails and wait for the computer to power off 13.053
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.385
Then all tps features but the first one are active 2.094
After features/support/hooks.rb:330 1.364
After features/support/hooks.rb:100 0.008
Tags: @product
20.514
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.846
Then persistence for "Persistent" is active 0.117
And I create a file in the Persistent directory 0.136
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 6.378
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.647
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.514
After features/support/hooks.rb:100 0.000
Tags: @product
20.292
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.514
Then persistence for "Persistent" is active 0.242
When I create a file in the Persistent directory 0.220
And I disable the first tps feature 6.231
And I delete the data of the Persistent Folder feature 4.021
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.717
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.613
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 9.360
And the network is plugged 0.078
And Tor is ready 22.535
And I take note of which tps features are available 0.528
When I write some files expected to persist 1.658
And I shutdown Tails and wait for the computer to power off 8.478
# 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.972
After features/support/hooks.rb:330 0.180
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.573
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.020
And the network is plugged 0.137
And Tor is ready 21.618
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 8.466
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.902
And I capture all network traffic 0.010
And the network is plugged 0.078
And Tor is ready 20.442
And I switch to the "persistent-con-current" NetworkManager connection 0.438
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.607
After features/support/hooks.rb:100 0.068
Tags: @product
58.095
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 13.523
And I enable persistence creation in Tails Greeter 1.201
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.548
Then I create a persistent partition with the default settings using the wizard that was already open 21.822
After features/support/hooks.rb:330 3.043
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.209
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 12.259
When I enable persistence 34.523
Then no persistent Greeter options were restored 14.324
When I set all Greeter options to non-default values 26.143
And I log in to a new session in German (de) after having activated the Persistent Storage 50.878
Then all Greeter options are set to non-default values 0.591
When I cold reboot the computer 7.535
And the computer reboots Tails 1:3.828
Given I enable persistence 16.236
Then persistent Greeter options were restored 0.494
When I log in to a new session after having activated the Persistent Storage 39.974
Then all Greeter options are set to non-default values 0.418
After features/support/hooks.rb:330 2.503
After features/support/hooks.rb:100 0.022
Tags: @product
3:53.739
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 9.995
# 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 42.232
And I shutdown Tails and wait for the computer to power off 17.070
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.727
And I change the passphrase of the Persistent Storage back to the original 30.714
After features/support/hooks.rb:330 2.439
After features/support/hooks.rb:100 0.010
Tags: @product
55.527
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.678
And I log in to a new session without activating the Persistent Storage 22.966
Then persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 4.941
And all notifications have disappeared 8.971
When I delete the persistent partition 6.607
Then there is no persistence partition on USB drive "__internal" 1.010
After features/support/hooks.rb:330 1.235
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.354
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 10.224
When I write some dotfile expected to persist 0.214
And I shutdown Tails and wait for the computer to power off 8.671
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.833
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:330 1.288
After features/support/hooks.rb:100 0.009
Tags: @product
1:40.397
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 and stopped at Tails Greeter's login screen 8.713
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.398
When I log in to a new session after having activated the Persistent Storage 45.410
And all notifications have disappeared 7.976
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.330
And all tps features are enabled 2.301
And all tps features but the first one are active 1.902
After features/support/hooks.rb:330 4.016
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.504
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 3:48.577
And I enable persistence 36.000
And I log in to a new session after having activated the Persistent Storage 45.421
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.916
And persistence is enabled 2.588
After features/support/hooks.rb:330 3.579
After features/support/hooks.rb:100 0.000
Tags: @product
45.160
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 22.289
And I enable persistence but something goes wrong during the LUKS header upgrade 22.082
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.787
After features/support/hooks.rb:330 0.761
After features/support/hooks.rb:100 0.000
Tags: @product
52.306
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 12.043
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.372
When I enable persistence 32.067
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.737
After features/support/hooks.rb:330 1.729
After features/support/hooks.rb:100 0.000
Tags: @product
50.265
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.089
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.844
When I try to enable persistence 0.438
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.347
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.943
And the filesystem of the Persistent Storage was repaired 3.502
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.560
After features/support/hooks.rb:330 2.174
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.656
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.096
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.146
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.500
When I repair the filesystem of the Persistent Storage 1.868
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 48.105
And all notifications have disappeared 11.530
# 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.409
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.534
When I close the "whisperback" window 1.557
Then the Tor Browser starts 17.533
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.000
After features/support/hooks.rb:330 4.138
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.799
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 10.326
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.833
And Tails detects disk read failures on the boot device 0.571
When I try to enable persistence 0.423
Then the Welcome Screen tells me that my hardware is probably failing 19.632
When I log in to a new session 50.526
And all notifications have disappeared 8.421
Then the Tor Browser starts 22.097
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.966
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.000