Project Number Date
test_Tails_ISO_stable 5609 29 Apr 2025, 13:08

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:20.434 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.132
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:34.535
And I update APT using apt 13.583
And I install "python3-behave" using apt 22.980
Then the Tails Persistent Storage behave tests pass 3.033
After features/support/hooks.rb:330 0.683
After features/support/hooks.rb:100 0.000
Tags: @product
47.880
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.082
When I log in to a new session without activating the Persistent Storage 24.115
Then Tails is running from USB drive "__internal" 0.629
And persistence is disabled 0.461
But a Tails persistence partition exists on USB drive "__internal" 10.590
After features/support/hooks.rb:330 1.888
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.385
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 15.272
Then Tails is running from USB drive "__internal" 0.495
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 23.896
Then the file I created was copied to the Persistent Storage 2.913
When I shutdown Tails and wait for the computer to power off 13.199
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.008
Then persistence for "Persistent" is active 0.380
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.009
Tags: @product
1:7.417
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 logged in 13.575
And the system is very low on memory 5.024
When I create a file in the Persistent directory 1.885
When I try to create a persistent partition 26.969
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.565
When I close the Persistent Storage app 2.571
And I free up some memory 2.868
And I create a persistent partition with the default settings 13.607
Then the file I created was copied to the Persistent Storage 0.348
After features/support/hooks.rb:330 3.549
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.497
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 13.988
Then Tails is running from USB drive "__internal" 0.514
And all tps features are active 2.282
And all persistent directories have safe access rights 2.611
When I disable the first tps feature 5.804
Then all tps features but the first one are active 1.962
And I shutdown Tails and wait for the computer to power off 15.456
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.596
Then all tps features but the first one are active 2.279
After features/support/hooks.rb:330 1.915
After features/support/hooks.rb:100 0.009
Tags: @product
20.282
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.757
Then persistence for "Persistent" is active 0.131
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.806
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.121
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.457
After features/support/hooks.rb:100 0.000
Tags: @product
19.058
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.699
Then persistence for "Persistent" is active 0.121
When I create a file in the Persistent directory 0.092
And I disable the first tps feature 5.501
And I delete the data of the Persistent Folder feature 3.587
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 2.007
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.103
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.329
And the network is plugged 0.070
And Tor is ready 21.363
And I take note of which tps features are available 0.596
When I write some files expected to persist 1.603
And I shutdown Tails and wait for the computer to power off 8.583
# 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.556
After features/support/hooks.rb:330 0.099
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.612
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.812
And the network is plugged 0.076
And Tor is ready 20.696
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.244
And I shutdown Tails and wait for the computer to power off 8.980
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.384
And I capture all network traffic 0.005
And the network is plugged 0.078
And Tor is ready 21.672
And I switch to the "persistent-con-current" NetworkManager connection 0.395
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:330 0.593
After features/support/hooks.rb:100 0.053
Tags: @product
57.595
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 12.662
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.683
Then I create a persistent partition with the default settings using the wizard that was already open 22.137
After features/support/hooks.rb:330 3.017
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.528
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.356
When I enable persistence 34.388
Then no persistent Greeter options were restored 14.324
When I set all Greeter options to non-default values 27.909
And I log in to a new session in German (de) after having activated the Persistent Storage 57.996
Then all Greeter options are set to non-default values 0.587
When I cold reboot the computer 7.574
And the computer reboots Tails 1:1.811
Given I enable persistence 17.061
Then persistent Greeter options were restored 0.532
When I log in to a new session after having activated the Persistent Storage 41.696
Then all Greeter options are set to non-default values 0.287
After features/support/hooks.rb:330 1.351
After features/support/hooks.rb:100 0.008
Tags: @product
3:36.270
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 14.089
# 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 31.502
And I shutdown Tails and wait for the computer to power off 12.590
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.318
And I change the passphrase of the Persistent Storage back to the original 27.770
After features/support/hooks.rb:330 3.709
After features/support/hooks.rb:100 0.009
Tags: @product
59.340
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.758
And I log in to a new session without activating the Persistent Storage 20.977
Then persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 9.306
And all notifications have disappeared 10.419
When I delete the persistent partition 5.691
Then there is no persistence partition on USB drive "__internal" 0.841
After features/support/hooks.rb:330 1.321
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.948
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 24.259
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 9.440
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.682
Then the expected persistent dotfile is present in the filesystem 0.475
After features/support/hooks.rb:330 1.150
After features/support/hooks.rb:100 0.011
Tags: @product
1:41.168
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.479
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.785
When I log in to a new session after having activated the Persistent Storage 45.125
And all notifications have disappeared 9.169
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.057
And all tps features are enabled 3.172
And all tps features but the first one are active 2.015
After features/support/hooks.rb:330 1.583
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.961
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:40.779
And I enable persistence 31.362
And I log in to a new session after having activated the Persistent Storage 47.735
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.256
And persistence is enabled 2.826
After features/support/hooks.rb:330 2.669
After features/support/hooks.rb:100 0.000
Tags: @product
33.197
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 8.473
And I enable persistence but something goes wrong during the LUKS header upgrade 23.902
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.821
After features/support/hooks.rb:330 0.962
After features/support/hooks.rb:100 0.000
Tags: @product
50.702
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.116
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.531
When I enable persistence 31.323
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.641
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
49.404
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 8.840
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.928
When I try to enable persistence 0.429
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.309
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.445
And the filesystem of the Persistent Storage was repaired 3.253
When I close the filesystem repair dialog 1.346
Then persistence is successfully enabled 1.583
After features/support/hooks.rb:330 1.866
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.454
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.546
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.283
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.043
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 38.555
And all notifications have disappeared 8.092
# 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.726
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.145
When I close the "whisperback" window 1.445
Then the Tor Browser starts 21.171
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.968
After features/support/hooks.rb:330 2.495
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.493
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.273
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.837
And Tails detects disk read failures on the boot device 1.642
When I try to enable persistence 1.443
Then the Welcome Screen tells me that my hardware is probably failing 18.296
When I log in to a new session 50.535
And all notifications have disappeared 8.576
Then the Tor Browser starts 22.039
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.848
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.000