Project Number Date
test_Tails_ISO_devel 3700 19 Feb 2025, 12:49

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 41:40.153 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.576
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.511
And I update APT using apt 14.665
And I install "python3-behave" using apt 24.256
Then the Tails Persistent Storage behave tests pass 3.143
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.000
Tags: @product
49.348
Before features/support/hooks.rb:269 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.767
When I log in to a new session without activating the Persistent Storage 23.521
Then Tails is running from USB drive "__internal" 0.717
And persistence is disabled 0.393
But a Tails persistence partition exists on USB drive "__internal" 12.947
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.905
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.469
Then Tails is running from USB drive "__internal" 0.410
When I create a file in the Persistent directory 0.259
And I create a persistent partition with the default settings 22.983
Then the file I created was copied to the Persistent Storage 0.741
When I shutdown Tails and wait for the computer to power off 12.536
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.789
Then persistence for "Persistent" is active 0.647
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.953
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.467
And the system is very low on memory 4.179
When I create a file in the Persistent directory 1.129
When I try to create a persistent partition 24.027
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.798
When I close the Persistent Storage app 2.703
And I free up some memory 1.027
And I create a persistent partition with the default settings 17.382
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.818
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.863
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.114
Then Tails is running from USB drive "__internal" 0.463
And all tps features are active 2.292
And all persistent directories have safe access rights 2.385
When I disable the first tps feature 7.919
Then all tps features but the first one are active 2.280
And I shutdown Tails and wait for the computer to power off 20.026
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.227
Then all tps features but the first one are active 2.153
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.009
Tags: @product
24.226
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.864
Then persistence for "Persistent" is active 0.211
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 7.407
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.046
When I enable the first tps feature 4.298
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:326 0.749
After features/support/hooks.rb:100 0.000
Tags: @product
19.456
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.427
Then persistence for "Persistent" is active 0.144
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 5.826
And I delete the data of the Persistent Folder feature 3.924
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.867
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.010
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.147
And the network is plugged 0.080
And Tor is ready 21.526
And I take note of which tps features are available 0.659
When I write some files expected to persist 1.491
And I shutdown Tails and wait for the computer to power off 8.652
# 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.452
After features/support/hooks.rb:326 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.184
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.446
And the network is plugged 0.117
And Tor is ready 46.987
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 8.554
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.150
And I capture all network traffic 0.006
And the network is plugged 0.086
And Tor is ready 20.934
And I switch to the "persistent-con-current" NetworkManager connection 0.441
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.175
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.078
Tags: @product
57.736
Before features/support/hooks.rb:269 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.445
And I enable persistence creation in Tails Greeter 1.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.666
Then I create a persistent partition with the default settings using the wizard that was already open 21.456
After features/support/hooks.rb:326 2.725
After features/support/hooks.rb:100 0.000
Tags: @product
4:13.368
Before features/support/hooks.rb:269 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.206
When I enable persistence 34.166
Then no persistent Greeter options were restored 14.297
When I set all Greeter options to non-default values 23.512
And I log in to a new session in German (de) after having activated the Persistent Storage 44.496
Then all Greeter options are set to non-default values 0.388
When I cold reboot the computer 7.326
And the computer reboots Tails 1:3.397
Given I enable persistence 16.173
Then persistent Greeter options were restored 0.550
When I log in to a new session after having activated the Persistent Storage 37.357
Then all Greeter options are set to non-default values 0.495
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.009
Tags: @product
3:58.801
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.013
# 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 39.697
And I shutdown Tails and wait for the computer to power off 12.416
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.499
And I change the passphrase of the Persistent Storage back to the original 34.174
After features/support/hooks.rb:326 1.700
After features/support/hooks.rb:100 0.007
Tags: @product
1:9.004
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 22.662
And I log in to a new session without activating the Persistent Storage 20.610
Then persistence is disabled 0.716
But a Tails persistence partition exists on USB drive "__internal" 10.256
And all notifications have disappeared 8.297
When I delete the persistent partition 5.874
Then there is no persistence partition on USB drive "__internal" 0.587
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.775
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.830
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 8.580
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.973
Then the expected persistent dotfile is present in the filesystem 0.328
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.013
Tags: @product
1:33.872
Before features/support/hooks.rb:269 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 8.825
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.263
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.846
When I log in to a new session after having activated the Persistent Storage 35.084
And all notifications have disappeared 7.486
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.820
And all tps features are enabled 2.408
And all tps features but the first one are active 3.050
After features/support/hooks.rb:326 1.078
After features/support/hooks.rb:100 0.000
Tags: @product
5:49.093
Before features/support/hooks.rb:269 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 4:21.033
And I enable persistence 35.351
And I log in to a new session after having activated the Persistent Storage 47.134
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.340
And persistence is enabled 3.233
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
32.445
Before features/support/hooks.rb:269 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 8.673
And I enable persistence but something goes wrong during the LUKS header upgrade 23.070
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.701
After features/support/hooks.rb:326 0.697
After features/support/hooks.rb:100 0.000
Tags: @product
48.913
Before features/support/hooks.rb:269 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 8.984
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.800
When I enable persistence 31.229
Then the filesystem of the Persistent Storage was repaired 0.073
And persistence is successfully enabled 2.826
After features/support/hooks.rb:326 0.768
After features/support/hooks.rb:100 0.000
Tags: @product
47.718
Before features/support/hooks.rb:269 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.281
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.227
When I try to enable persistence 0.713
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.080
When I repair the filesystem of the Persistent Storage 1.305
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.576
And the filesystem of the Persistent Storage was repaired 1.799
When I close the filesystem repair dialog 1.318
Then persistence is successfully enabled 1.414
After features/support/hooks.rb:326 1.606
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.953
Before features/support/hooks.rb:269 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.476
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.916
When I repair the filesystem of the Persistent Storage 1.307
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.084
When I log in to a new session 41.425
And all notifications have disappeared 10.735
# 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.435
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.705
When I close the "whisperback" window 1.530
Then the Tor Browser starts 17.111
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.863
After features/support/hooks.rb:326 4.305
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.943
Before features/support/hooks.rb:269 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.643
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.791
And Tails detects disk read failures on the boot device 1.564
When I try to enable persistence 0.560
Then the Welcome Screen tells me that my hardware is probably failing 18.047
When I log in to a new session 45.635
And all notifications have disappeared 8.576
Then the Tor Browser starts 21.319
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.805
After features/support/hooks.rb:326 1.709
After features/support/hooks.rb:100 0.000