Project Number Date
test_Tails_ISO_stable 5555 05 Apr 2025, 09:10

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:3.299 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:22.989
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:40.495
And I update APT using apt 1:45.277
And I install "python3-behave" using apt 54.353
Then the Tails Persistent Storage behave tests pass 2.861
After features/support/hooks.rb:330 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
56.256
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 13.899
When I log in to a new session without activating the Persistent Storage 27.074
Then Tails is running from USB drive "__internal" 0.838
And persistence is disabled 0.449
But a Tails persistence partition exists on USB drive "__internal" 13.994
After features/support/hooks.rb:330 2.204
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.169
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.048
Then Tails is running from USB drive "__internal" 0.388
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 25.494
Then the file I created was copied to the Persistent Storage 2.635
When I shutdown Tails and wait for the computer to power off 11.377
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.485
Then persistence for "Persistent" is active 0.559
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:330 2.158
After features/support/hooks.rb:100 0.010
Tags: @product
1:11.240
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 13.532
And the system is very low on memory 5.205
When I create a file in the Persistent directory 1.172
When I try to create a persistent partition 31.471
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.262
When I close the Persistent Storage app 2.545
And I free up some memory 3.718
And I create a persistent partition with the default settings 13.091
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:330 2.290
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.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 12.884
Then Tails is running from USB drive "__internal" 1.976
And all tps features are active 2.459
And all persistent directories have safe access rights 3.154
When I disable the first tps feature 5.714
Then all tps features but the first one are active 2.693
And I shutdown Tails and wait for the computer to power off 11.302
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.307
Then all tps features but the first one are active 2.595
After features/support/hooks.rb:330 2.627
After features/support/hooks.rb:100 0.016
Tags: @product
20.850
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.746
Then persistence for "Persistent" is active 0.282
And I create a file in the Persistent directory 0.138
Then the file I created was copied to the Persistent Storage 0.129
When I disable the first tps feature 5.896
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.271
Then persistence for "Persistent" is active 0.141
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.526
After features/support/hooks.rb:100 0.000
Tags: @product
20.543
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.845
Then persistence for "Persistent" is active 0.136
When I create a file in the Persistent directory 0.130
And I disable the first tps feature 5.626
And I delete the data of the Persistent Folder feature 3.737
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.483
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 12.397
And the network is plugged 0.149
And Tor is ready 22.819
And I take note of which tps features are available 0.612
When I write some files expected to persist 1.751
And I shutdown Tails and wait for the computer to power off 11.317
# 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.435
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.563
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 9.467
And the network is plugged 0.079
And Tor is ready 18.623
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.247
And I shutdown Tails and wait for the computer to power off 11.513
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.473
And I capture all network traffic 0.008
And the network is plugged 0.114
And Tor is ready 21.345
And I switch to the "persistent-con-current" NetworkManager connection 0.417
And the 1st network device has a spoofed MAC address configured 0.131
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:330 0.772
After features/support/hooks.rb:100 0.101
Tags: @product
1:2.035
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 without a persistent partition and stopped at Tails Greeter's login screen 16.323
And I enable persistence creation in Tails Greeter 1.361
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.137
Then I create a persistent partition with the default settings using the wizard that was already open 23.213
After features/support/hooks.rb:330 2.711
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.560
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.160
When I enable persistence 43.278
Then no persistent Greeter options were restored 14.433
When I set all Greeter options to non-default values 33.233
And I log in to a new session in German (de) after having activated the Persistent Storage 55.965
Then all Greeter options are set to non-default values 0.759
When I cold reboot the computer 7.860
And the computer reboots Tails 1:7.395
Given I enable persistence 19.766
Then persistent Greeter options were restored 0.589
When I log in to a new session after having activated the Persistent Storage 46.623
Then all Greeter options are set to non-default values 0.494
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.086
Tags: @product
4:29.324
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.026
# 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.832
And I shutdown Tails and wait for the computer to power off 14.294
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:41.292
And I change the passphrase of the Persistent Storage back to the original 40.877
After features/support/hooks.rb:330 3.920
After features/support/hooks.rb:100 0.032
Tags: @product
1:12.599
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 23.548
And I log in to a new session without activating the Persistent Storage 20.998
Then persistence is disabled 0.464
But a Tails persistence partition exists on USB drive "__internal" 9.326
And all notifications have disappeared 9.724
When I delete the persistent partition 7.405
Then there is no persistence partition on USB drive "__internal" 1.132
After features/support/hooks.rb:330 1.796
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.333
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.001
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 10.758
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.153
Then the expected persistent dotfile is present in the filesystem 0.354
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.009
Tags: @product
1:49.359
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.389
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.584
When I try to enable persistence 0.293
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.869
When I log in to a new session after having activated the Persistent Storage 45.331
And all notifications have disappeared 8.118
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.327
And all tps features are enabled 2.453
And all tps features but the first one are active 1.990
After features/support/hooks.rb:330 1.861
After features/support/hooks.rb:100 0.000
Tags: @product
6:34.982
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:47.271
And I enable persistence 51.930
And I log in to a new session after having activated the Persistent Storage 49.970
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.220
And persistence is enabled 3.589
After features/support/hooks.rb:330 1.805
After features/support/hooks.rb:100 0.000
Tags: @product
33.247
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.180
And I enable persistence but something goes wrong during the LUKS header upgrade 23.085
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.981
After features/support/hooks.rb:330 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
49.550
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.297
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.954
When I enable persistence 31.449
Then the filesystem of the Persistent Storage was repaired 0.130
And persistence is successfully enabled 2.717
After features/support/hooks.rb:330 1.446
After features/support/hooks.rb:100 0.000
Tags: @product
51.260
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.387
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.321
When I try to enable persistence 0.446
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.220
When I repair the filesystem of the Persistent Storage 1.247
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.900
And the filesystem of the Persistent Storage was repaired 3.824
When I close the filesystem repair dialog 1.366
Then persistence is successfully enabled 1.545
After features/support/hooks.rb:330 1.822
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.124
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.727
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.225
When I try to enable persistence 0.663
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.751
When I repair the filesystem of the Persistent Storage 1.333
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 38.212
And all notifications have disappeared 10.063
# 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.574
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.507
When I close the "whisperback" window 1.574
Then the Tor Browser starts 19.354
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.054
After features/support/hooks.rb:330 3.282
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.732
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.098
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.608
And Tails detects disk read failures on the boot device 1.620
When I try to enable persistence 0.423
Then the Welcome Screen tells me that my hardware is probably failing 19.314
When I log in to a new session 49.341
And all notifications have disappeared 9.207
Then the Tor Browser starts 19.209
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.908
After features/support/hooks.rb:330 2.110
After features/support/hooks.rb:100 0.000