Project Number Date
test_Tails_ISO_improved-new-identity-scenario 1 30 Apr 2025, 17:18

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 42:47.709 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.568
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.567
And I update APT using apt 15.740
And I install "python3-behave" using apt 26.250
Then the Tails Persistent Storage behave tests pass 4.009
After features/support/hooks.rb:330 0.934
After features/support/hooks.rb:100 0.000
Tags: @product
51.225
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 13.226
When I log in to a new session without activating the Persistent Storage 26.133
Then Tails is running from USB drive "__internal" 0.626
And persistence is disabled 0.606
But a Tails persistence partition exists on USB drive "__internal" 10.631
After features/support/hooks.rb:330 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
3:51.109
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 17.408
Then Tails is running from USB drive "__internal" 0.423
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 26.642
Then the file I created was copied to the Persistent Storage 2.779
When I shutdown Tails and wait for the computer to power off 14.578
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.539
Then persistence for "Persistent" is active 0.437
And the file I created in the Persistent directory exists 0.152
After features/support/hooks.rb:330 1.822
After features/support/hooks.rb:100 0.049
Tags: @product
1:9.759
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 17.422
And the system is very low on memory 4.810
When I create a file in the Persistent directory 0.860
When I try to create a persistent partition 27.506
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.143
When I close the Persistent Storage app 2.673
And I free up some memory 3.459
And I create a persistent partition with the default settings 12.593
Then the file I created was copied to the Persistent Storage 0.289
After features/support/hooks.rb:330 2.151
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.238
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.484
Then Tails is running from USB drive "__internal" 0.756
And all tps features are active 2.376
And all persistent directories have safe access rights 2.680
When I disable the first tps feature 7.447
Then all tps features but the first one are active 2.061
And I shutdown Tails and wait for the computer to power off 13.373
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.964
Then all tps features but the first one are active 3.093
After features/support/hooks.rb:330 1.726
After features/support/hooks.rb:100 0.015
Tags: @product
22.529
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 11.573
Then persistence for "Persistent" is active 0.105
And I create a file in the Persistent directory 0.115
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 6.887
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.425
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product
24.525
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.097
Then persistence for "Persistent" is active 0.119
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 8.400
And I delete the data of the Persistent Folder feature 3.754
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.771
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.717
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 9.540
And the network is plugged 0.086
And Tor is ready 22.657
And I take note of which tps features are available 0.693
When I write some files expected to persist 1.684
And I shutdown Tails and wait for the computer to power off 10.842
# 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.212
After features/support/hooks.rb:330 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.189
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 11.244
And the network is plugged 0.122
And Tor is ready 21.062
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.426
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.276
And I capture all network traffic 0.006
And the network is plugged 0.085
And Tor is ready 21.002
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.147
And no network device leaked the real MAC address 0.200
After features/support/hooks.rb:330 0.688
After features/support/hooks.rb:100 0.058
Tags: @product
1:5.000
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 16.563
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.112
Then I create a persistent partition with the default settings using the wizard that was already open 23.207
After features/support/hooks.rb:330 2.929
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.058
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 14.832
When I enable persistence 39.057
Then no persistent Greeter options were restored 14.552
When I set all Greeter options to non-default values 26.512
And I log in to a new session in German (de) after having activated the Persistent Storage 45.219
Then all Greeter options are set to non-default values 0.401
When I cold reboot the computer 7.846
And the computer reboots Tails 1:10.602
Given I enable persistence 19.817
Then persistent Greeter options were restored 0.702
When I log in to a new session after having activated the Persistent Storage 39.686
Then all Greeter options are set to non-default values 0.825
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.007
Tags: @product
3:53.603
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.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 33.157
And I shutdown Tails and wait for the computer to power off 13.072
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.816
And I change the passphrase of the Persistent Storage back to the original 39.811
After features/support/hooks.rb:330 3.481
After features/support/hooks.rb:100 0.007
Tags: @product
1:1.337
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.203
And I log in to a new session without activating the Persistent Storage 22.824
Then persistence is disabled 0.430
But a Tails persistence partition exists on USB drive "__internal" 8.874
And all notifications have disappeared 11.962
When I delete the persistent partition 6.205
Then there is no persistence partition on USB drive "__internal" 0.836
After features/support/hooks.rb:330 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.252
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.642
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 10.860
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.215
Then the expected persistent dotfile is present in the filesystem 0.457
After features/support/hooks.rb:330 1.067
After features/support/hooks.rb:100 0.008
Tags: @product
1:41.086
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.470
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.137
When I log in to a new session after having activated the Persistent Storage 36.941
And all notifications have disappeared 8.153
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.742
And all tps features are enabled 3.197
And all tps features but the first one are active 2.072
After features/support/hooks.rb:330 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
5:17.548
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:51.243
And I enable persistence 32.288
And I log in to a new session after having activated the Persistent Storage 49.031
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.455
And persistence is enabled 2.529
After features/support/hooks.rb:330 1.340
After features/support/hooks.rb:100 0.000
Tags: @product
32.669
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 9.881
And I enable persistence but something goes wrong during the LUKS header upgrade 21.941
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.846
After features/support/hooks.rb:330 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
47.554
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.207
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.458
When I enable persistence 29.996
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.801
After features/support/hooks.rb:330 3.463
After features/support/hooks.rb:100 0.000
Tags: @product
45.809
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.646
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.038
When I try to enable persistence 0.517
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.307
When I repair the filesystem of the Persistent Storage 1.330
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.964
And the filesystem of the Persistent Storage was repaired 2.406
When I close the filesystem repair dialog 1.214
Then persistence is successfully enabled 1.383
After features/support/hooks.rb:330 1.511
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.640
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.066
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.842
When I repair the filesystem of the Persistent Storage 1.327
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 38.902
And all notifications have disappeared 10.322
# 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.513
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.965
When I close the "whisperback" window 1.764
Then the Tor Browser starts 18.417
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.065
After features/support/hooks.rb:330 3.749
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.286
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.222
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.150
And Tails detects disk read failures on the boot device 1.503
When I try to enable persistence 0.421
Then the Welcome Screen tells me that my hardware is probably failing 19.095
When I log in to a new session 50.575
And all notifications have disappeared 9.339
Then the Tor Browser starts 22.107
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.872
After features/support/hooks.rb:330 2.363
After features/support/hooks.rb:100 0.000