Project Number Date
test_Tails_ISO_stable 5570 12 Apr 2025, 12:55

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 47:42.502 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:56.092
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.337
And I update APT using apt 3:45.194
And I install "python3-behave" using apt 1:25.464
Then the Tails Persistent Storage behave tests pass 4.095
After features/support/hooks.rb:330 0.676
After features/support/hooks.rb:100 0.000
Tags: @product
45.330
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 13.712
When I log in to a new session without activating the Persistent Storage 23.825
Then Tails is running from USB drive "__internal" 0.464
And persistence is disabled 0.310
But a Tails persistence partition exists on USB drive "__internal" 7.018
After features/support/hooks.rb:330 2.075
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.555
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 20.474
Then Tails is running from USB drive "__internal" 0.566
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 35.137
Then the file I created was copied to the Persistent Storage 2.996
When I shutdown Tails and wait for the computer to power off 13.847
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.833
Then persistence for "Persistent" is active 0.468
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 0.916
After features/support/hooks.rb:100 0.017
Tags: @product
1:7.807
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.395
And the system is very low on memory 8.446
When I create a file in the Persistent directory 0.531
When I try to create a persistent partition 26.932
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.250
When I close the Persistent Storage app 2.734
And I free up some memory 2.988
And I create a persistent partition with the default settings 13.219
Then the file I created was copied to the Persistent Storage 0.308
After features/support/hooks.rb:330 1.764
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.700
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.146
Then Tails is running from USB drive "__internal" 0.526
And all tps features are active 2.436
And all persistent directories have safe access rights 2.774
When I disable the first tps feature 5.787
Then all tps features but the first one are active 2.399
And I shutdown Tails and wait for the computer to power off 15.452
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.629
Then all tps features but the first one are active 2.546
After features/support/hooks.rb:330 1.541
After features/support/hooks.rb:100 0.011
Tags: @product
21.280
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.166
Then persistence for "Persistent" is active 0.126
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.254
Then persistence for "Persistent" is not active 0.135
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.130
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.106
After features/support/hooks.rb:330 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
20.331
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.212
Then persistence for "Persistent" is active 0.140
When I create a file in the Persistent directory 0.147
And I disable the first tps feature 5.873
And I delete the data of the Persistent Folder feature 3.894
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 0.948
After features/support/hooks.rb:100 0.000
Tags: @product
1:36.409
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 persistent partition enabled and logged in 10.241
And the network is plugged 0.086
And Tor is ready 49.933
And I take note of which tps features are available 0.632
When I write some files expected to persist 1.545
And I shutdown Tails and wait for the computer to power off 8.996
# 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.973
After features/support/hooks.rb:330 0.131
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.706
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 9.845
And the network is plugged 0.182
And Tor is ready 19.907
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 9.016
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.116
And I capture all network traffic 0.011
And the network is plugged 0.089
And Tor is ready 20.696
And I switch to the "persistent-con-current" NetworkManager connection 0.314
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.205
After features/support/hooks.rb:330 0.748
After features/support/hooks.rb:100 0.073
Tags: @product
57.223
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.117
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.385
Then I create a persistent partition with the default settings using the wizard that was already open 22.611
After features/support/hooks.rb:330 2.624
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.036
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 12.697
When I enable persistence 46.662
Then no persistent Greeter options were restored 14.552
When I set all Greeter options to non-default values 25.358
And I log in to a new session in German (de) after having activated the Persistent Storage 49.861
Then all Greeter options are set to non-default values 0.503
When I cold reboot the computer 7.628
And the computer reboots Tails 1:1.237
Given I enable persistence 19.264
Then persistent Greeter options were restored 0.501
When I log in to a new session after having activated the Persistent Storage 41.456
Then all Greeter options are set to non-default values 0.311
After features/support/hooks.rb:330 1.891
After features/support/hooks.rb:100 0.010
Tags: @product
3:58.311
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 11.712
# 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 32.968
And I shutdown Tails and wait for the computer to power off 14.829
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.803
And I change the passphrase of the Persistent Storage back to the original 34.996
After features/support/hooks.rb:330 3.237
After features/support/hooks.rb:100 0.011
Tags: @product
59.182
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.702
And I log in to a new session without activating the Persistent Storage 21.200
Then persistence is disabled 0.206
But a Tails persistence partition exists on USB drive "__internal" 10.039
And all notifications have disappeared 7.080
When I delete the persistent partition 6.008
Then there is no persistence partition on USB drive "__internal" 0.944
After features/support/hooks.rb:330 1.677
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.386
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 24.853
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 9.006
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.989
Then the expected persistent dotfile is present in the filesystem 0.466
After features/support/hooks.rb:330 1.585
After features/support/hooks.rb:100 0.031
Tags: @product
1:49.820
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.131
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.127
When I log in to a new session after having activated the Persistent Storage 43.957
And all notifications have disappeared 8.114
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.017
And all tps features are enabled 3.730
And all tps features but the first one are active 2.351
After features/support/hooks.rb:330 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.227
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
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:42.758
And I enable persistence 35.252
And I log in to a new session after having activated the Persistent Storage 38.835
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.903
And persistence is enabled 3.477
After features/support/hooks.rb:330 1.988
After features/support/hooks.rb:100 0.000
Tags: @product
48.764
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 24.289
And I enable persistence but something goes wrong during the LUKS header upgrade 23.751
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.724
After features/support/hooks.rb:330 0.723
After features/support/hooks.rb:100 0.000
Tags: @product
46.385
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.374
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.729
When I enable persistence 28.414
Then the filesystem of the Persistent Storage was repaired 0.079
And persistence is successfully enabled 2.787
After features/support/hooks.rb:330 1.348
After features/support/hooks.rb:100 0.000
Tags: @product
56.772
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.542
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.499
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.018
When I repair the filesystem of the Persistent Storage 5.878
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.463
And the filesystem of the Persistent Storage was repaired 3.226
When I close the filesystem repair dialog 1.222
Then persistence is successfully enabled 1.487
After features/support/hooks.rb:330 3.047
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.186
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 and stopped at Tails Greeter's login screen 9.195
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.320
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.591
When I repair the filesystem of the Persistent Storage 1.398
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 42.565
And all notifications have disappeared 10.020
# 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.523
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.246
When I close the "whisperback" window 2.090
Then the Tor Browser starts 18.045
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.988
After features/support/hooks.rb:330 2.997
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.990
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.083
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.205
And Tails detects disk read failures on the boot device 0.504
When I try to enable persistence 0.453
Then the Welcome Screen tells me that my hardware is probably failing 19.719
When I log in to a new session 51.636
And all notifications have disappeared 7.211
Then the Tor Browser starts 19.916
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.258
After features/support/hooks.rb:330 1.901
After features/support/hooks.rb:100 0.000