Project Number Date
test_Tails_ISO_devel 3711 26 Feb 2025, 20:42

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 41:50.332 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.622
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.232
And I update APT using apt 13.425
And I install "python3-behave" using apt 22.317
Then the Tails Persistent Storage behave tests pass 3.646
After features/support/hooks.rb:330 0.871
After features/support/hooks.rb:100 0.000
Tags: @product
45.585
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.830
When I log in to a new session without activating the Persistent Storage 26.230
Then Tails is running from USB drive "__internal" 0.594
And persistence is disabled 0.296
But a Tails persistence partition exists on USB drive "__internal" 6.633
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.534
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.871
Then Tails is running from USB drive "__internal" 0.397
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 24.178
Then the file I created was copied to the Persistent Storage 0.520
When I shutdown Tails and wait for the computer to power off 12.751
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.382
Then persistence for "Persistent" is active 1.219
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 2.059
After features/support/hooks.rb:100 0.010
Tags: @product
58.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 without a persistent partition and logged in 10.055
And the system is very low on memory 3.504
When I create a file in the Persistent directory 1.324
When I try to create a persistent partition 26.239
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.194
When I close the Persistent Storage app 2.533
And I free up some memory 1.556
And I create a persistent partition with the default settings 12.130
Then the file I created was copied to the Persistent Storage 0.608
After features/support/hooks.rb:330 2.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.020
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 23.317
Then Tails is running from USB drive "__internal" 0.476
And all tps features are active 2.548
And all persistent directories have safe access rights 2.466
When I disable the first tps feature 7.184
Then all tps features but the first one are active 2.403
And I shutdown Tails and wait for the computer to power off 15.060
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.234
Then all tps features but the first one are active 2.328
After features/support/hooks.rb:330 1.474
After features/support/hooks.rb:100 0.013
Tags: @product
26.817
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 14.985
Then persistence for "Persistent" is active 0.077
And I create a file in the Persistent directory 0.121
Then the file I created was copied to the Persistent Storage 0.102
When I disable the first tps feature 7.001
Then persistence for "Persistent" is not active 0.108
And the Persistent directory does not exist 0.044
When I enable the first tps feature 4.245
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:330 1.492
After features/support/hooks.rb:100 0.000
Tags: @product
23.205
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 10.196
Then persistence for "Persistent" is active 0.990
When I create a file in the Persistent directory 0.100
And I disable the first tps feature 7.388
And I delete the data of the Persistent Folder feature 4.469
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.549
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.548
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 12.072
And the network is plugged 0.073
And Tor is ready 24.231
And I take note of which tps features are available 0.637
When I write some files expected to persist 1.431
And I shutdown Tails and wait for the computer to power off 8.469
# 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.632
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.955
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.749
And the network is plugged 0.105
And Tor is ready 31.615
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.208
And I shutdown Tails and wait for the computer to power off 8.423
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.529
And I capture all network traffic 0.010
And the network is plugged 0.071
And Tor is ready 20.610
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.128
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.673
After features/support/hooks.rb:100 0.053
Tags: @product
55.003
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 11.826
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.260
Then I create a persistent partition with the default settings using the wizard that was already open 22.783
After features/support/hooks.rb:330 2.304
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.927
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 13.898
When I enable persistence 41.665
Then no persistent Greeter options were restored 14.101
When I set all Greeter options to non-default values 24.453
And I log in to a new session in German (de) after having activated the Persistent Storage 40.237
Then all Greeter options are set to non-default values 0.313
When I cold reboot the computer 7.212
And the computer reboots Tails 1:5.475
Given I enable persistence 18.905
Then persistent Greeter options were restored 0.488
When I log in to a new session after having activated the Persistent Storage 38.635
Then all Greeter options are set to non-default values 0.538
After features/support/hooks.rb:330 1.326
After features/support/hooks.rb:100 0.008
Tags: @product
3:59.653
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.201
# 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.311
And I shutdown Tails and wait for the computer to power off 14.509
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.145
And I change the passphrase of the Persistent Storage back to the original 35.484
After features/support/hooks.rb:330 1.754
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.930
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 23.868
And I log in to a new session without activating the Persistent Storage 21.025
Then persistence is disabled 0.485
But a Tails persistence partition exists on USB drive "__internal" 7.413
And all notifications have disappeared 8.750
When I delete the persistent partition 6.993
Then there is no persistence partition on USB drive "__internal" 0.394
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.696
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.538
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 12.634
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.103
Then the expected persistent dotfile is present in the filesystem 0.345
After features/support/hooks.rb:330 0.848
After features/support/hooks.rb:100 0.007
Tags: @product
1:49.656
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.673
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.712
When I log in to a new session after having activated the Persistent Storage 50.990
And all notifications have disappeared 8.032
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.510
And all tps features are enabled 2.305
And all tps features but the first one are active 2.073
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.446
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:54.546
And I enable persistence 34.800
And I log in to a new session after having activated the Persistent Storage 43.975
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.498
And persistence is enabled 3.625
After features/support/hooks.rb:330 1.846
After features/support/hooks.rb:100 0.000
Tags: @product
29.301
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 9.039
And I enable persistence but something goes wrong during the LUKS header upgrade 19.301
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.961
After features/support/hooks.rb:330 0.686
After features/support/hooks.rb:100 0.000
Tags: @product
45.772
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.507
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.753
When I enable persistence 28.749
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.679
After features/support/hooks.rb:330 1.679
After features/support/hooks.rb:100 0.000
Tags: @product
48.229
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.036
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.376
When I try to enable persistence 0.482
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.246
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.221
And the filesystem of the Persistent Storage was repaired 1.364
When I close the filesystem repair dialog 1.688
Then persistence is successfully enabled 1.517
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.694
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.316
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 2.060
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.952
When I repair the filesystem of the Persistent Storage 1.240
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 35.639
And all notifications have disappeared 8.123
# 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.171
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.235
When I close the "whisperback" window 1.774
Then the Tor Browser starts 20.076
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.901
After features/support/hooks.rb:330 1.743
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.582
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.025
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.880
And Tails detects disk read failures on the boot device 0.532
When I try to enable persistence 0.581
Then the Welcome Screen tells me that my hardware is probably failing 21.571
When I log in to a new session 48.468
And all notifications have disappeared 8.871
Then the Tor Browser starts 21.863
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.787
After features/support/hooks.rb:330 2.118
After features/support/hooks.rb:100 0.000