Project Number Date
test_Tails_ISO_stable 5486 03 Mar 2025, 13:00

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 45:58.612 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.832
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.946
And I update APT using apt 14.314
And I install "python3-behave" using apt 26.044
Then the Tails Persistent Storage behave tests pass 3.527
After features/support/hooks.rb:330 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
48.054
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.837
When I log in to a new session without activating the Persistent Storage 25.003
Then Tails is running from USB drive "__internal" 1.371
And persistence is disabled 0.765
But a Tails persistence partition exists on USB drive "__internal" 9.076
After features/support/hooks.rb:330 2.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.096
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 15.040
Then Tails is running from USB drive "__internal" 0.660
When I create a file in the Persistent directory 0.208
And I create a persistent partition with the default settings 24.085
Then the file I created was copied to the Persistent Storage 0.839
When I shutdown Tails and wait for the computer to power off 13.714
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.046
Then persistence for "Persistent" is active 0.427
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.039
Tags: @product
1:6.089
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.057
And the system is very low on memory 7.649
When I create a file in the Persistent directory 1.114
When I try to create a persistent partition 24.850
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.837
When I close the Persistent Storage app 2.762
And I free up some memory 1.875
And I create a persistent partition with the default settings 14.688
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:330 2.550
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.307
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 15.613
Then Tails is running from USB drive "__internal" 0.462
And all tps features are active 2.645
And all persistent directories have safe access rights 3.263
When I disable the first tps feature 7.083
Then all tps features but the first one are active 2.535
And I shutdown Tails and wait for the computer to power off 11.057
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.884
Then all tps features but the first one are active 2.761
After features/support/hooks.rb:330 1.232
After features/support/hooks.rb:100 0.011
Tags: @product
26.361
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 12.707
Then persistence for "Persistent" is active 0.171
And I create a file in the Persistent directory 0.095
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 7.866
Then persistence for "Persistent" is not active 0.157
And the Persistent directory does not exist 0.113
When I enable the first tps feature 4.915
Then persistence for "Persistent" is active 0.126
And the file I created in the Persistent directory exists 0.115
After features/support/hooks.rb:330 1.766
After features/support/hooks.rb:100 0.000
Tags: @product
24.414
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 11.729
Then persistence for "Persistent" is active 0.243
When I create a file in the Persistent directory 0.145
And I disable the first tps feature 7.516
And I delete the data of the Persistent Folder feature 4.703
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:330 1.693
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.175
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 12.040
And the network is plugged 0.112
And Tor is ready 26.754
And I take note of which tps features are available 0.836
When I write some files expected to persist 1.939
And I shutdown Tails and wait for the computer to power off 9.544
# 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" 27.947
After features/support/hooks.rb:330 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.479
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 11.802
And the network is plugged 0.278
And Tor is ready 21.134
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 8.580
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.679
And I capture all network traffic 0.009
And the network is plugged 0.110
And Tor is ready 20.922
And I switch to the "persistent-con-current" NetworkManager connection 0.416
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.196
After features/support/hooks.rb:330 0.717
After features/support/hooks.rb:100 0.042
Tags: @product
1:49.299
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 1:1.875
And I enable persistence creation in Tails Greeter 1.150
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.605
Then I create a persistent partition with the default settings using the wizard that was already open 24.667
After features/support/hooks.rb:330 2.768
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.372
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 31.902
When I enable persistence 1:30.845
Then no persistent Greeter options were restored 18.835
When I set all Greeter options to non-default values 30.352
And I log in to a new session in German (de) after having activated the Persistent Storage 47.768
Then all Greeter options are set to non-default values 0.547
When I cold reboot the computer 9.871
And the computer reboots Tails 1:7.384
Given I enable persistence 18.993
Then persistent Greeter options were restored 0.568
When I log in to a new session after having activated the Persistent Storage 40.082
Then all Greeter options are set to non-default values 1.220
After features/support/hooks.rb:330 1.723
After features/support/hooks.rb:100 0.008
Tags: @product
4:7.740
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 12.639
# 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 36.531
And I shutdown Tails and wait for the computer to power off 15.235
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.331
And I change the passphrase of the Persistent Storage back to the original 48.002
After features/support/hooks.rb:330 1.708
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.335
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 17.164
And I log in to a new session without activating the Persistent Storage 21.275
Then persistence is disabled 0.419
But a Tails persistence partition exists on USB drive "__internal" 10.610
And all notifications have disappeared 10.060
When I delete the persistent partition 6.206
Then there is no persistence partition on USB drive "__internal" 0.599
After features/support/hooks.rb:330 2.383
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.339
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.347
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 11.177
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.012
Then the expected persistent dotfile is present in the filesystem 0.711
After features/support/hooks.rb:330 1.117
After features/support/hooks.rb:100 0.019
Tags: @product
1:37.439
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 9.658
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.567
When I log in to a new session after having activated the Persistent Storage 34.458
And all notifications have disappeared 7.862
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.073
And all tps features are enabled 3.100
And all tps features but the first one are active 2.326
After features/support/hooks.rb:330 3.206
After features/support/hooks.rb:100 0.000
Tags: @product
5:32.478
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 4:5.234
And I enable persistence 38.644
And I log in to a new session after having activated the Persistent Storage 40.616
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.929
And persistence is enabled 5.054
After features/support/hooks.rb:330 1.794
After features/support/hooks.rb:100 0.000
Tags: @product
48.117
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 24.150
And I enable persistence but something goes wrong during the LUKS header upgrade 23.097
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.869
After features/support/hooks.rb:330 0.941
After features/support/hooks.rb:100 0.000
Tags: @product
49.646
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.709
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.757
When I enable persistence 31.247
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 2.831
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.000
Tags: @product
59.037
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.203
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.102
When I try to enable persistence 0.449
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.904
When I repair the filesystem of the Persistent Storage 1.358
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.437
And the filesystem of the Persistent Storage was repaired 1.579
When I close the filesystem repair dialog 1.348
Then persistence is successfully enabled 1.654
After features/support/hooks.rb:330 2.000
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.070
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.648
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.532
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 40.894
And all notifications have disappeared 10.524
# 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.361
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.582
When I close the "whisperback" window 1.436
Then the Tor Browser starts 21.343
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.024
After features/support/hooks.rb:330 2.179
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.922
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 9.462
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.984
And Tails detects disk read failures on the boot device 1.743
When I try to enable persistence 0.415
Then the Welcome Screen tells me that my hardware is probably failing 21.269
When I log in to a new session 53.129
And all notifications have disappeared 8.737
Then the Tor Browser starts 23.286
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.894
After features/support/hooks.rb:330 2.077
After features/support/hooks.rb:100 0.000