Project Number Date
test_Tails_ISO_devel 3889 27 Jun 2025, 14:19

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 41:44.310 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.845
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:39.796
And I update APT using apt 13.341
And I install "python3-behave" using apt 25.977
Then the Tails Persistent Storage behave tests pass 2.729
After features/support/hooks.rb:330 0.854
After features/support/hooks.rb:100 0.000
Tags: @product
44.994
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 11.116
When I log in to a new session without activating the Persistent Storage 22.971
Then Tails is running from USB drive "__internal" 0.604
And persistence is disabled 0.638
But a Tails persistence partition exists on USB drive "__internal" 9.662
After features/support/hooks.rb:330 1.564
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.582
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 12.341
Then Tails is running from USB drive "__internal" 0.406
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 23.300
Then the file I created was copied to the Persistent Storage 2.828
When I shutdown Tails and wait for the computer to power off 12.564
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.549
Then persistence for "Persistent" is active 0.380
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 2.797
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.794
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 10.987
And the system is very low on memory 2.762
When I create a file in the Persistent directory 1.171
When I try to create a persistent partition 26.403
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.197
When I close the Persistent Storage app 3.205
And I free up some memory 3.043
And I create a persistent partition with the default settings 13.761
Then the file I created was copied to the Persistent Storage 0.260
After features/support/hooks.rb:330 2.453
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.478
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.898
Then Tails is running from USB drive "__internal" 0.410
And all tps features are active 2.378
And all persistent directories have safe access rights 2.745
When I disable the first tps feature 5.673
Then all tps features but the first one are active 2.662
And I shutdown Tails and wait for the computer to power off 10.941
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.233
Then all tps features but the first one are active 2.534
After features/support/hooks.rb:330 1.549
After features/support/hooks.rb:100 0.009
Tags: @product
20.571
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.590
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.259
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.204
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.050
After features/support/hooks.rb:330 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
20.931
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.737
Then persistence for "Persistent" is active 0.079
When I create a file in the Persistent directory 0.108
And I disable the first tps feature 6.270
And I delete the data of the Persistent Folder feature 4.674
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.331
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.449
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.146
And the network is plugged 0.299
And Tor is ready 22.193
And I take note of which tps features are available 0.606
When I write some files expected to persist 1.811
And I shutdown Tails and wait for the computer to power off 8.873
# 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.517
After features/support/hooks.rb:330 0.086
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.864
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.903
And the network is plugged 0.106
And Tor is ready 17.302
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.566
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.219
And I capture all network traffic 0.007
And the network is plugged 0.104
And Tor is ready 19.788
And I switch to the "persistent-con-current" NetworkManager connection 0.382
And the 1st network device has a spoofed MAC address configured 0.131
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:330 0.762
After features/support/hooks.rb:100 0.045
Tags: @product
55.932
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 without a persistent partition and stopped at Tails Greeter's login screen 11.523
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.551
Then I create a persistent partition with the default settings using the wizard that was already open 23.733
After features/support/hooks.rb:330 4.238
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.473
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 11.734
When I enable persistence 38.694
Then no persistent Greeter options were restored 14.448
When I set all Greeter options to non-default values 26.604
And I log in to a new session in German (de) after having activated the Persistent Storage 55.111
Then all Greeter options are set to non-default values 1.006
When I cold reboot the computer 7.615
And the computer reboots Tails 1:11.516
Given I enable persistence 16.457
Then persistent Greeter options were restored 0.603
When I log in to a new session after having activated the Persistent Storage 39.896
Then all Greeter options are set to non-default values 0.786
After features/support/hooks.rb:330 2.738
After features/support/hooks.rb:100 0.009
Tags: @product
3:51.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 persistent partition enabled and logged in 10.293
# 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.776
And I shutdown Tails and wait for the computer to power off 13.105
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.498
And I change the passphrase of the Persistent Storage back to the original 37.627
After features/support/hooks.rb:330 3.103
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.650
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.561
And I log in to a new session without activating the Persistent Storage 21.496
Then persistence is disabled 0.382
But a Tails persistence partition exists on USB drive "__internal" 10.066
And all notifications have disappeared 11.465
When I delete the persistent partition 5.881
Then there is no persistence partition on USB drive "__internal" 0.796
After features/support/hooks.rb:330 1.982
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.228
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.641
When I write some dotfile expected to persist 0.054
And I shutdown Tails and wait for the computer to power off 9.551
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.632
Then the expected persistent dotfile is present in the filesystem 0.349
After features/support/hooks.rb:330 1.294
After features/support/hooks.rb:100 0.051
Tags: @product
1:46.083
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.151
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 0.474
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.371
When I log in to a new session after having activated the Persistent Storage 44.959
And all notifications have disappeared 9.692
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.783
And all tps features are enabled 2.973
And all tps features but the first one are active 2.575
After features/support/hooks.rb:330 1.940
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.462
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:46.995
And I enable persistence 33.788
And I log in to a new session after having activated the Persistent Storage 46.744
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.611
And persistence is enabled 3.321
After features/support/hooks.rb:330 2.146
After features/support/hooks.rb:100 0.000
Tags: @product
29.337
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.007
And I enable persistence but something goes wrong during the LUKS header upgrade 19.633
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.696
After features/support/hooks.rb:330 0.675
After features/support/hooks.rb:100 0.000
Tags: @product
49.480
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.561
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.303
When I enable persistence 31.236
Then the filesystem of the Persistent Storage was repaired 0.137
And persistence is successfully enabled 3.241
After features/support/hooks.rb:330 2.014
After features/support/hooks.rb:100 0.000
Tags: @product
50.884
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.752
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.668
When I try to enable persistence 0.495
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.656
When I repair the filesystem of the Persistent Storage 2.079
Then the Welcome Screen tells me that the filesystem was repaired successfully 5.090
And the filesystem of the Persistent Storage was repaired 3.290
When I close the filesystem repair dialog 1.278
Then persistence is successfully enabled 1.572
After features/support/hooks.rb:330 1.576
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.833
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.298
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.429
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.063
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 45.841
And all notifications have disappeared 10.183
# 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.051
When I close the "whisperback" window 1.598
Then the Tor Browser starts 19.524
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.926
After features/support/hooks.rb:330 4.227
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.129
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 9.189
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.784
And Tails detects disk read failures on the boot device 1.547
When I try to enable persistence 0.562
Then the Welcome Screen tells me that my hardware is probably failing 19.662
When I log in to a new session 52.383
And all notifications have disappeared 7.955
Then the Tor Browser starts 24.106
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.936
After features/support/hooks.rb:330 1.860
After features/support/hooks.rb:100 0.000