Project Number Date
test_Tails_ISO_devel 3714 02 Mar 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 40:13.366 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.456
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:32.741
And I update APT using apt 12.797
And I install "python3-behave" using apt 25.571
Then the Tails Persistent Storage behave tests pass 2.345
After features/support/hooks.rb:330 0.676
After features/support/hooks.rb:100 0.000
Tags: @product
47.753
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 14.140
When I log in to a new session without activating the Persistent Storage 23.380
Then Tails is running from USB drive "__internal" 0.519
And persistence is disabled 0.327
But a Tails persistence partition exists on USB drive "__internal" 9.386
After features/support/hooks.rb:330 1.505
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.967
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 11.769
Then Tails is running from USB drive "__internal" 0.350
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 21.877
Then the file I created was copied to the Persistent Storage 0.777
When I shutdown Tails and wait for the computer to power off 12.673
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.899
Then persistence for "Persistent" is active 0.424
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.842
After features/support/hooks.rb:100 0.008
Tags: @product
57.310
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 11.305
And the system is very low on memory 2.200
When I create a file in the Persistent directory 0.919
When I try to create a persistent partition 24.773
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.649
When I close the Persistent Storage app 2.531
And I free up some memory 1.394
And I create a persistent partition with the default settings 13.239
Then the file I created was copied to the Persistent Storage 0.297
After features/support/hooks.rb:330 2.078
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.754
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 18.562
Then Tails is running from USB drive "__internal" 1.323
And all tps features are active 2.349
And all persistent directories have safe access rights 2.504
When I disable the first tps feature 7.333
Then all tps features but the first one are active 2.282
And I shutdown Tails and wait for the computer to power off 12.899
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.310
Then all tps features but the first one are active 2.187
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.008
Tags: @product
21.844
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.584
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 6.927
Then persistence for "Persistent" is not active 0.125
And the Persistent directory does not exist 0.093
When I enable the first tps feature 3.737
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.000
Tags: @product
22.009
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 9.964
Then persistence for "Persistent" is active 0.076
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 7.552
And I delete the data of the Persistent Folder feature 4.277
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:330 1.522
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.378
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 9.783
And the network is plugged 0.085
And Tor is ready 23.303
And I take note of which tps features are available 0.585
When I write some files expected to persist 1.556
And I shutdown Tails and wait for the computer to power off 8.545
# 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.517
After features/support/hooks.rb:330 0.093
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.516
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.461
And the network is plugged 0.083
And Tor is ready 20.918
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 10.313
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.786
And I capture all network traffic 0.006
And the network is plugged 0.066
And Tor is ready 19.003
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.134
And no network device leaked the real MAC address 0.163
After features/support/hooks.rb:330 0.746
After features/support/hooks.rb:100 0.052
Tags: @product
58.895
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 without a persistent partition and stopped at Tails Greeter's login screen 12.729
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.960
Then I create a persistent partition with the default settings using the wizard that was already open 23.102
After features/support/hooks.rb:330 2.303
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.588
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.617
When I enable persistence 41.794
Then no persistent Greeter options were restored 14.633
When I set all Greeter options to non-default values 26.186
And I log in to a new session in German (de) after having activated the Persistent Storage 57.077
Then all Greeter options are set to non-default values 0.580
When I cold reboot the computer 7.776
And the computer reboots Tails 1:1.147
Given I enable persistence 19.110
Then persistent Greeter options were restored 0.598
When I log in to a new session after having activated the Persistent Storage 40.563
Then all Greeter options are set to non-default values 0.502
After features/support/hooks.rb:330 1.722
After features/support/hooks.rb:100 0.098
Tags: @product
3:47.691
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 10.526
# 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.736
And I shutdown Tails and wait for the computer to power off 12.522
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.726
And I change the passphrase of the Persistent Storage back to the original 36.179
After features/support/hooks.rb:330 1.667
After features/support/hooks.rb:100 0.008
Tags: @product
53.910
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 and stopped at Tails Greeter's login screen 9.360
And I log in to a new session without activating the Persistent Storage 19.231
Then persistence is disabled 0.320
But a Tails persistence partition exists on USB drive "__internal" 7.167
And all notifications have disappeared 9.515
When I delete the persistent partition 7.819
Then there is no persistence partition on USB drive "__internal" 0.494
After features/support/hooks.rb:330 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.285
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.930
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 10.496
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.267
Then the expected persistent dotfile is present in the filesystem 0.467
After features/support/hooks.rb:330 2.767
After features/support/hooks.rb:100 0.007
Tags: @product
1:38.671
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 and stopped at Tails Greeter's login screen 8.995
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.954
When I log in to a new session after having activated the Persistent Storage 45.100
And all notifications have disappeared 7.646
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.249
And all tps features are enabled 2.352
And all tps features but the first one are active 1.992
After features/support/hooks.rb:330 1.804
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.611
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 3:35.181
And I enable persistence 35.935
And I log in to a new session after having activated the Persistent Storage 49.964
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.074
And persistence is enabled 2.454
After features/support/hooks.rb:330 1.661
After features/support/hooks.rb:100 0.000
Tags: @product
28.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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.665
And I enable persistence but something goes wrong during the LUKS header upgrade 19.294
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.765
After features/support/hooks.rb:330 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
49.637
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.038
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.102
When I enable persistence 31.871
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.534
After features/support/hooks.rb:330 1.753
After features/support/hooks.rb:100 0.000
Tags: @product
46.357
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.907
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.550
When I try to enable persistence 0.392
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.151
When I repair the filesystem of the Persistent Storage 1.285
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.535
And the filesystem of the Persistent Storage was repaired 0.828
When I close the filesystem repair dialog 1.241
Then persistence is successfully enabled 1.464
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.863
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.475
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.335
When I repair the filesystem of the Persistent Storage 2.107
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 43.202
And all notifications have disappeared 7.849
# 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.951
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.535
When I close the "whisperback" window 1.636
Then the Tor Browser starts 14.464
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.848
After features/support/hooks.rb:330 1.781
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.137
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.673
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.203
And Tails detects disk read failures on the boot device 1.538
When I try to enable persistence 0.403
Then the Welcome Screen tells me that my hardware is probably failing 17.283
When I log in to a new session 42.667
And all notifications have disappeared 9.267
Then the Tor Browser starts 21.240
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.858
After features/support/hooks.rb:330 2.188
After features/support/hooks.rb:100 0.000