Project Number Date
test_Tails_ISO_stable 5610 29 Apr 2025, 18:48

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 45:54.684 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.603
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:41.225
And I update APT using apt 16.624
And I install "python3-behave" using apt 26.372
Then the Tails Persistent Storage behave tests pass 2.381
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
51.062
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 16.301
When I log in to a new session without activating the Persistent Storage 25.261
Then Tails is running from USB drive "__internal" 0.528
And persistence is disabled 0.380
But a Tails persistence partition exists on USB drive "__internal" 8.590
After features/support/hooks.rb:330 1.670
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.529
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 logged in 15.174
Then Tails is running from USB drive "__internal" 0.634
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 26.793
Then the file I created was copied to the Persistent Storage 3.004
When I shutdown Tails and wait for the computer to power off 15.710
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.459
Then persistence for "Persistent" is active 0.491
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.781
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.718
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.134
And the system is very low on memory 3.557
When I create a file in the Persistent directory 1.303
When I try to create a persistent partition 28.616
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.218
When I close the Persistent Storage app 3.045
And I free up some memory 3.025
And I create a persistent partition with the default settings 13.508
Then the file I created was copied to the Persistent Storage 0.309
After features/support/hooks.rb:330 2.338
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.062
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 12.680
Then Tails is running from USB drive "__internal" 1.417
And all tps features are active 2.595
And all persistent directories have safe access rights 2.836
When I disable the first tps feature 6.123
Then all tps features but the first one are active 2.380
And I shutdown Tails and wait for the computer to power off 17.334
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.427
Then all tps features but the first one are active 2.265
After features/support/hooks.rb:330 1.159
After features/support/hooks.rb:100 0.008
Tags: @product
19.697
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.479
Then persistence for "Persistent" is active 0.127
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 5.518
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 0.869
After features/support/hooks.rb:100 0.000
Tags: @product
19.855
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.293
Then persistence for "Persistent" is active 0.087
When I create a file in the Persistent directory 0.170
And I disable the first tps feature 5.374
And I delete the data of the Persistent Folder feature 4.858
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:330 1.160
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.548
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.270
And the network is plugged 0.099
And Tor is ready 22.997
And I take note of which tps features are available 0.656
When I write some files expected to persist 1.592
And I shutdown Tails and wait for the computer to power off 8.650
# 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.280
After features/support/hooks.rb:330 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.555
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.061
And the network is plugged 0.094
And Tor is ready 17.199
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.265
And I shutdown Tails and wait for the computer to power off 9.128
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.085
And I capture all network traffic 0.007
And the network is plugged 0.106
And Tor is ready 20.922
And I switch to the "persistent-con-current" NetworkManager connection 0.459
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.083
Tags: @product
1:33.195
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 stopped at Tails Greeter's login screen 38.932
And I enable persistence creation in Tails Greeter 1.141
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.935
Then I create a persistent partition with the default settings using the wizard that was already open 29.186
After features/support/hooks.rb:330 5.377
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.012
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 19.008
When I enable persistence 49.316
Then no persistent Greeter options were restored 14.830
When I set all Greeter options to non-default values 24.999
And I log in to a new session in German (de) after having activated the Persistent Storage 57.261
Then all Greeter options are set to non-default values 0.462
When I cold reboot the computer 7.811
And the computer reboots Tails 1:5.707
Given I enable persistence 18.588
Then persistent Greeter options were restored 0.664
When I log in to a new session after having activated the Persistent Storage 38.850
Then all Greeter options are set to non-default values 0.510
After features/support/hooks.rb:330 1.817
After features/support/hooks.rb:100 0.009
Tags: @product
4:10.968
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.744
# 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 40.888
And I shutdown Tails and wait for the computer to power off 15.536
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.509
And I change the passphrase of the Persistent Storage back to the original 34.289
After features/support/hooks.rb:330 3.117
After features/support/hooks.rb:100 0.012
Tags: @product
58.456
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.587
And I log in to a new session without activating the Persistent Storage 22.522
Then persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 6.320
And all notifications have disappeared 10.749
When I delete the persistent partition 7.728
Then there is no persistence partition on USB drive "__internal" 1.196
After features/support/hooks.rb:330 1.395
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.348
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.156
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.624
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.076
Then the expected persistent dotfile is present in the filesystem 0.405
After features/support/hooks.rb:330 1.457
After features/support/hooks.rb:100 0.008
Tags: @product
1:45.494
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.100
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.296
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.311
When I log in to a new session after having activated the Persistent Storage 45.499
And all notifications have disappeared 8.428
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.184
And all tps features are enabled 2.634
And all tps features but the first one are active 1.960
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
7:27.481
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 5:59.106
And I enable persistence 37.115
And I log in to a new session after having activated the Persistent Storage 44.996
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.518
And persistence is enabled 3.743
After features/support/hooks.rb:330 1.444
After features/support/hooks.rb:100 0.000
Tags: @product
33.828
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 11.285
And I enable persistence but something goes wrong during the LUKS header upgrade 21.580
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.961
After features/support/hooks.rb:330 0.931
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.222
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 23.601
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.136
When I enable persistence 28.524
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.865
After features/support/hooks.rb:330 1.259
After features/support/hooks.rb:100 0.000
Tags: @product
53.362
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.216
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.401
When I try to enable persistence 0.444
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.290
When I repair the filesystem of the Persistent Storage 1.622
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.377
And the filesystem of the Persistent Storage was repaired 3.289
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 1.441
After features/support/hooks.rb:330 1.362
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.070
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.769
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.159
When I try to enable persistence 0.307
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.716
When I repair the filesystem of the Persistent Storage 1.285
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.122
When I log in to a new session 45.924
And all notifications have disappeared 11.335
# 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.450
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.088
When I close the "whisperback" window 1.455
Then the Tor Browser starts 15.656
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.800
After features/support/hooks.rb:330 4.378
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.611
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.413
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.202
And Tails detects disk read failures on the boot device 1.558
When I try to enable persistence 1.527
Then the Welcome Screen tells me that my hardware is probably failing 18.499
When I log in to a new session 48.558
And all notifications have disappeared 9.134
Then the Tor Browser starts 24.773
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.942
After features/support/hooks.rb:330 2.895
After features/support/hooks.rb:100 0.000