Project Number Date
test_Tails_ISO_devel 3612 14 Dec 2024, 12:38

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 40:20.850 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.478
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.942
And I update APT using apt 13.636
And I install "python3-behave" using apt 25.616
Then the Tails Persistent Storage behave tests pass 2.282
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.000
Tags: @product
47.489
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 13.622
When I log in to a new session without activating the Persistent Storage 23.311
Then Tails is running from USB drive "__internal" 0.685
And persistence is disabled 0.317
But a Tails persistence partition exists on USB drive "__internal" 9.553
After features/support/hooks.rb:326 2.337
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.068
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.374
Then Tails is running from USB drive "__internal" 0.469
When I create a file in the Persistent directory 0.169
And I create a persistent partition with the default settings 24.203
Then the file I created was copied to the Persistent Storage 0.665
When I shutdown Tails and wait for the computer to power off 11.041
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.247
Then persistence for "Persistent" is active 0.822
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.170
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 10.623
And the system is very low on memory 4.386
When I create a file in the Persistent directory 0.838
When I try to create a persistent partition 23.405
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.348
When I close the Persistent Storage app 2.869
And I free up some memory 1.858
And I create a persistent partition with the default settings 15.591
Then the file I created was copied to the Persistent Storage 0.249
After features/support/hooks.rb:326 1.491
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.191
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 32.738
Then Tails is running from USB drive "__internal" 0.449
And all tps features are active 2.432
And all persistent directories have safe access rights 2.720
When I disable the first tps feature 5.820
Then all tps features but the first one are active 2.524
And I shutdown Tails and wait for the computer to power off 13.008
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.032
Then all tps features but the first one are active 2.464
After features/support/hooks.rb:326 0.680
After features/support/hooks.rb:100 0.009
Tags: @product
20.139
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 10.376
Then persistence for "Persistent" is active 0.108
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.332
When I disable the first tps feature 5.677
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.267
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.058
After features/support/hooks.rb:100 0.000
Tags: @product
19.848
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.954
Then persistence for "Persistent" is active 0.191
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 6.001
And I delete the data of the Persistent Folder feature 3.572
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 1.090
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.010
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 10.068
And the network is plugged 0.123
And Tor is ready 19.778
And I take note of which tps features are available 0.596
When I write some files expected to persist 1.445
And I shutdown Tails and wait for the computer to power off 8.703
# 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.295
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.538
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 10.333
And the network is plugged 0.086
And Tor is ready 19.247
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.650
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.130
And I capture all network traffic 0.007
And the network is plugged 0.085
And Tor is ready 50.143
And I switch to the "persistent-con-current" NetworkManager connection 0.400
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.155
After features/support/hooks.rb:326 0.670
After features/support/hooks.rb:100 0.059
Tags: @product
59.825
Before features/support/hooks.rb:269 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 13.890
And I enable persistence creation in Tails Greeter 1.148
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.155
Then I create a persistent partition with the default settings using the wizard that was already open 22.631
After features/support/hooks.rb:326 1.650
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.642
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.912
When I enable persistence 45.980
Then no persistent Greeter options were restored 14.235
When I set all Greeter options to non-default values 31.807
And I log in to a new session in German (de) after having activated the Persistent Storage 51.643
Then all Greeter options are set to non-default values 0.376
When I cold reboot the computer 7.461
And the computer reboots Tails 1:8.833
Given I enable persistence 17.473
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 40.940
Then all Greeter options are set to non-default values 0.441
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.009
Tags: @product
3:38.727
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 10.445
# 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.514
And I shutdown Tails and wait for the computer to power off 10.594
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.597
And I change the passphrase of the Persistent Storage back to the original 36.575
After features/support/hooks.rb:326 2.218
After features/support/hooks.rb:100 0.062
Tags: @product
1:2.804
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.211
And I log in to a new session without activating the Persistent Storage 21.802
Then persistence is disabled 0.406
But a Tails persistence partition exists on USB drive "__internal" 11.050
And all notifications have disappeared 13.112
When I delete the persistent partition 5.717
Then there is no persistence partition on USB drive "__internal" 0.502
After features/support/hooks.rb:326 1.073
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.155
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 10.913
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 8.473
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.209
Then the expected persistent dotfile is present in the filesystem 0.496
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.507
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.392
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.096
When I log in to a new session after having activated the Persistent Storage 43.235
And all notifications have disappeared 9.038
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.882
And all tps features are enabled 2.170
And all tps features but the first one are active 2.349
After features/support/hooks.rb:326 1.218
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.799
Before features/support/hooks.rb:269 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:35.102
And I enable persistence 34.655
And I log in to a new session after having activated the Persistent Storage 47.490
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.029
And persistence is enabled 2.522
After features/support/hooks.rb:326 11.747
After features/support/hooks.rb:100 0.000
Tags: @product
28.841
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.696
And I enable persistence but something goes wrong during the LUKS header upgrade 19.371
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.773
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.000
Tags: @product
47.088
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.078
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.104
When I enable persistence 30.201
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.606
After features/support/hooks.rb:326 1.249
After features/support/hooks.rb:100 0.000
Tags: @product
26.770
Before features/support/hooks.rb:269 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.754
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.952
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.960
When I repair the filesystem of the Persistent Storage 1.330
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.228
And the filesystem of the Persistent Storage was repaired 0.466
When I close the filesystem repair dialog 1.179
Then persistence is successfully enabled 1.486
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.304
Before features/support/hooks.rb:269 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.884
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.103
When I try to enable persistence 0.519
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.988
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.110
When I log in to a new session 38.377
And all notifications have disappeared 8.086
# 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.739
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.342
When I close the "whisperback" window 1.493
Then the Tor Browser starts 13.540
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.863
After features/support/hooks.rb:326 2.618
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.447
Before features/support/hooks.rb:269 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.684
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.965
And Tails detects disk read failures on the boot device 0.631
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 5.828
When I log in to a new session 19.646
And all notifications have disappeared 7.047
Then the Tor Browser starts 25.402
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.851
After features/support/hooks.rb:326 1.808
After features/support/hooks.rb:100 0.000