Project Number Date
test_Tails_ISO_devel 3798 01 May 2025, 13:44

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:1.228 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:37.997
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:50.662
And I update APT using apt 14.428
And I install "python3-behave" using apt 29.811
Then the Tails Persistent Storage behave tests pass 3.094
After features/support/hooks.rb:330 2.221
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.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 with a persistent partition and stopped at Tails Greeter's login screen 27.300
When I log in to a new session without activating the Persistent Storage 32.192
Then Tails is running from USB drive "__internal" 0.717
And persistence is disabled 0.587
But a Tails persistence partition exists on USB drive "__internal" 12.764
After features/support/hooks.rb:330 2.924
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.445
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 without a persistent partition and logged in 17.843
Then Tails is running from USB drive "__internal" 0.803
When I create a file in the Persistent directory 0.149
And I create a persistent partition with the default settings 36.356
Then the file I created was copied to the Persistent Storage 2.545
When I shutdown Tails and wait for the computer to power off 15.150
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.988
Then persistence for "Persistent" is active 0.471
And the file I created in the Persistent directory exists 0.135
After features/support/hooks.rb:330 3.107
After features/support/hooks.rb:100 0.012
Tags: @product
1:21.186
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 without a persistent partition and logged in 19.341
And the system is very low on memory 3.830
When I create a file in the Persistent directory 2.588
When I try to create a persistent partition 26.380
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.228
When I close the Persistent Storage app 2.623
And I free up some memory 5.176
And I create a persistent partition with the default settings 20.680
Then the file I created was copied to the Persistent Storage 0.337
After features/support/hooks.rb:330 2.764
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.897
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 23.871
Then Tails is running from USB drive "__internal" 0.627
And all tps features are active 5.314
And all persistent directories have safe access rights 2.775
When I disable the first tps feature 7.390
Then all tps features but the first one are active 2.882
And I shutdown Tails and wait for the computer to power off 14.008
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.603
Then all tps features but the first one are active 3.423
After features/support/hooks.rb:330 1.312
After features/support/hooks.rb:100 0.014
Tags: @product
23.485
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.995
Then persistence for "Persistent" is active 0.106
And I create a file in the Persistent directory 0.353
Then the file I created was copied to the Persistent Storage 0.196
When I disable the first tps feature 6.754
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.724
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.111
After features/support/hooks.rb:330 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
21.470
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 10.726
Then persistence for "Persistent" is active 0.143
When I create a file in the Persistent directory 0.133
And I disable the first tps feature 6.182
And I delete the data of the Persistent Folder feature 4.215
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.891
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.697
And the network is plugged 0.092
And Tor is ready 23.595
And I take note of which tps features are available 0.788
When I write some files expected to persist 1.856
And I shutdown Tails and wait for the computer to power off 8.984
# 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.877
After features/support/hooks.rb:330 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.006
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.329
And the network is plugged 0.094
And Tor is ready 20.922
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 11.378
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.444
And I capture all network traffic 0.005
And the network is plugged 0.095
And Tor is ready 23.801
And I switch to the "persistent-con-current" NetworkManager connection 0.455
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.188
After features/support/hooks.rb:330 0.821
After features/support/hooks.rb:100 0.070
Tags: @product
1:4.902
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.798
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.924
Then I create a persistent partition with the default settings using the wizard that was already open 25.036
After features/support/hooks.rb:330 2.988
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.956
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 15.349
When I enable persistence 46.234
Then no persistent Greeter options were restored 14.628
When I set all Greeter options to non-default values 26.653
And I log in to a new session in German (de) after having activated the Persistent Storage 55.922
Then all Greeter options are set to non-default values 0.876
When I cold reboot the computer 7.609
And the computer reboots Tails 1:4.901
Given I enable persistence 19.012
Then persistent Greeter options were restored 0.787
When I log in to a new session after having activated the Persistent Storage 48.630
Then all Greeter options are set to non-default values 0.349
After features/support/hooks.rb:330 1.137
After features/support/hooks.rb:100 0.011
Tags: @product
4:21.585
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 10.793
# 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 39.431
And I shutdown Tails and wait for the computer to power off 15.456
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:38.385
And I change the passphrase of the Persistent Storage back to the original 37.518
After features/support/hooks.rb:330 2.466
After features/support/hooks.rb:100 0.020
Tags: @product
1:7.808
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.494
And I log in to a new session without activating the Persistent Storage 23.957
Then persistence is disabled 0.528
But a Tails persistence partition exists on USB drive "__internal" 15.611
And all notifications have disappeared 9.526
When I delete the persistent partition 7.408
Then there is no persistence partition on USB drive "__internal" 0.281
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.613
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 10.241
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 11.916
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.890
Then the expected persistent dotfile is present in the filesystem 0.507
After features/support/hooks.rb:330 0.799
After features/support/hooks.rb:100 0.016
Tags: @product
1:55.146
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.528
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.770
When I log in to a new session after having activated the Persistent Storage 50.596
And all notifications have disappeared 8.499
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.227
And all tps features are enabled 3.669
And all tps features but the first one are active 2.456
After features/support/hooks.rb:330 2.081
After features/support/hooks.rb:100 0.000
Tags: @product
10:3.727
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 8:36.973
And I enable persistence 31.095
And I log in to a new session after having activated the Persistent Storage 50.445
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.515
And persistence is enabled 2.697
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
29.169
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 10.273
And I enable persistence but something goes wrong during the LUKS header upgrade 18.003
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.893
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
52.930
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.201
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.724
When I enable persistence 33.917
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.996
After features/support/hooks.rb:330 2.999
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.456
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 10.201
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.571
When I try to enable persistence 1.545
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.425
When I repair the filesystem of the Persistent Storage 1.954
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.043
And the filesystem of the Persistent Storage was repaired 3.771
When I close the filesystem repair dialog 1.310
Then persistence is successfully enabled 1.631
After features/support/hooks.rb:330 2.665
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.639
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.133
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.250
When I repair the filesystem of the Persistent Storage 2.380
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 42.718
And all notifications have disappeared 8.631
# 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" 1.075
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.643
When I close the "whisperback" window 1.446
Then the Tor Browser starts 23.739
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.998
After features/support/hooks.rb:330 2.736
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.346
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.008
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.202
And Tails detects disk read failures on the boot device 0.529
When I try to enable persistence 1.839
Then the Welcome Screen tells me that my hardware is probably failing 26.136
When I log in to a new session 53.993
And all notifications have disappeared 10.217
Then the Tor Browser starts 24.421
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.998
After features/support/hooks.rb:330 2.700
After features/support/hooks.rb:100 0.000