Project Number Date
test_Tails_ISO_devel 3769 07 Apr 2025, 13:18

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 51:20.699 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:13.773
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.742
And I update APT using apt 4:18.288
And I install "python3-behave" using apt 1:6.404
Then the Tails Persistent Storage behave tests pass 2.338
After features/support/hooks.rb:330 0.722
After features/support/hooks.rb:100 0.000
Tags: @product
55.348
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 14.150
When I log in to a new session without activating the Persistent Storage 26.392
Then Tails is running from USB drive "__internal" 0.622
And persistence is disabled 1.513
But a Tails persistence partition exists on USB drive "__internal" 12.669
After features/support/hooks.rb:330 2.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.667
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 13.222
Then Tails is running from USB drive "__internal" 0.554
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 25.684
Then the file I created was copied to the Persistent Storage 2.151
When I shutdown Tails and wait for the computer to power off 13.068
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.251
Then persistence for "Persistent" is active 0.506
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 2.119
After features/support/hooks.rb:100 0.011
Tags: @product
1:11.905
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 12.345
And the system is very low on memory 6.102
When I create a file in the Persistent directory 1.095
When I try to create a persistent partition 31.040
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.369
When I close the Persistent Storage app 2.524
And I free up some memory 3.717
And I create a persistent partition with the default settings 14.428
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:330 2.768
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.167
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.705
Then Tails is running from USB drive "__internal" 1.998
And all tps features are active 2.695
And all persistent directories have safe access rights 2.854
When I disable the first tps feature 6.407
Then all tps features but the first one are active 2.537
And I shutdown Tails and wait for the computer to power off 15.726
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.942
Then all tps features but the first one are active 2.298
After features/support/hooks.rb:330 1.405
After features/support/hooks.rb:100 0.009
Tags: @product
21.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.814
Then persistence for "Persistent" is active 0.092
And I create a file in the Persistent directory 0.095
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 6.373
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.042
When I enable the first tps feature 3.228
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:330 1.531
After features/support/hooks.rb:100 0.000
Tags: @product
21.282
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 persistent partition enabled and logged in 10.768
Then persistence for "Persistent" is active 0.202
When I create a file in the Persistent directory 0.106
And I disable the first tps feature 6.189
And I delete the data of the Persistent Folder feature 3.947
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:330 1.577
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.720
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.614
And the network is plugged 0.084
And Tor is ready 26.809
And I take note of which tps features are available 0.671
When I write some files expected to persist 1.840
And I shutdown Tails and wait for the computer to power off 8.767
# 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.932
After features/support/hooks.rb:330 0.191
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.697
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 with a persistent partition enabled and logged in 12.692
And the network is plugged 0.097
And Tor is ready 23.323
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.236
And I shutdown Tails and wait for the computer to power off 8.380
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.734
And I capture all network traffic 0.023
And the network is plugged 0.094
And Tor is ready 21.262
And I switch to the "persistent-con-current" NetworkManager connection 0.484
And the 1st network device has a spoofed MAC address configured 0.164
And no network device leaked the real MAC address 0.203
After features/support/hooks.rb:330 0.932
After features/support/hooks.rb:100 0.043
Tags: @product
1:11.059
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 stopped at Tails Greeter's login screen 15.184
And I enable persistence creation in Tails Greeter 1.519
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.756
Then I create a persistent partition with the default settings using the wizard that was already open 27.599
After features/support/hooks.rb:330 2.861
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.736
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 16.073
When I enable persistence 52.874
Then no persistent Greeter options were restored 15.160
When I set all Greeter options to non-default values 33.498
And I log in to a new session in German (de) after having activated the Persistent Storage 47.489
Then all Greeter options are set to non-default values 0.770
When I cold reboot the computer 8.440
And the computer reboots Tails 1:5.413
Given I enable persistence 18.136
Then persistent Greeter options were restored 0.500
When I log in to a new session after having activated the Persistent Storage 42.847
Then all Greeter options are set to non-default values 0.531
After features/support/hooks.rb:330 1.859
After features/support/hooks.rb:100 0.012
Tags: @product
3:52.432
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.412
# 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 36.536
And I shutdown Tails and wait for the computer to power off 13.333
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.422
And I change the passphrase of the Persistent Storage back to the original 34.727
After features/support/hooks.rb:330 2.358
After features/support/hooks.rb:100 0.010
Tags: @product
1:5.288
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.825
And I log in to a new session without activating the Persistent Storage 24.017
Then persistence is disabled 0.574
But a Tails persistence partition exists on USB drive "__internal" 9.842
And all notifications have disappeared 12.348
When I delete the persistent partition 5.783
Then there is no persistence partition on USB drive "__internal" 0.895
After features/support/hooks.rb:330 1.960
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.088
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.155
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 10.958
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.271
Then the expected persistent dotfile is present in the filesystem 0.633
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.012
Tags: @product
1:58.201
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.349
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.822
When I log in to a new session after having activated the Persistent Storage 49.447
And all notifications have disappeared 8.125
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.715
And all tps features are enabled 3.816
And all tps features but the first one are active 2.545
After features/support/hooks.rb:330 1.905
After features/support/hooks.rb:100 0.000
Tags: @product
7:59.233
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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:37.104
And I enable persistence 31.409
And I log in to a new session after having activated the Persistent Storage 43.935
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.901
And persistence is enabled 2.882
After features/support/hooks.rb:330 1.708
After features/support/hooks.rb:100 0.000
Tags: @product
31.740
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 9.898
And I enable persistence but something goes wrong during the LUKS header upgrade 21.015
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.826
After features/support/hooks.rb:330 0.838
After features/support/hooks.rb:100 0.000
Tags: @product
52.403
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.251
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.953
When I enable persistence 34.334
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.772
After features/support/hooks.rb:330 1.765
After features/support/hooks.rb:100 0.000
Tags: @product
59.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 persistent partition and stopped at Tails Greeter's login screen 9.375
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.374
When I try to enable persistence 0.502
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.915
When I repair the filesystem of the Persistent Storage 1.328
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.049
And the filesystem of the Persistent Storage was repaired 2.578
When I close the filesystem repair dialog 1.221
Then persistence is successfully enabled 1.418
After features/support/hooks.rb:330 2.077
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.434
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.043
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.132
When I try to enable persistence 0.268
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.648
When I repair the filesystem of the Persistent Storage 1.304
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 37.474
And all notifications have disappeared 8.865
# 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.583
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.819
When I close the "whisperback" window 1.633
Then the Tor Browser starts 20.696
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.883
After features/support/hooks.rb:330 3.624
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.811
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.974
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.835
And Tails detects disk read failures on the boot device 1.630
When I try to enable persistence 0.436
Then the Welcome Screen tells me that my hardware is probably failing 21.315
When I log in to a new session 55.072
And all notifications have disappeared 6.932
Then the Tor Browser starts 16.949
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.665
After features/support/hooks.rb:330 1.719
After features/support/hooks.rb:100 0.000