Project Number Date
test_Tails_ISO_devel 3610 12 Dec 2024, 12:52

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 47:45.694 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.914
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.891
And I update APT using apt 14.792
And I install "python3-behave" using apt 25.860
Then the Tails Persistent Storage behave tests pass 3.370
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
54.739
Before features/support/hooks.rb:269 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 14.436
When I log in to a new session without activating the Persistent Storage 28.292
Then Tails is running from USB drive "__internal" 0.595
And persistence is disabled 0.380
But a Tails persistence partition exists on USB drive "__internal" 11.034
After features/support/hooks.rb:326 1.712
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.167
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.843
Then Tails is running from USB drive "__internal" 0.479
When I create a file in the Persistent directory 0.169
And I create a persistent partition with the default settings 35.215
Then the file I created was copied to the Persistent Storage 0.958
When I shutdown Tails and wait for the computer to power off 13.448
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.188
Then persistence for "Persistent" is active 1.784
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.960
After features/support/hooks.rb:100 0.010
Tags: @product
1:10.543
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.924
And the system is very low on memory 6.829
When I create a file in the Persistent directory 1.209
When I try to create a persistent partition 29.781
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.484
When I close the Persistent Storage app 2.647
And I free up some memory 2.047
And I create a persistent partition with the default settings 13.297
Then the file I created was copied to the Persistent Storage 0.321
After features/support/hooks.rb:326 1.560
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.817
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.897
Then Tails is running from USB drive "__internal" 0.711
And all tps features are active 2.631
And all persistent directories have safe access rights 2.813
When I disable the first tps feature 6.567
Then all tps features but the first one are active 2.327
And I shutdown Tails and wait for the computer to power off 10.859
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.387
Then all tps features but the first one are active 2.622
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.013
Tags: @product
23.437
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.682
Then persistence for "Persistent" is active 0.128
And I create a file in the Persistent directory 0.631
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.675
Then persistence for "Persistent" is not active 0.146
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.896
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
20.934
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.705
Then persistence for "Persistent" is active 0.123
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 6.453
And I delete the data of the Persistent Folder feature 4.495
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.124
After features/support/hooks.rb:100 0.000
Tags: @product
1:40.389
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.312
And the network is plugged 0.170
And Tor is ready 50.141
And I take note of which tps features are available 0.758
When I write some files expected to persist 1.840
And I shutdown Tails and wait for the computer to power off 9.464
# 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" 27.700
After features/support/hooks.rb:326 0.173
After features/support/hooks.rb:100 0.000
Tags: @product
3:57.879
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.966
And the network is plugged 0.187
And Tor is ready 49.153
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.234
And I shutdown Tails and wait for the computer to power off 9.278
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.150
And I capture all network traffic 0.009
And the network is plugged 0.122
And Tor is ready 21.131
And I switch to the "persistent-con-current" NetworkManager connection 0.380
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:326 0.889
After features/support/hooks.rb:100 0.066
Tags: @product
1:10.646
Before features/support/hooks.rb:269 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 14.439
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.157
Then I create a persistent partition with the default settings using the wizard that was already open 27.912
After features/support/hooks.rb:326 1.600
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.330
Before features/support/hooks.rb:269 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 12.479
When I enable persistence 40.738
Then no persistent Greeter options were restored 14.142
When I set all Greeter options to non-default values 26.416
And I log in to a new session in German (de) after having activated the Persistent Storage 46.202
Then all Greeter options are set to non-default values 0.479
When I cold reboot the computer 7.862
And the computer reboots Tails 1:2.552
Given I enable persistence 18.818
Then persistent Greeter options were restored 0.593
When I log in to a new session after having activated the Persistent Storage 44.708
Then all Greeter options are set to non-default values 0.336
After features/support/hooks.rb:326 0.939
After features/support/hooks.rb:100 0.012
Tags: @product
3:51.755
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.229
# 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 31.529
And I shutdown Tails and wait for the computer to power off 12.540
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.106
And I change the passphrase of the Persistent Storage back to the original 37.349
After features/support/hooks.rb:326 2.198
After features/support/hooks.rb:100 0.009
Tags: @product
1:22.131
Before features/support/hooks.rb:269 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.986
And I log in to a new session without activating the Persistent Storage 31.908
Then persistence is disabled 0.468
But a Tails persistence partition exists on USB drive "__internal" 16.274
And all notifications have disappeared 11.610
When I delete the persistent partition 7.632
Then there is no persistence partition on USB drive "__internal" 0.250
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.607
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.065
When I write some dotfile expected to persist 0.479
And I shutdown Tails and wait for the computer to power off 11.503
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.131
Then the expected persistent dotfile is present in the filesystem 0.426
After features/support/hooks.rb:326 0.659
After features/support/hooks.rb:100 0.042
Tags: @product
1:39.459
Before features/support/hooks.rb:269 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.679
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.219
When I try to enable persistence 0.321
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.954
When I log in to a new session after having activated the Persistent Storage 40.504
And all notifications have disappeared 8.866
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.245
And all tps features are enabled 2.518
And all tps features but the first one are active 2.148
After features/support/hooks.rb:326 1.084
After features/support/hooks.rb:100 0.000
Tags: @product
9:37.164
Before features/support/hooks.rb:269 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:2.370
And I enable persistence 41.724
And I log in to a new session after having activated the Persistent Storage 45.953
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.493
And persistence is enabled 3.622
After features/support/hooks.rb:326 1.484
After features/support/hooks.rb:100 0.000
Tags: @product
38.256
Before features/support/hooks.rb:269 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 12.746
And I enable persistence but something goes wrong during the LUKS header upgrade 24.301
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.207
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.000
Tags: @product
59.109
Before features/support/hooks.rb:269 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.168
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.162
When I enable persistence 37.526
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 3.161
After features/support/hooks.rb:326 1.410
After features/support/hooks.rb:100 0.000
Tags: @product
28.765
Before features/support/hooks.rb:269 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.347
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.687
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.755
When I repair the filesystem of the Persistent Storage 1.316
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.265
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.302
Then persistence is successfully enabled 1.594
After features/support/hooks.rb:326 1.668
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.670
Before features/support/hooks.rb:269 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.091
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.151
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.643
When I repair the filesystem of the Persistent Storage 2.436
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.112
When I log in to a new session 40.901
And all notifications have disappeared 11.145
# 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.711
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.774
When I close the "whisperback" window 1.470
Then the Tor Browser starts 19.940
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.992
After features/support/hooks.rb:326 4.109
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:27.975
Before features/support/hooks.rb:269 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 9.659
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.946
And Tails detects disk read failures on the boot device 1.701
When I try to enable persistence 0.508
Then the Welcome Screen tells me that my hardware is probably failing 8.430
When I log in to a new session 23.176
And all notifications have disappeared 8.034
Then the Tor Browser starts 25.597
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.921
After features/support/hooks.rb:326 2.631
After features/support/hooks.rb:100 0.000