Project Number Date
test_Tails_ISO_devel 3710 26 Feb 2025, 12:43

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 41:43.049 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:57.815
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:45.485
And I update APT using apt 44.140
And I install "python3-behave" using apt 25.719
Then the Tails Persistent Storage behave tests pass 2.469
After features/support/hooks.rb:330 1.398
After features/support/hooks.rb:100 0.000
Tags: @product
42.633
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.661
When I log in to a new session without activating the Persistent Storage 21.316
Then Tails is running from USB drive "__internal" 0.841
And persistence is disabled 0.278
But a Tails persistence partition exists on USB drive "__internal" 9.535
After features/support/hooks.rb:330 1.875
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.736
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 14.918
Then Tails is running from USB drive "__internal" 0.334
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 23.218
Then the file I created was copied to the Persistent Storage 0.584
When I shutdown Tails and wait for the computer to power off 15.082
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.046
Then persistence for "Persistent" is active 0.359
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 2.043
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.162
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 11.222
And the system is very low on memory 2.432
When I create a file in the Persistent directory 1.633
When I try to create a persistent partition 28.014
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.292
When I close the Persistent Storage app 2.702
And I free up some memory 1.604
And I create a persistent partition with the default settings 14.046
Then the file I created was copied to the Persistent Storage 0.213
After features/support/hooks.rb:330 2.490
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.983
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.702
Then Tails is running from USB drive "__internal" 0.433
And all tps features are active 3.444
And all persistent directories have safe access rights 2.428
When I disable the first tps feature 7.144
Then all tps features but the first one are active 2.187
And I shutdown Tails and wait for the computer to power off 12.512
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.851
Then all tps features but the first one are active 2.278
After features/support/hooks.rb:330 1.402
After features/support/hooks.rb:100 0.009
Tags: @product
24.940
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 11.981
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 7.572
Then persistence for "Persistent" is not active 0.107
And the Persistent directory does not exist 0.076
When I enable the first tps feature 4.780
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.410
After features/support/hooks.rb:100 0.000
Tags: @product
27.203
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 14.234
Then persistence for "Persistent" is active 0.176
When I create a file in the Persistent directory 0.144
And I disable the first tps feature 7.237
And I delete the data of the Persistent Folder feature 5.343
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.481
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.214
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 11.080
And the network is plugged 0.085
And Tor is ready 27.908
And I take note of which tps features are available 0.609
When I write some files expected to persist 1.594
And I shutdown Tails and wait for the computer to power off 13.139
# 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.794
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.051
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.041
And the network is plugged 0.087
And Tor is ready 21.569
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.618
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.529
And I capture all network traffic 0.004
And the network is plugged 0.086
And Tor is ready 20.348
And I switch to the "persistent-con-current" NetworkManager connection 0.356
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.762
After features/support/hooks.rb:100 0.051
Tags: @product
56.725
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 12.124
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.240
Then I create a persistent partition with the default settings using the wizard that was already open 22.236
After features/support/hooks.rb:330 2.274
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.739
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 12.525
When I enable persistence 38.130
Then no persistent Greeter options were restored 14.367
When I set all Greeter options to non-default values 28.006
And I log in to a new session in German (de) after having activated the Persistent Storage 45.835
Then all Greeter options are set to non-default values 0.691
When I cold reboot the computer 7.589
And the computer reboots Tails 58.849
Given I enable persistence 15.796
Then persistent Greeter options were restored 0.583
When I log in to a new session after having activated the Persistent Storage 38.809
Then all Greeter options are set to non-default values 0.554
After features/support/hooks.rb:330 1.345
After features/support/hooks.rb:100 0.007
Tags: @product
3:52.928
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.371
# 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 34.676
And I shutdown Tails and wait for the computer to power off 12.465
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.545
And I change the passphrase of the Persistent Storage back to the original 36.871
After features/support/hooks.rb:330 2.668
After features/support/hooks.rb:100 0.009
Tags: @product
54.365
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.712
And I log in to a new session without activating the Persistent Storage 18.977
Then persistence is disabled 0.557
But a Tails persistence partition exists on USB drive "__internal" 8.100
And all notifications have disappeared 9.977
When I delete the persistent partition 6.595
Then there is no persistence partition on USB drive "__internal" 0.444
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.455
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 11.393
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.582
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.040
Then the expected persistent dotfile is present in the filesystem 0.362
After features/support/hooks.rb:330 1.398
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.196
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.700
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.272
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.194
When I log in to a new session after having activated the Persistent Storage 41.043
And all notifications have disappeared 7.742
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.195
And all tps features are enabled 2.755
And all tps features but the first one are active 2.196
After features/support/hooks.rb:330 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
5:34.328
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 4:12.094
And I enable persistence 32.720
And I log in to a new session after having activated the Persistent Storage 43.429
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.758
And persistence is enabled 2.326
After features/support/hooks.rb:330 1.750
After features/support/hooks.rb:100 0.000
Tags: @product
31.651
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 8.661
And I enable persistence but something goes wrong during the LUKS header upgrade 22.240
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.749
After features/support/hooks.rb:330 0.773
After features/support/hooks.rb:100 0.000
Tags: @product
44.480
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.147
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.051
When I enable persistence 26.919
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 3.257
After features/support/hooks.rb:330 1.417
After features/support/hooks.rb:100 0.000
Tags: @product
45.052
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 8.868
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.396
When I try to enable persistence 0.383
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 19.475
When I repair the filesystem of the Persistent Storage 5.120
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.564
And the filesystem of the Persistent Storage was repaired 1.307
When I close the filesystem repair dialog 2.308
Then persistence is successfully enabled 1.627
After features/support/hooks.rb:330 1.700
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.714
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.013
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.082
When I try to enable persistence 1.376
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.363
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 39.286
And all notifications have disappeared 8.854
# 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.375
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.194
When I close the "whisperback" window 1.691
Then the Tor Browser starts 19.180
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.949
After features/support/hooks.rb:330 2.070
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.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 persistent partition and stopped at Tails Greeter's login screen 8.852
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.449
And Tails detects disk read failures on the boot device 0.432
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 17.538
When I log in to a new session 43.498
And all notifications have disappeared 6.505
Then the Tor Browser starts 21.156
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.822
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000