Project Number Date
test_Tails_ISO_devel 3716 03 Mar 2025, 18:57

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 37:55.459 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.186
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:32.714
And I update APT using apt 13.871
And I install "python3-behave" using apt 25.492
Then the Tails Persistent Storage behave tests pass 2.107
After features/support/hooks.rb:330 0.650
After features/support/hooks.rb:100 0.000
Tags: @product
43.679
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 11.374
When I log in to a new session without activating the Persistent Storage 21.453
Then Tails is running from USB drive "__internal" 0.541
And persistence is disabled 0.576
But a Tails persistence partition exists on USB drive "__internal" 9.733
After features/support/hooks.rb:330 1.921
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.561
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.310
Then Tails is running from USB drive "__internal" 0.407
When I create a file in the Persistent directory 0.244
And I create a persistent partition with the default settings 22.446
Then the file I created was copied to the Persistent Storage 0.684
When I shutdown Tails and wait for the computer to power off 12.480
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.307
Then persistence for "Persistent" is active 0.606
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.251
After features/support/hooks.rb:100 0.007
Tags: @product
58.555
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.259
And the system is very low on memory 5.621
When I create a file in the Persistent directory 1.352
When I try to create a persistent partition 23.290
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.336
When I close the Persistent Storage app 2.506
And I free up some memory 1.378
And I create a persistent partition with the default settings 13.269
Then the file I created was copied to the Persistent Storage 0.540
After features/support/hooks.rb:330 2.142
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.703
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.232
Then Tails is running from USB drive "__internal" 0.664
And all tps features are active 2.232
And all persistent directories have safe access rights 2.650
When I disable the first tps feature 5.540
Then all tps features but the first one are active 2.009
And I shutdown Tails and wait for the computer to power off 12.873
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.413
Then all tps features but the first one are active 2.087
After features/support/hooks.rb:330 1.060
After features/support/hooks.rb:100 0.009
Tags: @product
19.325
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 10.047
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.192
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 5.533
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.042
When I enable the first tps feature 3.072
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.427
After features/support/hooks.rb:100 0.000
Tags: @product
18.505
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 9.067
Then persistence for "Persistent" is active 0.080
When I create a file in the Persistent directory 0.058
And I disable the first tps feature 5.667
And I delete the data of the Persistent Folder feature 3.574
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.365
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.512
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 9.279
And the network is plugged 0.077
And Tor is ready 19.497
And I take note of which tps features are available 0.610
When I write some files expected to persist 1.423
And I shutdown Tails and wait for the computer to power off 8.438
# 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.184
After features/support/hooks.rb:330 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.795
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 9.543
And the network is plugged 0.083
And Tor is ready 21.433
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.189
And I shutdown Tails and wait for the computer to power off 8.253
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.102
And I capture all network traffic 0.010
And the network is plugged 0.075
And Tor is ready 18.529
And I switch to the "persistent-con-current" NetworkManager connection 0.374
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.124
After features/support/hooks.rb:330 0.640
After features/support/hooks.rb:100 0.036
Tags: @product
51.976
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 11.022
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.138
Then I create a persistent partition with the default settings using the wizard that was already open 20.707
After features/support/hooks.rb:330 1.890
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.610
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 11.159
When I enable persistence 35.515
Then no persistent Greeter options were restored 18.200
When I set all Greeter options to non-default values 23.823
And I log in to a new session in German (de) after having activated the Persistent Storage 40.938
Then all Greeter options are set to non-default values 0.534
When I cold reboot the computer 7.247
And the computer reboots Tails 58.619
Given I enable persistence 16.295
Then persistent Greeter options were restored 0.527
When I log in to a new session after having activated the Persistent Storage 37.275
Then all Greeter options are set to non-default values 0.473
After features/support/hooks.rb:330 1.508
After features/support/hooks.rb:100 0.009
Tags: @product
3:39.421
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.712
# 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 38.023
And I shutdown Tails and wait for the computer to power off 12.636
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.394
And I change the passphrase of the Persistent Storage back to the original 35.654
After features/support/hooks.rb:330 1.756
After features/support/hooks.rb:100 0.009
Tags: @product
52.867
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.549
And I log in to a new session without activating the Persistent Storage 19.289
Then persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 6.931
And all notifications have disappeared 9.766
When I delete the persistent partition 6.568
Then there is no persistence partition on USB drive "__internal" 0.346
After features/support/hooks.rb:330 1.388
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.293
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.195
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 8.549
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.120
Then the expected persistent dotfile is present in the filesystem 0.357
After features/support/hooks.rb:330 1.315
After features/support/hooks.rb:100 0.009
Tags: @product
1:32.823
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.230
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 1.349
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.177
When I log in to a new session after having activated the Persistent Storage 41.257
And all notifications have disappeared 8.133
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.321
And all tps features are enabled 2.211
And all tps features but the first one are active 2.052
After features/support/hooks.rb:330 3.343
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.805
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 2:50.520
And I enable persistence 34.146
And I log in to a new session after having activated the Persistent Storage 47.099
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.381
And persistence is enabled 3.656
After features/support/hooks.rb:330 1.822
After features/support/hooks.rb:100 0.000
Tags: @product
28.812
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.607
And I enable persistence but something goes wrong during the LUKS header upgrade 19.440
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.764
After features/support/hooks.rb:330 0.744
After features/support/hooks.rb:100 0.000
Tags: @product
45.643
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.920
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.039
When I enable persistence 28.007
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.586
After features/support/hooks.rb:330 1.714
After features/support/hooks.rb:100 0.000
Tags: @product
49.723
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.924
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.270
When I try to enable persistence 0.391
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.923
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.815
And the filesystem of the Persistent Storage was repaired 1.507
When I close the filesystem repair dialog 4.982
Then persistence is successfully enabled 1.621
After features/support/hooks.rb:330 1.839
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.195
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.158
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.001
When I repair the filesystem of the Persistent Storage 1.935
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 37.659
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" 1.570
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.644
When I close the "whisperback" window 2.000
Then the Tor Browser starts 16.833
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.826
After features/support/hooks.rb:330 1.870
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.462
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.083
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.649
And Tails detects disk read failures on the boot device 1.519
When I try to enable persistence 0.408
Then the Welcome Screen tells me that my hardware is probably failing 17.774
When I log in to a new session 46.695
And all notifications have disappeared 9.926
Then the Tor Browser starts 21.556
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.848
After features/support/hooks.rb:330 1.802
After features/support/hooks.rb:100 0.000