Project Number Date
test_Tails_ISO_stable 5612 30 Apr 2025, 08:58

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:22.300 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.788
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:42.322
And I update APT using apt 16.302
And I install "python3-behave" using apt 23.304
Then the Tails Persistent Storage behave tests pass 3.859
After features/support/hooks.rb:330 0.829
After features/support/hooks.rb:100 0.000
Tags: @product
50.348
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.849
When I log in to a new session without activating the Persistent Storage 28.946
Then Tails is running from USB drive "__internal" 0.552
And persistence is disabled 0.440
But a Tails persistence partition exists on USB drive "__internal" 8.559
After features/support/hooks.rb:330 1.726
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.994
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 12.729
Then Tails is running from USB drive "__internal" 0.419
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 23.991
Then the file I created was copied to the Persistent Storage 2.099
When I shutdown Tails and wait for the computer to power off 12.864
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.245
Then persistence for "Persistent" is active 0.397
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:330 2.705
After features/support/hooks.rb:100 0.017
Tags: @product
1:11.143
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 13.189
And the system is very low on memory 6.060
When I create a file in the Persistent directory 1.246
When I try to create a persistent partition 30.086
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.181
When I close the Persistent Storage app 2.563
And I free up some memory 3.790
And I create a persistent partition with the default settings 13.682
Then the file I created was copied to the Persistent Storage 0.342
After features/support/hooks.rb:330 2.216
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.649
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 27.929
Then Tails is running from USB drive "__internal" 0.800
And all tps features are active 2.586
And all persistent directories have safe access rights 2.835
When I disable the first tps feature 6.974
Then all tps features but the first one are active 2.226
And I shutdown Tails and wait for the computer to power off 11.137
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.559
Then all tps features but the first one are active 2.599
After features/support/hooks.rb:330 1.523
After features/support/hooks.rb:100 0.032
Tags: @product
21.834
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.547
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.275
Then the file I created was copied to the Persistent Storage 0.124
When I disable the first tps feature 7.027
Then persistence for "Persistent" is not active 0.135
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.374
Then persistence for "Persistent" is active 0.104
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product
22.837
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.775
Then persistence for "Persistent" is active 0.218
When I create a file in the Persistent directory 0.135
And I disable the first tps feature 7.775
And I delete the data of the Persistent Folder feature 3.844
Then the file I created does not exist on the Persistent Storage 0.087
After features/support/hooks.rb:330 2.098
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.784
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.900
And the network is plugged 0.080
And Tor is ready 22.674
And I take note of which tps features are available 0.779
When I write some files expected to persist 1.771
And I shutdown Tails and wait for the computer to power off 8.378
# 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.199
After features/support/hooks.rb:330 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.714
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.865
And the network is plugged 0.100
And Tor is ready 24.869
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.820
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.550
And I capture all network traffic 0.005
And the network is plugged 0.074
And Tor is ready 23.559
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.140
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.629
After features/support/hooks.rb:100 0.047
Tags: @product
1:1.799
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 stopped at Tails Greeter's login screen 13.249
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.258
Then I create a persistent partition with the default settings using the wizard that was already open 25.165
After features/support/hooks.rb:330 2.586
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.119
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.331
When I enable persistence 45.531
Then no persistent Greeter options were restored 14.344
When I set all Greeter options to non-default values 28.806
And I log in to a new session in German (de) after having activated the Persistent Storage 56.801
Then all Greeter options are set to non-default values 0.513
When I cold reboot the computer 9.714
And the computer reboots Tails 1:3.721
Given I enable persistence 18.157
Then persistent Greeter options were restored 0.609
When I log in to a new session after having activated the Persistent Storage 43.142
Then all Greeter options are set to non-default values 0.443
After features/support/hooks.rb:330 1.493
After features/support/hooks.rb:100 0.007
Tags: @product
4:31.276
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 26.354
# 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.978
And I shutdown Tails and wait for the computer to power off 12.808
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.843
And I change the passphrase of the Persistent Storage back to the original 41.291
After features/support/hooks.rb:330 3.336
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.048
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 11.964
And I log in to a new session without activating the Persistent Storage 23.407
Then persistence is disabled 0.423
But a Tails persistence partition exists on USB drive "__internal" 9.105
And all notifications have disappeared 8.427
When I delete the persistent partition 7.898
Then there is no persistence partition on USB drive "__internal" 0.821
After features/support/hooks.rb:330 1.436
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.770
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 enabled and logged in 10.464
When I write some dotfile expected to persist 0.369
And I shutdown Tails and wait for the computer to power off 11.276
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.168
Then the expected persistent dotfile is present in the filesystem 0.490
After features/support/hooks.rb:330 1.363
After features/support/hooks.rb:100 0.007
Tags: @product
1:43.298
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.321
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.333
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.445
When I log in to a new session after having activated the Persistent Storage 41.220
And all notifications have disappeared 8.545
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.612
And all tps features are enabled 3.516
And all tps features but the first one are active 2.220
After features/support/hooks.rb:330 3.482
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.624
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 3:45.283
And I enable persistence 30.672
And I log in to a new session after having activated the Persistent Storage 48.388
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.565
And persistence is enabled 2.713
After features/support/hooks.rb:330 1.719
After features/support/hooks.rb:100 0.000
Tags: @product
33.311
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 9.092
And I enable persistence but something goes wrong during the LUKS header upgrade 23.220
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.998
After features/support/hooks.rb:330 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.218
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 13.352
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.645
When I enable persistence 52.327
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 3.780
After features/support/hooks.rb:330 2.100
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.317
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.935
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.913
When I try to enable persistence 0.503
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.018
When I repair the filesystem of the Persistent Storage 1.365
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.708
And the filesystem of the Persistent Storage was repaired 4.452
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 2.146
After features/support/hooks.rb:330 3.230
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.230
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.949
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.339
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.642
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 44.109
And all notifications have disappeared 9.499
# 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" 1.139
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.693
When I close the "whisperback" window 1.446
Then the Tor Browser starts 19.933
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.768
After features/support/hooks.rb:330 2.589
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.191
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.483
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.485
And Tails detects disk read failures on the boot device 1.706
When I try to enable persistence 0.435
Then the Welcome Screen tells me that my hardware is probably failing 26.577
When I log in to a new session 47.362
And all notifications have disappeared 9.565
Then the Tor Browser starts 23.526
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.048
After features/support/hooks.rb:330 1.930
After features/support/hooks.rb:100 0.000