Project Number Date
test_Tails_ISO_devel 3742 17 Mar 2025, 17:22

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 42:36.390 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.334
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.315
And I update APT using apt 13.978
And I install "python3-behave" using apt 26.109
Then the Tails Persistent Storage behave tests pass 2.930
After features/support/hooks.rb:330 0.951
After features/support/hooks.rb:100 0.000
Tags: @product
46.686
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 11.243
When I log in to a new session without activating the Persistent Storage 23.985
Then Tails is running from USB drive "__internal" 0.582
And persistence is disabled 0.283
But a Tails persistence partition exists on USB drive "__internal" 10.590
After features/support/hooks.rb:330 1.637
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.340
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 16.154
Then Tails is running from USB drive "__internal" 0.593
When I create a file in the Persistent directory 0.247
And I create a persistent partition with the default settings 23.813
Then the file I created was copied to the Persistent Storage 0.709
When I shutdown Tails and wait for the computer to power off 14.915
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.544
Then persistence for "Persistent" is active 1.287
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.799
After features/support/hooks.rb:100 0.010
Tags: @product
59.230
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.174
And the system is very low on memory 4.545
When I create a file in the Persistent directory 0.886
When I try to create a persistent partition 23.535
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.294
When I close the Persistent Storage app 2.865
And I free up some memory 1.766
And I create a persistent partition with the default settings 13.873
Then the file I created was copied to the Persistent Storage 0.289
After features/support/hooks.rb:330 2.192
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.007
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 17.206
Then Tails is running from USB drive "__internal" 1.789
And all tps features are active 2.479
And all persistent directories have safe access rights 2.441
When I disable the first tps feature 7.332
Then all tps features but the first one are active 2.094
And I shutdown Tails and wait for the computer to power off 13.668
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.598
Then all tps features but the first one are active 2.396
After features/support/hooks.rb:330 1.181
After features/support/hooks.rb:100 0.009
Tags: @product
24.680
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 11.427
Then persistence for "Persistent" is active 1.282
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.116
When I disable the first tps feature 7.330
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.047
When I enable the first tps feature 4.177
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
23.601
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.098
Then persistence for "Persistent" is active 0.586
When I create a file in the Persistent directory 0.136
And I disable the first tps feature 7.899
And I delete the data of the Persistent Folder feature 3.803
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:330 1.552
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.998
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 14.918
And the network is plugged 0.082
And Tor is ready 25.140
And I take note of which tps features are available 0.619
When I write some files expected to persist 1.759
And I shutdown Tails and wait for the computer to power off 8.866
# 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.611
After features/support/hooks.rb:330 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.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 13.328
And the network is plugged 0.094
And Tor is ready 22.592
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.297
And I shutdown Tails and wait for the computer to power off 11.045
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.546
And I capture all network traffic 0.011
And the network is plugged 0.097
And Tor is ready 22.129
And I switch to the "persistent-con-current" NetworkManager connection 0.365
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:330 0.692
After features/support/hooks.rb:100 0.052
Tags: @product
58.362
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 12.604
And I enable persistence creation in Tails Greeter 1.252
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.434
Then I create a persistent partition with the default settings using the wizard that was already open 24.071
After features/support/hooks.rb:330 2.392
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.857
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 13.808
When I enable persistence 43.968
Then no persistent Greeter options were restored 14.313
When I set all Greeter options to non-default values 27.584
And I log in to a new session in German (de) after having activated the Persistent Storage 53.956
Then all Greeter options are set to non-default values 0.456
When I cold reboot the computer 7.812
And the computer reboots Tails 1:0.834
Given I enable persistence 18.075
Then persistent Greeter options were restored 0.623
When I log in to a new session after having activated the Persistent Storage 38.963
Then all Greeter options are set to non-default values 0.461
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.010
Tags: @product
4:6.843
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.300
# 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 34.378
And I shutdown Tails and wait for the computer to power off 10.692
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.759
And I change the passphrase of the Persistent Storage back to the original 37.711
After features/support/hooks.rb:330 1.388
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.371
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.136
And I log in to a new session without activating the Persistent Storage 24.432
Then persistence is disabled 0.438
But a Tails persistence partition exists on USB drive "__internal" 13.065
And all notifications have disappeared 11.783
When I delete the persistent partition 6.934
Then there is no persistence partition on USB drive "__internal" 0.580
After features/support/hooks.rb:330 1.649
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.210
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.543
When I write some dotfile expected to persist 1.457
And I shutdown Tails and wait for the computer to power off 11.252
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.472
Then the expected persistent dotfile is present in the filesystem 0.483
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.022
Tags: @product
1:44.535
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.936
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.133
When I try to enable persistence 0.533
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.603
When I log in to a new session after having activated the Persistent Storage 43.631
And all notifications have disappeared 8.567
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.203
And all tps features are enabled 2.616
And all tps features but the first one are active 2.309
After features/support/hooks.rb:330 1.628
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.232
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:45.950
And I enable persistence 35.245
And I log in to a new session after having activated the Persistent Storage 43.596
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.146
And persistence is enabled 3.293
After features/support/hooks.rb:330 2.878
After features/support/hooks.rb:100 0.000
Tags: @product
31.147
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 9.273
And I enable persistence but something goes wrong during the LUKS header upgrade 21.064
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.809
After features/support/hooks.rb:330 0.962
After features/support/hooks.rb:100 0.000
Tags: @product
55.066
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.750
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.156
When I enable persistence 31.355
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.716
After features/support/hooks.rb:330 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
50.821
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 10.008
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.830
When I try to enable persistence 0.377
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.200
When I repair the filesystem of the Persistent Storage 1.287
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.833
And the filesystem of the Persistent Storage was repaired 2.139
When I close the filesystem repair dialog 1.529
Then persistence is successfully enabled 1.614
After features/support/hooks.rb:330 1.640
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.774
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.782
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.185
When I try to enable persistence 0.398
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.514
When I repair the filesystem of the Persistent Storage 1.576
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 41.855
And all notifications have disappeared 8.378
# 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.548
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.286
When I close the "whisperback" window 1.660
Then the Tor Browser starts 21.561
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.929
After features/support/hooks.rb:330 2.493
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.550
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.014
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.624
And Tails detects disk read failures on the boot device 0.645
When I try to enable persistence 0.465
Then the Welcome Screen tells me that my hardware is probably failing 20.603
When I log in to a new session 45.476
And all notifications have disappeared 8.861
Then the Tor Browser starts 16.116
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.741
After features/support/hooks.rb:330 2.112
After features/support/hooks.rb:100 0.000