Project Number Date
test_Tails_ISO_stable 5564 10 Apr 2025, 13:24

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 41:35.446 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:17.026
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:36.681
And I update APT using apt 1:13.753
And I install "python3-behave" using apt 23.401
Then the Tails Persistent Storage behave tests pass 3.190
After features/support/hooks.rb:330 0.668
After features/support/hooks.rb:100 0.000
Tags: @product
41.840
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 and stopped at Tails Greeter's login screen 10.988
When I log in to a new session without activating the Persistent Storage 22.554
Then Tails is running from USB drive "__internal" 0.462
And persistence is disabled 0.442
But a Tails persistence partition exists on USB drive "__internal" 7.392
After features/support/hooks.rb:330 2.489
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.488
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 12.862
Then Tails is running from USB drive "__internal" 0.500
When I create a file in the Persistent directory 0.194
And I create a persistent partition with the default settings 23.765
Then the file I created was copied to the Persistent Storage 1.967
When I shutdown Tails and wait for the computer to power off 12.793
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.122
Then persistence for "Persistent" is active 0.301
And the file I created in the Persistent directory exists 0.981
After features/support/hooks.rb:330 1.749
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.167
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 logged in 10.356
And the system is very low on memory 4.250
When I create a file in the Persistent directory 2.086
When I try to create a persistent partition 25.696
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.198
When I close the Persistent Storage app 2.604
And I free up some memory 2.903
And I create a persistent partition with the default settings 13.769
Then the file I created was copied to the Persistent Storage 0.300
After features/support/hooks.rb:330 2.378
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.344
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 13.972
Then Tails is running from USB drive "__internal" 0.486
And all tps features are active 2.317
And all persistent directories have safe access rights 2.733
When I disable the first tps feature 6.290
Then all tps features but the first one are active 2.577
And I shutdown Tails and wait for the computer to power off 13.055
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.779
Then all tps features but the first one are active 2.130
After features/support/hooks.rb:330 1.131
After features/support/hooks.rb:100 0.008
Tags: @product
24.086
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.291
Then persistence for "Persistent" is active 0.421
And I create a file in the Persistent directory 0.123
Then the file I created was copied to the Persistent Storage 0.115
When I disable the first tps feature 9.671
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.187
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.659
After features/support/hooks.rb:100 0.000
Tags: @product
20.038
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.626
Then persistence for "Persistent" is active 0.277
When I create a file in the Persistent directory 0.137
And I disable the first tps feature 6.185
And I delete the data of the Persistent Folder feature 3.747
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 1.631
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.278
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.396
And the network is plugged 0.100
And Tor is ready 23.437
And I take note of which tps features are available 0.565
When I write some files expected to persist 1.625
And I shutdown Tails and wait for the computer to power off 8.774
# 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.377
After features/support/hooks.rb:330 0.131
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.426
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.143
And the network is plugged 0.072
And Tor is ready 20.646
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 8.831
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.207
And I capture all network traffic 0.010
And the network is plugged 0.074
And Tor is ready 18.694
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:330 0.571
After features/support/hooks.rb:100 0.042
Tags: @product
1:0.402
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 stopped at Tails Greeter's login screen 12.443
And I enable persistence creation in Tails Greeter 1.415
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.759
Then I create a persistent partition with the default settings using the wizard that was already open 23.784
After features/support/hooks.rb:330 2.840
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.133
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 14.202
When I enable persistence 38.145
Then no persistent Greeter options were restored 14.135
When I set all Greeter options to non-default values 25.938
And I log in to a new session in German (de) after having activated the Persistent Storage 50.774
Then all Greeter options are set to non-default values 0.506
When I cold reboot the computer 7.381
And the computer reboots Tails 1:5.431
Given I enable persistence 17.755
Then persistent Greeter options were restored 0.481
When I log in to a new session after having activated the Persistent Storage 39.985
Then all Greeter options are set to non-default values 0.394
After features/support/hooks.rb:330 1.873
After features/support/hooks.rb:100 0.010
Tags: @product
3:57.231
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 enabled and logged in 10.087
# 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 45.732
And I shutdown Tails and wait for the computer to power off 14.895
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.785
And I change the passphrase of the Persistent Storage back to the original 39.730
After features/support/hooks.rb:330 3.515
After features/support/hooks.rb:100 0.010
Tags: @product
55.613
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.261
And I log in to a new session without activating the Persistent Storage 22.090
Then persistence is disabled 0.458
But a Tails persistence partition exists on USB drive "__internal" 7.317
And all notifications have disappeared 8.666
When I delete the persistent partition 5.760
Then there is no persistence partition on USB drive "__internal" 1.057
After features/support/hooks.rb:330 1.631
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.306
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.466
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 10.731
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.671
Then the expected persistent dotfile is present in the filesystem 0.348
After features/support/hooks.rb:330 1.408
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.581
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.243
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.840
When I log in to a new session after having activated the Persistent Storage 41.688
And all notifications have disappeared 7.891
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.819
And all tps features are enabled 2.848
And all tps features but the first one are active 1.884
After features/support/hooks.rb:330 1.948
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.448
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 3:6.320
And I enable persistence 31.308
And I log in to a new session after having activated the Persistent Storage 48.449
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.522
And persistence is enabled 2.848
After features/support/hooks.rb:330 1.904
After features/support/hooks.rb:100 0.000
Tags: @product
44.565
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 25.026
And I enable persistence but something goes wrong during the LUKS header upgrade 18.794
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:330 0.743
After features/support/hooks.rb:100 0.000
Tags: @product
45.634
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.019
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.370
When I enable persistence 28.473
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.674
After features/support/hooks.rb:330 1.923
After features/support/hooks.rb:100 0.000
Tags: @product
51.590
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.892
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.639
When I try to enable persistence 0.429
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.524
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.360
And the filesystem of the Persistent Storage was repaired 3.755
When I close the filesystem repair dialog 1.247
Then persistence is successfully enabled 1.473
After features/support/hooks.rb:330 2.023
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.193
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.122
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.367
When I try to enable persistence 0.528
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.625
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 44.188
And all notifications have disappeared 7.325
# 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.476
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.119
When I close the "whisperback" window 1.335
Then the Tor Browser starts 20.696
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.041
After features/support/hooks.rb:330 1.948
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.049
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.878
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.931
And Tails detects disk read failures on the boot device 0.599
When I try to enable persistence 0.416
Then the Welcome Screen tells me that my hardware is probably failing 18.966
When I log in to a new session 53.111
And all notifications have disappeared 7.798
Then the Tor Browser starts 21.326
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.021
After features/support/hooks.rb:330 1.857
After features/support/hooks.rb:100 0.000