Project Number Date
test_Tails_ISO_devel 3776 10 Apr 2025, 15:28

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 43:32.784 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:54.269
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:41.943
And I update APT using apt 14.621
And I install "python3-behave" using apt 54.335
Then the Tails Persistent Storage behave tests pass 3.369
After features/support/hooks.rb:330 0.712
After features/support/hooks.rb:100 0.000
Tags: @product
52.792
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 14.105
When I log in to a new session without activating the Persistent Storage 25.688
Then Tails is running from USB drive "__internal" 0.930
And persistence is disabled 0.348
But a Tails persistence partition exists on USB drive "__internal" 11.718
After features/support/hooks.rb:330 1.626
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.234
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 13.216
Then Tails is running from USB drive "__internal" 0.538
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 22.460
Then the file I created was copied to the Persistent Storage 2.027
When I shutdown Tails and wait for the computer to power off 13.453
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.797
Then persistence for "Persistent" is active 0.513
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.933
After features/support/hooks.rb:100 0.012
Tags: @product
1:9.999
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.256
And the system is very low on memory 5.660
When I create a file in the Persistent directory 1.923
When I try to create a persistent partition 29.167
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.184
When I close the Persistent Storage app 2.667
And I free up some memory 3.112
And I create a persistent partition with the default settings 14.726
Then the file I created was copied to the Persistent Storage 0.300
After features/support/hooks.rb:330 2.330
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.056
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 14.111
Then Tails is running from USB drive "__internal" 0.518
And all tps features are active 2.661
And all persistent directories have safe access rights 2.695
When I disable the first tps feature 5.787
Then all tps features but the first one are active 2.129
And I shutdown Tails and wait for the computer to power off 15.543
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.376
Then all tps features but the first one are active 2.232
After features/support/hooks.rb:330 1.604
After features/support/hooks.rb:100 0.010
Tags: @product
20.023
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 11.025
Then persistence for "Persistent" is active 0.111
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.150
When I disable the first tps feature 5.218
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.140
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.409
After features/support/hooks.rb:100 0.000
Tags: @product
19.556
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.151
Then persistence for "Persistent" is active 0.122
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.505
And I delete the data of the Persistent Folder feature 3.634
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.507
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.200
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.913
And the network is plugged 0.094
And Tor is ready 51.169
And I take note of which tps features are available 0.748
When I write some files expected to persist 1.714
And I shutdown Tails and wait for the computer to power off 8.906
# 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.654
After features/support/hooks.rb:330 0.152
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.185
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 11.312
And the network is plugged 0.079
And Tor is ready 20.208
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.476
And I shutdown Tails and wait for the computer to power off 13.576
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.627
And I capture all network traffic 0.010
And the network is plugged 0.081
And Tor is ready 21.169
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.058
Tags: @product
1:1.826
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 stopped at Tails Greeter's login screen 14.620
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.517
Then I create a persistent partition with the default settings using the wizard that was already open 23.563
After features/support/hooks.rb:330 2.499
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.564
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.857
When I enable persistence 38.981
Then no persistent Greeter options were restored 14.212
When I set all Greeter options to non-default values 27.136
And I log in to a new session in German (de) after having activated the Persistent Storage 49.507
Then all Greeter options are set to non-default values 2.001
When I cold reboot the computer 7.420
And the computer reboots Tails 1:3.089
Given I enable persistence 17.889
Then persistent Greeter options were restored 0.519
When I log in to a new session after having activated the Persistent Storage 45.700
Then all Greeter options are set to non-default values 0.249
After features/support/hooks.rb:330 1.069
After features/support/hooks.rb:100 0.010
Tags: @product
4:0.727
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.312
# 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 33.862
And I shutdown Tails and wait for the computer to power off 14.686
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.972
And I change the passphrase of the Persistent Storage back to the original 39.893
After features/support/hooks.rb:330 3.148
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.940
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.351
And I log in to a new session without activating the Persistent Storage 23.452
Then persistence is disabled 0.406
But a Tails persistence partition exists on USB drive "__internal" 10.296
And all notifications have disappeared 10.248
When I delete the persistent partition 6.124
Then there is no persistence partition on USB drive "__internal" 1.061
After features/support/hooks.rb:330 1.278
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.998
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.092
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 11.196
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.148
Then the expected persistent dotfile is present in the filesystem 0.468
After features/support/hooks.rb:330 0.894
After features/support/hooks.rb:100 0.009
Tags: @product
1:41.333
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.309
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.459
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.698
When I log in to a new session after having activated the Persistent Storage 44.889
And all notifications have disappeared 8.370
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.657
And all tps features are enabled 2.725
And all tps features but the first one are active 2.125
After features/support/hooks.rb:330 1.059
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.837
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:49.103
And I enable persistence 35.313
And I log in to a new session after having activated the Persistent Storage 46.494
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.960
And persistence is enabled 2.964
After features/support/hooks.rb:330 1.625
After features/support/hooks.rb:100 0.000
Tags: @product
32.955
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
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 10.153
And I enable persistence but something goes wrong during the LUKS header upgrade 22.051
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.750
After features/support/hooks.rb:330 0.769
After features/support/hooks.rb:100 0.000
Tags: @product
51.566
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.703
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.781
When I enable persistence 32.829
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 3.158
After features/support/hooks.rb:330 2.223
After features/support/hooks.rb:100 0.000
Tags: @product
50.059
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.256
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.391
When I try to enable persistence 0.396
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.150
When I repair the filesystem of the Persistent Storage 2.531
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.800
And the filesystem of the Persistent Storage was repaired 4.949
When I close the filesystem repair dialog 1.210
Then persistence is successfully enabled 1.372
After features/support/hooks.rb:330 2.617
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.643
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 8.877
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.132
When I try to enable persistence 0.397
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.313
When I repair the filesystem of the Persistent Storage 1.284
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 40.551
And all notifications have disappeared 8.148
# 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.990
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.230
When I close the "whisperback" window 1.578
Then the Tor Browser starts 22.036
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.005
After features/support/hooks.rb:330 3.704
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.010
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 with a persistent partition and stopped at Tails Greeter's login screen 10.216
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.230
And Tails detects disk read failures on the boot device 1.591
When I try to enable persistence 0.400
Then the Welcome Screen tells me that my hardware is probably failing 24.186
When I log in to a new session 48.103
And all notifications have disappeared 8.119
Then the Tor Browser starts 22.258
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.903
After features/support/hooks.rb:330 3.188
After features/support/hooks.rb:100 0.000