Project Number Date
test_Tails_ISO_feature-arti 93 18 Jun 2025, 20:47

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 51:28.869 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:58.637
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.099
And I update APT using apt 43.139
And I install "python3-behave" using apt 27.722
Then the Tails Persistent Storage behave tests pass 3.675
After features/support/hooks.rb:330 0.994
After features/support/hooks.rb:100 0.000
Tags: @product
59.170
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 12.890
When I log in to a new session without activating the Persistent Storage 27.486
Then Tails is running from USB drive "__internal" 0.837
And persistence is disabled 0.476
But a Tails persistence partition exists on USB drive "__internal" 17.478
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.711
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 13.515
Then Tails is running from USB drive "__internal" 0.788
When I create a file in the Persistent directory 0.189
And I create a persistent partition with the default settings 25.638
Then the file I created was copied to the Persistent Storage 2.496
When I shutdown Tails and wait for the computer to power off 15.956
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.439
Then persistence for "Persistent" is active 0.559
And the file I created in the Persistent directory exists 0.126
After features/support/hooks.rb:330 2.310
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.016
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.020
And the system is very low on memory 6.573
When I create a file in the Persistent directory 1.713
When I try to create a persistent partition 20.153
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.405
When I close the Persistent Storage app 2.896
And I free up some memory 3.266
And I create a persistent partition with the default settings 12.321
Then the file I created was copied to the Persistent Storage 0.665
After features/support/hooks.rb:330 2.766
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.890
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 12.921
Then Tails is running from USB drive "__internal" 1.084
And all tps features are active 2.851
And all persistent directories have safe access rights 4.687
When I disable the first tps feature 6.978
Then all tps features but the first one are active 2.314
And I shutdown Tails and wait for the computer to power off 15.127
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.630
Then all tps features but the first one are active 2.295
After features/support/hooks.rb:330 1.566
After features/support/hooks.rb:100 0.009
Tags: @product
23.638
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.940
Then persistence for "Persistent" is active 0.512
And I create a file in the Persistent directory 0.098
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 5.930
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.443
Then persistence for "Persistent" is active 0.317
And the file I created in the Persistent directory exists 0.171
After features/support/hooks.rb:330 1.843
After features/support/hooks.rb:100 0.000
Tags: @product
23.531
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.630
Then persistence for "Persistent" is active 0.149
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 6.247
And I delete the data of the Persistent Folder feature 5.309
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.933
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.862
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.410
And the network is plugged 0.075
And Tor is ready 26.048
And I take note of which tps features are available 0.731
When I write some files expected to persist 1.999
And I shutdown Tails and wait for the computer to power off 9.057
# 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" 29.537
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.675
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.058
And the network is plugged 0.106
And Tor is ready 25.243
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.433
And I shutdown Tails and wait for the computer to power off 9.467
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.842
And I capture all network traffic 0.009
And the network is plugged 0.079
And Tor is ready 20.845
And I switch to the "persistent-con-current" NetworkManager connection 0.305
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.197
After features/support/hooks.rb:330 0.817
After features/support/hooks.rb:100 0.065
Tags: @product
1:12.523
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 14.046
And I enable persistence creation in Tails Greeter 1.180
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.353
Then I create a persistent partition with the default settings using the wizard that was already open 31.942
After features/support/hooks.rb:330 4.841
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.180
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 13.906
When I enable persistence 51.306
Then no persistent Greeter options were restored 15.318
When I set all Greeter options to non-default values 29.513
And I log in to a new session in German (de) after having activated the Persistent Storage 58.270
Then all Greeter options are set to non-default values 0.921
When I cold reboot the computer 8.949
And the computer reboots Tails 1:11.106
Given I enable persistence 23.078
Then persistent Greeter options were restored 0.850
When I log in to a new session after having activated the Persistent Storage 46.750
Then all Greeter options are set to non-default values 0.206
After features/support/hooks.rb:330 1.324
After features/support/hooks.rb:100 0.008
Tags: @product
4:52.306
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 12.311
# 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 1:3.465
And I shutdown Tails and wait for the computer to power off 16.074
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:44.713
And I change the passphrase of the Persistent Storage back to the original 35.741
After features/support/hooks.rb:330 4.854
After features/support/hooks.rb:100 0.042
Tags: @product
1:20.889
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 10.077
And I log in to a new session without activating the Persistent Storage 32.036
Then persistence is disabled 0.679
But a Tails persistence partition exists on USB drive "__internal" 16.107
And all notifications have disappeared 10.639
When I delete the persistent partition 10.870
Then there is no persistence partition on USB drive "__internal" 0.478
After features/support/hooks.rb:330 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.203
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 13.997
When I write some dotfile expected to persist 0.467
And I shutdown Tails and wait for the computer to power off 11.012
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.385
Then the expected persistent dotfile is present in the filesystem 0.340
After features/support/hooks.rb:330 1.103
After features/support/hooks.rb:100 0.007
Tags: @product
2:29.518
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 16.025
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.321
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 47.987
When I log in to a new session after having activated the Persistent Storage 58.179
And all notifications have disappeared 12.350
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.152
And all tps features are enabled 6.159
And all tps features but the first one are active 3.268
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.000
Tags: @product
6:20.640
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 4:25.755
And I enable persistence 48.179
And I log in to a new session after having activated the Persistent Storage 54.445
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 7.195
And persistence is enabled 5.063
After features/support/hooks.rb:330 4.157
After features/support/hooks.rb:100 0.000
Tags: @product
45.438
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 14.489
And I enable persistence but something goes wrong during the LUKS header upgrade 28.784
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 2.164
After features/support/hooks.rb:330 3.299
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.221
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 12.749
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.553
When I enable persistence 42.265
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 3.552
After features/support/hooks.rb:330 1.909
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.085
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 14.987
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.690
When I try to enable persistence 1.516
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.477
When I repair the filesystem of the Persistent Storage 1.831
Then the Welcome Screen tells me that the filesystem was repaired successfully 5.580
And the filesystem of the Persistent Storage was repaired 3.241
When I close the filesystem repair dialog 1.308
Then persistence is successfully enabled 1.450
After features/support/hooks.rb:330 1.502
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:36.941
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.858
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.381
When I try to enable persistence 0.387
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 43.772
When I repair the filesystem of the Persistent Storage 1.653
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 1:0.111
And all notifications have disappeared 11.448
# 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" 2.550
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.237
When I close the "whisperback" window 1.751
Then the Tor Browser starts 18.190
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.501
After features/support/hooks.rb:330 3.721
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:52.788
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 14.470
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.767
And Tails detects disk read failures on the boot device 1.845
When I try to enable persistence 1.509
Then the Welcome Screen tells me that my hardware is probably failing 34.513
When I log in to a new session 1:6.093
And all notifications have disappeared 14.730
Then the Tor Browser starts 30.948
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.909
After features/support/hooks.rb:330 3.964
After features/support/hooks.rb:100 0.000