Project Number Date
test_Tails_ISO_stable 5507 11 Mar 2025, 12:28

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 40:4.954 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.966
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:35.548
And I update APT using apt 12.895
And I install "python3-behave" using apt 25.483
Then the Tails Persistent Storage behave tests pass 3.037
After features/support/hooks.rb:330 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
51.130
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 13.369
When I log in to a new session without activating the Persistent Storage 23.604
Then Tails is running from USB drive "__internal" 0.678
And persistence is disabled 0.412
But a Tails persistence partition exists on USB drive "__internal" 13.065
After features/support/hooks.rb:330 1.756
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.531
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 16.141
Then Tails is running from USB drive "__internal" 0.462
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 24.035
Then the file I created was copied to the Persistent Storage 0.751
When I shutdown Tails and wait for the computer to power off 15.335
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.158
Then persistence for "Persistent" is active 0.384
And the file I created in the Persistent directory exists 0.120
After features/support/hooks.rb:330 1.781
After features/support/hooks.rb:100 0.038
Tags: @product
1:7.717
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 11.876
And the system is very low on memory 4.693
When I create a file in the Persistent directory 1.563
When I try to create a persistent partition 30.187
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.391
When I close the Persistent Storage app 3.027
And I free up some memory 1.690
And I create a persistent partition with the default settings 14.028
Then the file I created was copied to the Persistent Storage 0.257
After features/support/hooks.rb:330 2.240
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.427
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 12.289
Then Tails is running from USB drive "__internal" 0.642
And all tps features are active 2.651
And all persistent directories have safe access rights 3.216
When I disable the first tps feature 6.187
Then all tps features but the first one are active 1.942
And I shutdown Tails and wait for the computer to power off 13.093
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.280
Then all tps features but the first one are active 2.123
After features/support/hooks.rb:330 1.701
After features/support/hooks.rb:100 0.016
Tags: @product
21.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 enabled and logged in 11.854
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 5.806
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.175
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 0.922
After features/support/hooks.rb:100 0.000
Tags: @product
20.655
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.058
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.140
And I disable the first tps feature 6.666
And I delete the data of the Persistent Folder feature 3.633
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.613
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.228
And the network is plugged 0.072
And Tor is ready 22.556
And I take note of which tps features are available 0.689
When I write some files expected to persist 1.527
And I shutdown Tails and wait for the computer to power off 8.741
# 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.798
After features/support/hooks.rb:330 0.113
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.580
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.915
And the network is plugged 0.073
And Tor is ready 19.588
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.241
And I shutdown Tails and wait for the computer to power off 11.241
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.879
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 19.911
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.150
After features/support/hooks.rb:330 0.918
After features/support/hooks.rb:100 0.044
Tags: @product
1:2.009
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.096
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.163
Then I create a persistent partition with the default settings using the wizard that was already open 22.637
After features/support/hooks.rb:330 2.385
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.379
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 12.210
When I enable persistence 33.581
Then no persistent Greeter options were restored 15.557
When I set all Greeter options to non-default values 23.861
And I log in to a new session in German (de) after having activated the Persistent Storage 44.627
Then all Greeter options are set to non-default values 0.675
When I cold reboot the computer 7.653
And the computer reboots Tails 59.959
Given I enable persistence 19.710
Then persistent Greeter options were restored 0.515
When I log in to a new session after having activated the Persistent Storage 35.565
Then all Greeter options are set to non-default values 0.460
After features/support/hooks.rb:330 1.667
After features/support/hooks.rb:100 0.007
Tags: @product
3:36.607
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.681
# 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 33.548
And I shutdown Tails and wait for the computer to power off 12.717
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.907
And I change the passphrase of the Persistent Storage back to the original 39.752
After features/support/hooks.rb:330 1.774
After features/support/hooks.rb:100 0.007
Tags: @product
1:4.630
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.777
And I log in to a new session without activating the Persistent Storage 21.115
Then persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 13.056
And all notifications have disappeared 12.640
When I delete the persistent partition 6.277
Then there is no persistence partition on USB drive "__internal" 0.429
After features/support/hooks.rb:330 1.134
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.182
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.717
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 8.797
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.148
Then the expected persistent dotfile is present in the filesystem 0.455
After features/support/hooks.rb:330 1.169
After features/support/hooks.rb:100 0.009
Tags: @product
1:44.118
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.447
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.320
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.387
When I log in to a new session after having activated the Persistent Storage 43.337
And all notifications have disappeared 9.345
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.405
And all tps features are enabled 2.344
And all tps features but the first one are active 2.418
After features/support/hooks.rb:330 1.235
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.799
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 2:55.696
And I enable persistence 37.520
And I log in to a new session after having activated the Persistent Storage 47.727
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.888
And persistence is enabled 2.965
After features/support/hooks.rb:330 1.311
After features/support/hooks.rb:100 0.000
Tags: @product
31.535
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.232
And I enable persistence but something goes wrong during the LUKS header upgrade 21.511
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.791
After features/support/hooks.rb:330 0.813
After features/support/hooks.rb:100 0.000
Tags: @product
45.101
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.261
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.999
When I enable persistence 26.825
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.928
After features/support/hooks.rb:330 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
47.919
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.286
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.689
When I try to enable persistence 1.496
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.463
When I repair the filesystem of the Persistent Storage 1.287
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.645
And the filesystem of the Persistent Storage was repaired 1.172
When I close the filesystem repair dialog 1.282
Then persistence is successfully enabled 1.596
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.517
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 8.809
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.445
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.182
When I repair the filesystem of the Persistent Storage 1.249
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.109
When I log in to a new session 40.049
And all notifications have disappeared 8.977
# 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.467
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.312
When I close the "whisperback" window 1.513
Then the Tor Browser starts 20.466
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.803
After features/support/hooks.rb:330 1.632
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.119
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 8.830
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.901
And Tails detects disk read failures on the boot device 1.608
When I try to enable persistence 1.459
Then the Welcome Screen tells me that my hardware is probably failing 19.498
When I log in to a new session 45.334
And all notifications have disappeared 8.163
Then the Tor Browser starts 22.535
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.787
After features/support/hooks.rb:330 1.910
After features/support/hooks.rb:100 0.000