Project Number Date
test_Tails_ISO_feature-arti 91 16 Jun 2025, 16:53

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:11.230 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:4.020
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:49.321
And I update APT using apt 44.626
And I install "python3-behave" using apt 26.366
Then the Tails Persistent Storage behave tests pass 3.707
After features/support/hooks.rb:330 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
52.831
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 13.889
When I log in to a new session without activating the Persistent Storage 25.734
Then Tails is running from USB drive "__internal" 0.920
And persistence is disabled 0.514
But a Tails persistence partition exists on USB drive "__internal" 11.772
After features/support/hooks.rb:330 3.844
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.562
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 19.618
Then Tails is running from USB drive "__internal" 1.108
When I create a file in the Persistent directory 0.280
And I create a persistent partition with the default settings 28.976
Then the file I created was copied to the Persistent Storage 2.764
When I shutdown Tails and wait for the computer to power off 13.734
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.538
Then persistence for "Persistent" is active 0.401
And the file I created in the Persistent directory exists 0.139
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.032
Tags: @product
1:28.192
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.774
And the system is very low on memory 4.717
When I create a file in the Persistent directory 1.054
When I try to create a persistent partition 34.374
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.306
When I close the Persistent Storage app 2.591
And I free up some memory 4.372
And I create a persistent partition with the default settings 26.595
Then the file I created was copied to the Persistent Storage 0.404
After features/support/hooks.rb:330 2.816
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.858
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 14.151
Then Tails is running from USB drive "__internal" 0.466
And all tps features are active 3.149
And all persistent directories have safe access rights 3.179
When I disable the first tps feature 6.595
Then all tps features but the first one are active 2.526
And I shutdown Tails and wait for the computer to power off 16.788
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.488
Then all tps features but the first one are active 2.512
After features/support/hooks.rb:330 1.534
After features/support/hooks.rb:100 0.017
Tags: @product
23.173
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 11.507
Then persistence for "Persistent" is active 0.156
And I create a file in the Persistent directory 0.175
Then the file I created was copied to the Persistent Storage 0.217
When I disable the first tps feature 6.819
Then persistence for "Persistent" is not active 0.142
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.921
Then persistence for "Persistent" is active 0.104
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
21.424
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.988
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.179
And I disable the first tps feature 7.192
And I delete the data of the Persistent Folder feature 3.895
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.809
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.986
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.074
And the network is plugged 0.230
And Tor is ready 23.319
And I take note of which tps features are available 0.722
When I write some files expected to persist 1.845
And I shutdown Tails and wait for the computer to power off 9.099
# 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" 28.693
After features/support/hooks.rb:330 0.229
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.126
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 10.614
And the network is plugged 0.363
And Tor is ready 23.104
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 11.023
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.702
And I capture all network traffic 0.011
And the network is plugged 0.087
And Tor is ready 19.325
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.220
After features/support/hooks.rb:330 2.608
After features/support/hooks.rb:100 0.051
Tags: @product
1:2.251
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 13.032
And I enable persistence creation in Tails Greeter 1.441
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.877
Then I create a persistent partition with the default settings using the wizard that was already open 25.900
After features/support/hooks.rb:330 3.556
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.646
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 13.940
When I enable persistence 43.345
Then no persistent Greeter options were restored 15.008
When I set all Greeter options to non-default values 25.834
And I log in to a new session in German (de) after having activated the Persistent Storage 44.308
Then all Greeter options are set to non-default values 0.652
When I cold reboot the computer 9.501
And the computer reboots Tails 1:6.210
Given I enable persistence 18.349
Then persistent Greeter options were restored 0.629
When I log in to a new session after having activated the Persistent Storage 39.897
Then all Greeter options are set to non-default values 0.968
After features/support/hooks.rb:330 2.265
After features/support/hooks.rb:100 0.010
Tags: @product
4:3.056
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.636
# 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 41.853
And I shutdown Tails and wait for the computer to power off 13.142
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.977
And I change the passphrase of the Persistent Storage back to the original 29.447
After features/support/hooks.rb:330 3.261
After features/support/hooks.rb:100 0.007
Tags: @product
57.732
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 10.343
And I log in to a new session without activating the Persistent Storage 23.479
Then persistence is disabled 0.439
But a Tails persistence partition exists on USB drive "__internal" 5.285
And all notifications have disappeared 10.149
When I delete the persistent partition 7.077
Then there is no persistence partition on USB drive "__internal" 0.956
After features/support/hooks.rb:330 1.200
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.119
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 10.872
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 9.221
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.519
Then the expected persistent dotfile is present in the filesystem 0.428
After features/support/hooks.rb:330 1.241
After features/support/hooks.rb:100 0.009
Tags: @product
1:56.445
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.191
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.255
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.725
When I log in to a new session after having activated the Persistent Storage 53.332
And all notifications have disappeared 8.776
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.922
And all tps features are enabled 3.210
And all tps features but the first one are active 1.955
After features/support/hooks.rb:330 2.265
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.045
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:23.643
And I enable persistence 39.395
And I log in to a new session after having activated the Persistent Storage 52.500
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.286
And persistence is enabled 3.218
After features/support/hooks.rb:330 2.358
After features/support/hooks.rb:100 0.000
Tags: @product
33.984
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
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.804
And I enable persistence but something goes wrong during the LUKS header upgrade 23.361
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.817
After features/support/hooks.rb:330 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
52.716
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.020
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.725
When I enable persistence 32.978
Then the filesystem of the Persistent Storage was repaired 0.120
And persistence is successfully enabled 2.870
After features/support/hooks.rb:330 1.890
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.598
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.383
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.711
When I try to enable persistence 0.725
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.479
When I repair the filesystem of the Persistent Storage 2.121
Then the Welcome Screen tells me that the filesystem was repaired successfully 5.586
And the filesystem of the Persistent Storage was repaired 3.746
When I close the filesystem repair dialog 1.267
Then persistence is successfully enabled 1.576
After features/support/hooks.rb:330 2.124
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:9.526
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.872
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.386
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.673
When I repair the filesystem of the Persistent Storage 2.019
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 43.321
And all notifications have disappeared 14.222
# 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.412
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.748
When I close the "whisperback" window 1.860
Then the Tor Browser starts 21.662
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.152
After features/support/hooks.rb:330 3.807
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:20.933
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.586
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.704
And Tails detects disk read failures on the boot device 0.611
When I try to enable persistence 0.418
Then the Welcome Screen tells me that my hardware is probably failing 27.850
When I log in to a new session 1:0.916
And all notifications have disappeared 7.283
Then the Tor Browser starts 26.380
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.183
After features/support/hooks.rb:330 4.484
After features/support/hooks.rb:100 0.000