Project Number Date
test_Tails_ISO_devel 3753 25 Mar 2025, 13:20

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:18.342 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:41.970
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:31.142
And I update APT using apt 3:45.425
And I install "python3-behave" using apt 22.573
Then the Tails Persistent Storage behave tests pass 2.830
After features/support/hooks.rb:330 0.611
After features/support/hooks.rb:100 0.000
Tags: @product
42.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 11.310
When I log in to a new session without activating the Persistent Storage 21.048
Then Tails is running from USB drive "__internal" 0.332
And persistence is disabled 0.392
But a Tails persistence partition exists on USB drive "__internal" 9.370
After features/support/hooks.rb:330 1.663
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.742
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 11.756
Then Tails is running from USB drive "__internal" 0.477
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 21.964
Then the file I created was copied to the Persistent Storage 0.617
When I shutdown Tails and wait for the computer to power off 12.480
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.521
Then persistence for "Persistent" is active 0.712
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.844
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.799
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 11.074
And the system is very low on memory 3.798
When I create a file in the Persistent directory 1.085
When I try to create a persistent partition 31.930
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.152
When I close the Persistent Storage app 2.663
And I free up some memory 1.523
And I create a persistent partition with the default settings 13.110
Then the file I created was copied to the Persistent Storage 0.461
After features/support/hooks.rb:330 2.521
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.736
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 12.724
Then Tails is running from USB drive "__internal" 0.449
And all tps features are active 2.568
And all persistent directories have safe access rights 2.358
When I disable the first tps feature 6.906
Then all tps features but the first one are active 2.021
And I shutdown Tails and wait for the computer to power off 13.298
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.381
Then all tps features but the first one are active 2.027
After features/support/hooks.rb:330 1.275
After features/support/hooks.rb:100 0.009
Tags: @product
22.433
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 11.265
Then persistence for "Persistent" is active 0.074
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.103
When I disable the first tps feature 6.418
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.050
When I enable the first tps feature 4.245
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
21.034
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.309
Then persistence for "Persistent" is active 0.066
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.833
And I delete the data of the Persistent Folder feature 3.694
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.456
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.118
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.802
And the network is plugged 0.078
And Tor is ready 22.599
And I take note of which tps features are available 0.552
When I write some files expected to persist 1.499
And I shutdown Tails and wait for the computer to power off 7.746
# 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" 23.839
After features/support/hooks.rb:330 0.149
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.778
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.971
And the network is plugged 0.069
And Tor is ready 18.616
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.181
And I shutdown Tails and wait for the computer to power off 8.635
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.421
And I capture all network traffic 0.010
And the network is plugged 0.062
And Tor is ready 18.159
And I switch to the "persistent-con-current" NetworkManager connection 0.445
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:330 0.642
After features/support/hooks.rb:100 0.060
Tags: @product
53.993
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 11.173
And I enable persistence creation in Tails Greeter 1.117
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.833
Then I create a persistent partition with the default settings using the wizard that was already open 21.869
After features/support/hooks.rb:330 2.396
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.948
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.605
When I enable persistence 32.988
Then no persistent Greeter options were restored 14.260
When I set all Greeter options to non-default values 23.478
And I log in to a new session in German (de) after having activated the Persistent Storage 50.663
Then all Greeter options are set to non-default values 0.446
When I cold reboot the computer 7.325
And the computer reboots Tails 57.458
Given I enable persistence 14.871
Then persistent Greeter options were restored 0.449
When I log in to a new session after having activated the Persistent Storage 37.909
Then all Greeter options are set to non-default values 0.489
After features/support/hooks.rb:330 1.637
After features/support/hooks.rb:100 0.009
Tags: @product
3:43.300
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.934
# 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 41.970
And I shutdown Tails and wait for the computer to power off 12.410
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.036
And I change the passphrase of the Persistent Storage back to the original 35.947
After features/support/hooks.rb:330 2.334
After features/support/hooks.rb:100 0.009
Tags: @product
54.734
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.465
And I log in to a new session without activating the Persistent Storage 19.471
Then persistence is disabled 0.285
But a Tails persistence partition exists on USB drive "__internal" 8.866
And all notifications have disappeared 10.154
When I delete the persistent partition 6.033
Then there is no persistence partition on USB drive "__internal" 0.457
After features/support/hooks.rb:330 1.780
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.026
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.468
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 10.724
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.404
Then the expected persistent dotfile is present in the filesystem 0.363
After features/support/hooks.rb:330 1.306
After features/support/hooks.rb:100 0.013
Tags: @product
1:35.654
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.053
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.384
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 25.255
When I log in to a new session after having activated the Persistent Storage 43.325
And all notifications have disappeared 9.339
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.802
And all tps features are enabled 2.486
And all tps features but the first one are active 1.913
After features/support/hooks.rb:330 1.481
After features/support/hooks.rb:100 0.000
Tags: @product
4:0.522
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 2:49.710
And I enable persistence 28.874
And I log in to a new session after having activated the Persistent Storage 36.581
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.998
And persistence is enabled 3.357
After features/support/hooks.rb:330 1.599
After features/support/hooks.rb:100 0.000
Tags: @product
28.313
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.804
And I enable persistence but something goes wrong during the LUKS header upgrade 18.766
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.741
After features/support/hooks.rb:330 0.779
After features/support/hooks.rb:100 0.000
Tags: @product
44.079
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.975
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.939
When I enable persistence 27.556
Then the filesystem of the Persistent Storage was repaired 0.076
And persistence is successfully enabled 2.531
After features/support/hooks.rb:330 2.437
After features/support/hooks.rb:100 0.000
Tags: @product
43.388
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.768
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.463
When I try to enable persistence 0.398
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 19.303
When I repair the filesystem of the Persistent Storage 1.865
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.059
And the filesystem of the Persistent Storage was repaired 0.865
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 1.427
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.374
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.941
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.757
When I repair the filesystem of the Persistent Storage 1.579
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 33.991
And all notifications have disappeared 7.360
# 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.782
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.354
When I close the "whisperback" window 1.808
Then the Tor Browser starts 18.266
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.930
After features/support/hooks.rb:330 1.687
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.934
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.624
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.473
And Tails detects disk read failures on the boot device 1.651
When I try to enable persistence 0.396
Then the Welcome Screen tells me that my hardware is probably failing 16.990
When I log in to a new session 46.518
And all notifications have disappeared 7.178
Then the Tor Browser starts 21.389
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.710
After features/support/hooks.rb:330 1.619
After features/support/hooks.rb:100 0.000