Project Number Date
test_Tails_ISO_devel 3777 10 Apr 2025, 21:04

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 52:26.255 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
11:9.443
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.628
And I update APT using apt 8:59.014
And I install "python3-behave" using apt 23.499
Then the Tails Persistent Storage behave tests pass 3.301
After features/support/hooks.rb:330 0.670
After features/support/hooks.rb:100 0.000
Tags: @product
48.357
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.651
When I log in to a new session without activating the Persistent Storage 25.305
Then Tails is running from USB drive "__internal" 0.605
And persistence is disabled 0.451
But a Tails persistence partition exists on USB drive "__internal" 10.343
After features/support/hooks.rb:330 1.900
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.056
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 11.536
Then Tails is running from USB drive "__internal" 0.388
When I create a file in the Persistent directory 0.222
And I create a persistent partition with the default settings 28.222
Then the file I created was copied to the Persistent Storage 2.292
When I shutdown Tails and wait for the computer to power off 15.365
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.575
Then persistence for "Persistent" is active 0.388
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 3.095
After features/support/hooks.rb:100 0.010
Tags: @product
1:17.201
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 11.721
And the system is very low on memory 6.403
When I create a file in the Persistent directory 2.567
When I try to create a persistent partition 33.397
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.761
When I close the Persistent Storage app 4.157
And I free up some memory 3.723
And I create a persistent partition with the default settings 13.187
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:330 2.489
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.017
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 12.355
Then Tails is running from USB drive "__internal" 0.488
And all tps features are active 2.974
And all persistent directories have safe access rights 2.779
When I disable the first tps feature 5.778
Then all tps features but the first one are active 2.305
And I shutdown Tails and wait for the computer to power off 13.449
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.547
Then all tps features but the first one are active 2.340
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.009
Tags: @product
36.789
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 24.063
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.126
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 6.781
Then persistence for "Persistent" is not active 0.104
And the Persistent directory does not exist 0.053
When I enable the first tps feature 5.354
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.556
After features/support/hooks.rb:100 0.000
Tags: @product
19.530
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.105
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 5.565
And I delete the data of the Persistent Folder feature 3.685
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 1.658
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.788
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.378
And the network is plugged 0.069
And Tor is ready 19.611
And I take note of which tps features are available 0.716
When I write some files expected to persist 1.555
And I shutdown Tails and wait for the computer to power off 11.399
# 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.058
After features/support/hooks.rb:330 0.175
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.456
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.686
And the network is plugged 0.082
And Tor is ready 19.309
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 8.587
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.718
And I capture all network traffic 0.009
And the network is plugged 0.092
And Tor is ready 19.053
And I switch to the "persistent-con-current" NetworkManager connection 0.468
And the 1st network device has a spoofed MAC address configured 0.119
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:330 0.639
After features/support/hooks.rb:100 0.046
Tags: @product
1:15.598
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 stopped at Tails Greeter's login screen 17.013
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.152
Then I create a persistent partition with the default settings using the wizard that was already open 35.299
After features/support/hooks.rb:330 3.045
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.055
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.783
When I enable persistence 41.197
Then no persistent Greeter options were restored 14.800
When I set all Greeter options to non-default values 26.532
And I log in to a new session in German (de) after having activated the Persistent Storage 41.862
Then all Greeter options are set to non-default values 0.353
When I cold reboot the computer 7.663
And the computer reboots Tails 1:2.625
Given I enable persistence 26.738
Then persistent Greeter options were restored 0.544
When I log in to a new session after having activated the Persistent Storage 37.522
Then all Greeter options are set to non-default values 0.432
After features/support/hooks.rb:330 2.480
After features/support/hooks.rb:100 0.011
Tags: @product
4:9.455
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.347
# 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 42.425
And I shutdown Tails and wait for the computer to power off 13.050
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.638
And I change the passphrase of the Persistent Storage back to the original 35.992
After features/support/hooks.rb:330 2.369
After features/support/hooks.rb:100 0.008
Tags: @product
57.774
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.165
And I log in to a new session without activating the Persistent Storage 23.123
Then persistence is disabled 0.338
But a Tails persistence partition exists on USB drive "__internal" 8.997
And all notifications have disappeared 8.474
When I delete the persistent partition 5.884
Then there is no persistence partition on USB drive "__internal" 0.791
After features/support/hooks.rb:330 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.897
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.927
When I write some dotfile expected to persist 0.051
And I shutdown Tails and wait for the computer to power off 10.995
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.439
Then the expected persistent dotfile is present in the filesystem 0.484
After features/support/hooks.rb:330 1.366
After features/support/hooks.rb:100 0.011
Tags: @product
1:49.949
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.515
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 1.360
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.990
When I log in to a new session after having activated the Persistent Storage 48.433
And all notifications have disappeared 7.677
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.515
And all tps features are enabled 3.063
And all tps features but the first one are active 2.295
After features/support/hooks.rb:330 1.790
After features/support/hooks.rb:100 0.000
Tags: @product
6:9.302
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 4:47.268
And I enable persistence 31.228
And I log in to a new session after having activated the Persistent Storage 45.909
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.942
And persistence is enabled 2.953
After features/support/hooks.rb:330 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
31.434
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 8.952
And I enable persistence but something goes wrong during the LUKS header upgrade 21.314
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.167
After features/support/hooks.rb:330 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
47.580
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.491
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.206
When I enable persistence 28.925
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.857
After features/support/hooks.rb:330 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
49.076
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 8.615
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.066
When I try to enable persistence 0.402
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.750
When I repair the filesystem of the Persistent Storage 1.322
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.801
And the filesystem of the Persistent Storage was repaired 3.180
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 1.670
After features/support/hooks.rb:330 1.571
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.012
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 8.814
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.053
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 40.338
And all notifications have disappeared 9.923
# 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.689
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.781
When I close the "whisperback" window 1.421
Then the Tor Browser starts 16.983
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.243
After features/support/hooks.rb:330 2.975
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.475
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.184
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.676
And Tails detects disk read failures on the boot device 1.603
When I try to enable persistence 0.446
Then the Welcome Screen tells me that my hardware is probably failing 19.487
When I log in to a new session 50.274
And all notifications have disappeared 8.753
Then the Tor Browser starts 21.161
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.887
After features/support/hooks.rb:330 1.787
After features/support/hooks.rb:100 0.000