Project Number Date
test_Tails_ISO_stable 5518 17 Mar 2025, 13:01

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 47:9.874 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:25.423
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:32.446
And I update APT using apt 1:23.821
And I install "python3-behave" using apt 25.976
Then the Tails Persistent Storage behave tests pass 3.177
After features/support/hooks.rb:330 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.242
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 12.894
When I log in to a new session without activating the Persistent Storage 29.153
Then Tails is running from USB drive "__internal" 0.632
And persistence is disabled 0.420
But a Tails persistence partition exists on USB drive "__internal" 21.142
After features/support/hooks.rb:330 2.016
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.277
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 without a persistent partition and logged in 13.887
Then Tails is running from USB drive "__internal" 0.481
When I create a file in the Persistent directory 0.165
And I create a persistent partition with the default settings 29.366
Then the file I created was copied to the Persistent Storage 0.600
When I shutdown Tails and wait for the computer to power off 15.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.488
Then persistence for "Persistent" is active 0.483
And the file I created in the Persistent directory exists 0.106
After features/support/hooks.rb:330 6.264
After features/support/hooks.rb:100 0.014
Tags: @product
1:1.992
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 11.614
And the system is very low on memory 4.079
When I create a file in the Persistent directory 1.809
When I try to create a persistent partition 23.329
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.214
When I close the Persistent Storage app 3.361
And I free up some memory 1.583
And I create a persistent partition with the default settings 15.595
Then the file I created was copied to the Persistent Storage 0.405
After features/support/hooks.rb:330 2.352
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.281
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 16.312
Then Tails is running from USB drive "__internal" 0.660
And all tps features are active 2.954
And all persistent directories have safe access rights 3.119
When I disable the first tps feature 6.348
Then all tps features but the first one are active 2.559
And I shutdown Tails and wait for the computer to power off 18.176
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.502
Then all tps features but the first one are active 2.647
After features/support/hooks.rb:330 1.354
After features/support/hooks.rb:100 0.035
Tags: @product
20.624
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.505
Then persistence for "Persistent" is active 0.404
And I create a file in the Persistent directory 0.123
Then the file I created was copied to the Persistent Storage 0.142
When I disable the first tps feature 6.002
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.125
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
24.429
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.962
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 10.470
And I delete the data of the Persistent Folder feature 3.778
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.692
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 persistent partition enabled and logged in 10.623
And the network is plugged 0.094
And Tor is ready 19.245
And I take note of which tps features are available 0.877
When I write some files expected to persist 1.697
And I shutdown Tails and wait for the computer to power off 9.413
# 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.740
After features/support/hooks.rb:330 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.699
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 persistent partition enabled and logged in 10.251
And the network is plugged 0.116
And Tor is ready 22.294
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.232
And I shutdown Tails and wait for the computer to power off 8.656
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.010
And I capture all network traffic 0.013
And the network is plugged 0.090
And Tor is ready 21.324
And I switch to the "persistent-con-current" NetworkManager connection 0.443
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.173
After features/support/hooks.rb:330 0.870
After features/support/hooks.rb:100 0.057
Tags: @product
1:0.344
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 stopped at Tails Greeter's login screen 12.419
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.974
Then I create a persistent partition with the default settings using the wizard that was already open 22.818
After features/support/hooks.rb:330 2.064
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.390
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.009
When I enable persistence 44.015
Then no persistent Greeter options were restored 14.686
When I set all Greeter options to non-default values 29.236
And I log in to a new session in German (de) after having activated the Persistent Storage 57.143
Then all Greeter options are set to non-default values 0.561
When I cold reboot the computer 7.703
And the computer reboots Tails 1:6.780
Given I enable persistence 17.992
Then persistent Greeter options were restored 0.502
When I log in to a new session after having activated the Persistent Storage 41.132
Then all Greeter options are set to non-default values 0.626
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.009
Tags: @product
3:56.352
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.021
# 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.961
And I shutdown Tails and wait for the computer to power off 12.783
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.241
And I change the passphrase of the Persistent Storage back to the original 34.344
After features/support/hooks.rb:330 1.815
After features/support/hooks.rb:100 0.010
Tags: @product
1:13.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 11.921
And I log in to a new session without activating the Persistent Storage 27.303
Then persistence is disabled 0.470
But a Tails persistence partition exists on USB drive "__internal" 12.319
And all notifications have disappeared 15.381
When I delete the persistent partition 6.050
Then there is no persistence partition on USB drive "__internal" 0.471
After features/support/hooks.rb:330 1.727
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.034
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.237
When I write some dotfile expected to persist 0.472
And I shutdown Tails and wait for the computer to power off 11.833
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.018
Then the expected persistent dotfile is present in the filesystem 0.471
After features/support/hooks.rb:330 1.090
After features/support/hooks.rb:100 0.011
Tags: @product
1:46.172
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.140
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.312
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.014
When I log in to a new session after having activated the Persistent Storage 40.497
And all notifications have disappeared 9.749
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.514
And all tps features are enabled 2.914
And all tps features but the first one are active 2.931
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
7:12.379
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 5:34.266
And I enable persistence 44.773
And I log in to a new session after having activated the Persistent Storage 47.142
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.662
And persistence is enabled 3.534
After features/support/hooks.rb:330 1.877
After features/support/hooks.rb:100 0.000
Tags: @product
34.121
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.173
And I enable persistence but something goes wrong during the LUKS header upgrade 24.168
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.778
After features/support/hooks.rb:330 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
56.035
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.423
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.779
When I enable persistence 32.902
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.834
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
53.290
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.432
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.951
When I try to enable persistence 0.370
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.337
When I repair the filesystem of the Persistent Storage 1.345
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.915
And the filesystem of the Persistent Storage was repaired 1.248
When I close the filesystem repair dialog 5.101
Then persistence is successfully enabled 1.586
After features/support/hooks.rb:330 1.838
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.237
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.902
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.277
When I try to enable persistence 0.327
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.136
When I repair the filesystem of the Persistent Storage 5.159
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 47.143
And all notifications have disappeared 11.420
# 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.694
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.597
When I close the "whisperback" window 1.539
Then the Tor Browser starts 21.740
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.213
After features/support/hooks.rb:330 2.418
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.932
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 10.012
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.326
And Tails detects disk read failures on the boot device 1.673
When I try to enable persistence 0.483
Then the Welcome Screen tells me that my hardware is probably failing 19.048
When I log in to a new session 46.761
And all notifications have disappeared 8.737
Then the Tor Browser starts 26.765
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.122
After features/support/hooks.rb:330 2.630
After features/support/hooks.rb:100 0.000