Project Number Date
test_Tails_ISO_devel 3720 04 Mar 2025, 17:35

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 55:54.665 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.634
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:35.727
And I update APT using apt 14.066
And I install "python3-behave" using apt 28.508
Then the Tails Persistent Storage behave tests pass 3.332
After features/support/hooks.rb:330 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
46.656
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 13.147
When I log in to a new session without activating the Persistent Storage 24.222
Then Tails is running from USB drive "__internal" 0.587
And persistence is disabled 0.438
But a Tails persistence partition exists on USB drive "__internal" 8.260
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.309
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 13.779
Then Tails is running from USB drive "__internal" 0.453
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 30.372
Then the file I created was copied to the Persistent Storage 0.620
When I shutdown Tails and wait for the computer to power off 13.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.668
Then persistence for "Persistent" is active 1.456
And the file I created in the Persistent directory exists 0.109
After features/support/hooks.rb:330 3.141
After features/support/hooks.rb:100 0.014
Tags: @product
1:27.466
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 without a persistent partition and logged in 19.654
And the system is very low on memory 6.168
When I create a file in the Persistent directory 1.129
When I try to create a persistent partition 32.174
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.396
When I close the Persistent Storage app 3.043
And I free up some memory 1.966
And I create a persistent partition with the default settings 22.330
Then the file I created was copied to the Persistent Storage 0.601
After features/support/hooks.rb:330 2.584
After features/support/hooks.rb:100 0.000
Tags: @product
3:49.362
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 27.556
Then Tails is running from USB drive "__internal" 1.353
And all tps features are active 7.858
And all persistent directories have safe access rights 2.947
When I disable the first tps feature 6.872
Then all tps features but the first one are active 5.480
And I shutdown Tails and wait for the computer to power off 17.801
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.874
Then all tps features but the first one are active 3.618
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.016
Tags: @product
27.516
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 14.646
Then persistence for "Persistent" is active 0.153
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.257
When I disable the first tps feature 8.130
Then persistence for "Persistent" is not active 0.116
And the Persistent directory does not exist 0.097
When I enable the first tps feature 3.805
Then persistence for "Persistent" is active 0.130
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.000
Tags: @product
22.085
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.977
Then persistence for "Persistent" is active 0.246
When I create a file in the Persistent directory 0.421
And I disable the first tps feature 6.312
And I delete the data of the Persistent Folder feature 4.071
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.391
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.808
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.224
And the network is plugged 0.158
And Tor is ready 20.925
And I take note of which tps features are available 0.920
When I write some files expected to persist 1.403
And I shutdown Tails and wait for the computer to power off 8.712
# 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" 27.464
After features/support/hooks.rb:330 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
4:2.213
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.770
And the network is plugged 0.103
And Tor is ready 23.933
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 10.866
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.549
And I capture all network traffic 0.007
And the network is plugged 0.097
And Tor is ready 49.963
And I switch to the "persistent-con-current" NetworkManager connection 0.407
And the 1st network device has a spoofed MAC address configured 0.125
And no network device leaked the real MAC address 0.166
After features/support/hooks.rb:330 0.925
After features/support/hooks.rb:100 0.062
Tags: @product
1:1.941
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 stopped at Tails Greeter's login screen 16.015
And I enable persistence creation in Tails Greeter 1.130
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.908
Then I create a persistent partition with the default settings using the wizard that was already open 22.886
After features/support/hooks.rb:330 4.133
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.840
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 29.577
When I enable persistence 46.779
Then no persistent Greeter options were restored 14.433
When I set all Greeter options to non-default values 26.938
And I log in to a new session in German (de) after having activated the Persistent Storage 57.557
Then all Greeter options are set to non-default values 0.529
When I cold reboot the computer 7.776
And the computer reboots Tails 1:1.859
Given I enable persistence 23.617
Then persistent Greeter options were restored 0.608
When I log in to a new session after having activated the Persistent Storage 44.771
Then all Greeter options are set to non-default values 0.390
After features/support/hooks.rb:330 1.892
After features/support/hooks.rb:100 0.017
Tags: @product
4:11.273
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 enabled and logged in 25.850
# 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 38.295
And I shutdown Tails and wait for the computer to power off 15.026
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.278
And I change the passphrase of the Persistent Storage back to the original 32.821
After features/support/hooks.rb:330 2.930
After features/support/hooks.rb:100 0.012
Tags: @product
1:3.591
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 14.868
And I log in to a new session without activating the Persistent Storage 22.488
Then persistence is disabled 0.269
But a Tails persistence partition exists on USB drive "__internal" 8.941
And all notifications have disappeared 9.622
When I delete the persistent partition 6.904
Then there is no persistence partition on USB drive "__internal" 0.494
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.098
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 11.377
When I write some dotfile expected to persist 0.102
And I shutdown Tails and wait for the computer to power off 10.946
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.921
Then the expected persistent dotfile is present in the filesystem 0.751
After features/support/hooks.rb:330 1.179
After features/support/hooks.rb:100 0.013
Tags: @product
2:24.019
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 10.053
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 55.937
When I log in to a new session after having activated the Persistent Storage 52.698
And all notifications have disappeared 10.076
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.739
And all tps features are enabled 3.533
And all tps features but the first one are active 6.571
After features/support/hooks.rb:330 3.037
After features/support/hooks.rb:100 0.000
Tags: @product
13:37.066
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 12:5.733
And I enable persistence 39.539
And I log in to a new session after having activated the Persistent Storage 46.176
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.705
And persistence is enabled 3.910
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.000
Tags: @product
39.874
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 14.877
And I enable persistence but something goes wrong during the LUKS header upgrade 24.186
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.811
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.966
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.239
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.689
When I enable persistence 53.619
Then the filesystem of the Persistent Storage was repaired 0.232
And persistence is successfully enabled 6.185
After features/support/hooks.rb:330 1.921
After features/support/hooks.rb:100 0.000
Tags: @product
58.933
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.585
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.572
When I try to enable persistence 0.477
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.146
When I repair the filesystem of the Persistent Storage 5.127
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.164
And the filesystem of the Persistent Storage was repaired 1.743
When I close the filesystem repair dialog 1.310
Then persistence is successfully enabled 1.805
After features/support/hooks.rb:330 1.641
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:26.129
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 10.217
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.142
When I try to enable persistence 0.338
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 45.333
When I repair the filesystem of the Persistent Storage 1.324
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.111
When I log in to a new session 53.515
And all notifications have disappeared 13.094
# 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.745
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.867
When I close the "whisperback" window 1.656
Then the Tor Browser starts 17.884
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.894
After features/support/hooks.rb:330 2.742
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.877
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 and stopped at Tails Greeter's login screen 12.415
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.247
And Tails detects disk read failures on the boot device 1.695
When I try to enable persistence 0.444
Then the Welcome Screen tells me that my hardware is probably failing 21.285
When I log in to a new session 52.322
And all notifications have disappeared 8.946
Then the Tor Browser starts 18.700
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.820
After features/support/hooks.rb:330 2.776
After features/support/hooks.rb:100 0.000