Project Number Date
test_Tails_ISO_stable 5550 03 Apr 2025, 15:03

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 48:57.784 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:59.931
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:45.512
And I update APT using apt 2:44.481
And I install "python3-behave" using apt 26.372
Then the Tails Persistent Storage behave tests pass 3.565
After features/support/hooks.rb:330 0.682
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.397
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.503
When I log in to a new session without activating the Persistent Storage 36.790
Then Tails is running from USB drive "__internal" 0.502
And persistence is disabled 0.349
But a Tails persistence partition exists on USB drive "__internal" 11.251
After features/support/hooks.rb:330 2.413
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.951
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 15.465
Then Tails is running from USB drive "__internal" 0.419
When I create a file in the Persistent directory 0.153
And I create a persistent partition with the default settings 22.637
Then the file I created was copied to the Persistent Storage 2.968
When I shutdown Tails and wait for the computer to power off 10.875
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.671
Then persistence for "Persistent" is active 0.679
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 2.604
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.877
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 without a persistent partition and logged in 16.016
And the system is very low on memory 3.873
When I create a file in the Persistent directory 1.127
When I try to create a persistent partition 22.608
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.154
When I close the Persistent Storage app 2.629
And I free up some memory 2.773
And I create a persistent partition with the default settings 12.407
Then the file I created was copied to the Persistent Storage 0.284
After features/support/hooks.rb:330 2.373
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.719
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 16.803
Then Tails is running from USB drive "__internal" 0.557
And all tps features are active 2.774
And all persistent directories have safe access rights 3.117
When I disable the first tps feature 8.472
Then all tps features but the first one are active 2.235
And I shutdown Tails and wait for the computer to power off 15.611
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.918
Then all tps features but the first one are active 2.228
After features/support/hooks.rb:330 1.376
After features/support/hooks.rb:100 0.008
Tags: @product
26.195
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 13.470
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.161
Then the file I created was copied to the Persistent Storage 0.107
When I disable the first tps feature 8.149
Then persistence for "Persistent" is not active 0.141
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.811
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.555
After features/support/hooks.rb:100 0.000
Tags: @product
24.841
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.162
Then persistence for "Persistent" is active 0.186
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 7.735
And I delete the data of the Persistent Folder feature 4.563
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.277
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.416
And the network is plugged 0.109
And Tor is ready 22.567
And I take note of which tps features are available 0.994
When I write some files expected to persist 1.735
And I shutdown Tails and wait for the computer to power off 8.487
# 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.966
After features/support/hooks.rb:330 0.146
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.471
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 12.383
And the network is plugged 0.094
And Tor is ready 23.643
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.223
And I shutdown Tails and wait for the computer to power off 8.752
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.577
And I capture all network traffic 0.008
And the network is plugged 0.107
And Tor is ready 20.111
And I switch to the "persistent-con-current" NetworkManager connection 0.329
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.110
After features/support/hooks.rb:330 0.697
After features/support/hooks.rb:100 0.070
Tags: @product
1:6.450
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 15.575
And I enable persistence creation in Tails Greeter 1.350
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.780
Then I create a persistent partition with the default settings using the wizard that was already open 27.744
After features/support/hooks.rb:330 3.030
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.747
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 13.364
When I enable persistence 38.124
Then no persistent Greeter options were restored 14.333
When I set all Greeter options to non-default values 25.574
And I log in to a new session in German (de) after having activated the Persistent Storage 50.104
Then all Greeter options are set to non-default values 0.275
When I cold reboot the computer 7.387
And the computer reboots Tails 1:11.253
Given I enable persistence 20.627
Then persistent Greeter options were restored 0.588
When I log in to a new session after having activated the Persistent Storage 38.861
Then all Greeter options are set to non-default values 0.254
After features/support/hooks.rb:330 1.927
After features/support/hooks.rb:100 0.020
Tags: @product
4:27.299
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.860
# 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 53.490
And I shutdown Tails and wait for the computer to power off 16.341
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.859
And I change the passphrase of the Persistent Storage back to the original 34.747
After features/support/hooks.rb:330 2.980
After features/support/hooks.rb:100 0.012
Tags: @product
58.897
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.369
And I log in to a new session without activating the Persistent Storage 21.337
Then persistence is disabled 0.334
But a Tails persistence partition exists on USB drive "__internal" 6.704
And all notifications have disappeared 11.005
When I delete the persistent partition 8.285
Then there is no persistence partition on USB drive "__internal" 0.861
After features/support/hooks.rb:330 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.044
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.927
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.883
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.818
Then the expected persistent dotfile is present in the filesystem 0.346
After features/support/hooks.rb:330 1.383
After features/support/hooks.rb:100 0.024
Tags: @product
1:44.177
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.293
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.277
When I log in to a new session after having activated the Persistent Storage 45.006
And all notifications have disappeared 8.506
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.092
And all tps features are enabled 3.367
And all tps features but the first one are active 2.237
After features/support/hooks.rb:330 1.724
After features/support/hooks.rb:100 0.000
Tags: @product
8:0.033
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:28.925
And I enable persistence 35.695
And I log in to a new session after having activated the Persistent Storage 51.417
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.044
And persistence is enabled 2.950
After features/support/hooks.rb:330 1.942
After features/support/hooks.rb:100 0.000
Tags: @product
33.975
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 9.191
And I enable persistence but something goes wrong during the LUKS header upgrade 23.983
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.800
After features/support/hooks.rb:330 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
58.374
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.390
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.377
When I enable persistence 39.539
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.967
After features/support/hooks.rb:330 2.318
After features/support/hooks.rb:100 0.000
Tags: @product
49.001
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.686
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.160
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.328
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.638
And the filesystem of the Persistent Storage was repaired 2.741
When I close the filesystem repair dialog 1.220
Then persistence is successfully enabled 1.496
After features/support/hooks.rb:330 1.778
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.887
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.886
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.298
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.967
When I repair the filesystem of the Persistent Storage 1.310
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 46.146
And all notifications have disappeared 12.563
# 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.559
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.791
When I close the "whisperback" window 1.748
Then the Tor Browser starts 16.162
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.252
After features/support/hooks.rb:330 3.343
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.231
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.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.112
And Tails detects disk read failures on the boot device 1.726
When I try to enable persistence 1.583
Then the Welcome Screen tells me that my hardware is probably failing 22.647
When I log in to a new session 54.563
And all notifications have disappeared 7.716
Then the Tor Browser starts 21.059
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.920
After features/support/hooks.rb:330 2.017
After features/support/hooks.rb:100 0.000