Project Number Date
test_Tails_ISO_improved-new-identity-scenario 4 03 May 2025, 12:58

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 39:0.651 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.469
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:31.355
And I update APT using apt 13.523
And I install "python3-behave" using apt 23.055
Then the Tails Persistent Storage behave tests pass 2.534
After features/support/hooks.rb:330 0.653
After features/support/hooks.rb:100 0.000
Tags: @product
39.081
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 11.299
When I log in to a new session without activating the Persistent Storage 20.610
Then Tails is running from USB drive "__internal" 0.379
And persistence is disabled 0.429
But a Tails persistence partition exists on USB drive "__internal" 6.363
After features/support/hooks.rb:330 2.473
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.282
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.172
Then Tails is running from USB drive "__internal" 0.428
When I create a file in the Persistent directory 0.122
And I create a persistent partition with the default settings 23.948
Then the file I created was copied to the Persistent Storage 2.834
When I shutdown Tails and wait for the computer to power off 13.096
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.305
Then persistence for "Persistent" is active 0.312
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 0.669
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.415
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 10.148
And the system is very low on memory 3.219
When I create a file in the Persistent directory 1.785
When I try to create a persistent partition 28.565
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.183
When I close the Persistent Storage app 2.512
And I free up some memory 4.253
And I create a persistent partition with the default settings 13.399
Then the file I created was copied to the Persistent Storage 0.346
After features/support/hooks.rb:330 2.230
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.245
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.809
Then Tails is running from USB drive "__internal" 0.518
And all tps features are active 2.618
And all persistent directories have safe access rights 2.464
When I disable the first tps feature 7.389
Then all tps features but the first one are active 1.975
And I shutdown Tails and wait for the computer to power off 14.944
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.360
Then all tps features but the first one are active 2.164
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.009
Tags: @product
22.610
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.950
Then persistence for "Persistent" is active 0.121
And I create a file in the Persistent directory 0.110
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 7.180
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.040
When I enable the first tps feature 3.915
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.360
After features/support/hooks.rb:100 0.000
Tags: @product
21.666
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.177
Then persistence for "Persistent" is active 0.993
When I create a file in the Persistent directory 0.116
And I disable the first tps feature 6.408
And I delete the data of the Persistent Folder feature 3.917
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:330 1.425
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.037
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.987
And the network is plugged 0.096
And Tor is ready 20.285
And I take note of which tps features are available 0.578
When I write some files expected to persist 1.519
And I shutdown Tails and wait for the computer to power off 8.590
# 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" 23.978
After features/support/hooks.rb:330 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.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 enabled and logged in 10.134
And the network is plugged 0.072
And Tor is ready 21.247
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.289
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.730
And I capture all network traffic 0.011
And the network is plugged 0.086
And Tor is ready 19.615
And I switch to the "persistent-con-current" NetworkManager connection 0.361
And the 1st network device has a spoofed MAC address configured 0.082
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:330 0.729
After features/support/hooks.rb:100 0.057
Tags: @product
56.424
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 10.868
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.293
Then I create a persistent partition with the default settings using the wizard that was already open 25.129
After features/support/hooks.rb:330 3.417
After features/support/hooks.rb:100 0.000
Tags: @product
4:13.993
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 11.183
When I enable persistence 37.418
Then no persistent Greeter options were restored 14.174
When I set all Greeter options to non-default values 23.712
And I log in to a new session in German (de) after having activated the Persistent Storage 45.578
Then all Greeter options are set to non-default values 0.524
When I cold reboot the computer 7.276
And the computer reboots Tails 1:1.973
Given I enable persistence 17.300
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 33.959
Then all Greeter options are set to non-default values 0.331
After features/support/hooks.rb:330 0.862
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.309
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.745
# 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.566
And I shutdown Tails and wait for the computer to power off 12.387
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.457
And I change the passphrase of the Persistent Storage back to the original 36.152
After features/support/hooks.rb:330 2.944
After features/support/hooks.rb:100 0.008
Tags: @product
49.846
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.574
And I log in to a new session without activating the Persistent Storage 19.016
Then persistence is disabled 0.272
But a Tails persistence partition exists on USB drive "__internal" 6.038
And all notifications have disappeared 6.940
When I delete the persistent partition 6.958
Then there is no persistence partition on USB drive "__internal" 1.044
After features/support/hooks.rb:330 1.305
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.124
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.878
When I write some dotfile expected to persist 1.121
And I shutdown Tails and wait for the computer to power off 8.313
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.388
Then the expected persistent dotfile is present in the filesystem 0.422
After features/support/hooks.rb:330 1.093
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.564
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.928
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.303
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.567
When I log in to a new session after having activated the Persistent Storage 40.337
And all notifications have disappeared 8.301
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.244
And all tps features are enabled 2.925
And all tps features but the first one are active 1.874
After features/support/hooks.rb:330 2.627
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.951
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:20.466
And I enable persistence 28.612
And I log in to a new session after having activated the Persistent Storage 46.427
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.775
And persistence is enabled 2.668
After features/support/hooks.rb:330 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
30.343
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 8.681
And I enable persistence but something goes wrong during the LUKS header upgrade 20.889
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.772
After features/support/hooks.rb:330 0.710
After features/support/hooks.rb:100 0.000
Tags: @product
46.918
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.059
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.202
When I enable persistence 29.914
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.660
After features/support/hooks.rb:330 2.670
After features/support/hooks.rb:100 0.000
Tags: @product
48.678
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.306
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.178
When I try to enable persistence 1.463
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.596
When I repair the filesystem of the Persistent Storage 2.606
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.506
And the filesystem of the Persistent Storage was repaired 3.329
When I close the filesystem repair dialog 1.227
Then persistence is successfully enabled 1.463
After features/support/hooks.rb:330 2.709
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.514
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.859
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.291
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.048
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.697
When I log in to a new session 35.746
And all notifications have disappeared 9.409
# 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.608
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.692
When I close the "whisperback" window 1.650
Then the Tor Browser starts 21.399
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.749
After features/support/hooks.rb:330 2.900
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.229
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.285
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.725
And Tails detects disk read failures on the boot device 1.518
When I try to enable persistence 0.431
Then the Welcome Screen tells me that my hardware is probably failing 18.604
When I log in to a new session 49.986
And all notifications have disappeared 7.677
Then the Tor Browser starts 22.098
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.256
After features/support/hooks.rb:100 0.000