Project Number Date
test_Tails_ISO_devel 3821 19 May 2025, 13:00

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 40:47.271 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.024
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:34.914
And I update APT using apt 13.627
And I install "python3-behave" using apt 23.930
Then the Tails Persistent Storage behave tests pass 3.551
After features/support/hooks.rb:330 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
55.419
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.894
When I log in to a new session without activating the Persistent Storage 32.085
Then Tails is running from USB drive "__internal" 0.779
And persistence is disabled 0.231
But a Tails persistence partition exists on USB drive "__internal" 10.427
After features/support/hooks.rb:330 2.404
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.758
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 13.674
Then Tails is running from USB drive "__internal" 0.668
When I create a file in the Persistent directory 0.166
And I create a persistent partition with the default settings 22.516
Then the file I created was copied to the Persistent Storage 2.455
When I shutdown Tails and wait for the computer to power off 12.942
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.961
Then persistence for "Persistent" is active 0.285
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 2.538
After features/support/hooks.rb:100 0.010
Tags: @product
1:5.947
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 11.820
And the system is very low on memory 3.266
When I create a file in the Persistent directory 1.212
When I try to create a persistent partition 29.154
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.170
When I close the Persistent Storage app 2.548
And I free up some memory 3.085
And I create a persistent partition with the default settings 14.159
Then the file I created was copied to the Persistent Storage 0.530
After features/support/hooks.rb:330 2.325
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.930
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 13.210
Then Tails is running from USB drive "__internal" 0.536
And all tps features are active 4.751
And all persistent directories have safe access rights 2.877
When I disable the first tps feature 6.034
Then all tps features but the first one are active 2.085
And I shutdown Tails and wait for the computer to power off 15.360
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.974
Then all tps features but the first one are active 2.099
After features/support/hooks.rb:330 1.032
After features/support/hooks.rb:100 0.008
Tags: @product
20.669
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.855
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.105
Then the file I created was copied to the Persistent Storage 0.100
When I disable the first tps feature 5.954
Then persistence for "Persistent" is not active 0.160
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.184
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.593
After features/support/hooks.rb:100 0.000
Tags: @product
19.852
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.755
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 6.109
And I delete the data of the Persistent Folder feature 3.710
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.639
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.338
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.618
And the network is plugged 0.082
And Tor is ready 20.029
And I take note of which tps features are available 0.555
When I write some files expected to persist 1.535
And I shutdown Tails and wait for the computer to power off 10.940
# 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.577
After features/support/hooks.rb:330 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.947
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 9.655
And the network is plugged 0.076
And Tor is ready 21.433
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 8.698
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.543
And I capture all network traffic 0.010
And the network is plugged 0.063
And Tor is ready 17.662
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.068
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:330 0.637
After features/support/hooks.rb:100 0.061
Tags: @product
57.228
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 without a persistent partition and stopped at Tails Greeter's login screen 12.013
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.650
Then I create a persistent partition with the default settings using the wizard that was already open 23.444
After features/support/hooks.rb:330 3.310
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.575
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 11.959
When I enable persistence 38.818
Then no persistent Greeter options were restored 14.237
When I set all Greeter options to non-default values 27.164
And I log in to a new session in German (de) after having activated the Persistent Storage 48.810
Then all Greeter options are set to non-default values 0.433
When I cold reboot the computer 7.454
And the computer reboots Tails 1:5.551
Given I enable persistence 18.063
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 41.716
Then all Greeter options are set to non-default values 0.830
After features/support/hooks.rb:330 2.169
After features/support/hooks.rb:100 0.010
Tags: @product
3:45.836
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.959
# 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.193
And I shutdown Tails and wait for the computer to power off 14.755
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.931
And I change the passphrase of the Persistent Storage back to the original 39.995
After features/support/hooks.rb:330 3.713
After features/support/hooks.rb:100 0.047
Tags: @product
57.509
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.781
And I log in to a new session without activating the Persistent Storage 22.186
Then persistence is disabled 0.617
But a Tails persistence partition exists on USB drive "__internal" 8.862
And all notifications have disappeared 8.635
When I delete the persistent partition 6.658
Then there is no persistence partition on USB drive "__internal" 0.767
After features/support/hooks.rb:330 2.349
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.552
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 9.934
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 8.625
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.563
Then the expected persistent dotfile is present in the filesystem 0.340
After features/support/hooks.rb:330 0.893
After features/support/hooks.rb:100 0.009
Tags: @product
1:45.118
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.696
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.391
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.970
When I log in to a new session after having activated the Persistent Storage 47.166
And all notifications have disappeared 8.408
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.500
And all tps features are enabled 2.779
And all tps features but the first one are active 2.108
After features/support/hooks.rb:330 1.836
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.291
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 3:41.376
And I enable persistence 31.373
And I log in to a new session after having activated the Persistent Storage 43.191
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.459
And persistence is enabled 2.889
After features/support/hooks.rb:330 2.052
After features/support/hooks.rb:100 0.000
Tags: @product
31.255
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 9.090
And I enable persistence but something goes wrong during the LUKS header upgrade 21.420
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.743
After features/support/hooks.rb:330 0.721
After features/support/hooks.rb:100 0.000
Tags: @product
44.500
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.056
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.066
When I enable persistence 25.816
Then the filesystem of the Persistent Storage was repaired 0.118
And persistence is successfully enabled 3.443
After features/support/hooks.rb:330 1.898
After features/support/hooks.rb:100 0.000
Tags: @product
51.421
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.840
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.987
When I try to enable persistence 0.419
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.509
When I repair the filesystem of the Persistent Storage 1.306
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.231
And the filesystem of the Persistent Storage was repaired 4.405
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 1.452
After features/support/hooks.rb:330 1.933
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.172
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 8.751
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.140
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.882
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 39.364
And all notifications have disappeared 7.549
# 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.865
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.125
When I close the "whisperback" window 1.602
Then the Tor Browser starts 22.182
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.962
After features/support/hooks.rb:330 2.713
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.918
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.046
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.525
And Tails detects disk read failures on the boot device 1.625
When I try to enable persistence 0.585
Then the Welcome Screen tells me that my hardware is probably failing 18.817
When I log in to a new session 48.222
And all notifications have disappeared 9.472
Then the Tor Browser starts 18.358
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.264
After features/support/hooks.rb:330 1.700
After features/support/hooks.rb:100 0.000