Project Number Date
test_Tails_ISO_feature-arti 37 22 Apr 2025, 17:03

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 49:14.707 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:52.785
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.065
And I update APT using apt 44.630
And I install "python3-behave" using apt 1:24.821
Then the Tails Persistent Storage behave tests pass 3.267
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
50.488
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 12.992
When I log in to a new session without activating the Persistent Storage 23.930
Then Tails is running from USB drive "__internal" 0.829
And persistence is disabled 0.308
But a Tails persistence partition exists on USB drive "__internal" 12.427
After features/support/hooks.rb:330 1.861
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.066
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.623
Then Tails is running from USB drive "__internal" 0.464
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 24.731
Then the file I created was copied to the Persistent Storage 2.439
When I shutdown Tails and wait for the computer to power off 16.313
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.892
Then persistence for "Persistent" is active 0.362
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.914
After features/support/hooks.rb:100 0.012
Tags: @product
1:8.176
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 12.002
And the system is very low on memory 4.737
When I create a file in the Persistent directory 1.524
When I try to create a persistent partition 28.056
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.202
When I close the Persistent Storage app 2.833
And I free up some memory 3.571
And I create a persistent partition with the default settings 14.509
Then the file I created was copied to the Persistent Storage 0.740
After features/support/hooks.rb:330 3.067
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.287
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 14.747
Then Tails is running from USB drive "__internal" 0.894
And all tps features are active 3.057
And all persistent directories have safe access rights 2.701
When I disable the first tps feature 6.940
Then all tps features but the first one are active 2.293
And I shutdown Tails and wait for the computer to power off 14.245
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.700
Then all tps features but the first one are active 2.705
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.009
Tags: @product
21.945
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.457
Then persistence for "Persistent" is active 0.111
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.298
When I disable the first tps feature 6.733
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.071
When I enable the first tps feature 3.922
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.990
After features/support/hooks.rb:100 0.000
Tags: @product
22.067
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.191
Then persistence for "Persistent" is active 0.202
When I create a file in the Persistent directory 0.161
And I disable the first tps feature 7.165
And I delete the data of the Persistent Folder feature 4.283
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.872
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.012
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.314
And the network is plugged 0.089
And Tor is ready 21.808
And I take note of which tps features are available 0.634
When I write some files expected to persist 1.699
And I shutdown Tails and wait for the computer to power off 8.876
# 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.588
After features/support/hooks.rb:330 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.913
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 9.223
And the network is plugged 0.102
And Tor is ready 49.375
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 10.763
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.790
And I capture all network traffic 0.042
And the network is plugged 0.115
And Tor is ready 23.613
And I switch to the "persistent-con-current" NetworkManager connection 0.355
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.225
After features/support/hooks.rb:330 0.792
After features/support/hooks.rb:100 0.067
Tags: @product
1:6.374
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.934
And I enable persistence creation in Tails Greeter 1.226
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.389
Then I create a persistent partition with the default settings using the wizard that was already open 28.824
After features/support/hooks.rb:330 3.584
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.186
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 19.666
When I enable persistence 46.730
Then no persistent Greeter options were restored 15.005
When I set all Greeter options to non-default values 27.553
And I log in to a new session in German (de) after having activated the Persistent Storage 53.467
Then all Greeter options are set to non-default values 1.021
When I cold reboot the computer 7.904
And the computer reboots Tails 1:5.198
Given I enable persistence 21.429
Then persistent Greeter options were restored 0.824
When I log in to a new session after having activated the Persistent Storage 44.023
Then all Greeter options are set to non-default values 0.361
After features/support/hooks.rb:330 1.614
After features/support/hooks.rb:100 0.011
Tags: @product
4:24.652
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.263
# 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.841
And I shutdown Tails and wait for the computer to power off 14.983
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:42.258
And I change the passphrase of the Persistent Storage back to the original 35.305
After features/support/hooks.rb:330 2.484
After features/support/hooks.rb:100 0.041
Tags: @product
1:15.207
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 16.344
And I log in to a new session without activating the Persistent Storage 25.572
Then persistence is disabled 0.497
But a Tails persistence partition exists on USB drive "__internal" 13.468
And all notifications have disappeared 11.539
When I delete the persistent partition 7.004
Then there is no persistence partition on USB drive "__internal" 0.780
After features/support/hooks.rb:330 2.066
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.742
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.714
When I write some dotfile expected to persist 0.270
And I shutdown Tails and wait for the computer to power off 11.232
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.093
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.013
Tags: @product
1:45.401
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.862
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.121
When I try to enable persistence 0.652
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.402
When I log in to a new session after having activated the Persistent Storage 37.976
And all notifications have disappeared 8.575
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.833
And all tps features are enabled 3.298
And all tps features but the first one are active 2.678
After features/support/hooks.rb:330 1.790
After features/support/hooks.rb:100 0.000
Tags: @product
7:41.680
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:14.973
And I enable persistence 35.899
And I log in to a new session after having activated the Persistent Storage 45.052
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.280
And persistence is enabled 3.475
After features/support/hooks.rb:330 1.912
After features/support/hooks.rb:100 0.000
Tags: @product
33.959
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.254
And I enable persistence but something goes wrong during the LUKS header upgrade 23.830
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.873
After features/support/hooks.rb:330 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
47.049
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.250
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.461
When I enable persistence 28.705
Then the filesystem of the Persistent Storage was repaired 0.151
And persistence is successfully enabled 3.480
After features/support/hooks.rb:330 1.592
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.888
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 9.518
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 17.609
When I try to enable persistence 0.465
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.498
When I repair the filesystem of the Persistent Storage 1.577
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.025
And the filesystem of the Persistent Storage was repaired 3.150
When I close the filesystem repair dialog 1.301
Then persistence is successfully enabled 1.741
After features/support/hooks.rb:330 1.925
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.879
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.781
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.230
When I try to enable persistence 1.584
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.427
When I repair the filesystem of the Persistent Storage 1.233
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 46.129
And all notifications have disappeared 11.343
# 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.313
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.642
When I close the "whisperback" window 1.765
Then the Tor Browser starts 21.430
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.906
After features/support/hooks.rb:330 1.901
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.942
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 10.204
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.419
And Tails detects disk read failures on the boot device 1.654
When I try to enable persistence 0.388
Then the Welcome Screen tells me that my hardware is probably failing 23.077
When I log in to a new session 49.960
And all notifications have disappeared 11.280
Then the Tor Browser starts 23.544
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.412
After features/support/hooks.rb:330 3.781
After features/support/hooks.rb:100 0.000