Project Number Date
test_Tails_ISO_stable 5626 05 May 2025, 15:59

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 46:4.076 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.769
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:43.358
And I update APT using apt 14.511
And I install "python3-behave" using apt 29.213
Then the Tails Persistent Storage behave tests pass 2.686
After features/support/hooks.rb:330 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
49.127
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 13.891
When I log in to a new session without activating the Persistent Storage 26.114
Then Tails is running from USB drive "__internal" 0.690
And persistence is disabled 0.452
But a Tails persistence partition exists on USB drive "__internal" 7.978
After features/support/hooks.rb:330 1.873
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.738
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 logged in 14.736
Then Tails is running from USB drive "__internal" 0.664
When I create a file in the Persistent directory 0.329
And I create a persistent partition with the default settings 41.061
Then the file I created was copied to the Persistent Storage 2.242
When I shutdown Tails and wait for the computer to power off 13.180
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.786
Then persistence for "Persistent" is active 0.624
And the file I created in the Persistent directory exists 0.112
After features/support/hooks.rb:330 1.295
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.163
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 13.892
And the system is very low on memory 4.340
When I create a file in the Persistent directory 1.710
When I try to create a persistent partition 23.625
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.282
When I close the Persistent Storage app 2.663
And I free up some memory 3.818
And I create a persistent partition with the default settings 16.391
Then the file I created was copied to the Persistent Storage 0.439
After features/support/hooks.rb:330 2.855
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.075
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 18.645
Then Tails is running from USB drive "__internal" 1.020
And all tps features are active 5.697
And all persistent directories have safe access rights 2.949
When I disable the first tps feature 7.122
Then all tps features but the first one are active 2.322
And I shutdown Tails and wait for the computer to power off 15.889
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.496
Then all tps features but the first one are active 2.932
After features/support/hooks.rb:330 1.918
After features/support/hooks.rb:100 0.008
Tags: @product
25.782
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.627
Then persistence for "Persistent" is active 1.119
And I create a file in the Persistent directory 0.123
Then the file I created was copied to the Persistent Storage 0.112
When I disable the first tps feature 7.295
Then persistence for "Persistent" is not active 0.103
And the Persistent directory does not exist 0.064
When I enable the first tps feature 4.170
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
25.230
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 11.168
Then persistence for "Persistent" is active 1.122
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 7.501
And I delete the data of the Persistent Folder feature 5.267
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:330 1.913
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.477
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 11.690
And the network is plugged 0.105
And Tor is ready 23.353
And I take note of which tps features are available 0.738
When I write some files expected to persist 1.718
And I shutdown Tails and wait for the computer to power off 8.689
# 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.181
After features/support/hooks.rb:330 0.166
After features/support/hooks.rb:100 0.000
Tags: @product
3:58.414
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.047
And the network is plugged 0.103
And Tor is ready 24.216
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.202
And I shutdown Tails and wait for the computer to power off 8.796
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.121
And I capture all network traffic 0.005
And the network is plugged 0.410
And Tor is ready 49.299
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 1.688
After features/support/hooks.rb:330 0.699
After features/support/hooks.rb:100 0.056
Tags: @product
1:5.496
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.882
And I enable persistence creation in Tails Greeter 1.152
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.192
Then I create a persistent partition with the default settings using the wizard that was already open 24.270
After features/support/hooks.rb:330 2.449
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.781
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.323
When I enable persistence 34.374
Then no persistent Greeter options were restored 14.536
When I set all Greeter options to non-default values 25.580
And I log in to a new session in German (de) after having activated the Persistent Storage 51.686
Then all Greeter options are set to non-default values 0.487
When I cold reboot the computer 7.905
And the computer reboots Tails 1:6.308
Given I enable persistence 18.029
Then persistent Greeter options were restored 0.502
When I log in to a new session after having activated the Persistent Storage 34.580
Then all Greeter options are set to non-default values 0.466
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.009
Tags: @product
4:19.119
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.899
# 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 44.145
And I shutdown Tails and wait for the computer to power off 13.904
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.328
And I change the passphrase of the Persistent Storage back to the original 36.840
After features/support/hooks.rb:330 3.814
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.155
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 11.806
And I log in to a new session without activating the Persistent Storage 22.554
Then persistence is disabled 0.498
But a Tails persistence partition exists on USB drive "__internal" 10.137
And all notifications have disappeared 7.925
When I delete the persistent partition 6.494
Then there is no persistence partition on USB drive "__internal" 0.738
After features/support/hooks.rb:330 1.341
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.398
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.687
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 10.860
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.373
Then the expected persistent dotfile is present in the filesystem 0.406
After features/support/hooks.rb:330 1.221
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.026
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.678
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.013
When I log in to a new session after having activated the Persistent Storage 43.808
And all notifications have disappeared 8.546
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.733
And all tps features are enabled 2.639
And all tps features but the first one are active 2.234
After features/support/hooks.rb:330 1.950
After features/support/hooks.rb:100 0.000
Tags: @product
6:4.625
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:28.697
And I enable persistence 36.285
And I log in to a new session after having activated the Persistent Storage 52.500
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.596
And persistence is enabled 3.546
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
34.732
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 9.553
And I enable persistence but something goes wrong during the LUKS header upgrade 24.225
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.954
After features/support/hooks.rb:330 1.296
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.985
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.897
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.910
When I enable persistence 1:16.111
Then the filesystem of the Persistent Storage was repaired 0.103
And persistence is successfully enabled 2.962
After features/support/hooks.rb:330 1.707
After features/support/hooks.rb:100 0.000
Tags: @product
55.561
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.518
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.874
When I try to enable persistence 0.486
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.501
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.986
And the filesystem of the Persistent Storage was repaired 3.140
When I close the filesystem repair dialog 1.209
Then persistence is successfully enabled 1.577
After features/support/hooks.rb:330 2.725
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.617
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.736
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.325
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.403
When I repair the filesystem of the Persistent Storage 1.306
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 45.733
And all notifications have disappeared 12.409
# 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.314
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.570
When I close the "whisperback" window 1.508
Then the Tor Browser starts 17.978
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.114
After features/support/hooks.rb:330 4.018
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.796
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.205
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.713
And Tails detects disk read failures on the boot device 0.550
When I try to enable persistence 0.503
Then the Welcome Screen tells me that my hardware is probably failing 20.184
When I log in to a new session 52.751
And all notifications have disappeared 8.854
Then the Tor Browser starts 23.175
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.857
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.000