Project Number Date
test_Tails_ISO_feature-arti 43 28 Apr 2025, 16:16

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 39:17.046 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.171
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.150
And I update APT using apt 13.749
And I install "python3-behave" using apt 23.326
Then the Tails Persistent Storage behave tests pass 2.944
After features/support/hooks.rb:330 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
48.255
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.909
When I log in to a new session without activating the Persistent Storage 26.416
Then Tails is running from USB drive "__internal" 0.651
And persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 8.912
After features/support/hooks.rb:330 1.331
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.863
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 13.297
Then Tails is running from USB drive "__internal" 0.485
When I create a file in the Persistent directory 0.243
And I create a persistent partition with the default settings 20.898
Then the file I created was copied to the Persistent Storage 2.227
When I shutdown Tails and wait for the computer to power off 12.732
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.433
Then persistence for "Persistent" is active 0.463
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.009
Tags: @product
1:7.132
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 11.115
And the system is very low on memory 4.576
When I create a file in the Persistent directory 1.888
When I try to create a persistent partition 29.823
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.351
When I close the Persistent Storage app 2.760
And I free up some memory 3.012
And I create a persistent partition with the default settings 13.320
Then the file I created was copied to the Persistent Storage 0.283
After features/support/hooks.rb:330 2.193
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.532
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.826
Then Tails is running from USB drive "__internal" 0.793
And all tps features are active 2.250
And all persistent directories have safe access rights 2.515
When I disable the first tps feature 5.390
Then all tps features but the first one are active 2.426
And I shutdown Tails and wait for the computer to power off 13.025
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.155
Then all tps features but the first one are active 2.147
After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.009
Tags: @product
19.153
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 9.759
Then persistence for "Persistent" is active 0.151
And I create a file in the Persistent directory 0.195
Then the file I created was copied to the Persistent Storage 0.116
When I disable the first tps feature 5.541
Then persistence for "Persistent" is not active 0.064
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.105
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
18.893
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.393
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.704
And I delete the data of the Persistent Folder feature 3.573
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.799
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 9.428
And the network is plugged 0.081
And Tor is ready 20.374
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.534
And I shutdown Tails and wait for the computer to power off 8.626
# 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.117
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.247
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 9.517
And the network is plugged 0.078
And Tor is ready 18.706
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.191
And I shutdown Tails and wait for the computer to power off 8.420
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.222
And I capture all network traffic 0.010
And the network is plugged 0.070
And Tor is ready 19.455
And I switch to the "persistent-con-current" NetworkManager connection 0.321
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.163
After features/support/hooks.rb:330 0.616
After features/support/hooks.rb:100 0.044
Tags: @product
58.892
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 14.172
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.766
Then I create a persistent partition with the default settings using the wizard that was already open 20.829
After features/support/hooks.rb:330 2.431
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.929
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 11.165
When I enable persistence 33.799
Then no persistent Greeter options were restored 18.150
When I set all Greeter options to non-default values 24.863
And I log in to a new session in German (de) after having activated the Persistent Storage 42.805
Then all Greeter options are set to non-default values 0.469
When I cold reboot the computer 7.617
And the computer reboots Tails 1:1.096
Given I enable persistence 16.732
Then persistent Greeter options were restored 0.562
When I log in to a new session after having activated the Persistent Storage 38.749
Then all Greeter options are set to non-default values 0.917
After features/support/hooks.rb:330 1.229
After features/support/hooks.rb:100 0.009
Tags: @product
3:43.594
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.813
# 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 39.716
And I shutdown Tails and wait for the computer to power off 14.589
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.664
And I change the passphrase of the Persistent Storage back to the original 37.810
After features/support/hooks.rb:330 3.259
After features/support/hooks.rb:100 0.011
Tags: @product
59.005
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.739
And I log in to a new session without activating the Persistent Storage 20.293
Then persistence is disabled 0.236
But a Tails persistence partition exists on USB drive "__internal" 11.421
And all notifications have disappeared 10.474
When I delete the persistent partition 5.898
Then there is no persistence partition on USB drive "__internal" 0.941
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.383
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.416
When I write some dotfile expected to persist 0.140
And I shutdown Tails and wait for the computer to power off 8.506
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.950
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:330 0.902
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.915
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.892
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.630
When I log in to a new session after having activated the Persistent Storage 43.840
And all notifications have disappeared 8.665
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.959
And all tps features are enabled 2.446
And all tps features but the first one are active 2.127
After features/support/hooks.rb:330 1.936
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.080
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:6.751
And I enable persistence 29.617
And I log in to a new session after having activated the Persistent Storage 46.697
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.510
And persistence is enabled 2.503
After features/support/hooks.rb:330 1.642
After features/support/hooks.rb:100 0.000
Tags: @product
27.710
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.591
And I enable persistence but something goes wrong during the LUKS header upgrade 18.329
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.789
After features/support/hooks.rb:330 0.802
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.485
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 22.235
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.700
When I enable persistence 28.742
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.708
After features/support/hooks.rb:330 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
49.441
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.455
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.555
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.286
When I repair the filesystem of the Persistent Storage 3.512
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.095
And the filesystem of the Persistent Storage was repaired 2.464
When I close the filesystem repair dialog 1.272
Then persistence is successfully enabled 1.364
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.058
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.756
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.366
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.009
When I repair the filesystem of the Persistent Storage 1.207
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 35.574
And all notifications have disappeared 6.410
# 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.049
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.274
When I close the "whisperback" window 1.641
Then the Tor Browser starts 20.523
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.060
After features/support/hooks.rb:330 2.814
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.501
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.937
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.869
And Tails detects disk read failures on the boot device 1.625
When I try to enable persistence 0.560
Then the Welcome Screen tells me that my hardware is probably failing 20.794
When I log in to a new session 46.082
And all notifications have disappeared 8.191
Then the Tor Browser starts 19.638
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.803
After features/support/hooks.rb:330 3.575
After features/support/hooks.rb:100 0.000