Project Number Date
test_Tails_ISO_devel 3758 27 Mar 2025, 14:24

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 49:54.933 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:0.956
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.986
And I update APT using apt 4:14.881
And I install "python3-behave" using apt 58.204
Then the Tails Persistent Storage behave tests pass 2.884
After features/support/hooks.rb:330 1.342
After features/support/hooks.rb:100 0.000
Tags: @product
50.373
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.433
When I log in to a new session without activating the Persistent Storage 27.882
Then Tails is running from USB drive "__internal" 0.566
And persistence is disabled 0.407
But a Tails persistence partition exists on USB drive "__internal" 9.083
After features/support/hooks.rb:330 1.680
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.096
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 14.427
Then Tails is running from USB drive "__internal" 0.667
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 25.834
Then the file I created was copied to the Persistent Storage 3.289
When I shutdown Tails and wait for the computer to power off 13.408
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.761
Then persistence for "Persistent" is active 0.464
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 2.073
After features/support/hooks.rb:100 0.012
Tags: @product
1:12.061
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 without a persistent partition and logged in 11.126
And the system is very low on memory 4.582
When I create a file in the Persistent directory 1.833
When I try to create a persistent partition 32.261
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.625
When I close the Persistent Storage app 3.190
And I free up some memory 3.225
And I create a persistent partition with the default settings 14.929
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:330 2.312
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.700
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 13.333
Then Tails is running from USB drive "__internal" 0.775
And all tps features are active 2.530
And all persistent directories have safe access rights 2.788
When I disable the first tps feature 9.012
Then all tps features but the first one are active 2.458
And I shutdown Tails and wait for the computer to power off 13.329
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.994
Then all tps features but the first one are active 2.476
After features/support/hooks.rb:330 1.462
After features/support/hooks.rb:100 0.009
Tags: @product
20.806
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.690
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.146
When I disable the first tps feature 6.269
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.186
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 2.037
After features/support/hooks.rb:100 0.000
Tags: @product
20.166
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 9.865
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.115
And I disable the first tps feature 6.266
And I delete the data of the Persistent Folder feature 3.762
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.936
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.188
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 9.628
And the network is plugged 0.097
And Tor is ready 18.676
And I take note of which tps features are available 0.639
When I write some files expected to persist 1.518
And I shutdown Tails and wait for the computer to power off 9.512
# 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.115
After features/support/hooks.rb:330 0.194
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.858
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 10.243
And the network is plugged 0.079
And Tor is ready 19.449
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.247
And I shutdown Tails and wait for the computer to power off 8.695
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.061
And I capture all network traffic 0.009
And the network is plugged 0.078
And Tor is ready 24.153
And I switch to the "persistent-con-current" NetworkManager connection 0.427
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.293
After features/support/hooks.rb:330 0.629
After features/support/hooks.rb:100 0.059
Tags: @product
1:16.478
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 stopped at Tails Greeter's login screen 21.918
And I enable persistence creation in Tails Greeter 1.119
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.637
Then I create a persistent partition with the default settings using the wizard that was already open 27.802
After features/support/hooks.rb:330 3.178
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.979
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 11.519
When I enable persistence 40.413
Then no persistent Greeter options were restored 14.534
When I set all Greeter options to non-default values 34.310
And I log in to a new session in German (de) after having activated the Persistent Storage 54.697
Then all Greeter options are set to non-default values 0.594
When I cold reboot the computer 7.740
And the computer reboots Tails 1:10.806
Given I enable persistence 19.936
Then persistent Greeter options were restored 0.612
When I log in to a new session after having activated the Persistent Storage 41.336
Then all Greeter options are set to non-default values 0.477
After features/support/hooks.rb:330 1.482
After features/support/hooks.rb:100 0.018
Tags: @product
4:24.386
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.798
# 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 43.903
And I shutdown Tails and wait for the computer to power off 13.337
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:36.691
And I change the passphrase of the Persistent Storage back to the original 40.656
After features/support/hooks.rb:330 3.551
After features/support/hooks.rb:100 0.011
Tags: @product
1:0.600
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.740
And I log in to a new session without activating the Persistent Storage 21.704
Then persistence is disabled 0.411
But a Tails persistence partition exists on USB drive "__internal" 10.419
And all notifications have disappeared 10.413
When I delete the persistent partition 5.873
Then there is no persistence partition on USB drive "__internal" 1.038
After features/support/hooks.rb:330 1.315
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.599
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.017
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 10.812
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.261
Then the expected persistent dotfile is present in the filesystem 0.445
After features/support/hooks.rb:330 2.434
After features/support/hooks.rb:100 0.012
Tags: @product
1:48.597
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.641
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.338
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.648
When I log in to a new session after having activated the Persistent Storage 43.885
And all notifications have disappeared 7.305
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.694
And all tps features are enabled 2.879
And all tps features but the first one are active 2.105
After features/support/hooks.rb:330 1.922
After features/support/hooks.rb:100 0.000
Tags: @product
5:42.147
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 4:5.911
And I enable persistence 41.880
And I log in to a new session after having activated the Persistent Storage 49.631
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.776
And persistence is enabled 2.946
After features/support/hooks.rb:330 2.027
After features/support/hooks.rb:100 0.000
Tags: @product
42.572
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.219
And I enable persistence but something goes wrong during the LUKS header upgrade 32.516
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.836
After features/support/hooks.rb:330 0.888
After features/support/hooks.rb:100 0.000
Tags: @product
52.469
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 and stopped at Tails Greeter's login screen 9.775
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.540
When I enable persistence 32.071
Then the filesystem of the Persistent Storage was repaired 0.140
And persistence is successfully enabled 2.941
After features/support/hooks.rb:330 3.155
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.561
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.615
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 17.543
When I try to enable persistence 0.573
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.866
When I repair the filesystem of the Persistent Storage 1.618
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.107
And the filesystem of the Persistent Storage was repaired 3.212
When I close the filesystem repair dialog 1.336
Then persistence is successfully enabled 1.685
After features/support/hooks.rb:330 3.914
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.087
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.435
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.307
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.040
When I repair the filesystem of the Persistent Storage 1.224
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 37.492
And all notifications have disappeared 8.353
# 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.526
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.238
When I close the "whisperback" window 1.512
Then the Tor Browser starts 21.919
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.855
After features/support/hooks.rb:330 3.971
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.246
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.066
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.132
And Tails detects disk read failures on the boot device 1.720
When I try to enable persistence 0.504
Then the Welcome Screen tells me that my hardware is probably failing 26.278
When I log in to a new session 49.715
And all notifications have disappeared 9.523
Then the Tor Browser starts 22.345
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.960
After features/support/hooks.rb:330 3.889
After features/support/hooks.rb:100 0.000