Project Number Date
test_Tails_ISO_tca-misc-improvements 3 10 Apr 2025, 20:03

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:36.177 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
8:17.507
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.500
And I update APT using apt 6:16.585
And I install "python3-behave" using apt 23.684
Then the Tails Persistent Storage behave tests pass 2.738
After features/support/hooks.rb:330 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
41.561
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 10.623
When I log in to a new session without activating the Persistent Storage 23.600
Then Tails is running from USB drive "__internal" 0.531
And persistence is disabled 0.411
But a Tails persistence partition exists on USB drive "__internal" 6.395
After features/support/hooks.rb:330 1.791
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.115
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 12.560
Then Tails is running from USB drive "__internal" 0.601
When I create a file in the Persistent directory 0.153
And I create a persistent partition with the default settings 21.866
Then the file I created was copied to the Persistent Storage 2.459
When I shutdown Tails and wait for the computer to power off 10.894
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.164
Then persistence for "Persistent" is active 0.347
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.017
Tags: @product
1:1.452
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.010
And the system is very low on memory 3.451
When I create a file in the Persistent directory 1.506
When I try to create a persistent partition 23.369
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.872
When I close the Persistent Storage app 2.557
And I free up some memory 3.370
And I create a persistent partition with the default settings 13.341
Then the file I created was copied to the Persistent Storage 0.971
After features/support/hooks.rb:330 1.815
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.712
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 12.427
Then Tails is running from USB drive "__internal" 0.954
And all tps features are active 2.477
And all persistent directories have safe access rights 2.576
When I disable the first tps feature 6.206
Then all tps features but the first one are active 1.910
And I shutdown Tails and wait for the computer to power off 12.863
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.063
Then all tps features but the first one are active 2.233
After features/support/hooks.rb:330 1.231
After features/support/hooks.rb:100 0.010
Tags: @product
21.491
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.301
Then persistence for "Persistent" is active 0.150
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 7.327
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.191
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.580
After features/support/hooks.rb:100 0.000
Tags: @product
20.123
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 9.680
Then persistence for "Persistent" is active 0.176
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 6.370
And I delete the data of the Persistent Folder feature 3.751
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.515
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.193
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 9.959
And the network is plugged 0.111
And Tor is ready 21.797
And I take note of which tps features are available 0.615
When I write some files expected to persist 1.634
And I shutdown Tails and wait for the computer to power off 8.540
# 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.535
After features/support/hooks.rb:330 0.186
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.223
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.563
And the network is plugged 0.246
And Tor is ready 19.661
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 8.853
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.232
And I capture all network traffic 0.015
And the network is plugged 0.066
And Tor is ready 19.654
And I switch to the "persistent-con-current" NetworkManager connection 0.491
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.123
After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.057
Tags: @product
57.301
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.955
And I enable persistence creation in Tails Greeter 1.108
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.357
Then I create a persistent partition with the default settings using the wizard that was already open 21.880
After features/support/hooks.rb:330 2.256
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.572
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 13.188
When I enable persistence 36.883
Then no persistent Greeter options were restored 14.592
When I set all Greeter options to non-default values 28.273
And I log in to a new session in German (de) after having activated the Persistent Storage 46.157
Then all Greeter options are set to non-default values 1.088
When I cold reboot the computer 7.809
And the computer reboots Tails 1:10.060
Given I enable persistence 16.656
Then persistent Greeter options were restored 0.568
When I log in to a new session after having activated the Persistent Storage 39.587
Then all Greeter options are set to non-default values 0.705
After features/support/hooks.rb:330 1.854
After features/support/hooks.rb:100 0.010
Tags: @product
3:42.466
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 35.821
And I shutdown Tails and wait for the computer to power off 12.926
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.771
And I change the passphrase of the Persistent Storage back to the original 34.466
After features/support/hooks.rb:330 3.552
After features/support/hooks.rb:100 0.010
Tags: @product
56.944
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 10.092
And I log in to a new session without activating the Persistent Storage 20.662
Then persistence is disabled 0.532
But a Tails persistence partition exists on USB drive "__internal" 10.108
And all notifications have disappeared 9.055
When I delete the persistent partition 5.609
Then there is no persistence partition on USB drive "__internal" 0.882
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.457
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.358
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 11.012
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.590
Then the expected persistent dotfile is present in the filesystem 0.427
After features/support/hooks.rb:330 1.070
After features/support/hooks.rb:100 0.008
Tags: @product
1:46.359
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.276
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.316
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.191
When I log in to a new session after having activated the Persistent Storage 47.044
And all notifications have disappeared 8.263
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.236
And all tps features are enabled 2.804
And all tps features but the first one are active 2.150
After features/support/hooks.rb:330 1.771
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.816
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:43.317
And I enable persistence 30.442
And I log in to a new session after having activated the Persistent Storage 48.276
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.058
And persistence is enabled 2.722
After features/support/hooks.rb:330 1.867
After features/support/hooks.rb:100 0.000
Tags: @product
30.520
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.939
And I enable persistence but something goes wrong during the LUKS header upgrade 20.574
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.007
After features/support/hooks.rb:330 0.857
After features/support/hooks.rb:100 0.000
Tags: @product
44.465
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 10.127
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.762
When I enable persistence 26.582
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.901
After features/support/hooks.rb:330 2.722
After features/support/hooks.rb:100 0.000
Tags: @product
49.354
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.418
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.008
When I try to enable persistence 0.424
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.605
When I repair the filesystem of the Persistent Storage 1.300
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.112
And the filesystem of the Persistent Storage was repaired 2.850
When I close the filesystem repair dialog 1.232
Then persistence is successfully enabled 1.402
After features/support/hooks.rb:330 3.237
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.767
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.707
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.455
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 43.606
And all notifications have disappeared 8.871
# 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.956
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.548
When I close the "whisperback" window 1.624
Then the Tor Browser starts 21.414
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.880
After features/support/hooks.rb:330 1.641
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.769
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.948
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.364
And Tails detects disk read failures on the boot device 1.640
When I try to enable persistence 0.428
Then the Welcome Screen tells me that my hardware is probably failing 19.090
When I log in to a new session 48.117
And all notifications have disappeared 8.443
Then the Tor Browser starts 21.829
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.906
After features/support/hooks.rb:330 3.739
After features/support/hooks.rb:100 0.000