Project Number Date
test_Tails_ISO_devel 3790 28 Apr 2025, 13: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:39.423 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.942
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:55.441
And I update APT using apt 15.085
And I install "python3-behave" using apt 27.172
Then the Tails Persistent Storage behave tests pass 3.241
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
47.304
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.155
When I log in to a new session without activating the Persistent Storage 25.380
Then Tails is running from USB drive "__internal" 0.648
And persistence is disabled 0.558
But a Tails persistence partition exists on USB drive "__internal" 9.561
After features/support/hooks.rb:330 1.893
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.823
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 17.939
Then Tails is running from USB drive "__internal" 0.611
When I create a file in the Persistent directory 0.284
And I create a persistent partition with the default settings 26.962
Then the file I created was copied to the Persistent Storage 2.309
When I shutdown Tails and wait for the computer to power off 13.456
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.752
Then persistence for "Persistent" is active 0.418
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.474
After features/support/hooks.rb:100 0.009
Tags: @product
1:13.750
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 without a persistent partition and logged in 15.287
And the system is very low on memory 3.397
When I create a file in the Persistent directory 0.747
When I try to create a persistent partition 31.484
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.673
When I close the Persistent Storage app 2.883
And I free up some memory 4.072
And I create a persistent partition with the default settings 14.928
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:330 2.386
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.983
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 14.577
Then Tails is running from USB drive "__internal" 0.685
And all tps features are active 2.850
And all persistent directories have safe access rights 2.799
When I disable the first tps feature 7.716
Then all tps features but the first one are active 2.749
And I shutdown Tails and wait for the computer to power off 15.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.338
Then all tps features but the first one are active 2.475
After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.010
Tags: @product
28.424
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 14.281
Then persistence for "Persistent" is active 1.339
And I create a file in the Persistent directory 0.092
Then the file I created was copied to the Persistent Storage 0.196
When I disable the first tps feature 7.664
Then persistence for "Persistent" is not active 0.109
And the Persistent directory does not exist 0.059
When I enable the first tps feature 4.507
Then persistence for "Persistent" is active 0.107
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.933
After features/support/hooks.rb:100 0.000
Tags: @product
26.868
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.738
Then persistence for "Persistent" is active 0.131
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 10.603
And I delete the data of the Persistent Folder feature 5.184
Then the file I created does not exist on the Persistent Storage 0.133
After features/support/hooks.rb:330 1.741
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.746
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 25.157
And the network is plugged 0.118
And Tor is ready 27.159
And I take note of which tps features are available 3.204
When I write some files expected to persist 1.714
And I shutdown Tails and wait for the computer to power off 12.860
# 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.532
After features/support/hooks.rb:330 0.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.990
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.187
And the network is plugged 0.089
And Tor is ready 26.370
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.307
And I shutdown Tails and wait for the computer to power off 9.172
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.470
And I capture all network traffic 0.014
And the network is plugged 0.127
And Tor is ready 21.624
And I switch to the "persistent-con-current" NetworkManager connection 0.345
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.154
After features/support/hooks.rb:330 0.801
After features/support/hooks.rb:100 0.044
Tags: @product
1:5.347
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 stopped at Tails Greeter's login screen 14.275
And I enable persistence creation in Tails Greeter 1.441
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.063
Then I create a persistent partition with the default settings using the wizard that was already open 27.567
After features/support/hooks.rb:330 3.191
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.937
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 30.640
When I enable persistence 39.390
Then no persistent Greeter options were restored 14.319
When I set all Greeter options to non-default values 35.263
And I log in to a new session in German (de) after having activated the Persistent Storage 55.175
Then all Greeter options are set to non-default values 0.534
When I cold reboot the computer 8.323
And the computer reboots Tails 1:7.016
Given I enable persistence 21.997
Then persistent Greeter options were restored 0.530
When I log in to a new session after having activated the Persistent Storage 42.259
Then all Greeter options are set to non-default values 0.484
After features/support/hooks.rb:330 2.024
After features/support/hooks.rb:100 0.010
Tags: @product
4:28.951
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 10.480
# 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 44.633
And I shutdown Tails and wait for the computer to power off 16.423
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:38.154
And I change the passphrase of the Persistent Storage back to the original 39.259
After features/support/hooks.rb:330 2.825
After features/support/hooks.rb:100 0.011
Tags: @product
59.128
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.823
And I log in to a new session without activating the Persistent Storage 23.600
Then persistence is disabled 0.387
But a Tails persistence partition exists on USB drive "__internal" 7.797
And all notifications have disappeared 9.513
When I delete the persistent partition 7.165
Then there is no persistence partition on USB drive "__internal" 0.840
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.985
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 enabled and logged in 11.564
When I write some dotfile expected to persist 0.157
And I shutdown Tails and wait for the computer to power off 11.070
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.603
Then the expected persistent dotfile is present in the filesystem 0.589
After features/support/hooks.rb:330 1.293
After features/support/hooks.rb:100 0.048
Tags: @product
1:49.184
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.395
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.174
When I log in to a new session after having activated the Persistent Storage 45.263
And all notifications have disappeared 10.037
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.347
And all tps features are enabled 3.130
And all tps features but the first one are active 2.447
After features/support/hooks.rb:330 1.754
After features/support/hooks.rb:100 0.000
Tags: @product
6:19.012
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 4:54.110
And I enable persistence 33.008
And I log in to a new session after having activated the Persistent Storage 47.966
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.033
And persistence is enabled 2.892
After features/support/hooks.rb:330 1.741
After features/support/hooks.rb:100 0.000
Tags: @product
29.147
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.838
And I enable persistence but something goes wrong during the LUKS header upgrade 18.578
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.730
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
53.161
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.684
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.417
When I enable persistence 35.237
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.735
After features/support/hooks.rb:330 2.356
After features/support/hooks.rb:100 0.000
Tags: @product
54.737
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.538
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.286
When I try to enable persistence 0.478
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.740
When I repair the filesystem of the Persistent Storage 2.676
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.476
And the filesystem of the Persistent Storage was repaired 4.593
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 1.677
After features/support/hooks.rb:330 3.303
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.667
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.392
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.150
When I try to enable persistence 0.311
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.065
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 42.342
And all notifications have disappeared 10.059
# 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.623
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.409
When I close the "whisperback" window 1.819
Then the Tor Browser starts 19.137
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.015
After features/support/hooks.rb:330 3.367
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.328
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.957
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.354
And Tails detects disk read failures on the boot device 0.566
When I try to enable persistence 0.482
Then the Welcome Screen tells me that my hardware is probably failing 26.557
When I log in to a new session 55.745
And all notifications have disappeared 9.364
Then the Tor Browser starts 20.426
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.874
After features/support/hooks.rb:330 3.179
After features/support/hooks.rb:100 0.000