Project Number Date
test_Tails_ISO_feature-arti 67 23 May 2025, 16:49

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 47:5.745 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:49.037
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:44.128
And I update APT using apt 35.538
And I install "python3-behave" using apt 26.655
Then the Tails Persistent Storage behave tests pass 2.714
After features/support/hooks.rb:330 0.695
After features/support/hooks.rb:100 0.000
Tags: @product
49.034
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 15.355
When I log in to a new session without activating the Persistent Storage 24.714
Then Tails is running from USB drive "__internal" 0.552
And persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 8.032
After features/support/hooks.rb:330 1.779
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.598
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 15.386
Then Tails is running from USB drive "__internal" 1.728
When I create a file in the Persistent directory 0.223
And I create a persistent partition with the default settings 24.179
Then the file I created was copied to the Persistent Storage 1.950
When I shutdown Tails and wait for the computer to power off 12.871
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.793
Then persistence for "Persistent" is active 0.381
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 2.483
After features/support/hooks.rb:100 0.009
Tags: @product
1:10.932
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 22.860
And the system is very low on memory 3.892
When I create a file in the Persistent directory 1.526
When I try to create a persistent partition 23.405
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.355
When I close the Persistent Storage app 2.756
And I free up some memory 3.169
And I create a persistent partition with the default settings 12.705
Then the file I created was copied to the Persistent Storage 0.260
After features/support/hooks.rb:330 2.822
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.676
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 15.194
Then Tails is running from USB drive "__internal" 0.445
And all tps features are active 2.670
And all persistent directories have safe access rights 2.563
When I disable the first tps feature 6.920
Then all tps features but the first one are active 2.290
And I shutdown Tails and wait for the computer to power off 15.254
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.019
Then all tps features but the first one are active 2.317
After features/support/hooks.rb:330 2.013
After features/support/hooks.rb:100 0.009
Tags: @product
23.970
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 12.052
Then persistence for "Persistent" is active 1.162
And I create a file in the Persistent directory 0.156
Then the file I created was copied to the Persistent Storage 0.115
When I disable the first tps feature 7.051
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.074
When I enable the first tps feature 3.110
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.593
After features/support/hooks.rb:100 0.000
Tags: @product
27.574
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.883
Then persistence for "Persistent" is active 0.795
When I create a file in the Persistent directory 1.745
And I disable the first tps feature 8.353
And I delete the data of the Persistent Folder feature 5.720
Then the file I created does not exist on the Persistent Storage 0.077
After features/support/hooks.rb:330 1.801
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.994
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.248
And the network is plugged 0.086
And Tor is ready 26.895
And I take note of which tps features are available 0.638
When I write some files expected to persist 1.611
And I shutdown Tails and wait for the computer to power off 8.711
# 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.801
After features/support/hooks.rb:330 0.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.942
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.804
And the network is plugged 0.084
And Tor is ready 22.555
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 9.054
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.844
And I capture all network traffic 0.007
And the network is plugged 0.076
And Tor is ready 19.659
And I switch to the "persistent-con-current" NetworkManager connection 0.386
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.204
After features/support/hooks.rb:330 0.730
After features/support/hooks.rb:100 0.067
Tags: @product
1:6.389
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 13.458
And I enable persistence creation in Tails Greeter 1.521
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.749
Then I create a persistent partition with the default settings using the wizard that was already open 23.660
After features/support/hooks.rb:330 2.988
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.306
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 11.626
When I enable persistence 52.345
Then no persistent Greeter options were restored 14.349
When I set all Greeter options to non-default values 26.437
And I log in to a new session in German (de) after having activated the Persistent Storage 47.763
Then all Greeter options are set to non-default values 0.483
When I cold reboot the computer 7.877
And the computer reboots Tails 1:2.422
Given I enable persistence 18.504
Then persistent Greeter options were restored 0.546
When I log in to a new session after having activated the Persistent Storage 42.511
Then all Greeter options are set to non-default values 0.438
After features/support/hooks.rb:330 1.360
After features/support/hooks.rb:100 0.011
Tags: @product
4:7.596
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 11.692
# 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.690
And I shutdown Tails and wait for the computer to power off 12.934
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.491
And I change the passphrase of the Persistent Storage back to the original 47.786
After features/support/hooks.rb:330 3.209
After features/support/hooks.rb:100 0.024
Tags: @product
58.500
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.553
And I log in to a new session without activating the Persistent Storage 21.594
Then persistence is disabled 0.327
But a Tails persistence partition exists on USB drive "__internal" 11.869
And all notifications have disappeared 8.405
When I delete the persistent partition 5.869
Then there is no persistence partition on USB drive "__internal" 0.880
After features/support/hooks.rb:330 2.355
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.168
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 11.934
When I write some dotfile expected to persist 0.056
And I shutdown Tails and wait for the computer to power off 11.030
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.622
Then the expected persistent dotfile is present in the filesystem 0.525
After features/support/hooks.rb:330 1.416
After features/support/hooks.rb:100 0.034
Tags: @product
1:42.706
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.915
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.837
When I log in to a new session after having activated the Persistent Storage 39.293
And all notifications have disappeared 7.761
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.497
And all tps features are enabled 4.024
And all tps features but the first one are active 1.992
After features/support/hooks.rb:330 1.935
After features/support/hooks.rb:100 0.000
Tags: @product
7:41.970
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 5:57.245
And I enable persistence 54.456
And I log in to a new session after having activated the Persistent Storage 45.124
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.715
And persistence is enabled 3.428
After features/support/hooks.rb:330 1.735
After features/support/hooks.rb:100 0.000
Tags: @product
40.250
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 17.743
And I enable persistence but something goes wrong during the LUKS header upgrade 21.525
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.980
After features/support/hooks.rb:330 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.850
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.487
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.375
When I enable persistence 54.813
Then the filesystem of the Persistent Storage was repaired 0.074
And persistence is successfully enabled 5.100
After features/support/hooks.rb:330 2.414
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.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 with a persistent partition and stopped at Tails Greeter's login screen 12.021
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 15.285
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.219
When I repair the filesystem of the Persistent Storage 1.218
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.468
And the filesystem of the Persistent Storage was repaired 6.102
When I close the filesystem repair dialog 1.310
Then persistence is successfully enabled 1.778
After features/support/hooks.rb:330 2.043
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.267
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.796
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.145
When I try to enable persistence 0.281
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.450
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 48.325
And all notifications have disappeared 9.304
# 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.593
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.023
When I close the "whisperback" window 1.333
Then the Tor Browser starts 20.580
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.085
After features/support/hooks.rb:330 2.393
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.138
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.386
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.702
And Tails detects disk read failures on the boot device 1.604
When I try to enable persistence 0.446
Then the Welcome Screen tells me that my hardware is probably failing 21.634
When I log in to a new session 53.447
And all notifications have disappeared 10.078
Then the Tor Browser starts 23.751
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.086
After features/support/hooks.rb:330 3.668
After features/support/hooks.rb:100 0.000