Project Number Date
test_Tails_ISO_feature-arti 25 11 Apr 2025, 16:35

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:28.104 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:46.014
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:33.894
And I update APT using apt 4:43.792
And I install "python3-behave" using apt 1:25.387
Then the Tails Persistent Storage behave tests pass 2.938
After features/support/hooks.rb:330 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
45.911
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 and stopped at Tails Greeter's login screen 12.779
When I log in to a new session without activating the Persistent Storage 22.496
Then Tails is running from USB drive "__internal" 0.854
And persistence is disabled 0.442
But a Tails persistence partition exists on USB drive "__internal" 9.338
After features/support/hooks.rb:330 3.892
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.973
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 16.038
Then Tails is running from USB drive "__internal" 0.570
When I create a file in the Persistent directory 0.164
And I create a persistent partition with the default settings 25.626
Then the file I created was copied to the Persistent Storage 2.524
When I shutdown Tails and wait for the computer to power off 12.808
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.443
Then persistence for "Persistent" is active 0.720
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.665
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.430
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 logged in 11.279
And the system is very low on memory 4.073
When I create a file in the Persistent directory 1.411
When I try to create a persistent partition 26.109
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.867
When I close the Persistent Storage app 3.146
And I free up some memory 3.932
And I create a persistent partition with the default settings 15.095
Then the file I created was copied to the Persistent Storage 0.514
After features/support/hooks.rb:330 2.274
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.891
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 15.970
Then Tails is running from USB drive "__internal" 0.903
And all tps features are active 2.263
And all persistent directories have safe access rights 2.874
When I disable the first tps feature 6.346
Then all tps features but the first one are active 2.121
And I shutdown Tails and wait for the computer to power off 15.385
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.533
Then all tps features but the first one are active 2.491
After features/support/hooks.rb:330 0.869
After features/support/hooks.rb:100 0.008
Tags: @product
22.049
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 enabled and logged in 11.122
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.118
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.056
When I enable the first tps feature 4.258
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.457
After features/support/hooks.rb:100 0.000
Tags: @product
22.056
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.640
Then persistence for "Persistent" is active 0.102
When I create a file in the Persistent directory 0.119
And I disable the first tps feature 6.148
And I delete the data of the Persistent Folder feature 4.982
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.450
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.000
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.595
And the network is plugged 0.087
And Tor is ready 23.923
And I take note of which tps features are available 0.624
When I write some files expected to persist 1.652
And I shutdown Tails and wait for the computer to power off 8.513
# 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.604
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.213
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.947
And the network is plugged 0.521
And Tor is ready 53.925
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.318
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.524
And I capture all network traffic 0.020
And the network is plugged 0.074
And Tor is ready 20.959
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.243
After features/support/hooks.rb:330 0.730
After features/support/hooks.rb:100 0.045
Tags: @product
1:0.082
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 12.605
And I enable persistence creation in Tails Greeter 1.221
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.538
Then I create a persistent partition with the default settings using the wizard that was already open 23.717
After features/support/hooks.rb:330 2.725
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.219
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 12.490
When I enable persistence 40.559
Then no persistent Greeter options were restored 14.940
When I set all Greeter options to non-default values 25.189
And I log in to a new session in German (de) after having activated the Persistent Storage 40.381
Then all Greeter options are set to non-default values 0.590
When I cold reboot the computer 7.611
And the computer reboots Tails 59.728
Given I enable persistence 18.006
Then persistent Greeter options were restored 0.605
When I log in to a new session after having activated the Persistent Storage 38.593
Then all Greeter options are set to non-default values 0.520
After features/support/hooks.rb:330 2.675
After features/support/hooks.rb:100 0.012
Tags: @product
3:46.071
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.417
# 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 36.184
And I shutdown Tails and wait for the computer to power off 12.509
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.499
And I change the passphrase of the Persistent Storage back to the original 31.459
After features/support/hooks.rb:330 2.870
After features/support/hooks.rb:100 0.009
Tags: @product
57.319
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.798
And I log in to a new session without activating the Persistent Storage 20.652
Then persistence is disabled 0.442
But a Tails persistence partition exists on USB drive "__internal" 8.641
And all notifications have disappeared 9.880
When I delete the persistent partition 6.942
Then there is no persistence partition on USB drive "__internal" 0.960
After features/support/hooks.rb:330 2.877
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.654
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.308
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.702
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.101
Then the expected persistent dotfile is present in the filesystem 0.474
After features/support/hooks.rb:330 1.301
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.371
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.428
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.893
When I log in to a new session after having activated the Persistent Storage 40.071
And all notifications have disappeared 7.788
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.887
And all tps features are enabled 2.791
And all tps features but the first one are active 2.110
After features/support/hooks.rb:330 1.994
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.606
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:14.559
And I enable persistence 34.682
And I log in to a new session after having activated the Persistent Storage 48.167
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.649
And persistence is enabled 2.547
After features/support/hooks.rb:330 1.896
After features/support/hooks.rb:100 0.000
Tags: @product
31.211
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.901
And I enable persistence but something goes wrong during the LUKS header upgrade 21.531
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.777
After features/support/hooks.rb:330 0.934
After features/support/hooks.rb:100 0.000
Tags: @product
56.322
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.474
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 17.727
When I enable persistence 26.522
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.517
After features/support/hooks.rb:330 1.632
After features/support/hooks.rb:100 0.000
Tags: @product
50.097
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.157
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.754
When I try to enable persistence 0.695
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.555
When I repair the filesystem of the Persistent Storage 1.368
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.454
And the filesystem of the Persistent Storage was repaired 3.323
When I close the filesystem repair dialog 1.287
Then persistence is successfully enabled 1.501
After features/support/hooks.rb:330 1.834
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.982
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 8.709
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.636
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.106
When I log in to a new session 46.356
And all notifications have disappeared 7.914
# 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.613
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.172
When I close the "whisperback" window 1.616
Then the Tor Browser starts 14.911
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.262
After features/support/hooks.rb:330 1.621
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.623
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 8.935
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.662
And Tails detects disk read failures on the boot device 1.531
When I try to enable persistence 0.427
Then the Welcome Screen tells me that my hardware is probably failing 19.343
When I log in to a new session 49.135
And all notifications have disappeared 7.694
Then the Tor Browser starts 21.033
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.859
After features/support/hooks.rb:330 4.448
After features/support/hooks.rb:100 0.000