Project Number Date
test_Tails_ISO_feature-arti 65 21 May 2025, 16:36

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:57.578 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:42.024
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.496
And I update APT using apt 33.411
And I install "python3-behave" using apt 26.654
Then the Tails Persistent Storage behave tests pass 2.462
After features/support/hooks.rb:330 0.654
After features/support/hooks.rb:100 0.000
Tags: @product
49.690
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.695
When I log in to a new session without activating the Persistent Storage 27.522
Then Tails is running from USB drive "__internal" 0.658
And persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 7.479
After features/support/hooks.rb:330 1.435
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.372
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.539
Then Tails is running from USB drive "__internal" 0.407
When I create a file in the Persistent directory 0.246
And I create a persistent partition with the default settings 26.191
Then the file I created was copied to the Persistent Storage 2.587
When I shutdown Tails and wait for the computer to power off 12.887
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.921
Then persistence for "Persistent" is active 0.486
And the file I created in the Persistent directory exists 0.105
After features/support/hooks.rb:330 2.104
After features/support/hooks.rb:100 0.013
Tags: @product
1:11.985
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 11.065
And the system is very low on memory 3.896
When I create a file in the Persistent directory 2.856
When I try to create a persistent partition 32.001
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.137
When I close the Persistent Storage app 2.592
And I free up some memory 4.490
And I create a persistent partition with the default settings 13.586
Then the file I created was copied to the Persistent Storage 0.359
After features/support/hooks.rb:330 2.607
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.462
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 13.912
Then Tails is running from USB drive "__internal" 0.683
And all tps features are active 3.507
And all persistent directories have safe access rights 2.811
When I disable the first tps feature 6.941
Then all tps features but the first one are active 2.392
And I shutdown Tails and wait for the computer to power off 15.715
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.334
Then all tps features but the first one are active 2.163
After features/support/hooks.rb:330 1.363
After features/support/hooks.rb:100 0.010
Tags: @product
22.811
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.851
Then persistence for "Persistent" is active 0.738
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.974
When I disable the first tps feature 6.652
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.180
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.625
After features/support/hooks.rb:100 0.000
Tags: @product
38.508
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 25.311
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 8.411
And I delete the data of the Persistent Folder feature 4.523
Then the file I created does not exist on the Persistent Storage 0.093
After features/support/hooks.rb:330 1.635
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.531
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.913
And the network is plugged 0.138
And Tor is ready 26.323
And I take note of which tps features are available 0.586
When I write some files expected to persist 1.587
And I shutdown Tails and wait for the computer to power off 8.410
# 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.571
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.057
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.939
And the network is plugged 0.085
And Tor is ready 22.933
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.283
And I shutdown Tails and wait for the computer to power off 8.501
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.765
And I capture all network traffic 0.034
And the network is plugged 0.090
And Tor is ready 17.569
And I switch to the "persistent-con-current" NetworkManager connection 0.576
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.191
After features/support/hooks.rb:330 1.113
After features/support/hooks.rb:100 0.047
Tags: @product
1:0.725
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 12.218
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.038
Then I create a persistent partition with the default settings using the wizard that was already open 23.342
After features/support/hooks.rb:330 3.022
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.941
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 13.654
When I enable persistence 38.131
Then no persistent Greeter options were restored 15.002
When I set all Greeter options to non-default values 25.654
And I log in to a new session in German (de) after having activated the Persistent Storage 47.509
Then all Greeter options are set to non-default values 0.467
When I cold reboot the computer 8.221
And the computer reboots Tails 1:3.795
Given I enable persistence 17.181
Then persistent Greeter options were restored 0.584
When I log in to a new session after having activated the Persistent Storage 38.698
Then all Greeter options are set to non-default values 1.039
After features/support/hooks.rb:330 1.657
After features/support/hooks.rb:100 0.079
Tags: @product
4:21.933
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.286
# 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 47.208
And I shutdown Tails and wait for the computer to power off 12.476
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.997
And I change the passphrase of the Persistent Storage back to the original 39.963
After features/support/hooks.rb:330 4.002
After features/support/hooks.rb:100 0.013
Tags: @product
1:3.714
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.553
And I log in to a new session without activating the Persistent Storage 23.702
Then persistence is disabled 0.592
But a Tails persistence partition exists on USB drive "__internal" 8.599
And all notifications have disappeared 12.441
When I delete the persistent partition 6.955
Then there is no persistence partition on USB drive "__internal" 0.870
After features/support/hooks.rb:330 1.629
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.664
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.251
When I write some dotfile expected to persist 0.125
And I shutdown Tails and wait for the computer to power off 12.866
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.900
Then the expected persistent dotfile is present in the filesystem 0.520
After features/support/hooks.rb:330 1.150
After features/support/hooks.rb:100 0.012
Tags: @product
1:55.068
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.080
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.324
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.130
When I log in to a new session after having activated the Persistent Storage 46.927
And all notifications have disappeared 9.222
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.438
And all tps features are enabled 3.640
And all tps features but the first one are active 3.225
After features/support/hooks.rb:330 1.689
After features/support/hooks.rb:100 0.000
Tags: @product
9:5.340
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7:45.261
And I enable persistence 31.103
And I log in to a new session after having activated the Persistent Storage 42.037
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.784
And persistence is enabled 4.152
After features/support/hooks.rb:330 2.824
After features/support/hooks.rb:100 0.000
Tags: @product
28.087
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.704
And I enable persistence but something goes wrong during the LUKS header upgrade 17.633
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.749
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
50.533
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.630
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.832
When I enable persistence 30.844
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 3.130
After features/support/hooks.rb:330 1.798
After features/support/hooks.rb:100 0.000
Tags: @product
55.667
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.161
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.408
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.126
When I repair the filesystem of the Persistent Storage 1.843
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.325
And the filesystem of the Persistent Storage was repaired 3.323
When I close the filesystem repair dialog 1.200
Then persistence is successfully enabled 1.822
After features/support/hooks.rb:330 1.618
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.460
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.142
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.200
When I repair the filesystem of the Persistent Storage 1.236
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 42.926
And all notifications have disappeared 8.652
# 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.267
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.191
When I close the "whisperback" window 1.417
Then the Tor Browser starts 23.063
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:330 2.953
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.996
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.160
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.074
And Tails detects disk read failures on the boot device 1.554
When I try to enable persistence 0.515
Then the Welcome Screen tells me that my hardware is probably failing 19.253
When I log in to a new session 52.210
And all notifications have disappeared 10.159
Then the Tor Browser starts 21.085
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.983
After features/support/hooks.rb:330 2.050
After features/support/hooks.rb:100 0.000