Project Number Date
test_Tails_ISO_stable 5463 17 Feb 2025, 13:13

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 53:28.558 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.176
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.361
And I update APT using apt 13.428
And I install "python3-behave" using apt 25.735
Then the Tails Persistent Storage behave tests pass 2.651
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
48.418
Before features/support/hooks.rb:269 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.772
When I log in to a new session without activating the Persistent Storage 25.502
Then Tails is running from USB drive "__internal" 0.530
And persistence is disabled 0.367
But a Tails persistence partition exists on USB drive "__internal" 8.245
After features/support/hooks.rb:326 1.054
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.079
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.563
Then Tails is running from USB drive "__internal" 1.078
When I create a file in the Persistent directory 0.264
And I create a persistent partition with the default settings 32.672
Then the file I created was copied to the Persistent Storage 0.638
When I shutdown Tails and wait for the computer to power off 13.975
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.367
Then persistence for "Persistent" is active 0.436
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.019
Tags: @product
1:12.320
Before features/support/hooks.rb:269 0.018
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.818
And the system is very low on memory 7.891
When I create a file in the Persistent directory 2.318
When I try to create a persistent partition 26.565
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.331
When I close the Persistent Storage app 2.652
And I free up some memory 1.536
And I create a persistent partition with the default settings 17.495
Then the file I created was copied to the Persistent Storage 0.710
After features/support/hooks.rb:326 1.649
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.583
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 22.578
Then Tails is running from USB drive "__internal" 0.612
And all tps features are active 3.289
And all persistent directories have safe access rights 2.730
When I disable the first tps feature 7.144
Then all tps features but the first one are active 2.744
And I shutdown Tails and wait for the computer to power off 15.713
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.338
Then all tps features but the first one are active 3.429
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.009
Tags: @product
23.673
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.896
Then persistence for "Persistent" is active 0.111
And I create a file in the Persistent directory 0.111
Then the file I created was copied to the Persistent Storage 0.206
When I disable the first tps feature 6.763
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.290
Then persistence for "Persistent" is active 0.095
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.779
After features/support/hooks.rb:100 0.000
Tags: @product
22.004
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.038
Then persistence for "Persistent" is active 0.403
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 7.056
And I delete the data of the Persistent Folder feature 4.349
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
1:41.470
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.508
And the network is plugged 0.098
And Tor is ready 50.715
And I take note of which tps features are available 0.715
When I write some files expected to persist 1.870
And I shutdown Tails and wait for the computer to power off 11.014
# 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.546
After features/support/hooks.rb:326 0.181
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.799
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.272
And the network is plugged 0.114
And Tor is ready 20.741
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.340
And I shutdown Tails and wait for the computer to power off 9.380
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.142
And I capture all network traffic 0.009
And the network is plugged 0.101
And Tor is ready 20.619
And I switch to the "persistent-con-current" NetworkManager connection 0.785
And the 1st network device has a spoofed MAC address configured 0.146
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.049
Tags: @product
1:36.606
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 41.382
And I enable persistence creation in Tails Greeter 1.226
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.284
Then I create a persistent partition with the default settings using the wizard that was already open 27.713
After features/support/hooks.rb:326 2.964
After features/support/hooks.rb:100 0.000
Tags: @product
5:34.359
Before features/support/hooks.rb:269 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 31.909
When I enable persistence 58.027
Then no persistent Greeter options were restored 14.532
When I set all Greeter options to non-default values 27.285
And I log in to a new session in German (de) after having activated the Persistent Storage 54.847
Then all Greeter options are set to non-default values 0.495
When I cold reboot the computer 8.178
And the computer reboots Tails 1:7.793
Given I enable persistence 23.875
Then persistent Greeter options were restored 0.604
When I log in to a new session after having activated the Persistent Storage 46.286
Then all Greeter options are set to non-default values 0.522
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.012
Tags: @product
4:39.758
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.824
# 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 47.086
And I shutdown Tails and wait for the computer to power off 13.337
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:44.801
And I change the passphrase of the Persistent Storage back to the original 41.708
After features/support/hooks.rb:326 2.270
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.681
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.847
And I log in to a new session without activating the Persistent Storage 21.812
Then persistence is disabled 0.357
But a Tails persistence partition exists on USB drive "__internal" 13.555
And all notifications have disappeared 12.193
When I delete the persistent partition 7.453
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.372
Before features/support/hooks.rb:269 0.024
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.721
When I write some dotfile expected to persist 0.272
And I shutdown Tails and wait for the computer to power off 9.045
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.577
Then the expected persistent dotfile is present in the filesystem 0.755
After features/support/hooks.rb:326 0.611
After features/support/hooks.rb:100 0.055
Tags: @product
1:58.581
Before features/support/hooks.rb:269 0.031
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 25.697
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.118
When I try to enable persistence 0.310
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.577
When I log in to a new session after having activated the Persistent Storage 34.899
And all notifications have disappeared 8.889
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.478
And all tps features are enabled 3.097
And all tps features but the first one are active 2.513
After features/support/hooks.rb:326 1.031
After features/support/hooks.rb:100 0.000
Tags: @product
11:46.695
Before features/support/hooks.rb:269 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 10:0.572
And I enable persistence 52.574
And I log in to a new session after having activated the Persistent Storage 46.960
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.410
And persistence is enabled 4.177
After features/support/hooks.rb:326 1.344
After features/support/hooks.rb:100 0.000
Tags: @product
47.704
Before features/support/hooks.rb:269 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 13.627
And I enable persistence but something goes wrong during the LUKS header upgrade 32.802
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.275
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
57.565
Before features/support/hooks.rb:269 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.308
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.563
When I enable persistence 36.534
Then the filesystem of the Persistent Storage was repaired 0.147
And persistence is successfully enabled 4.010
After features/support/hooks.rb:326 1.041
After features/support/hooks.rb:100 0.000
Tags: @product
52.949
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.567
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.040
When I try to enable persistence 1.483
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.996
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.366
And the filesystem of the Persistent Storage was repaired 1.445
When I close the filesystem repair dialog 1.215
Then persistence is successfully enabled 1.544
After features/support/hooks.rb:326 3.070
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.128
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.439
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.092
When I try to enable persistence 0.322
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.306
When I repair the filesystem of the Persistent Storage 1.341
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.093
When I log in to a new session 48.204
And all notifications have disappeared 11.478
# 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.698
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.063
When I close the "whisperback" window 1.619
Then the Tor Browser starts 16.612
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.854
After features/support/hooks.rb:326 2.946
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.627
Before features/support/hooks.rb:269 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.662
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.686
And Tails detects disk read failures on the boot device 0.598
When I try to enable persistence 0.546
Then the Welcome Screen tells me that my hardware is probably failing 21.681
When I log in to a new session 47.109
And all notifications have disappeared 8.356
Then the Tor Browser starts 24.119
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.866
After features/support/hooks.rb:326 2.049
After features/support/hooks.rb:100 0.000