Project Number Date
test_Tails_ISO_devel 3733 12 Mar 2025, 01:11

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 40:26.020 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.043
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.613
And I update APT using apt 13.080
And I install "python3-behave" using apt 22.864
Then the Tails Persistent Storage behave tests pass 3.485
After features/support/hooks.rb:330 2.154
After features/support/hooks.rb:100 0.000
Tags: @product
40.886
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.397
When I log in to a new session without activating the Persistent Storage 21.564
Then Tails is running from USB drive "__internal" 0.329
And persistence is disabled 0.404
But a Tails persistence partition exists on USB drive "__internal" 7.189
After features/support/hooks.rb:330 1.435
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.810
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.997
Then Tails is running from USB drive "__internal" 2.182
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 22.673
Then the file I created was copied to the Persistent Storage 0.495
When I shutdown Tails and wait for the computer to power off 12.914
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.974
Then persistence for "Persistent" is active 1.364
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.545
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.348
And the system is very low on memory 4.184
When I create a file in the Persistent directory 1.127
When I try to create a persistent partition 32.597
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.178
When I close the Persistent Storage app 2.595
And I free up some memory 1.504
And I create a persistent partition with the default settings 12.788
Then the file I created was copied to the Persistent Storage 0.219
After features/support/hooks.rb:330 2.522
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.983
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.562
Then Tails is running from USB drive "__internal" 0.545
And all tps features are active 2.408
And all persistent directories have safe access rights 2.527
When I disable the first tps feature 6.715
Then all tps features but the first one are active 1.928
And I shutdown Tails and wait for the computer to power off 12.785
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.124
Then all tps features but the first one are active 2.384
After features/support/hooks.rb:330 1.193
After features/support/hooks.rb:100 0.009
Tags: @product
22.022
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 11.186
Then persistence for "Persistent" is active 0.463
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 6.685
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.042
When I enable the first tps feature 3.218
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.634
After features/support/hooks.rb:100 0.000
Tags: @product
21.838
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.872
Then persistence for "Persistent" is active 0.210
When I create a file in the Persistent directory 0.137
And I disable the first tps feature 6.942
And I delete the data of the Persistent Folder feature 3.620
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.458
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.420
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.701
And the network is plugged 0.094
And Tor is ready 23.379
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.319
And I shutdown Tails and wait for the computer to power off 8.651
# 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.679
After features/support/hooks.rb:330 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:47.955
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 10.401
And the network is plugged 0.085
And Tor is ready 20.700
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 8.576
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.367
And I capture all network traffic 0.005
And the network is plugged 0.078
And Tor is ready 49.847
And I switch to the "persistent-con-current" NetworkManager connection 0.414
And the 1st network device has a spoofed MAC address configured 0.125
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.595
After features/support/hooks.rb:100 0.048
Tags: @product
58.487
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 13.741
And I enable persistence creation in Tails Greeter 1.113
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.093
Then I create a persistent partition with the default settings using the wizard that was already open 23.538
After features/support/hooks.rb:330 1.777
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.418
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 13.482
When I enable persistence 35.888
Then no persistent Greeter options were restored 14.479
When I set all Greeter options to non-default values 25.967
And I log in to a new session in German (de) after having activated the Persistent Storage 51.798
Then all Greeter options are set to non-default values 0.386
When I cold reboot the computer 7.349
And the computer reboots Tails 1:4.334
Given I enable persistence 17.539
Then persistent Greeter options were restored 0.723
When I log in to a new session after having activated the Persistent Storage 40.967
Then all Greeter options are set to non-default values 0.500
After features/support/hooks.rb:330 1.939
After features/support/hooks.rb:100 0.009
Tags: @product
3:50.272
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 11.256
# 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 33.930
And I shutdown Tails and wait for the computer to power off 12.890
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.547
And I change the passphrase of the Persistent Storage back to the original 35.648
After features/support/hooks.rb:330 2.124
After features/support/hooks.rb:100 0.011
Tags: @product
59.133
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.113
And I log in to a new session without activating the Persistent Storage 22.156
Then persistence is disabled 0.371
But a Tails persistence partition exists on USB drive "__internal" 9.920
And all notifications have disappeared 9.442
When I delete the persistent partition 6.633
Then there is no persistence partition on USB drive "__internal" 0.497
After features/support/hooks.rb:330 1.669
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.712
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.694
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 8.899
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.599
Then the expected persistent dotfile is present in the filesystem 0.445
After features/support/hooks.rb:330 1.285
After features/support/hooks.rb:100 0.011
Tags: @product
1:38.352
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.414
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.276
When I log in to a new session after having activated the Persistent Storage 40.790
And all notifications have disappeared 9.316
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.952
And all tps features are enabled 2.156
And all tps features but the first one are active 2.060
After features/support/hooks.rb:330 1.574
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.890
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 2:56.957
And I enable persistence 33.525
And I log in to a new session after having activated the Persistent Storage 46.775
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.455
And persistence is enabled 4.176
After features/support/hooks.rb:330 1.753
After features/support/hooks.rb:100 0.000
Tags: @product
29.251
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.557
And I enable persistence but something goes wrong during the LUKS header upgrade 18.781
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.912
After features/support/hooks.rb:330 0.777
After features/support/hooks.rb:100 0.000
Tags: @product
49.097
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.027
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.788
When I enable persistence 26.380
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.812
After features/support/hooks.rb:330 1.530
After features/support/hooks.rb:100 0.000
Tags: @product
46.675
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.886
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.429
When I try to enable persistence 0.439
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.818
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.617
And the filesystem of the Persistent Storage was repaired 2.398
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.573
After features/support/hooks.rb:330 1.831
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.637
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.009
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.777
When I repair the filesystem of the Persistent Storage 1.892
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 41.129
And all notifications have disappeared 10.380
# 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.614
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.630
When I close the "whisperback" window 1.428
Then the Tor Browser starts 19.376
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.933
After features/support/hooks.rb:330 2.043
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.582
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 8.908
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.458
And Tails detects disk read failures on the boot device 1.570
When I try to enable persistence 0.494
Then the Welcome Screen tells me that my hardware is probably failing 19.113
When I log in to a new session 49.181
And all notifications have disappeared 8.242
Then the Tor Browser starts 21.888
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.725
After features/support/hooks.rb:330 1.763
After features/support/hooks.rb:100 0.000