Project Number Date
test_Tails_ISO_devel 3803 06 May 2025, 19:50

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:28.501 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.068
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.225
And I update APT using apt 13.743
And I install "python3-behave" using apt 23.340
Then the Tails Persistent Storage behave tests pass 2.759
After features/support/hooks.rb:330 0.710
After features/support/hooks.rb:100 0.000
Tags: @product
45.117
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 12.035
When I log in to a new session without activating the Persistent Storage 23.227
Then Tails is running from USB drive "__internal" 0.628
And persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 8.849
After features/support/hooks.rb:330 1.518
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.930
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.423
Then Tails is running from USB drive "__internal" 0.555
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 26.434
Then the file I created was copied to the Persistent Storage 2.136
When I shutdown Tails and wait for the computer to power off 11.080
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.730
Then persistence for "Persistent" is active 0.317
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.583
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.818
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 10.784
And the system is very low on memory 3.479
When I create a file in the Persistent directory 1.311
When I try to create a persistent partition 28.593
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.763
When I close the Persistent Storage app 2.704
And I free up some memory 3.458
And I create a persistent partition with the default settings 13.416
Then the file I created was copied to the Persistent Storage 0.304
After features/support/hooks.rb:330 2.528
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.812
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 12.870
Then Tails is running from USB drive "__internal" 0.546
And all tps features are active 6.698
And all persistent directories have safe access rights 2.736
When I disable the first tps feature 6.512
Then all tps features but the first one are active 2.347
And I shutdown Tails and wait for the computer to power off 13.727
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.994
Then all tps features but the first one are active 2.378
After features/support/hooks.rb:330 0.871
After features/support/hooks.rb:100 0.010
Tags: @product
20.357
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.576
Then persistence for "Persistent" is active 0.206
And I create a file in the Persistent directory 0.133
Then the file I created was copied to the Persistent Storage 0.118
When I disable the first tps feature 5.876
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.167
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:330 1.797
After features/support/hooks.rb:100 0.000
Tags: @product
19.398
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.255
Then persistence for "Persistent" is active 0.279
When I create a file in the Persistent directory 0.120
And I disable the first tps feature 5.963
And I delete the data of the Persistent Folder feature 3.712
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:330 2.276
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.622
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 9.746
And the network is plugged 0.102
And Tor is ready 20.335
And I take note of which tps features are available 0.639
When I write some files expected to persist 1.600
And I shutdown Tails and wait for the computer to power off 10.670
# 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.527
After features/support/hooks.rb:330 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.283
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.576
And the network is plugged 0.069
And Tor is ready 22.248
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.234
And I shutdown Tails and wait for the computer to power off 8.718
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.564
And I capture all network traffic 0.008
And the network is plugged 0.136
And Tor is ready 20.074
And I switch to the "persistent-con-current" NetworkManager connection 0.365
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.198
After features/support/hooks.rb:330 0.790
After features/support/hooks.rb:100 0.089
Tags: @product
58.956
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 without a persistent partition and stopped at Tails Greeter's login screen 12.757
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.620
Then I create a persistent partition with the default settings using the wizard that was already open 23.447
After features/support/hooks.rb:330 2.985
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.536
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 12.124
When I enable persistence 35.282
Then no persistent Greeter options were restored 13.823
When I set all Greeter options to non-default values 25.181
And I log in to a new session in German (de) after having activated the Persistent Storage 44.065
Then all Greeter options are set to non-default values 0.426
When I cold reboot the computer 7.606
And the computer reboots Tails 1:4.580
Given I enable persistence 16.540
Then persistent Greeter options were restored 0.592
When I log in to a new session after having activated the Persistent Storage 39.634
Then all Greeter options are set to non-default values 0.677
After features/support/hooks.rb:330 1.244
After features/support/hooks.rb:100 0.049
Tags: @product
3:57.506
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.807
# 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 35.015
And I shutdown Tails and wait for the computer to power off 12.843
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.797
And I change the passphrase of the Persistent Storage back to the original 44.043
After features/support/hooks.rb:330 2.836
After features/support/hooks.rb:100 0.011
Tags: @product
59.624
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 9.853
And I log in to a new session without activating the Persistent Storage 19.782
Then persistence is disabled 0.401
But a Tails persistence partition exists on USB drive "__internal" 9.695
And all notifications have disappeared 12.812
When I delete the persistent partition 6.162
Then there is no persistence partition on USB drive "__internal" 0.917
After features/support/hooks.rb:330 1.471
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.407
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.003
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 10.611
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.316
Then the expected persistent dotfile is present in the filesystem 0.408
After features/support/hooks.rb:330 0.717
After features/support/hooks.rb:100 0.017
Tags: @product
1:42.488
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.696
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.264
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.698
When I log in to a new session after having activated the Persistent Storage 40.969
And all notifications have disappeared 7.217
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.537
And all tps features are enabled 7.345
And all tps features but the first one are active 4.669
After features/support/hooks.rb:330 4.561
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.023
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:7.032
And I enable persistence 30.143
And I log in to a new session after having activated the Persistent Storage 48.803
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.050
And persistence is enabled 2.992
After features/support/hooks.rb:330 1.760
After features/support/hooks.rb:100 0.000
Tags: @product
32.097
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 8.680
And I enable persistence but something goes wrong during the LUKS header upgrade 22.576
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.840
After features/support/hooks.rb:330 0.805
After features/support/hooks.rb:100 0.000
Tags: @product
54.299
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.259
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.709
When I enable persistence 35.234
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 2.987
After features/support/hooks.rb:330 1.878
After features/support/hooks.rb:100 0.000
Tags: @product
46.039
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.753
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.164
When I try to enable persistence 0.413
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.757
When I repair the filesystem of the Persistent Storage 1.520
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.027
And the filesystem of the Persistent Storage was repaired 2.551
When I close the filesystem repair dialog 1.297
Then persistence is successfully enabled 1.553
After features/support/hooks.rb:330 1.637
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.805
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.623
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.305
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.004
When I repair the filesystem of the Persistent Storage 1.338
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.110
When I log in to a new session 41.090
And all notifications have disappeared 8.129
# 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.388
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.267
When I close the "whisperback" window 1.420
Then the Tor Browser starts 22.204
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.824
After features/support/hooks.rb:330 1.719
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.305
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.995
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.203
And Tails detects disk read failures on the boot device 1.569
When I try to enable persistence 0.414
Then the Welcome Screen tells me that my hardware is probably failing 21.928
When I log in to a new session 47.320
And all notifications have disappeared 9.216
Then the Tor Browser starts 23.566
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.089
After features/support/hooks.rb:330 1.739
After features/support/hooks.rb:100 0.000