Project Number Date
test_Tails_ISO_devel 3845 30 May 2025, 13:28

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 48:33.051 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:57.666
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 2:13.250
And I update APT using apt 14.697
And I install "python3-behave" using apt 26.110
Then the Tails Persistent Storage behave tests pass 3.608
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.000
Tags: @product
56.440
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 18.618
When I log in to a new session without activating the Persistent Storage 24.844
Then Tails is running from USB drive "__internal" 0.820
And persistence is disabled 0.525
But a Tails persistence partition exists on USB drive "__internal" 11.632
After features/support/hooks.rb:330 2.315
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.947
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.184
Then Tails is running from USB drive "__internal" 0.546
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 27.066
Then the file I created was copied to the Persistent Storage 2.106
When I shutdown Tails and wait for the computer to power off 14.779
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.572
Then persistence for "Persistent" is active 0.454
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.599
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.629
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 15.387
And the system is very low on memory 3.426
When I create a file in the Persistent directory 0.827
When I try to create a persistent partition 24.655
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.147
When I close the Persistent Storage app 2.608
And I free up some memory 2.882
And I create a persistent partition with the default settings 13.423
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:330 2.380
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.146
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 15.894
Then Tails is running from USB drive "__internal" 0.475
And all tps features are active 2.760
And all persistent directories have safe access rights 3.273
When I disable the first tps feature 7.678
Then all tps features but the first one are active 2.629
And I shutdown Tails and wait for the computer to power off 18.632
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.396
Then all tps features but the first one are active 2.405
After features/support/hooks.rb:330 1.273
After features/support/hooks.rb:100 0.009
Tags: @product
21.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 enabled and logged in 10.544
Then persistence for "Persistent" is active 0.433
And I create a file in the Persistent directory 0.133
Then the file I created was copied to the Persistent Storage 0.130
When I disable the first tps feature 6.226
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.664
Then persistence for "Persistent" is active 0.162
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.625
After features/support/hooks.rb:100 0.000
Tags: @product
35.842
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 24.765
Then persistence for "Persistent" is active 0.189
When I create a file in the Persistent directory 0.107
And I disable the first tps feature 6.345
And I delete the data of the Persistent Folder feature 4.342
Then the file I created does not exist on the Persistent Storage 0.091
After features/support/hooks.rb:330 1.504
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.229
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.301
And the network is plugged 0.105
And Tor is ready 22.580
And I take note of which tps features are available 0.588
When I write some files expected to persist 1.607
And I shutdown Tails and wait for the computer to power off 10.589
# 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.456
After features/support/hooks.rb:330 0.144
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.976
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 23.092
And the network is plugged 0.142
And Tor is ready 20.503
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 11.558
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.314
And I capture all network traffic 0.015
And the network is plugged 0.079
And Tor is ready 21.412
And I switch to the "persistent-con-current" NetworkManager connection 0.395
And the 1st network device has a spoofed MAC address configured 0.111
And no network device leaked the real MAC address 0.127
After features/support/hooks.rb:330 0.811
After features/support/hooks.rb:100 0.043
Tags: @product
1:16.599
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 20.635
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.357
Then I create a persistent partition with the default settings using the wizard that was already open 30.470
After features/support/hooks.rb:330 3.586
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.695
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 14.894
When I enable persistence 43.613
Then no persistent Greeter options were restored 14.697
When I set all Greeter options to non-default values 32.310
And I log in to a new session in German (de) after having activated the Persistent Storage 52.966
Then all Greeter options are set to non-default values 0.389
When I cold reboot the computer 7.836
And the computer reboots Tails 1:10.265
Given I enable persistence 20.809
Then persistent Greeter options were restored 0.537
When I log in to a new session after having activated the Persistent Storage 47.038
Then all Greeter options are set to non-default values 0.337
After features/support/hooks.rb:330 3.860
After features/support/hooks.rb:100 0.009
Tags: @product
3:55.932
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.237
# 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.170
And I shutdown Tails and wait for the computer to power off 13.286
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.037
And I change the passphrase of the Persistent Storage back to the original 35.200
After features/support/hooks.rb:330 2.939
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.822
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 10.400
And I log in to a new session without activating the Persistent Storage 22.734
Then persistence is disabled 0.484
But a Tails persistence partition exists on USB drive "__internal" 12.656
And all notifications have disappeared 10.530
When I delete the persistent partition 7.264
Then there is no persistence partition on USB drive "__internal" 0.752
After features/support/hooks.rb:330 1.652
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.830
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.892
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 10.936
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.458
Then the expected persistent dotfile is present in the filesystem 0.452
After features/support/hooks.rb:330 1.452
After features/support/hooks.rb:100 0.011
Tags: @product
1:44.763
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 with a persistent partition and stopped at Tails Greeter's login screen 9.331
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.114
When I try to enable persistence 0.305
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.935
When I log in to a new session after having activated the Persistent Storage 44.352
And all notifications have disappeared 8.759
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.359
And all tps features are enabled 3.113
And all tps features but the first one are active 2.491
After features/support/hooks.rb:330 1.712
After features/support/hooks.rb:100 0.000
Tags: @product
8:56.960
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 7:32.038
And I enable persistence 32.481
And I log in to a new session after having activated the Persistent Storage 47.445
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.874
And persistence is enabled 3.119
After features/support/hooks.rb:330 1.657
After features/support/hooks.rb:100 0.000
Tags: @product
34.193
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.603
And I enable persistence but something goes wrong during the LUKS header upgrade 23.734
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.855
After features/support/hooks.rb:330 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
50.141
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.296
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.554
When I enable persistence 30.595
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.596
After features/support/hooks.rb:330 1.495
After features/support/hooks.rb:100 0.000
Tags: @product
52.277
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.525
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.647
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.849
When I repair the filesystem of the Persistent Storage 2.437
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.127
And the filesystem of the Persistent Storage was repaired 3.252
When I close the filesystem repair dialog 1.339
Then persistence is successfully enabled 1.687
After features/support/hooks.rb:330 1.944
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.652
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.779
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.295
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.289
When I repair the filesystem of the Persistent Storage 2.425
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 42.301
And all notifications have disappeared 11.180
# 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.299
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.843
When I close the "whisperback" window 1.616
Then the Tor Browser starts 21.519
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.897
After features/support/hooks.rb:330 2.654
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.792
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.743
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.398
And Tails detects disk read failures on the boot device 1.650
When I try to enable persistence 0.486
Then the Welcome Screen tells me that my hardware is probably failing 19.424
When I log in to a new session 48.187
And all notifications have disappeared 9.997
Then the Tor Browser starts 25.002
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.902
After features/support/hooks.rb:330 2.794
After features/support/hooks.rb:100 0.000