Project Number Date
test_Tails_ISO_feature-arti 58 14 May 2025, 16:34

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:57.554 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.278
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:35.104
And I update APT using apt 34.693
And I install "python3-behave" using apt 22.935
Then the Tails Persistent Storage behave tests pass 2.544
After features/support/hooks.rb:330 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
44.489
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 11.804
When I log in to a new session without activating the Persistent Storage 22.466
Then Tails is running from USB drive "__internal" 0.605
And persistence is disabled 0.587
But a Tails persistence partition exists on USB drive "__internal" 9.025
After features/support/hooks.rb:330 1.605
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.970
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.925
Then Tails is running from USB drive "__internal" 0.484
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 37.142
Then the file I created was copied to the Persistent Storage 2.368
When I shutdown Tails and wait for the computer to power off 12.623
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.895
Then persistence for "Persistent" is active 0.313
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.848
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.550
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 11.458
And the system is very low on memory 2.963
When I create a file in the Persistent directory 0.947
When I try to create a persistent partition 29.953
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.340
When I close the Persistent Storage app 2.634
And I free up some memory 3.218
And I create a persistent partition with the default settings 13.523
Then the file I created was copied to the Persistent Storage 0.510
After features/support/hooks.rb:330 2.265
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.466
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 12.549
Then Tails is running from USB drive "__internal" 0.667
And all tps features are active 2.406
And all persistent directories have safe access rights 2.647
When I disable the first tps feature 6.045
Then all tps features but the first one are active 2.036
And I shutdown Tails and wait for the computer to power off 14.437
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.437
Then all tps features but the first one are active 2.238
After features/support/hooks.rb:330 1.372
After features/support/hooks.rb:100 0.008
Tags: @product
19.841
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.763
Then persistence for "Persistent" is active 0.225
And I create a file in the Persistent directory 0.117
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 6.254
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.127
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.642
After features/support/hooks.rb:100 0.000
Tags: @product
19.817
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.330
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.404
And I disable the first tps feature 6.295
And I delete the data of the Persistent Folder feature 3.631
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.617
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.239
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.526
And the network is plugged 0.082
And Tor is ready 21.990
And I take note of which tps features are available 0.594
When I write some files expected to persist 1.449
And I shutdown Tails and wait for the computer to power off 8.414
# 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.181
After features/support/hooks.rb:330 0.088
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.800
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.252
And the network is plugged 0.205
And Tor is ready 20.108
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.533
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.231
And I capture all network traffic 0.007
And the network is plugged 0.080
And Tor is ready 20.515
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.177
After features/support/hooks.rb:330 0.683
After features/support/hooks.rb:100 0.042
Tags: @product
58.555
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.628
And I enable persistence creation in Tails Greeter 1.728
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.207
Then I create a persistent partition with the default settings using the wizard that was already open 20.991
After features/support/hooks.rb:330 2.882
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.044
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.690
When I enable persistence 36.724
Then no persistent Greeter options were restored 14.372
When I set all Greeter options to non-default values 25.311
And I log in to a new session in German (de) after having activated the Persistent Storage 51.309
Then all Greeter options are set to non-default values 0.343
When I cold reboot the computer 7.389
And the computer reboots Tails 1:13.838
Given I enable persistence 17.436
Then persistent Greeter options were restored 0.474
When I log in to a new session after having activated the Persistent Storage 42.820
Then all Greeter options are set to non-default values 0.334
After features/support/hooks.rb:330 1.910
After features/support/hooks.rb:100 0.009
Tags: @product
3:57.803
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.914
# 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 41.134
And I shutdown Tails and wait for the computer to power off 14.506
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.819
And I change the passphrase of the Persistent Storage back to the original 36.428
After features/support/hooks.rb:330 3.467
After features/support/hooks.rb:100 0.019
Tags: @product
58.478
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 10.245
And I log in to a new session without activating the Persistent Storage 21.582
Then persistence is disabled 0.470
But a Tails persistence partition exists on USB drive "__internal" 9.040
And all notifications have disappeared 9.608
When I delete the persistent partition 6.750
Then there is no persistence partition on USB drive "__internal" 0.780
After features/support/hooks.rb:330 1.404
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.921
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.823
When I write some dotfile expected to persist 0.266
And I shutdown Tails and wait for the computer to power off 8.564
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.859
Then the expected persistent dotfile is present in the filesystem 0.407
After features/support/hooks.rb:330 0.951
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.167
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.324
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.191
When I log in to a new session after having activated the Persistent Storage 40.505
And all notifications have disappeared 8.184
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.261
And all tps features are enabled 2.292
And all tps features but the first one are active 2.048
After features/support/hooks.rb:330 3.313
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.223
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 3:30.213
And I enable persistence 29.614
And I log in to a new session after having activated the Persistent Storage 46.395
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.537
And persistence is enabled 4.462
After features/support/hooks.rb:330 1.888
After features/support/hooks.rb:100 0.000
Tags: @product
29.223
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 8.550
And I enable persistence but something goes wrong during the LUKS header upgrade 19.939
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.733
After features/support/hooks.rb:330 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
42.725
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.362
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.898
When I enable persistence 25.833
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.546
After features/support/hooks.rb:330 1.411
After features/support/hooks.rb:100 0.000
Tags: @product
49.500
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.939
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.405
When I try to enable persistence 1.474
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.058
When I repair the filesystem of the Persistent Storage 1.279
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.094
And the filesystem of the Persistent Storage was repaired 3.652
When I close the filesystem repair dialog 1.248
Then persistence is successfully enabled 1.348
After features/support/hooks.rb:330 1.717
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.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 and stopped at Tails Greeter's login screen 9.020
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 1.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.072
When I repair the filesystem of the Persistent Storage 1.248
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 42.890
And all notifications have disappeared 9.365
# 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.519
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.664
When I close the "whisperback" window 1.365
Then the Tor Browser starts 17.029
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.902
After features/support/hooks.rb:330 3.732
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.783
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.735
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.964
And Tails detects disk read failures on the boot device 1.563
When I try to enable persistence 0.535
Then the Welcome Screen tells me that my hardware is probably failing 18.864
When I log in to a new session 49.775
And all notifications have disappeared 7.818
Then the Tor Browser starts 22.654
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.871
After features/support/hooks.rb:330 1.679
After features/support/hooks.rb:100 0.000