Project Number Date
test_Tails_ISO_devel 3754 26 Mar 2025, 13:19

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 46:52.047 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:20.947
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:34.660
And I update APT using apt 2:18.048
And I install "python3-behave" using apt 26.008
Then the Tails Persistent Storage behave tests pass 2.230
After features/support/hooks.rb:330 0.631
After features/support/hooks.rb:100 0.000
Tags: @product
43.951
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 12.955
When I log in to a new session without activating the Persistent Storage 22.596
Then Tails is running from USB drive "__internal" 0.423
And persistence is disabled 0.451
But a Tails persistence partition exists on USB drive "__internal" 7.524
After features/support/hooks.rb:330 1.801
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.022
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 12.662
Then Tails is running from USB drive "__internal" 0.788
When I create a file in the Persistent directory 0.235
And I create a persistent partition with the default settings 23.121
Then the file I created was copied to the Persistent Storage 0.787
When I shutdown Tails and wait for the computer to power off 13.142
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.753
Then persistence for "Persistent" is active 0.452
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.813
After features/support/hooks.rb:100 0.010
Tags: @product
1:6.224
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 10.564
And the system is very low on memory 3.835
When I create a file in the Persistent directory 2.112
When I try to create a persistent partition 30.562
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.152
When I close the Persistent Storage app 3.398
And I free up some memory 1.738
And I create a persistent partition with the default settings 13.618
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:330 2.342
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.548
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 14.865
Then Tails is running from USB drive "__internal" 0.745
And all tps features are active 2.565
And all persistent directories have safe access rights 2.776
When I disable the first tps feature 7.294
Then all tps features but the first one are active 2.309
And I shutdown Tails and wait for the computer to power off 15.536
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.155
Then all tps features but the first one are active 2.300
After features/support/hooks.rb:330 1.336
After features/support/hooks.rb:100 0.009
Tags: @product
20.077
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.381
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.100
When I disable the first tps feature 6.013
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.110
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.000
Tags: @product
20.210
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.023
Then persistence for "Persistent" is active 0.086
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.266
And I delete the data of the Persistent Folder feature 3.700
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.260
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.157
And the network is plugged 0.076
And Tor is ready 20.798
And I take note of which tps features are available 1.527
When I write some files expected to persist 1.833
And I shutdown Tails and wait for the computer to power off 8.834
# 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.031
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.359
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.906
And the network is plugged 0.082
And Tor is ready 17.499
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.249
And I shutdown Tails and wait for the computer to power off 8.886
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.494
And I capture all network traffic 0.009
And the network is plugged 0.080
And Tor is ready 20.485
And I switch to the "persistent-con-current" NetworkManager connection 0.400
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.149
After features/support/hooks.rb:330 0.891
After features/support/hooks.rb:100 0.062
Tags: @product
1:0.737
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 stopped at Tails Greeter's login screen 12.469
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.468
Then I create a persistent partition with the default settings using the wizard that was already open 25.680
After features/support/hooks.rb:330 2.450
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.458
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 persistent partition and stopped at Tails Greeter's login screen 12.264
When I enable persistence 44.636
Then no persistent Greeter options were restored 15.396
When I set all Greeter options to non-default values 27.099
And I log in to a new session in German (de) after having activated the Persistent Storage 51.403
Then all Greeter options are set to non-default values 0.636
When I cold reboot the computer 7.577
And the computer reboots Tails 1:3.701
Given I enable persistence 39.567
Then persistent Greeter options were restored 0.570
When I log in to a new session after having activated the Persistent Storage 42.123
Then all Greeter options are set to non-default values 0.482
After features/support/hooks.rb:330 1.790
After features/support/hooks.rb:100 0.013
Tags: @product
3:50.717
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 enabled and logged in 9.723
# 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.942
And I shutdown Tails and wait for the computer to power off 12.663
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.379
And I change the passphrase of the Persistent Storage back to the original 38.008
After features/support/hooks.rb:330 2.789
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.945
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 14.677
And I log in to a new session without activating the Persistent Storage 21.727
Then persistence is disabled 0.353
But a Tails persistence partition exists on USB drive "__internal" 11.380
And all notifications have disappeared 10.240
When I delete the persistent partition 6.054
Then there is no persistence partition on USB drive "__internal" 0.510
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.563
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.840
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 9.059
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.995
Then the expected persistent dotfile is present in the filesystem 0.595
After features/support/hooks.rb:330 1.406
After features/support/hooks.rb:100 0.011
Tags: @product
1:51.893
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.000
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.126
When I try to enable persistence 1.333
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.930
When I log in to a new session after having activated the Persistent Storage 46.066
And all notifications have disappeared 9.766
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.382
And all tps features are enabled 2.333
And all tps features but the first one are active 1.953
After features/support/hooks.rb:330 1.779
After features/support/hooks.rb:100 0.000
Tags: @product
6:52.539
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:24.518
And I enable persistence 32.334
And I log in to a new session after having activated the Persistent Storage 47.621
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.390
And persistence is enabled 2.674
After features/support/hooks.rb:330 1.785
After features/support/hooks.rb:100 0.000
Tags: @product
50.805
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 24.019
And I enable persistence but something goes wrong during the LUKS header upgrade 25.948
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.837
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.008
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.835
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.396
When I enable persistence 1:1.511
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 3.169
After features/support/hooks.rb:330 1.751
After features/support/hooks.rb:100 0.000
Tags: @product
54.497
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.466
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.159
When I try to enable persistence 0.437
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.639
When I repair the filesystem of the Persistent Storage 1.332
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.854
And the filesystem of the Persistent Storage was repaired 2.624
When I close the filesystem repair dialog 1.250
Then persistence is successfully enabled 1.733
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.767
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.120
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.165
When I try to enable persistence 0.459
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.827
When I repair the filesystem of the Persistent Storage 1.367
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.098
When I log in to a new session 36.825
And all notifications have disappeared 8.608
# 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" 1.317
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.192
When I close the "whisperback" window 1.868
Then the Tor Browser starts 19.948
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.967
After features/support/hooks.rb:330 2.411
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.508
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.374
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.738
And Tails detects disk read failures on the boot device 1.577
When I try to enable persistence 1.513
Then the Welcome Screen tells me that my hardware is probably failing 20.792
When I log in to a new session 48.366
And all notifications have disappeared 9.176
Then the Tor Browser starts 22.069
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.899
After features/support/hooks.rb:330 2.065
After features/support/hooks.rb:100 0.000