Project Number Date
test_Tails_ISO_devel 3770 07 Apr 2025, 16:58

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 40:44.638 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:14.430
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:32.153
And I update APT using apt 3:16.957
And I install "python3-behave" using apt 23.220
Then the Tails Persistent Storage behave tests pass 2.099
After features/support/hooks.rb:330 0.636
After features/support/hooks.rb:100 0.000
Tags: @product
40.572
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.148
When I log in to a new session without activating the Persistent Storage 22.330
Then Tails is running from USB drive "__internal" 0.389
And persistence is disabled 0.386
But a Tails persistence partition exists on USB drive "__internal" 6.318
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.326
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.349
Then Tails is running from USB drive "__internal" 0.416
When I create a file in the Persistent directory 0.156
And I create a persistent partition with the default settings 23.694
Then the file I created was copied to the Persistent Storage 2.693
When I shutdown Tails and wait for the computer to power off 12.541
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.049
Then persistence for "Persistent" is active 0.364
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.657
After features/support/hooks.rb:100 0.022
Tags: @product
59.986
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.390
And the system is very low on memory 3.292
When I create a file in the Persistent directory 1.123
When I try to create a persistent partition 25.755
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.269
When I close the Persistent Storage app 2.577
And I free up some memory 3.809
And I create a persistent partition with the default settings 12.529
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:330 2.773
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.557
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.936
Then Tails is running from USB drive "__internal" 0.439
And all tps features are active 2.359
And all persistent directories have safe access rights 2.417
When I disable the first tps feature 5.373
Then all tps features but the first one are active 1.960
And I shutdown Tails and wait for the computer to power off 11.011
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.039
Then all tps features but the first one are active 2.020
After features/support/hooks.rb:330 1.231
After features/support/hooks.rb:100 0.051
Tags: @product
18.672
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.495
Then persistence for "Persistent" is active 0.072
And I create a file in the Persistent directory 0.055
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 5.544
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.159
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.408
After features/support/hooks.rb:100 0.000
Tags: @product
18.797
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.517
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.106
And I disable the first tps feature 5.374
And I delete the data of the Persistent Folder feature 3.653
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.449
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.590
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.274
And the network is plugged 0.080
And Tor is ready 20.704
And I take note of which tps features are available 0.517
When I write some files expected to persist 1.401
And I shutdown Tails and wait for the computer to power off 8.596
# 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.015
After features/support/hooks.rb:330 0.102
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.013
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.136
And the network is plugged 0.090
And Tor is ready 20.881
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.179
And I shutdown Tails and wait for the computer to power off 8.340
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.104
And I capture all network traffic 0.007
And the network is plugged 0.065
And Tor is ready 19.669
And I switch to the "persistent-con-current" NetworkManager connection 0.323
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:330 0.600
After features/support/hooks.rb:100 0.062
Tags: @product
53.391
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 11.047
And I enable persistence creation in Tails Greeter 1.147
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.325
Then I create a persistent partition with the default settings using the wizard that was already open 20.871
After features/support/hooks.rb:330 2.185
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.157
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.380
When I enable persistence 31.491
Then no persistent Greeter options were restored 14.262
When I set all Greeter options to non-default values 26.824
And I log in to a new session in German (de) after having activated the Persistent Storage 42.976
Then all Greeter options are set to non-default values 0.610
When I cold reboot the computer 7.325
And the computer reboots Tails 1:7.133
Given I enable persistence 14.962
Then persistent Greeter options were restored 0.541
When I log in to a new session after having activated the Persistent Storage 36.917
Then all Greeter options are set to non-default values 0.731
After features/support/hooks.rb:330 2.392
After features/support/hooks.rb:100 0.009
Tags: @product
3:29.154
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.990
# 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 29.730
And I shutdown Tails and wait for the computer to power off 12.504
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.252
And I change the passphrase of the Persistent Storage back to the original 36.676
After features/support/hooks.rb:330 3.705
After features/support/hooks.rb:100 0.009
Tags: @product
52.377
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.380
And I log in to a new session without activating the Persistent Storage 19.861
Then persistence is disabled 0.382
But a Tails persistence partition exists on USB drive "__internal" 7.754
And all notifications have disappeared 8.152
When I delete the persistent partition 5.872
Then there is no persistence partition on USB drive "__internal" 0.973
After features/support/hooks.rb:330 1.484
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.336
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.749
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.572
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.550
Then the expected persistent dotfile is present in the filesystem 0.400
After features/support/hooks.rb:330 0.926
After features/support/hooks.rb:100 0.009
Tags: @product
1:35.615
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.626
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.255
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.558
When I log in to a new session after having activated the Persistent Storage 44.271
And all notifications have disappeared 7.778
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.806
And all tps features are enabled 2.402
And all tps features but the first one are active 1.829
After features/support/hooks.rb:330 2.762
After features/support/hooks.rb:100 0.000
Tags: @product
4:7.528
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:47.707
And I enable persistence 32.361
And I log in to a new session after having activated the Persistent Storage 43.086
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.618
And persistence is enabled 2.754
After features/support/hooks.rb:330 1.819
After features/support/hooks.rb:100 0.000
Tags: @product
27.954
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 9.239
And I enable persistence but something goes wrong during the LUKS header upgrade 17.970
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
43.807
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.345
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.804
When I enable persistence 26.833
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.735
After features/support/hooks.rb:330 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
46.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 9.047
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.162
When I try to enable persistence 0.432
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.526
When I repair the filesystem of the Persistent Storage 1.313
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.568
And the filesystem of the Persistent Storage was repaired 2.986
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.589
After features/support/hooks.rb:330 1.633
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.142
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.139
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.092
When I try to enable persistence 0.256
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.436
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 40.325
And all notifications have disappeared 8.628
# 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.866
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.013
When I close the "whisperback" window 1.869
Then the Tor Browser starts 17.431
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 3.391
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.339
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.094
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.720
And Tails detects disk read failures on the boot device 1.604
When I try to enable persistence 0.439
Then the Welcome Screen tells me that my hardware is probably failing 17.050
When I log in to a new session 50.859
And all notifications have disappeared 7.685
Then the Tor Browser starts 19.708
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.176
After features/support/hooks.rb:330 2.289
After features/support/hooks.rb:100 0.000