Project Number Date
test_Tails_ISO_stable 5563 10 Apr 2025, 10: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 55:9.296 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:47.404
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:52.924
And I update APT using apt 1:54.518
And I install "python3-behave" using apt 57.328
Then the Tails Persistent Storage behave tests pass 2.633
After features/support/hooks.rb:330 0.691
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.998
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 27.142
When I log in to a new session without activating the Persistent Storage 26.524
Then Tails is running from USB drive "__internal" 0.646
And persistence is disabled 0.362
But a Tails persistence partition exists on USB drive "__internal" 8.322
After features/support/hooks.rb:330 1.593
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.107
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 without a persistent partition and logged in 25.392
Then Tails is running from USB drive "__internal" 1.079
When I create a file in the Persistent directory 0.180
And I create a persistent partition with the default settings 29.647
Then the file I created was copied to the Persistent Storage 3.398
When I shutdown Tails and wait for the computer to power off 13.591
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.733
Then persistence for "Persistent" is active 0.975
And the file I created in the Persistent directory exists 0.110
After features/support/hooks.rb:330 2.836
After features/support/hooks.rb:100 0.013
Tags: @product
1:10.142
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 without a persistent partition and logged in 14.634
And the system is very low on memory 4.528
When I create a file in the Persistent directory 1.959
When I try to create a persistent partition 26.946
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.498
When I close the Persistent Storage app 2.674
And I free up some memory 3.231
And I create a persistent partition with the default settings 15.300
Then the file I created was copied to the Persistent Storage 0.367
After features/support/hooks.rb:330 2.401
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.050
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 17.234
Then Tails is running from USB drive "__internal" 0.439
And all tps features are active 2.918
And all persistent directories have safe access rights 3.206
When I disable the first tps feature 6.680
Then all tps features but the first one are active 2.905
And I shutdown Tails and wait for the computer to power off 13.993
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.564
Then all tps features but the first one are active 3.106
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.016
Tags: @product
20.822
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.498
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.192
Then the file I created was copied to the Persistent Storage 0.146
When I disable the first tps feature 6.272
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.290
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:330 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
20.020
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.873
Then persistence for "Persistent" is active 0.139
When I create a file in the Persistent directory 0.134
And I disable the first tps feature 6.060
And I delete the data of the Persistent Folder feature 3.758
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.172
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.381
And the network is plugged 0.138
And Tor is ready 19.072
And I take note of which tps features are available 0.809
When I write some files expected to persist 1.819
And I shutdown Tails and wait for the computer to power off 8.576
# 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" 26.375
After features/support/hooks.rb:330 0.172
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.639
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.860
And the network is plugged 0.116
And Tor is ready 20.865
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 11.028
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.222
And I capture all network traffic 0.008
And the network is plugged 0.731
And Tor is ready 18.909
And I switch to the "persistent-con-current" NetworkManager connection 0.421
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.182
After features/support/hooks.rb:330 0.667
After features/support/hooks.rb:100 0.059
Tags: @product
1:43.821
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 50.115
And I enable persistence creation in Tails Greeter 1.137
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.310
Then I create a persistent partition with the default settings using the wizard that was already open 29.257
After features/support/hooks.rb:330 4.152
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.363
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 33.337
When I enable persistence 42.763
Then no persistent Greeter options were restored 14.775
When I set all Greeter options to non-default values 26.856
And I log in to a new session in German (de) after having activated the Persistent Storage 47.253
Then all Greeter options are set to non-default values 0.700
When I cold reboot the computer 7.576
And the computer reboots Tails 1:6.209
Given I enable persistence 22.860
Then persistent Greeter options were restored 0.649
When I log in to a new session after having activated the Persistent Storage 34.160
Then all Greeter options are set to non-default values 0.219
After features/support/hooks.rb:330 2.298
After features/support/hooks.rb:100 0.010
Tags: @product
4:25.683
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.994
# 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 38.192
And I shutdown Tails and wait for the computer to power off 12.860
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:45.555
And I change the passphrase of the Persistent Storage back to the original 37.080
After features/support/hooks.rb:330 2.764
After features/support/hooks.rb:100 0.013
Tags: @product
1:14.512
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 16.094
And I log in to a new session without activating the Persistent Storage 25.164
Then persistence is disabled 0.456
But a Tails persistence partition exists on USB drive "__internal" 11.190
And all notifications have disappeared 14.191
When I delete the persistent partition 6.423
Then there is no persistence partition on USB drive "__internal" 0.991
After features/support/hooks.rb:330 1.659
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.873
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.558
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 9.070
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.810
Then the expected persistent dotfile is present in the filesystem 0.363
After features/support/hooks.rb:330 1.888
After features/support/hooks.rb:100 0.011
Tags: @product
2:5.562
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 and stopped at Tails Greeter's login screen 14.710
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.117
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 49.095
When I log in to a new session after having activated the Persistent Storage 43.664
And all notifications have disappeared 7.578
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.496
And all tps features are enabled 2.958
And all tps features but the first one are active 2.663
After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.000
Tags: @product
9:51.527
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 8:18.354
And I enable persistence 38.430
And I log in to a new session after having activated the Persistent Storage 50.039
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.606
And persistence is enabled 3.096
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000
Tags: @product
41.698
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.111
And I enable persistence but something goes wrong during the LUKS header upgrade 30.609
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.977
After features/support/hooks.rb:330 1.125
After features/support/hooks.rb:100 0.000
Tags: @product
57.115
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 11.170
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.188
When I enable persistence 33.527
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 3.137
After features/support/hooks.rb:330 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.016
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 9.383
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.807
When I try to enable persistence 1.544
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.291
When I repair the filesystem of the Persistent Storage 1.354
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.013
And the filesystem of the Persistent Storage was repaired 5.194
When I close the filesystem repair dialog 1.310
Then persistence is successfully enabled 2.117
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:35.149
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.895
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.211
When I try to enable persistence 0.293
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 43.932
When I repair the filesystem of the Persistent Storage 1.483
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.112
When I log in to a new session 1:0.851
And all notifications have disappeared 12.328
# 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.839
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.906
When I close the "whisperback" window 1.594
Then the Tor Browser starts 20.571
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.127
After features/support/hooks.rb:330 2.699
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.614
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.806
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.901
And Tails detects disk read failures on the boot device 1.638
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 24.480
When I log in to a new session 55.872
And all notifications have disappeared 9.797
Then the Tor Browser starts 24.709
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.994
After features/support/hooks.rb:330 3.933
After features/support/hooks.rb:100 0.000