Project Number Date
test_Tails_ISO_devel 3792 29 Apr 2025, 13:13

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 47:1.856 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.632
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.868
And I update APT using apt 14.036
And I install "python3-behave" using apt 25.984
Then the Tails Persistent Storage behave tests pass 2.743
After features/support/hooks.rb:330 0.663
After features/support/hooks.rb:100 0.000
Tags: @product
53.860
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.136
When I log in to a new session without activating the Persistent Storage 29.503
Then Tails is running from USB drive "__internal" 1.071
And persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 10.769
After features/support/hooks.rb:330 2.019
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.515
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 17.282
Then Tails is running from USB drive "__internal" 0.757
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 27.183
Then the file I created was copied to the Persistent Storage 2.399
When I shutdown Tails and wait for the computer to power off 14.794
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.186
Then persistence for "Persistent" is active 0.669
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 2.151
After features/support/hooks.rb:100 0.013
Tags: @product
1:5.091
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.606
And the system is very low on memory 3.653
When I create a file in the Persistent directory 0.970
When I try to create a persistent partition 27.508
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.347
When I close the Persistent Storage app 2.628
And I free up some memory 3.441
And I create a persistent partition with the default settings 12.621
Then the file I created was copied to the Persistent Storage 0.313
After features/support/hooks.rb:330 2.354
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.065
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 12.457
Then Tails is running from USB drive "__internal" 0.543
And all tps features are active 2.395
And all persistent directories have safe access rights 3.012
When I disable the first tps feature 6.497
Then all tps features but the first one are active 3.069
And I shutdown Tails and wait for the computer to power off 15.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.798
Then all tps features but the first one are active 2.594
After features/support/hooks.rb:330 1.879
After features/support/hooks.rb:100 0.010
Tags: @product
22.021
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 11.515
Then persistence for "Persistent" is active 0.109
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.073
When I disable the first tps feature 6.254
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.622
Then persistence for "Persistent" is active 0.122
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.419
After features/support/hooks.rb:100 0.000
Tags: @product
21.760
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.862
Then persistence for "Persistent" is active 0.095
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 6.384
And I delete the data of the Persistent Folder feature 4.288
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.472
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.221
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.815
And the network is plugged 0.076
And Tor is ready 20.830
And I take note of which tps features are available 0.688
When I write some files expected to persist 2.236
And I shutdown Tails and wait for the computer to power off 10.128
# 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.446
After features/support/hooks.rb:330 0.201
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.349
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.004
And the network is plugged 0.524
And Tor is ready 48.142
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.287
And I shutdown Tails and wait for the computer to power off 8.952
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.102
And I capture all network traffic 0.006
And the network is plugged 0.512
And Tor is ready 20.227
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:330 0.603
After features/support/hooks.rb:100 0.063
Tags: @product
1:20.950
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 25.947
And I enable persistence creation in Tails Greeter 1.323
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.238
Then I create a persistent partition with the default settings using the wizard that was already open 28.440
After features/support/hooks.rb:330 3.115
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.953
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 and stopped at Tails Greeter's login screen 14.299
When I enable persistence 40.619
Then no persistent Greeter options were restored 14.605
When I set all Greeter options to non-default values 27.500
And I log in to a new session in German (de) after having activated the Persistent Storage 48.990
Then all Greeter options are set to non-default values 0.374
When I cold reboot the computer 7.741
And the computer reboots Tails 1:4.933
Given I enable persistence 20.804
Then persistent Greeter options were restored 0.658
When I log in to a new session after having activated the Persistent Storage 41.067
Then all Greeter options are set to non-default values 0.357
After features/support/hooks.rb:330 1.853
After features/support/hooks.rb:100 0.009
Tags: @product
3:56.672
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.839
# 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 35.694
And I shutdown Tails and wait for the computer to power off 16.366
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.402
And I change the passphrase of the Persistent Storage back to the original 33.370
After features/support/hooks.rb:330 3.570
After features/support/hooks.rb:100 0.027
Tags: @product
1:3.065
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.997
And I log in to a new session without activating the Persistent Storage 23.105
Then persistence is disabled 0.483
But a Tails persistence partition exists on USB drive "__internal" 11.369
And all notifications have disappeared 10.383
When I delete the persistent partition 6.829
Then there is no persistence partition on USB drive "__internal" 0.896
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.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 enabled and logged in 10.500
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 11.665
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.999
Then the expected persistent dotfile is present in the filesystem 0.553
After features/support/hooks.rb:330 1.528
After features/support/hooks.rb:100 0.009
Tags: @product
1:44.587
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.085
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.131
When I try to enable persistence 0.319
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.427
When I log in to a new session after having activated the Persistent Storage 39.101
And all notifications have disappeared 9.533
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.809
And all tps features are enabled 3.551
And all tps features but the first one are active 2.626
After features/support/hooks.rb:330 2.024
After features/support/hooks.rb:100 0.000
Tags: @product
7:17.561
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:35.692
And I enable persistence 44.555
And I log in to a new session after having activated the Persistent Storage 51.976
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.493
And persistence is enabled 2.842
After features/support/hooks.rb:330 1.918
After features/support/hooks.rb:100 0.000
Tags: @product
33.958
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
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 10.655
And I enable persistence but something goes wrong during the LUKS header upgrade 22.319
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.983
After features/support/hooks.rb:330 0.764
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.746
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 9.767
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.054
When I enable persistence 44.830
Then the filesystem of the Persistent Storage was repaired 0.109
And persistence is successfully enabled 2.984
After features/support/hooks.rb:330 1.799
After features/support/hooks.rb:100 0.000
Tags: @product
58.700
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.220
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.204
When I try to enable persistence 0.530
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.240
When I repair the filesystem of the Persistent Storage 2.600
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.875
And the filesystem of the Persistent Storage was repaired 4.051
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 1.711
After features/support/hooks.rb:330 1.646
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:19.999
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 9.702
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.172
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 42.644
When I repair the filesystem of the Persistent Storage 1.417
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 50.180
And all notifications have disappeared 10.840
# 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.720
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.750
When I close the "whisperback" window 1.509
Then the Tor Browser starts 20.722
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.968
After features/support/hooks.rb:330 4.129
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.329
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.351
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.144
And Tails detects disk read failures on the boot device 0.510
When I try to enable persistence 0.428
Then the Welcome Screen tells me that my hardware is probably failing 21.779
When I log in to a new session 53.310
And all notifications have disappeared 8.421
Then the Tor Browser starts 25.418
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.965
After features/support/hooks.rb:330 1.795
After features/support/hooks.rb:100 0.000