Project Number Date
test_Tails_ISO_stable 5601 27 Apr 2025, 12:55

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 46:21.324 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.947
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:43.122
And I update APT using apt 13.820
And I install "python3-behave" using apt 26.149
Then the Tails Persistent Storage behave tests pass 2.855
After features/support/hooks.rb:330 0.715
After features/support/hooks.rb:100 0.000
Tags: @product
48.165
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.669
When I log in to a new session without activating the Persistent Storage 26.747
Then Tails is running from USB drive "__internal" 0.341
And persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 8.040
After features/support/hooks.rb:330 1.907
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.088
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 18.040
Then Tails is running from USB drive "__internal" 0.685
When I create a file in the Persistent directory 0.119
And I create a persistent partition with the default settings 26.775
Then the file I created was copied to the Persistent Storage 2.417
When I shutdown Tails and wait for the computer to power off 18.386
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.073
Then persistence for "Persistent" is active 0.500
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.660
After features/support/hooks.rb:100 0.019
Tags: @product
1:9.602
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 15.874
And the system is very low on memory 10.507
When I create a file in the Persistent directory 3.997
When I try to create a persistent partition 21.105
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.187
When I close the Persistent Storage app 2.701
And I free up some memory 2.586
And I create a persistent partition with the default settings 12.381
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:330 2.055
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.608
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 14.592
Then Tails is running from USB drive "__internal" 0.573
And all tps features are active 2.689
And all persistent directories have safe access rights 4.033
When I disable the first tps feature 7.288
Then all tps features but the first one are active 5.884
And I shutdown Tails and wait for the computer to power off 14.295
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.660
Then all tps features but the first one are active 2.590
After features/support/hooks.rb:330 1.580
After features/support/hooks.rb:100 0.009
Tags: @product
22.188
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.699
Then persistence for "Persistent" is active 0.221
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 6.582
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.157
Then persistence for "Persistent" is active 0.103
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.615
After features/support/hooks.rb:100 0.000
Tags: @product
21.700
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.883
Then persistence for "Persistent" is active 0.310
When I create a file in the Persistent directory 0.121
And I disable the first tps feature 6.660
And I delete the data of the Persistent Folder feature 3.646
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:330 1.696
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.189
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.435
And the network is plugged 0.087
And Tor is ready 21.557
And I take note of which tps features are available 0.656
When I write some files expected to persist 1.551
And I shutdown Tails and wait for the computer to power off 8.578
# 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.322
After features/support/hooks.rb:330 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.372
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.079
And the network is plugged 0.089
And Tor is ready 18.292
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.565
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.818
And I capture all network traffic 0.015
And the network is plugged 0.081
And Tor is ready 21.608
And I switch to the "persistent-con-current" NetworkManager connection 0.359
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:330 0.677
After features/support/hooks.rb:100 0.042
Tags: @product
1:2.219
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 stopped at Tails Greeter's login screen 14.067
And I enable persistence creation in Tails Greeter 1.134
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.299
Then I create a persistent partition with the default settings using the wizard that was already open 24.717
After features/support/hooks.rb:330 3.210
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.966
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 12.665
When I enable persistence 40.943
Then no persistent Greeter options were restored 14.531
When I set all Greeter options to non-default values 29.759
And I log in to a new session in German (de) after having activated the Persistent Storage 49.843
Then all Greeter options are set to non-default values 0.389
When I cold reboot the computer 7.966
And the computer reboots Tails 1:10.280
Given I enable persistence 19.791
Then persistent Greeter options were restored 0.619
When I log in to a new session after having activated the Persistent Storage 42.728
Then all Greeter options are set to non-default values 0.446
After features/support/hooks.rb:330 1.843
After features/support/hooks.rb:100 0.010
Tags: @product
4:15.690
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.582
# 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.880
And I shutdown Tails and wait for the computer to power off 15.517
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:39.255
And I change the passphrase of the Persistent Storage back to the original 36.455
After features/support/hooks.rb:330 4.311
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.942
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 16.947
And I log in to a new session without activating the Persistent Storage 22.372
Then persistence is disabled 0.658
But a Tails persistence partition exists on USB drive "__internal" 11.275
And all notifications have disappeared 7.856
When I delete the persistent partition 6.111
Then there is no persistence partition on USB drive "__internal" 0.720
After features/support/hooks.rb:330 3.391
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.564
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.337
When I write some dotfile expected to persist 0.292
And I shutdown Tails and wait for the computer to power off 10.754
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.710
Then the expected persistent dotfile is present in the filesystem 0.468
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.017
Tags: @product
1:54.518
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 10.151
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.367
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.619
When I log in to a new session after having activated the Persistent Storage 50.426
And all notifications have disappeared 8.594
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.883
And all tps features are enabled 3.706
And all tps features but the first one are active 2.688
After features/support/hooks.rb:330 2.253
After features/support/hooks.rb:100 0.000
Tags: @product
7:42.642
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 6:12.228
And I enable persistence 34.577
And I log in to a new session after having activated the Persistent Storage 50.392
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.748
And persistence is enabled 3.694
After features/support/hooks.rb:330 1.657
After features/support/hooks.rb:100 0.000
Tags: @product
34.525
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 9.751
And I enable persistence but something goes wrong during the LUKS header upgrade 24.007
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.766
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
50.159
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.515
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.030
When I enable persistence 30.796
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 3.704
After features/support/hooks.rb:330 1.798
After features/support/hooks.rb:100 0.000
Tags: @product
55.556
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.329
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.207
When I try to enable persistence 0.475
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.482
When I repair the filesystem of the Persistent Storage 2.694
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.298
And the filesystem of the Persistent Storage was repaired 4.066
When I close the filesystem repair dialog 1.294
Then persistence is successfully enabled 1.705
After features/support/hooks.rb:330 2.638
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.513
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.494
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.260
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.089
When I repair the filesystem of the Persistent Storage 1.306
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.399
When I log in to a new session 40.328
And all notifications have disappeared 10.015
# 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.342
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.458
When I close the "whisperback" window 1.438
Then the Tor Browser starts 21.993
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.105
After features/support/hooks.rb:330 2.652
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.162
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 10.009
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.004
And Tails detects disk read failures on the boot device 0.502
When I try to enable persistence 0.453
Then the Welcome Screen tells me that my hardware is probably failing 21.826
When I log in to a new session 52.818
And all notifications have disappeared 9.351
Then the Tor Browser starts 24.229
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.966
After features/support/hooks.rb:330 3.354
After features/support/hooks.rb:100 0.000