Project Number Date
test_Tails_ISO_feature-arti 18 04 Apr 2025, 16:33

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 42:22.442 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:45.308
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.519
And I update APT using apt 1:44.270
And I install "python3-behave" using apt 23.054
Then the Tails Persistent Storage behave tests pass 3.464
After features/support/hooks.rb:330 0.641
After features/support/hooks.rb:100 0.000
Tags: @product
45.563
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 13.123
When I log in to a new session without activating the Persistent Storage 23.863
Then Tails is running from USB drive "__internal" 0.971
And persistence is disabled 0.417
But a Tails persistence partition exists on USB drive "__internal" 7.187
After features/support/hooks.rb:330 1.406
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.890
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 11.606
Then Tails is running from USB drive "__internal" 1.014
When I create a file in the Persistent directory 0.126
And I create a persistent partition with the default settings 21.977
Then the file I created was copied to the Persistent Storage 2.420
When I shutdown Tails and wait for the computer to power off 10.625
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.711
Then persistence for "Persistent" is active 0.337
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 3.386
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.169
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 10.632
And the system is very low on memory 3.452
When I create a file in the Persistent directory 1.030
When I try to create a persistent partition 26.964
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.505
When I close the Persistent Storage app 2.711
And I free up some memory 3.688
And I create a persistent partition with the default settings 12.924
Then the file I created was copied to the Persistent Storage 0.260
After features/support/hooks.rb:330 2.099
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.721
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.472
Then Tails is running from USB drive "__internal" 0.535
And all tps features are active 2.528
And all persistent directories have safe access rights 2.664
When I disable the first tps feature 9.649
Then all tps features but the first one are active 2.093
And I shutdown Tails and wait for the computer to power off 14.759
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.954
Then all tps features but the first one are active 2.061
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.009
Tags: @product
19.725
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.129
Then persistence for "Persistent" is active 0.146
And I create a file in the Persistent directory 0.092
Then the file I created was copied to the Persistent Storage 0.202
When I disable the first tps feature 5.770
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.040
When I enable the first tps feature 3.124
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.241
After features/support/hooks.rb:100 0.000
Tags: @product
18.975
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 9.486
Then persistence for "Persistent" is active 0.159
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.399
And I delete the data of the Persistent Folder feature 3.793
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:330 1.218
After features/support/hooks.rb:100 0.000
Tags: @product
1:32.299
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 9.704
And the network is plugged 0.089
And Tor is ready 47.868
And I take note of which tps features are available 0.662
When I write some files expected to persist 1.478
And I shutdown Tails and wait for the computer to power off 8.423
# 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.073
After features/support/hooks.rb:330 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.211
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 9.790
And the network is plugged 0.098
And Tor is ready 17.813
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.262
And I shutdown Tails and wait for the computer to power off 8.545
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.045
And I capture all network traffic 0.006
And the network is plugged 0.098
And Tor is ready 18.795
And I switch to the "persistent-con-current" NetworkManager connection 0.457
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.179
After features/support/hooks.rb:330 0.674
After features/support/hooks.rb:100 0.045
Tags: @product
1:5.945
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.951
And I enable persistence creation in Tails Greeter 1.499
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.503
Then I create a persistent partition with the default settings using the wizard that was already open 24.990
After features/support/hooks.rb:330 2.717
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.189
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.554
When I enable persistence 42.423
Then no persistent Greeter options were restored 14.513
When I set all Greeter options to non-default values 28.087
And I log in to a new session in German (de) after having activated the Persistent Storage 47.781
Then all Greeter options are set to non-default values 0.460
When I cold reboot the computer 7.447
And the computer reboots Tails 1:0.771
Given I enable persistence 16.973
Then persistent Greeter options were restored 0.559
When I log in to a new session after having activated the Persistent Storage 39.152
Then all Greeter options are set to non-default values 0.464
After features/support/hooks.rb:330 1.871
After features/support/hooks.rb:100 0.007
Tags: @product
3:51.145
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 9.956
# 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 32.117
And I shutdown Tails and wait for the computer to power off 14.537
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.652
And I change the passphrase of the Persistent Storage back to the original 32.882
After features/support/hooks.rb:330 3.236
After features/support/hooks.rb:100 0.010
Tags: @product
54.912
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.799
And I log in to a new session without activating the Persistent Storage 21.672
Then persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 6.597
And all notifications have disappeared 9.208
When I delete the persistent partition 6.344
Then there is no persistence partition on USB drive "__internal" 0.945
After features/support/hooks.rb:330 0.805
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.471
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 9.810
When I write some dotfile expected to persist 0.362
And I shutdown Tails and wait for the computer to power off 11.208
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.596
Then the expected persistent dotfile is present in the filesystem 0.493
After features/support/hooks.rb:330 1.184
After features/support/hooks.rb:100 0.009
Tags: @product
1:34.597
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.975
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.099
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.654
When I log in to a new session after having activated the Persistent Storage 39.359
And all notifications have disappeared 7.805
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.770
And all tps features are enabled 3.013
And all tps features but the first one are active 2.639
After features/support/hooks.rb:330 1.384
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.507
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:53.474
And I enable persistence 36.861
And I log in to a new session after having activated the Persistent Storage 42.993
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.575
And persistence is enabled 2.601
After features/support/hooks.rb:330 1.482
After features/support/hooks.rb:100 0.000
Tags: @product
27.656
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.514
And I enable persistence but something goes wrong during the LUKS header upgrade 18.461
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.680
After features/support/hooks.rb:330 0.634
After features/support/hooks.rb:100 0.000
Tags: @product
44.791
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.058
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.061
When I enable persistence 27.792
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.780
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
47.216
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.251
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.651
When I try to enable persistence 0.388
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.921
When I repair the filesystem of the Persistent Storage 2.486
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.763
And the filesystem of the Persistent Storage was repaired 3.131
When I close the filesystem repair dialog 1.236
Then persistence is successfully enabled 1.385
After features/support/hooks.rb:330 1.242
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.323
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 8.734
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.046
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.462
When I log in to a new session 40.636
And all notifications have disappeared 10.461
# 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.443
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.888
When I close the "whisperback" window 1.435
Then the Tor Browser starts 17.480
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.115
After features/support/hooks.rb:330 3.774
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.818
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.207
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.359
And Tails detects disk read failures on the boot device 0.467
When I try to enable persistence 0.391
Then the Welcome Screen tells me that my hardware is probably failing 27.964
When I log in to a new session 49.367
And all notifications have disappeared 9.116
Then the Tor Browser starts 20.981
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.961
After features/support/hooks.rb:330 3.234
After features/support/hooks.rb:100 0.000