Project Number Date
test_Tails_ISO_improved-new-identity-scenario 13 12 May 2025, 13:42

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:7.894 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.459
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.740
And I update APT using apt 13.877
And I install "python3-behave" using apt 26.376
Then the Tails Persistent Storage behave tests pass 3.465
After features/support/hooks.rb:330 0.853
After features/support/hooks.rb:100 0.000
Tags: @product
48.453
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.922
When I log in to a new session without activating the Persistent Storage 25.899
Then Tails is running from USB drive "__internal" 0.420
And persistence is disabled 0.460
But a Tails persistence partition exists on USB drive "__internal" 8.749
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.360
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.839
Then Tails is running from USB drive "__internal" 0.769
When I create a file in the Persistent directory 0.344
And I create a persistent partition with the default settings 33.468
Then the file I created was copied to the Persistent Storage 2.255
When I shutdown Tails and wait for the computer to power off 13.108
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.029
Then persistence for "Persistent" is active 0.474
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.524
After features/support/hooks.rb:100 0.011
Tags: @product
1:31.135
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 26.566
And the system is very low on memory 8.333
When I create a file in the Persistent directory 1.040
When I try to create a persistent partition 31.452
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.200
When I close the Persistent Storage app 2.722
And I free up some memory 4.154
And I create a persistent partition with the default settings 16.287
Then the file I created was copied to the Persistent Storage 0.375
After features/support/hooks.rb:330 3.217
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.721
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 14.276
Then Tails is running from USB drive "__internal" 0.645
And all tps features are active 2.485
And all persistent directories have safe access rights 2.925
When I disable the first tps feature 6.081
Then all tps features but the first one are active 2.356
And I shutdown Tails and wait for the computer to power off 16.440
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.129
Then all tps features but the first one are active 2.380
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.009
Tags: @product
21.178
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 enabled and logged in 10.886
Then persistence for "Persistent" is active 0.195
And I create a file in the Persistent directory 0.147
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 6.289
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.235
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 1.067
After features/support/hooks.rb:100 0.000
Tags: @product
20.631
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.792
Then persistence for "Persistent" is active 0.154
When I create a file in the Persistent directory 0.116
And I disable the first tps feature 6.212
And I delete the data of the Persistent Folder feature 4.299
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.007
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.519
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.294
And the network is plugged 0.094
And Tor is ready 24.085
And I take note of which tps features are available 0.674
When I write some files expected to persist 1.746
And I shutdown Tails and wait for the computer to power off 10.631
# 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.991
After features/support/hooks.rb:330 0.173
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.755
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.841
And the network is plugged 0.105
And Tor is ready 21.243
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.240
And I shutdown Tails and wait for the computer to power off 9.342
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.438
And I capture all network traffic 0.007
And the network is plugged 0.104
And Tor is ready 20.647
And I switch to the "persistent-con-current" NetworkManager connection 0.521
And the 1st network device has a spoofed MAC address configured 0.109
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:330 0.576
After features/support/hooks.rb:100 0.089
Tags: @product
1:6.092
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 17.507
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.105
Then I create a persistent partition with the default settings using the wizard that was already open 25.336
After features/support/hooks.rb:330 2.469
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.666
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 18.544
When I enable persistence 39.366
Then no persistent Greeter options were restored 14.179
When I set all Greeter options to non-default values 27.305
And I log in to a new session in German (de) after having activated the Persistent Storage 53.332
Then all Greeter options are set to non-default values 0.432
When I cold reboot the computer 7.977
And the computer reboots Tails 1:6.952
Given I enable persistence 18.573
Then persistent Greeter options were restored 0.591
When I log in to a new session after having activated the Persistent Storage 41.957
Then all Greeter options are set to non-default values 0.451
After features/support/hooks.rb:330 1.760
After features/support/hooks.rb:100 0.009
Tags: @product
4:4.685
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.535
# 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 35.235
And I shutdown Tails and wait for the computer to power off 15.160
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.372
And I change the passphrase of the Persistent Storage back to the original 36.381
After features/support/hooks.rb:330 2.689
After features/support/hooks.rb:100 0.011
Tags: @product
1:3.565
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.590
And I log in to a new session without activating the Persistent Storage 22.858
Then persistence is disabled 0.302
But a Tails persistence partition exists on USB drive "__internal" 10.928
And all notifications have disappeared 11.564
When I delete the persistent partition 6.364
Then there is no persistence partition on USB drive "__internal" 0.956
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.617
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.328
When I write some dotfile expected to persist 0.084
And I shutdown Tails and wait for the computer to power off 9.198
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.436
Then the expected persistent dotfile is present in the filesystem 0.570
After features/support/hooks.rb:330 1.258
After features/support/hooks.rb:100 0.013
Tags: @product
1:50.872
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.472
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.321
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.858
When I log in to a new session after having activated the Persistent Storage 48.151
And all notifications have disappeared 8.895
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.701
And all tps features are enabled 2.878
And all tps features but the first one are active 2.494
After features/support/hooks.rb:330 2.902
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.675
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
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:45.876
And I enable persistence 35.934
And I log in to a new session after having activated the Persistent Storage 48.264
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.149
And persistence is enabled 3.450
After features/support/hooks.rb:330 1.229
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.820
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
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 36.473
And I enable persistence but something goes wrong during the LUKS header upgrade 26.293
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.054
After features/support/hooks.rb:330 0.743
After features/support/hooks.rb:100 0.000
Tags: @product
50.774
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.245
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.059
When I enable persistence 30.598
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.786
After features/support/hooks.rb:330 1.222
After features/support/hooks.rb:100 0.000
Tags: @product
59.437
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.882
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.880
When I try to enable persistence 0.497
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.110
When I repair the filesystem of the Persistent Storage 1.338
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.640
And the filesystem of the Persistent Storage was repaired 4.446
When I close the filesystem repair dialog 1.199
Then persistence is successfully enabled 1.442
After features/support/hooks.rb:330 1.355
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.944
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 9.345
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.278
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.052
When I repair the filesystem of the Persistent Storage 1.308
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.875
When I log in to a new session 42.984
And all notifications have disappeared 9.254
# 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.637
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.633
When I close the "whisperback" window 1.566
Then the Tor Browser starts 24.440
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.447
After features/support/hooks.rb:330 3.100
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.526
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 10.418
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.930
And Tails detects disk read failures on the boot device 2.682
When I try to enable persistence 0.444
Then the Welcome Screen tells me that my hardware is probably failing 26.026
When I log in to a new session 47.987
And all notifications have disappeared 8.950
Then the Tor Browser starts 27.014
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.072
After features/support/hooks.rb:330 2.851
After features/support/hooks.rb:100 0.000