Project Number Date
test_Tails_ISO_devel 3623 26 Dec 2024, 12:30

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:29.873 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.349
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.441
And I update APT using apt 13.664
And I install "python3-behave" using apt 25.964
Then the Tails Persistent Storage behave tests pass 2.279
After features/support/hooks.rb:326 0.615
After features/support/hooks.rb:100 0.000
Tags: @product
44.859
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 10.815
When I log in to a new session without activating the Persistent Storage 21.729
Then Tails is running from USB drive "__internal" 0.485
And persistence is disabled 0.248
But a Tails persistence partition exists on USB drive "__internal" 11.580
After features/support/hooks.rb:326 1.509
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.973
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 28.014
Then Tails is running from USB drive "__internal" 3.568
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 23.722
Then the file I created was copied to the Persistent Storage 0.668
When I shutdown Tails and wait for the computer to power off 12.576
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.834
Then persistence for "Persistent" is active 0.366
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.901
After features/support/hooks.rb:100 0.010
Tags: @product
59.872
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 8.754
And the system is very low on memory 3.348
When I create a file in the Persistent directory 1.390
When I try to create a persistent partition 28.636
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.220
When I close the Persistent Storage app 2.584
And I free up some memory 1.628
And I create a persistent partition with the default settings 13.075
Then the file I created was copied to the Persistent Storage 0.232
After features/support/hooks.rb:326 2.101
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.768
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.682
Then Tails is running from USB drive "__internal" 0.454
And all tps features are active 2.350
And all persistent directories have safe access rights 2.372
When I disable the first tps feature 5.009
Then all tps features but the first one are active 2.009
And I shutdown Tails and wait for the computer to power off 10.987
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.509
Then all tps features but the first one are active 2.393
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.009
Tags: @product
19.032
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.586
Then persistence for "Persistent" is active 0.132
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.746
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.095
When I enable the first tps feature 3.091
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.000
Tags: @product
18.463
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.315
Then persistence for "Persistent" is active 0.190
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 5.078
And I delete the data of the Persistent Folder feature 3.741
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.024
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.259
And the network is plugged 0.081
And Tor is ready 44.973
And I take note of which tps features are available 0.621
When I write some files expected to persist 1.493
And I shutdown Tails and wait for the computer to power off 8.331
# 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.263
After features/support/hooks.rb:326 0.111
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.678
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.757
And the network is plugged 0.088
And Tor is ready 17.411
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.250
And I shutdown Tails and wait for the computer to power off 8.564
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.485
And I capture all network traffic 0.013
And the network is plugged 0.072
And Tor is ready 21.427
And I switch to the "persistent-con-current" NetworkManager connection 0.390
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.079
Tags: @product
55.237
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 12.422
And I enable persistence creation in Tails Greeter 1.407
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.481
Then I create a persistent partition with the default settings using the wizard that was already open 21.926
After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.244
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.762
When I enable persistence 34.420
Then no persistent Greeter options were restored 13.611
When I set all Greeter options to non-default values 23.880
And I log in to a new session in German (de) after having activated the Persistent Storage 44.073
Then all Greeter options are set to non-default values 0.412
When I cold reboot the computer 7.194
And the computer reboots Tails 59.048
Given I enable persistence 17.035
Then persistent Greeter options were restored 0.607
When I log in to a new session after having activated the Persistent Storage 38.890
Then all Greeter options are set to non-default values 0.307
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.010
Tags: @product
3:47.884
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 20.035
# 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.162
And I shutdown Tails and wait for the computer to power off 12.486
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.053
And I change the passphrase of the Persistent Storage back to the original 36.146
After features/support/hooks.rb:326 1.797
After features/support/hooks.rb:100 0.007
Tags: @product
56.045
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 10.005
And I log in to a new session without activating the Persistent Storage 20.726
Then persistence is disabled 0.396
But a Tails persistence partition exists on USB drive "__internal" 9.769
And all notifications have disappeared 9.494
When I delete the persistent partition 5.284
Then there is no persistence partition on USB drive "__internal" 0.369
After features/support/hooks.rb:326 0.884
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.713
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 9.583
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 8.578
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.099
Then the expected persistent dotfile is present in the filesystem 0.372
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.009
Tags: @product
1:43.250
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 8.807
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.106
When I try to enable persistence 0.322
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.737
When I log in to a new session after having activated the Persistent Storage 47.738
And all notifications have disappeared 9.119
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.186
And all tps features are enabled 2.221
And all tps features but the first one are active 2.011
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.198
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 3:40.070
And I enable persistence 37.782
And I log in to a new session after having activated the Persistent Storage 37.373
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.372
And persistence is enabled 2.600
After features/support/hooks.rb:326 1.578
After features/support/hooks.rb:100 0.000
Tags: @product
28.670
Before features/support/hooks.rb:269 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.403
And I enable persistence but something goes wrong during the LUKS header upgrade 19.506
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.760
After features/support/hooks.rb:326 0.719
After features/support/hooks.rb:100 0.000
Tags: @product
50.605
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 11.213
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.815
When I enable persistence 31.118
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.378
After features/support/hooks.rb:326 1.141
After features/support/hooks.rb:100 0.000
Tags: @product
24.882
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 8.619
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.683
When I try to enable persistence 0.436
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.992
When I repair the filesystem of the Persistent Storage 1.219
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.167
And the filesystem of the Persistent Storage was repaired 0.067
When I close the filesystem repair dialog 1.218
Then persistence is successfully enabled 1.478
After features/support/hooks.rb:326 1.547
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.028
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 9.216
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.268
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.163
When I repair the filesystem of the Persistent Storage 1.210
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 38.754
And all notifications have disappeared 7.701
# 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.115
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.217
When I close the "whisperback" window 1.825
Then the Tor Browser starts 17.371
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.001
After features/support/hooks.rb:326 2.113
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.090
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 8.816
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.879
And Tails detects disk read failures on the boot device 1.560
When I try to enable persistence 0.413
Then the Welcome Screen tells me that my hardware is probably failing 5.980
When I log in to a new session 19.577
And all notifications have disappeared 6.952
Then the Tor Browser starts 23.996
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.912
After features/support/hooks.rb:326 2.947
After features/support/hooks.rb:100 0.000