Project Number Date
test_Tails_ISO_devel 3566 29 Oct 2024, 12:46

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:23.137 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.597
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.102
And I update APT using apt 13.923
And I install "python3-behave" using apt 26.229
Then the Tails Persistent Storage behave tests pass 2.342
After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
50.649
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 14.000
When I log in to a new session without activating the Persistent Storage 24.084
Then Tails is running from USB drive "__internal" 0.432
And persistence is disabled 0.356
But a Tails persistence partition exists on USB drive "__internal" 11.775
After features/support/hooks.rb:326 1.175
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.475
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.808
Then Tails is running from USB drive "__internal" 0.453
When I create a file in the Persistent directory 0.167
And I create a persistent partition with the default settings 26.050
Then the file I created was copied to the Persistent Storage 0.690
When I shutdown Tails and wait for the computer to power off 13.383
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.219
Then persistence for "Persistent" is active 0.631
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.615
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.342
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 17.263
And the system is very low on memory 4.899
When I create a file in the Persistent directory 1.588
When I try to create a persistent partition 22.770
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.141
When I close the Persistent Storage app 2.595
And I free up some memory 1.228
And I create a persistent partition with the default settings 14.622
Then the file I created was copied to the Persistent Storage 0.232
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.353
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.990
Then Tails is running from USB drive "__internal" 0.379
And all tps features are active 2.448
And all persistent directories have safe access rights 2.927
When I disable the first tps feature 7.275
Then all tps features but the first one are active 2.525
And I shutdown Tails and wait for the computer to power off 11.297
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.171
Then all tps features but the first one are active 2.336
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.012
Tags: @product
22.653
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.918
Then persistence for "Persistent" is active 0.176
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 7.726
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.058
When I enable the first tps feature 4.408
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
22.530
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.607
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 7.660
And I delete the data of the Persistent Folder feature 4.030
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.904
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.387
And the network is plugged 0.163
And Tor is ready 24.529
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.741
And I shutdown Tails and wait for the computer to power off 8.618
# 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.847
After features/support/hooks.rb:326 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.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 23.272
And the network is plugged 0.096
And Tor is ready 20.515
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.712
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.053
And I capture all network traffic 0.007
And the network is plugged 0.705
And Tor is ready 20.287
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.145
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.053
Tags: @product
1:6.014
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 14.434
And I enable persistence creation in Tails Greeter 1.234
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.079
Then I create a persistent partition with the default settings using the wizard that was already open 23.265
After features/support/hooks.rb:326 1.634
After features/support/hooks.rb:100 0.000
Tags: @product
5:22.258
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 14.231
When I enable persistence 41.237
Then no persistent Greeter options were restored 15.001
When I set all Greeter options to non-default values 28.285
And I log in to a new session in German (de) after having activated the Persistent Storage 49.175
Then all Greeter options are set to non-default values 4.890
When I cold reboot the computer 7.677
And the computer reboots Tails 1:11.236
Given I enable persistence 34.110
Then persistent Greeter options were restored 15.480
When I log in to a new session after having activated the Persistent Storage 40.669
Then all Greeter options are set to non-default values 0.261
After features/support/hooks.rb:326 1.577
After features/support/hooks.rb:100 0.012
Tags: @product
4:27.518
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.500
# 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.812
And I shutdown Tails and wait for the computer to power off 12.497
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:49.038
And I change the passphrase of the Persistent Storage back to the original 39.670
After features/support/hooks.rb:326 1.672
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.792
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 19.304
And I log in to a new session without activating the Persistent Storage 22.285
Then persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 8.416
And all notifications have disappeared 10.057
When I delete the persistent partition 7.917
Then there is no persistence partition on USB drive "__internal" 0.445
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.764
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.783
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 11.090
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.434
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.030
Tags: @product
1:44.384
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.885
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.283
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.374
When I log in to a new session after having activated the Persistent Storage 39.747
And all notifications have disappeared 10.829
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.351
And all tps features are enabled 2.595
And all tps features but the first one are active 2.226
After features/support/hooks.rb:326 1.304
After features/support/hooks.rb:100 0.000
Tags: @product
6:9.772
Before features/support/hooks.rb:269 0.009
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 4:44.061
And I enable persistence 33.522
And I log in to a new session after having activated the Persistent Storage 49.369
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.294
And persistence is enabled 0.523
After features/support/hooks.rb:326 1.901
After features/support/hooks.rb:100 0.000
Tags: @product
33.299
Before features/support/hooks.rb:269 0.007
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.195
And I enable persistence but something goes wrong during the LUKS header upgrade 22.317
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.787
After features/support/hooks.rb:326 0.890
After features/support/hooks.rb:100 0.000
Tags: @product
46.613
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 10.663
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.509
When I enable persistence 29.824
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 0.513
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.000
Tags: @product
27.191
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 9.407
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.039
When I try to enable persistence 0.461
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.940
When I repair the filesystem of the Persistent Storage 1.293
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.231
And the filesystem of the Persistent Storage was repaired 0.106
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 0.442
After features/support/hooks.rb:326 0.889
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.580
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.038
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.137
When I try to enable persistence 0.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.622
When I repair the filesystem of the Persistent Storage 1.273
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.140
When I log in to a new session 39.218
And all notifications have disappeared 8.796
# 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.478
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.913
When I close the "whisperback" window 1.628
Then the Tor Browser starts 15.126
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 1.921
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:35.900
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 9.621
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 18.567
And Tails detects disk read failures on the boot device 1.775
When I try to enable persistence 0.449
Then the Welcome Screen tells me that my hardware is probably failing 7.056
When I log in to a new session 21.876
And all notifications have disappeared 8.138
Then the Tor Browser starts 24.996
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.419
After features/support/hooks.rb:326 1.843
After features/support/hooks.rb:100 0.000