Project Number Date
test_Tails_ISO_stable 5530 25 Mar 2025, 12: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 44:7.477 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:21.707
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:40.620
And I update APT using apt 1:42.454
And I install "python3-behave" using apt 56.458
Then the Tails Persistent Storage behave tests pass 2.173
After features/support/hooks.rb:330 0.716
After features/support/hooks.rb:100 0.000
Tags: @product
40.641
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.180
When I log in to a new session without activating the Persistent Storage 21.330
Then Tails is running from USB drive "__internal" 0.479
And persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 7.317
After features/support/hooks.rb:330 1.873
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.391
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 12.181
Then Tails is running from USB drive "__internal" 0.412
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 27.271
Then the file I created was copied to the Persistent Storage 0.634
When I shutdown Tails and wait for the computer to power off 15.157
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.799
Then persistence for "Persistent" is active 0.721
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 0.715
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.804
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 11.181
And the system is very low on memory 4.333
When I create a file in the Persistent directory 0.900
When I try to create a persistent partition 28.726
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.318
When I close the Persistent Storage app 2.573
And I free up some memory 2.384
And I create a persistent partition with the default settings 14.145
Then the file I created was copied to the Persistent Storage 0.241
After features/support/hooks.rb:330 2.470
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.984
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 13.998
Then Tails is running from USB drive "__internal" 0.548
And all tps features are active 2.603
And all persistent directories have safe access rights 2.867
When I disable the first tps feature 6.288
Then all tps features but the first one are active 2.288
And I shutdown Tails and wait for the computer to power off 15.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.389
Then all tps features but the first one are active 2.294
After features/support/hooks.rb:330 0.886
After features/support/hooks.rb:100 0.008
Tags: @product
20.819
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.596
Then persistence for "Persistent" is active 0.106
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 6.156
Then persistence for "Persistent" is not active 0.141
And the Persistent directory does not exist 0.078
When I enable the first tps feature 3.373
Then persistence for "Persistent" is active 0.133
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.466
After features/support/hooks.rb:100 0.000
Tags: @product
21.559
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.000
Then persistence for "Persistent" is active 0.129
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.413
And I delete the data of the Persistent Folder feature 4.824
Then the file I created does not exist on the Persistent Storage 0.100
After features/support/hooks.rb:330 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.031
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 9.923
And the network is plugged 0.119
And Tor is ready 20.048
And I take note of which tps features are available 0.771
When I write some files expected to persist 1.681
And I shutdown Tails and wait for the computer to power off 9.425
# 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.060
After features/support/hooks.rb:330 0.169
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.890
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 9.965
And the network is plugged 0.118
And Tor is ready 21.612
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 9.008
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.027
And I capture all network traffic 0.009
And the network is plugged 0.091
And Tor is ready 20.228
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.113
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:330 3.128
After features/support/hooks.rb:100 0.062
Tags: @product
1:3.801
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 without a persistent partition and stopped at Tails Greeter's login screen 14.532
And I enable persistence creation in Tails Greeter 1.157
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.781
Then I create a persistent partition with the default settings using the wizard that was already open 22.330
After features/support/hooks.rb:330 2.409
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.402
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 24.479
When I enable persistence 49.489
Then no persistent Greeter options were restored 15.067
When I set all Greeter options to non-default values 26.001
And I log in to a new session in German (de) after having activated the Persistent Storage 41.197
Then all Greeter options are set to non-default values 0.616
When I cold reboot the computer 7.624
And the computer reboots Tails 1:1.608
Given I enable persistence 19.540
Then persistent Greeter options were restored 0.618
When I log in to a new session after having activated the Persistent Storage 39.545
Then all Greeter options are set to non-default values 0.613
After features/support/hooks.rb:330 2.118
After features/support/hooks.rb:100 0.012
Tags: @product
3:48.132
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.126
# 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 34.701
And I shutdown Tails and wait for the computer to power off 12.920
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.047
And I change the passphrase of the Persistent Storage back to the original 36.336
After features/support/hooks.rb:330 2.570
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.939
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.199
And I log in to a new session without activating the Persistent Storage 21.618
Then persistence is disabled 0.295
But a Tails persistence partition exists on USB drive "__internal" 11.426
And all notifications have disappeared 10.241
When I delete the persistent partition 5.624
Then there is no persistence partition on USB drive "__internal" 0.533
After features/support/hooks.rb:330 1.700
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.567
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.214
When I write some dotfile expected to persist 0.095
And I shutdown Tails and wait for the computer to power off 11.153
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.535
Then the expected persistent dotfile is present in the filesystem 0.567
After features/support/hooks.rb:330 1.217
After features/support/hooks.rb:100 0.008
Tags: @product
1:48.074
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 8.873
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.282
When I log in to a new session after having activated the Persistent Storage 47.699
And all notifications have disappeared 7.879
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.430
And all tps features are enabled 2.367
And all tps features but the first one are active 2.135
After features/support/hooks.rb:330 2.005
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.305
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 3:26.459
And I enable persistence 33.536
And I log in to a new session after having activated the Persistent Storage 46.512
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.100
And persistence is enabled 2.697
After features/support/hooks.rb:330 1.932
After features/support/hooks.rb:100 0.000
Tags: @product
54.592
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 24.105
And I enable persistence but something goes wrong during the LUKS header upgrade 29.621
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.865
After features/support/hooks.rb:330 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
51.530
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.082
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.473
When I enable persistence 28.858
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 3.019
After features/support/hooks.rb:330 4.507
After features/support/hooks.rb:100 0.000
Tags: @product
48.398
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.579
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.935
When I try to enable persistence 0.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.284
When I repair the filesystem of the Persistent Storage 5.133
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.493
And the filesystem of the Persistent Storage was repaired 1.493
When I close the filesystem repair dialog 1.571
Then persistence is successfully enabled 1.458
After features/support/hooks.rb:330 2.494
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.001
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 10.042
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.457
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 36.036
And all notifications have disappeared 8.714
# 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.399
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.319
When I close the "whisperback" window 1.565
Then the Tor Browser starts 20.857
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.853
After features/support/hooks.rb:330 3.797
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.899
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.739
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.563
And Tails detects disk read failures on the boot device 1.532
When I try to enable persistence 0.493
Then the Welcome Screen tells me that my hardware is probably failing 23.591
When I log in to a new session 48.377
And all notifications have disappeared 9.822
Then the Tor Browser starts 20.867
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.911
After features/support/hooks.rb:330 2.055
After features/support/hooks.rb:100 0.000