Project Number Date
test_Tails_ISO_stable 5526 22 Mar 2025, 12:57

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 46:3.726 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:49.141
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.139
And I update APT using apt 1:43.187
And I install "python3-behave" using apt 25.486
Then the Tails Persistent Storage behave tests pass 2.328
After features/support/hooks.rb:330 1.365
After features/support/hooks.rb:100 0.000
Tags: @product
59.032
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.465
When I log in to a new session without activating the Persistent Storage 28.573
Then Tails is running from USB drive "__internal" 0.823
And persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 17.747
After features/support/hooks.rb:330 3.865
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.733
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 14.396
Then Tails is running from USB drive "__internal" 0.534
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 24.684
Then the file I created was copied to the Persistent Storage 0.707
When I shutdown Tails and wait for the computer to power off 12.896
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.959
Then persistence for "Persistent" is active 0.352
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.663
After features/support/hooks.rb:100 0.008
Tags: @product
1:12.000
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 10.518
And the system is very low on memory 12.076
When I create a file in the Persistent directory 2.056
When I try to create a persistent partition 27.860
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.272
When I close the Persistent Storage app 2.803
And I free up some memory 1.640
And I create a persistent partition with the default settings 14.496
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:330 2.249
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.365
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.455
Then Tails is running from USB drive "__internal" 0.399
And all tps features are active 3.452
And all persistent directories have safe access rights 2.727
When I disable the first tps feature 6.267
Then all tps features but the first one are active 2.329
And I shutdown Tails and wait for the computer to power off 15.201
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.003
Then all tps features but the first one are active 2.528
After features/support/hooks.rb:330 1.383
After features/support/hooks.rb:100 0.011
Tags: @product
22.277
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 11.964
Then persistence for "Persistent" is active 0.194
And I create a file in the Persistent directory 0.112
Then the file I created was copied to the Persistent Storage 0.130
When I disable the first tps feature 6.404
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.184
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.393
After features/support/hooks.rb:100 0.000
Tags: @product
20.110
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.901
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.802
And I delete the data of the Persistent Folder feature 4.165
Then the file I created does not exist on the Persistent Storage 0.075
After features/support/hooks.rb:330 2.172
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.131
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 9.390
And the network is plugged 0.085
And Tor is ready 19.810
And I take note of which tps features are available 0.801
When I write some files expected to persist 1.558
And I shutdown Tails and wait for the computer to power off 8.929
# 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.554
After features/support/hooks.rb:330 0.151
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.322
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.532
And the network is plugged 0.572
And Tor is ready 17.976
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.185
And I shutdown Tails and wait for the computer to power off 10.699
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.642
And I capture all network traffic 0.006
And the network is plugged 0.089
And Tor is ready 21.964
And I switch to the "persistent-con-current" NetworkManager connection 0.402
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:330 0.795
After features/support/hooks.rb:100 0.060
Tags: @product
1:16.451
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 stopped at Tails Greeter's login screen 20.683
And I enable persistence creation in Tails Greeter 1.174
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.790
Then I create a persistent partition with the default settings using the wizard that was already open 26.802
After features/support/hooks.rb:330 2.994
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.404
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 13.745
When I enable persistence 51.155
Then no persistent Greeter options were restored 14.488
When I set all Greeter options to non-default values 26.782
And I log in to a new session in German (de) after having activated the Persistent Storage 55.562
Then all Greeter options are set to non-default values 0.664
When I cold reboot the computer 9.971
And the computer reboots Tails 1:5.930
Given I enable persistence 17.939
Then persistent Greeter options were restored 0.582
When I log in to a new session after having activated the Persistent Storage 40.846
Then all Greeter options are set to non-default values 0.734
After features/support/hooks.rb:330 1.860
After features/support/hooks.rb:100 0.012
Tags: @product
4:6.457
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.897
# 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.576
And I shutdown Tails and wait for the computer to power off 12.755
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.981
And I change the passphrase of the Persistent Storage back to the original 36.246
After features/support/hooks.rb:330 1.928
After features/support/hooks.rb:100 0.048
Tags: @product
1:1.410
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.633
And I log in to a new session without activating the Persistent Storage 22.494
Then persistence is disabled 0.629
But a Tails persistence partition exists on USB drive "__internal" 10.522
And all notifications have disappeared 11.488
When I delete the persistent partition 6.195
Then there is no persistence partition on USB drive "__internal" 0.446
After features/support/hooks.rb:330 1.737
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.510
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.959
When I write some dotfile expected to persist 0.176
And I shutdown Tails and wait for the computer to power off 8.704
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.256
Then the expected persistent dotfile is present in the filesystem 0.413
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.008
Tags: @product
1:52.088
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.513
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 1.492
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.049
When I log in to a new session after having activated the Persistent Storage 44.637
And all notifications have disappeared 9.021
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.112
And all tps features are enabled 2.617
And all tps features but the first one are active 2.566
After features/support/hooks.rb:330 4.590
After features/support/hooks.rb:100 0.000
Tags: @product
6:12.490
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:45.287
And I enable persistence 39.422
And I log in to a new session after having activated the Persistent Storage 41.393
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.765
And persistence is enabled 4.620
After features/support/hooks.rb:330 2.063
After features/support/hooks.rb:100 0.000
Tags: @product
31.352
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.167
And I enable persistence but something goes wrong during the LUKS header upgrade 21.148
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.036
After features/support/hooks.rb:330 0.980
After features/support/hooks.rb:100 0.000
Tags: @product
47.550
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 9.268
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.506
When I enable persistence 29.052
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.633
After features/support/hooks.rb:330 3.628
After features/support/hooks.rb:100 0.000
Tags: @product
53.690
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.985
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.755
When I try to enable persistence 1.496
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.556
When I repair the filesystem of the Persistent Storage 5.113
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.444
And the filesystem of the Persistent Storage was repaired 1.499
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.564
After features/support/hooks.rb:330 4.197
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.999
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 9.233
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 1.509
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.148
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 39.076
And all notifications have disappeared 8.352
# 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.971
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.567
When I close the "whisperback" window 1.511
Then the Tor Browser starts 13.265
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.873
After features/support/hooks.rb:330 2.091
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:26.202
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.143
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.852
And Tails detects disk read failures on the boot device 0.612
When I try to enable persistence 0.475
Then the Welcome Screen tells me that my hardware is probably failing 19.522
When I log in to a new session 50.392
And all notifications have disappeared 8.638
Then the Tor Browser starts 47.525
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.039
After features/support/hooks.rb:330 4.056
After features/support/hooks.rb:100 0.000